ATAVRFBKIT Atmel, ATAVRFBKIT Datasheet - Page 25

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-23
CONFIGURE_LAMP_PREHEAT
This is the first time the lamp is attempted to be started once the user has requested to
switch it on.
Configure the amplifier0, which is used to measure the current, then configure the PSC2
according to the definitions in the config.h file, and initialize all the lamp control
variables.
Then jump to the LAMP_PREHEAT state.
LAMP_PREHEAT
Starts the preheat sequence for LAMP_PREHEAT_TIME. (PWM set up at 80KHz)
Then jump to the START_IGNITION state.
START_IGNITION
Decrease the frequency from the init frequency down to INVERTER_IGNITION_HALF_
PERIOD.
Then jump to the IGNITION state.
IGNITION
The ignition sequence consists of maintaining the ignition frequency determined by
INVERTER_IGNITION_HALF_PERIOD for 10ms, and then checking if ignition occurs
by measuring lamp current and voltage.
In case it has... START_RUN_MODE.
In case it hasn’t... RESTART_PREHEAT.
RESTART_PREHEAT
Reconfigure the Inverter with the Restart parameters, then go to LAMP_PREHEAT.
If Ignition fails too many times... Go to TOO_MANY_LAMP_IGNITION_TRIES.
START_RUN_MODE
Increase the frequency from the init frequency, INVERTER_IGNITION_HALF_PERIOD.
Then jump to the RUN_MODE state.
RUN_MODE
Normal control loop to have the light in accordance with the
variable that is permanently updated in the command control state machine in the
Main_pwmx_fluo_demo.c file.
The transition from the RUN_MODE state to the LAMP_OFF state is done in the control
state machine (control_FBKIT.c file) when the
0.
gv_lamp_preset_current
ATAVRFBKIT / EVLB001 User Guide
gv_lamp_preset_current
variable is set to

Related parts for ATAVRFBKIT