ATAVRFBKIT Atmel, ATAVRFBKIT Datasheet - Page 21

KIT DEMO BALLAST FOR AT90PWM2

ATAVRFBKIT

Manufacturer Part Number
ATAVRFBKIT
Description
KIT DEMO BALLAST FOR AT90PWM2
Manufacturer
Atmel
Series
AVR®r
Datasheet

Specifications of ATAVRFBKIT

Main Purpose
Lighting, Ballast Control
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
AT90PWM2, AT90PWM3
Primary Attributes
18 W, Up to 2 Type T8 Lamps, Dimmable, Auto Detect of Swiss or DALI
Secondary Attributes
Power Factor Corrected (PFC), 90 to 265 VAC, 90 to 370 VDC
Data Bus Width
8 bit
Core Chip
AT90PWM2B
Topology
Boost
No. Of Outputs
1
Dimming Control Type
Digital
Kit Contents
Board CD Docs
Development Tool Type
Hardware / Software - Eval/Demo Board
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
7597B–AVR–10/07
ATPWMX Demonstrator Software
6.1.2
6.1.2.1
6.1.2.2
6.2
6.2.1
Figure 6-3. PFC State Machine
6-19
Control state
machine Global
variables
Input variables
which have an
impact on the
Control state
machine
Output variables
which can impact
other state
machines
Pfc_ctrl.c
PFC STATE
MACHINE
This file executes the PFC state machine according to the scheduler in the
Main_pwmx_fluo_demo.c file.
The PFC state machine functional diagram is shown in Figure 6-3.
The different states are outlined below:
PFC_OFF
Nothing happens, the exit from this state is requested when the
variable is modified in control_FBKIT.c file.
INIT_PFC
Nothing happens, the state machine automatically goes to next step
(INIT_PFC_HAVERSINE_CHECK) on the next pfc_task().
INIT_PFC_HAVERSINE_CHECK
Initialize the control values of the PFC.
Then jump to the HAVERSINE_CHECK state.
HAVERSINE_MEASURE
Measure the haversine peak voltage during HAVERSINE_MIN_CHECK_TIME.
Then jump to the HAVERSINE_CHECK state.
gv_lamp_on
g_too_many_ignition_tries
gv_lamp preset current
gv_lamp_on
gv_pfc_state
LAMP_OFF, SHUT_DOWN_PFC_AND_SLOW_DOWN_UC_SPEED, and 0
or 1.
is necessary to determine whether the lamp is already on or not.
and
and
g_too_many_ignition_tries
gv_lamp_on
is set to the wanted value and depending on the
can be set in lamp state machine.
can be set to the following values
ATAVRFBKIT / EVLB001 User Guide
values, gv_lamp_state,
gv_lamp_preset_current

Related parts for ATAVRFBKIT