STMicroelectronics AN1971 ST7LITEO Microcontrolled Ballast Application Note

This application note introduces how to design an inductive fluorescent lamp ballast using the ST7LITE0 microcontroller.


STMicroelectronics AN1971 ST7LITEO Microcontrolled Ballast Application Note - cover page
Brand
STMicroelectronics
Category
Other Electronics
Document type
Application Note
Language
English
Pages
16
File format
PDF
File size
188 KB
Published
06 August, 2012
Updated
30 September, 2023
MD5 checksum
B97217587F689E37548C8363C7ACD17E

About this manual

This document details an application using the ST7LITEO microcontroller to design a flexible fluorescent ballast capable of driving different tube lamp wattages. The system utilizes a voltage-fed series resonant half-bridge inverter driven by an L6384 high voltage driver. The microcontroller handles all control logic, including power-on initialization, preheating, ignition, and stabilization phases, while measuring lamp current and voltage via integrated ADC peripherals.

The application note outlines the specific operating states of the ballast, including the Init, Preheat, Ignition, Lamp Stabilization, Run, and Stop states. It explains how the ST7LITEO's Autoreload Timer and Lite Timer facilitate PWM generation and time-based event handling, respectively. The document also provides circuit diagrams for peak and average current sensing, as well as peak and DC voltage sensing, to ensure complete monitoring of the ballast circuitry.

What's inside

  • Introduction
  • Power Section
  • Digital Section
  • Ballast States
  • Init State
  • Preheat State
  • Ignition State
  • Lamp Stabilization State
  • Run State
  • Stop State

Specifications

Flash Program Memory1.5kB
RAM128 bytes
EEPROM128 bytes
Integrated Oscillator Accuracy1%
Maximum Clock Frequency8MHz
ADC Resolution8-bit
ADC Input Range 10 to 5V
ADC Input Range 20 to 250mV
ADC Amplifier Gain8
PWM Frequency Range2kHz up to 4MHz
Incremental Period Change125ns
Lite Timer Interruptevery 1ms
Supply Voltage400V DC
Driver ComponentL6384

Frequently asked questions

What microcontroller is used in this ballast design?

The design uses the ST7LITEO microcontroller to handle control and measurement.

How is the PWM frequency controlled?

Frequency is controlled by writing to the Reload Value Register of the Autoreload Timer.

How is the duty cycle controlled?

Duty cycle is selected by writing to the Compare Value Register of the Autoreload Timer.

What happens in the Stop State?

The software switches to HALT mode to turn off the half bridge driver and minimize energy consumption.

Download PDF (188 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →