UM1694 User manual STEVAL-ILH007V1: 150W HID digital ballast based on STLUX385A Introduction This document describes 150 W high intensity discharge (HID) digital ballasts driven by STLUX385A devices. This platform is a solution to drive HID lamps (sodium and metal halide). The board is composed of two stages: Power factor corrector (PFC), based on boost topology to correct the AC input current in phase with AC voltage mains.
UM1694 Features Features The STEVAL-ILH007V1 board has the following features: • GREEN LED: indicates the normal operation of the board • RED LED: indicates the fault condition of the board • UART: connector for serial data communication to a PC to monitor the system parameters.
UM1694 Connectors Table 2. Connectors Description Power supply connector / 230Vac – 3 way screw terminal Power connector for power line modem / 230V - 2 way screw terminal Output connector for lamp connection - 2 way screw terminal Connector for UART output- 24 way terminals SWIM Connector to FW download and debug DALI Connector 12 way terminals UART output - stereo jack connector 3.5mm...
UM1694 Firmware The MCU used is an STLUX385A, which is part of the MASTERLUX™ family of ST digital devices tailored for lighting and power conversion. The STLUX385A has been successfully integrated in a wide range of architectures and applications, including simple buck...
UM1694 Firmware Figure 5. STEVAL-ILH007V1 finite state machine lamp management The following table lists the user source.c files for the STEVAL-ILH007V1. Table 3. HID FW user source file list File Brief descriptions main.c Main module adc.c ADC peripheral configuration stlux_smed.c Automatically generated by SMED_Configurator, a PC software application stlux_it.c...
Page 10
Firmware UM1694 Analog comparators CPP0 Currently not used CPP1 Currently not used CPP2 Currently not used CPP3 Sets the bridge peak current value 16-bit system timer STMR Sets the correct timing of all events for the application: – PID controller –...
UM1694 Firmware 3.1.2 Used pins Table 4. Used pins Function NetName Description PIN1 PWM0 PWM0 Generates the high frequency signal to drive the bridge low side PIN2 DIGIN0 Digital input used to detect the PFC ZCD PIN3 DIGIN1 Digital input used to detect the Bridge ZCD PIN4 PWM1 PWM1...
Firmware UM1694 Table 4. Used pins (continued) Function NetName Description PIN33 ADCIN5 VOUT3.3 Measures the output voltage of 3.3 V regulator used to power the micro PIN34 ADCIN4 VLAMP Measures the voltage across the lamp PIN35 ADCIN3 PFC_OK Currently not used PIN36 ADCIN2 PFC_ISENS...
UM1694 Firmware download into the STLUX MCU Firmware download into the STLUX MCU Setup To download the firmware to the STLUX on the board, you need: Hardware • an HID evaluation board • a RAISONANCE RLink • a RAISONANCE RLink connection adapter for STM8 and ST7 •...
Firmware download into the STLUX MCU UM1694 Follow these steps: configure the RFlasher7 project properties to work with the STLUX385 Figure 12. RFlasher7 configuration - select the processor load the Intel HEX file for download (REV01.HEX) Figure 13. RFlasher7 configuration - open .HEX file program the STLUX microcontroller 16/30 DocID025509 Rev 1...
UM1694 Firmware download into the STLUX MCU Figure 14. RFlasher7 configuration - program the STLUX reset and run Figure 15. STVP - download FW into the program memory DocID025509 Rev 1 17/30...
STEVAL-ILH007V1 evaluation board operation UM1694 STEVAL-ILH007V1 evaluation board operation Once the STLUX has been programmed with the right firmware, you can commence evaluation board operation. Setup To run the evaluation board, you need: Hardware • a STEVAL-ILL007V1 evaluation board •...
UM1694 Bill of material Bill of material Table 7. Bill of material (BOM) Item Quantity Reference Value Rated Type Package Manufacturer through hole CX1,CX2,C3, polypropylene 220 nF,10% 520 V lead spacing film capacitor 15 mm through hole electrolytic 100 µF,20% 500 Vdc lead spacing capacitor...
Page 24
Bill of material UM1694 Table 7. Bill of material (BOM) (continued) Item Quantity Reference Value Rated Type Package Manufacturer COG ceramic 4,7 nF,5% SMD 0603 capacitor through hole polypropylene 2.2 nF,10% 630 Vdc lead spacing film capacitor 5 mm through hole polypropylene 220 pF,10% 630 Vdc...
Page 25
UM1694 Bill of material Table 7. Bill of material (BOM) (continued) Item Quantity Reference Value Rated Type Package Manufacturer high efficiency Red diffused through hole red LED 2 mA LED 2 mA 3 mm 3 mm high efficiency green diffused through hole green LED 2 mA...
Page 26
Bill of material UM1694 Table 7. Bill of material (BOM) (continued) Item Quantity Reference Value Rated Type Package Manufacturer 4.7 µH,20% 1,9A power inductor 4X4.5X3.2 MAGNETICA 2.2 mH,10% through hole 2198.0008 bridge MAGNETICA 520 µH 1.8A through hole Inductor 1975.0001 4.7 µH,30% 740 mA ferrite filter...
Page 27
UM1694 Bill of material Table 7. Bill of material (BOM) (continued) Item Quantity Reference Value Rated Type Package Manufacturer metal film R38,R52 100,1% 1/4W SMD 1206 resistor metal film 33k,1% 1/10W SMD 0603 resistor metal film R42,R44 2.7,1% 1/4W SMD 1206 resistor metal film R46,R47...
Page 28
Bill of material UM1694 Table 7. Bill of material (BOM) (continued) Item Quantity Reference Value Rated Type Package Manufacturer off-line all- primary- ALTAIR04-900 sensing SMD SO16N switching regulator low drop LD29080S33 voltage SOT223 regulators high-voltage U6,U7 L6390 high/low-side SO16 driver analog STLM20 temperature...
UM1694 Revision history Revision history Table 8. Document revision history Date Revision Changes 12-Jun-2015 Initial release. DocID025509 Rev 1 29/30...
Page 30
ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Need help?
Do you have a question about the STEVAL-ILH007V1 and is the answer not in the manual?
Questions and answers