Lighting with Microcontroller July 2004 Paolo Oteri application eng MCD Types of lamps and ST components CFL by wvw68654

VIEWS: 40 PAGES: 20

More Info
									    Lighting with Microcontroller
July 2004
                 Paolo Oteri application eng. MCD
                   Types of lamps and
                    ST components




        CFL                High Frequency       Electr. Transformer
 Power BIP & MOS,        Power BIP & MOS,           BIP & MOS,
 VIPower, Rectifiers,    VIPower, Rectifiers,         VIPower
Dedicated ICs (L6xxx)   Dedicated ICs (L6xxx)

                        Microcontroller

                                                                      2
         Why Electronic Ballast ?
Electronic ballasts replace the starting and inductive elements of the
conventional system


 Conventional Lamp Ballast:




Electronic Ballast
Circuit blocks:


                                                                         3
                              Lamp Ballast
                         Conventional Lamp Ballast
         Major Advantages:                  Major Drawbacks:
   No particular problems on the design    False starts.
    of the ballast.                         50/60 Hz Flicker.
   Very simple configuration and design.   High power consumption.
   Very low cost circuit.


                           Electronic Lamp Ballast
          Major Advantages:                    Major Drawbacks:
   Low power consumption (typically        More complex configuration and design.
    about 70% of that with conv. Ball.)     Higher initial cost.
   Longer tube life.
   No flicker.
   Less resistive losses.
   Reduced weight.




                                                                                     4
                    Light Dimmer
 Demands for variations in the intensity of lighting have resulted in a
growing market for electronic dimming.

 There are various kinds of dimmers available on the market such as
potentiometer and touch dimmers.




                                                                           5
                        Light Dimmer
                  Touch Dimmer - MCU Approach
A more advanced high end version of the Triac dimmer can be implemented by
using a microcontroller for control. The lamp driving is similar to the analog
system, but the feature that can be added to the system are a lot, for example
scene definition, actual lighting intensity memorization, remote control, etc.



        Triac




                                           µC




                                                                                 6
   Light Dimmer
Touch Dimmer - MCU Approach
   Possible solution for FT




                              7
   Electronic Ballast with Microcontroler

• What can a micro control ?
  – Half-bridge control through L63XX driver
  – Current regulation
  – Digital communication protocol




                                               8
                     Complete solution
                                        ST72F264
                                        ST7FLite2
                     STTH106
                                        ST7FLite0
Input                STTH306                                          STx3NK60Z
                                        ST7Lite1B                     STx4NK60Z
Filter                                  ST52F513*                     STx6NK60Z
                                                                      STD5NM60
                                                                       And 500V


         STx3NK60Z                   CMOS
         STx4NK60Z                                    HV-Level
         STx6NK60Z                   µC Ballast      Shifter IC +
         STD5NM60                                    BCDHV
                                      Control        HV-Startup
          And 500V                                                  Heat
                                                       + TPR +
                                                                    Gate
                                                       3.3V/5V
                                                      Supply +
                                                     2 LS Driver


                                                    L63XX
                        Com-munic.
                         Interface
                           DALI



                                                                                  9
    Half-bridge control
• Deadtime generator
• Emergency pin
• PWM Frequency:
   – 30kHz-80kHz
   – 120kHz for dimmable
• Duty cycle: 50%
• Timer resolution:
   – 100Hz @ 120kHz for dimmable
   – 1kHz @ 80kHz for non dimmable
                                     10
           Current regulation

• ADC conversion time:
  – 5us for non dimmable
  – 3us for dimmable
• ADC resolution:
  – 10-bit for non dimmable
  – 10-bit and 13-bit in 0-430mV range for dimmable



                                                      11
What can we provide ?




                        12
           ST7LITE2/ST7DALI
• Advantages:
    – 32Mhz 12-bit timer
    – Adjustable deadtime with only one external XOR gate
    – BREAK pin for emergency
    – DALI peripheral for communication
    – 10-bit (13-bit in 0-430mV range) / 3us ADC
    – Dimmable/DALI ballast in ramping production at Philips
• Drawbacks:
    – No deadtime in timer



                                                               13
                ST7LITE1B

• Advantages:
  – Fast comparator
  – BREAK pin for emergency
  – 10-bit / 3us ADC
• Drawbacks:
  – Not available today
  – 8Mhz 12-bit timer (dimmable)


                                   14
                      ST52F513

• Advantages:
  –   Advanced one pulse mode timer for constant Ton control
  –   ADC 10bit 10uS of conversion time
  –   One Timer with external and internal Start/Stop
  –   2 x 20 MHz 16-bit Timer
• Drawbacks:
  – Timer resolution is 720Hz (120KHz working frequency)



                                                               15
Summary for non dimmable
             ST7LITE2 ST7LITE1 ST52F513

H-bridge       XOR              L6384
                        Yes
             or L6384
 Current
regulation
              Yes       Yes      No
Memory /
Package
              Yes       Yes     Yes


                                          16
  Summary for dimmable
           ST7LITE2 ST7LITE1 ST52F513

H-bridge     XOR
                      No       No
Current
 regul
            Yes      Yes       No
Memory /
Package
            Yes      Yes       Yes


                                        17
   ST7Lite Family Key Features
 ST7Lite Key features for system cost saving :

           AD Converter 8 & 10-bit + Op Amp to adapt to signal sensor
           Internal RC Oscillator with 1% accuracy (Cost saving)
           LVD, AVD (Low Voltage Detect), For more Safety in your system
           Low power modes including Auto Wake Up
           More flexibility with Flash program memory
           SPI communications


 DEVELOPMENT Tools for Software implementation :
         Low Cost and Real Time Code Debug
         Flash programming ICC mode (IAP and ICP)
         Free C Compiler from Cosmic and Metrowerks


    APPLICATIONS : Small Home Appliance, Appliance, UPS,
                       Lighting, Automotive, Toys…
                                                                            18
                              ST7Lite Family
                                                           ST7Lite3
8k                                        ST7DALI                            ST72F264G2
                                                           ST7Lite2




4k      ST7Lite1                          ST7Lite1                           ST72F264G1




1.5k     ST7Lite0


1k     ST7Superlite


             16 pins                             20 pins                   28/32 pins

                       LEGEND :
                            Full Production            Under development
                            Samples available
                                                                                          19
                                                                           FLASH

                         Samples available    STfive                     EEPROM
                                                                         2.7 – 5.5 V
                                 F513                     F514
                           Flash Data EE             Super Storage
      F510                10-Bit Adc / Sci           10-Bit Adc / Sci
  Flash 10-Bit
   Adc & Sci
                               256b Data EE            1/4Kb Data EE
    4/8Kb Flash                  Lfbga 36                 So 20/28,
      256b Ram                                         Dip 20, SDip 32
2x 16-Bit Timer/Pwm
     10-Bit Adc
 Sci - Spi - I2C - Isp
    So 16/20/28,
   Dip 20, SDip 32



                                         F503
               F500                 Flash Data EE
            Flash Basic
              4/8Kb Flash             256b Data EE
               256b Ram
         2x 16-Bit Timer/Pwm
             Int.Oscillator
             Spi - I2C – Isp
            16/20/28 pin So
            Dip 20, SDip 32


                                                                                       20

								
To top