LSI/CSI UL ® LS7642 LS7642FO LSI Computer Systems, Inc. 1235 Walt Whitman Road, Melville, NY 11747 (631) 271-0400 FAX (631) 271-0405 A3800 VOLTAGE CONTROLLED LIGHT DIMMER with SOFT ON/OFF SAFETY SHUTDOWN: A typical electronic dimmer may not operate properly with the inductive load encountered when driving a magnetic transformercoupled low-voltage halogen lamp. The inductive load may cause a phenomenon called half-waving wherein the triac fires in alternate AC half cycles leading to thermal destruction of the load transformer. This problem is addressed by the LS7642 in two steps as described below: 1. Delayed triac turn-off. When a trigger pulse is due to occur at a conduction angle which coincides with the on state of the triac, the trigger pulse is delayed until the triac has turned off. This eliminates the underlying cause of half-waving. 2. Delayed triac turn-on. With inductive loads, the holding current needed to maintain the triac on state may seriously lag behind the gate trigger signal causing the triac to turn off prematurely. If the frequency of occurrences of the delayed turn-on exceeds a preset threshold, a shutdown is initiated by turning off the trigger pulses. The safety shutdown threshold value is accumulated in a 4-bit up/down counter. The count increments for every occurrence of delayed turn-on and decrements once every 8 AC cycles. If the count reaches 15, the safety shutdown is invoked. 7642-102009-1 VDD (+V ) 1 BCV 2 TEST 3 SYNC 4 LS7642 LS7642FO GENERAL DESCRIPTION LS7642 is an innovative light dimmer allowing direct control of illumination with analog voltage. The analog voltage applied at the brightness control input directly controls the conduction angle of a triac in series with the lamp. For manual dimming applications such as, wall switches, floor and table lamps etc, a sliding or rotary potentiometer with a center tap can serve as the controlling element. For automated applications such as uC controlled illumination, dawn, dusk and daylight emulation in chicken coops etc., the control voltage can be provided by the uC with built-in or external D/A converter creating accurate control of dimming patterns. Turn-on and turn-off of the lamp is made with a touch or push-button or uC signal applied at the SENSE/ input or the EXT input. In both turn-on and turn-off events, the brightness is softly ramped up and ramped down, respectively. PIN ASSIGNMENT - TOP VIEW LSI FEATURES: • Analog input for direct control of illumination • Soft turn-on or turn-off with touch or pushbutton • Controls high-voltage Halogen or Incandescent lamps • Controls low-voltage halogen lamps via magnetic or electronic transformers • Automatic safety shutdown for magnetic transformers • Controls CFLs and fluorescent lamps via dimming ballasts • Extension input for remote operation • Suited for 50Hz or 60Hz AC • Single 5V power supply • LS7642, LS7642FO (DIP); LS7642-S, LS7642FO-S (SOIC) - See Figure 1 - October 2009 8 TRIG/ 7 VSS (-V ) 6 EXT 5 SENS/ FIGURE 1 INPUT/OUTPUT DESCRIPTION: VDD (Pin 1) Supply voltage positive terminal. BCV (Pin 2) Brightness control input. The voltage applied at the BCV input controls the triac conduction angle and hence the brightness of the lamp. The brightness varies in direct proportion to the applied voltage. For manual control of brightness, the BCV voltage can be supplied from the center tap of a potentiometer connected between VDD and VSS. In non-manual instrumentation application where a uC is the controlling agent, the BCV voltage can directly be provided by the uC. The dynamic range of the BCV voltage is between 25% and 88% of the applied power supply. For VDD = 5.0V this translates to a range between 1.25V for the minimum brightness and 4.4V for the maximum brightness. There are 81 discrete brightness steps of 1.4o/39mV increments in the dynamic range of 1.25V and 4.4V of the BCV voltage. The corresponding conduction angles are 45o at the dimmest and 159o at the brightest. TEST (Pin 3) For factory use only, should be left unconnected. SYNC (Pin 4) The AC line frequency is applied to this input for synchronizing all internal timings relative to the AC zero crossing. The load on/off status information is also derived from this input for enforcing the safety shutdown protocol. SENS/ (Pin 5) A momentary logic low applied to this input either with a touch or a push-button switch, causes the state of the TRIG/ output to switch; the lamp is turned on if the pre-touch state was off and turned off if the pre-touch state was on. When turning on the brightness is softly ramped up from off through minimum to the brightness set by the BCV input. When turning off the brightness is softly ramped down from the pre-touch brightness to off. The ramp rate for either case is 1.4o/33.3ms at 60Hz or 1.4o/40ms at 50Hz. EXT (Pin 6) The EXT input has the same functionality as the SENS/ input. It is designed to discriminate ac pick-ups when remotely located touch plates are connected to the dimmer units with long cables. A logic high is the active level at the EXT input. VSS (Pin 7) Supply voltage negative terminal. TRIG/ (Pin 8) The TRIG/ can be turned on or off by applying the active logic level at either the SENS/ or the EXT input for a brief duration. In the Off state, the TRIG/ sits at steady high level turning off the triac in series with the lamp. In the On state, the TRIG/ outputs a low going pulse once every half cycle of the AC at a conduction angle set by the voltage at the BCV input. Upon power up the TRIG/ output defaults to the following states: For LS7642 the TRIG/ is off. For LS7642FO the TRIG/ is on ABSOLUTE MAXIMUM RATINGS: PARAMETER DC supply voltage Any input voltage Operating temperature Storage temperature SYMBOL VDD - Vss VIN TA TSTG VALUE +7 Vss - 0.3 to VDD + 0.3 0 to +90 -65 to +150 UNIT V V o C o C DC ELECTRICAL CHARACTERISTICS: (TA = +25oC, all voltages referenced to VSS. VDD = +5V unless otherwise noted.) PARAMETER SYMBOL MIN TYP MAX UNIT CONDITION Supply voltage Supply current VDD IDD 4.5 - 5.0 300 5.5 400 V µA Output unloaded, VDD = 5V SYNC Lo SYNC Hi VISL VISH 2.9 - 2.1 - V V - BCV input: Dynamic Voltage Range Voltage increment per step Vb ∆Vb/∆ø 1.25 - 39 4.4 - V mV VDD = 5V ∆ø = 1.4o, VDD = 5V EXT, SENS/ Lo VIEL - - 1.5 V - EXT, SENS/ Hi TRIG/ Lo TRIG/ Hi VIEH VOL VOH 3.5 - 0.2 5.0 - V V V - TRIG/ Sink Current ITSNK 35 - - mA VOTRIG = 2.5V TRANSIENT CHARACTERISTICS (See Figures 2, 3 and 4): PARAMETER SYMBOL MIN TYP MAX UNI T CONDITION SYNC Frequency fS 40 - 70 Hz - EXT, SENS/ Touch Duration TS1 TS1 67 80 - infinite infinite ms ms 60Hz 50Hz TRIG/ pulse width (see Note 2) TW TW ø ∆ø 45 - 130 156 1.4 159 - µs µs deg deg 60Hz 50Hz - SS SS - 1.4 1.4 - deg/33.33ms deg/40ms 60Hz 50Hz Conduction Angle ø incremental steps (Note 1) On/Off slew rate Note 1: Total number of steps = 82. Note 2: TW = 488us (60Hz), 586us (50Hz) available. Contact factory for details. 7642-042908-2 FIGURE 2. BCV Volts vs TRIG/ Conduction Angle (VDD = 5V) 180 Conduction Angle, Degrees 1 60 140 120 100 80 60 40 20 0 1 1.5 2 2.5 3 3.5 4 4.5 BCV, Volts FIGURE 3. TOUCH to ON/OFF RAMP RATE SENS/ ON (Note 3) ø OFF ss ss ON (Note 3) OFF NOTE 3. On-state brightness level is set by the analog voltage, Vb, at the BCV input 7642-042908-3 OFF FIGURE 4. TRIG/ OUTPUT CONDUCTION ANGLE, Ø SYNC The information included herein is believed to be accurate and reliable. However, LSI Computer Systems, Inc. assumes no responsibilities for inaccuracies, nor for any infringements of patent rights of others which may result from its use. ø TRIG/ TW FIGURE 5. A Typical Halogen Lamp Dimmer Wall Switch P P SEE NOTE 2 MT1 **R9 + T MT2 - Z C1 R3 C4 8 R10 R1 7 TRIG/ V SS V DD LAMP 6 5 SENS/ LS7642 C7 1 BCV TEST SYNC 2 3 C1 = 0.15µF, 200V * C1 = 0.15µF, 400V C2 = 0.22µF, 200V C2 = 0.15µF, 400V C3 = 0.002µF, 10V *Component change for 220VAC **Snubber Network (See Note 5) * R12 C4 = 100µF, 10V C5 = 0.1µF, 10V C6 = 0.01uF, 10V C7 = 0.1uF, 10V R1 = 270Ω, 1/2W * R1 = 1kΩ, 1W R2 = 680kΩ, 1/4W * R2 = 1.5MΩ, 1/4W R3 = 1.5MΩ, 1/4W ELECTRONIC EXTENSION IN914 10kΩ *R *R TOUCH PLATE 200kΩ *R = 2M W for 115VAC *R = 3.6M W for 220VAC All Resistors 1/4W P EXTENSIONS: All On / Off switching functions can be implemented by utilizing the EXT input. Use a pushbutton or the electronic switch in conjunction with a Touch Plate as shown in Figure 6. When the plate is touched, a logic high level is generated at the EXT input of the IC for both half-cycles of the line frequency. (See Figure 5) 7642-101308-4 R4 C3 MPS8599 EXT 4 R2 R11 N FIGURE 6. R6 EXT ELECTRONIC EXTENSION (FIG. 7) EXTN R5 SEE NOTE 3 C2 SEE NOTE 4 R7 D1 L 115VAC OR 220VAC C5 R8 G **C6 TOUCH PLATE NOTES 1. All circuits connected by broken lines are optional. 2. C5 is used only with electronic extension and R7 is used only with pushbutton switch. 3. Connection between Pin 6 & Pin 7 should be broken when EXT is used. 4. Magnetic transformer should have thermal protection. 5. Some electronic transformers may require larger values of C2, sensitive gate triacs and snubber networks. C2 values may have to be adjusted to be as high as 0.47uF for 115VAC and 0.33uF for 220VAC. Sensitive gate triacs are chosen for their low holding current. Typical triacs are L4004L6 and L4004F51 for 115VAC and L6004L6 and L6004F51 for 220VAC applications, respectively. **C6-R9 is the snubber network: C6 = 0.1uF, 200V, R9 = 1k Ohm, 1/2W (115VAC); C6 = 0.05uF, 400V, R9 = 1k Ohm, 1W (220VAC) 6. The values selected for R10, R11, and R12 will produce the full dimming range. To reduce the maximum intensity, increase the value of R12. To increase the minimum intensity, increase the value of R10. Increasing either R10 or R12 will reduce the dimming range. R10 may have to be increased for very low wattage loads. R4 = 1MΩ to 5MΩ, 1/4W (Select for Sensitivity) R5, R6 = 2.7MΩ, 1/4W * R5, R6 = 4.7MΩ, 1/4W R7 = 150kΩ, 1/4W R8 = 62Ω, 1/4W R10 = 33kΩ, 1/4W R11 = 100kΩ Pot., 1/4W R12 = 16kΩ, 1/4W D1 = 1N4148 Z = 5.6V, 1W (Zener) T = Q4004L4 Typical Triac (1) * T = Q5003L4 Typical Triac (1) L = 100µH (RFI Filter) * L = 200µH (RFI Filter) (1) For loads greater than 6A, use an alternistor APPLICATION EXAMPLE: A typical implementation of the light dimmer circuit is shown in Fig. 5. Here the lamp is turned on and off by touching the touch plate. The function of different components are as follows: • The 5V DC supply for the chip is provided by Z, D1, R1, C2 and C4. • R2 and C3 generate the filtered signal for the SYNC input AC phase synchronization. • R3 and C5 act as a filter circuit for the electronic extension. If extensions are not used, the EXT input (Pin 6) should be tied to Vss (Pin 7). • R4, R5 and R6 set up the sensitivity of the SENS/ input. • R8 provides current limiting and isolation between the chip output and the triac gate. • C1 and L are RFI filter circuits. • R10, R11, R12 and C7 selects and adjusts the dimming level. BCV 2 + Clock Gen − 7−bit DAC On/Off and SYNC 4 Zero Cross and Safety Shutdown Load Status Detect Sweep Control Trigger Gen SENSE/ 5 EXT 6 VDD (+V) 1 VSS (-V) 7 Touch Sense Figure 7. LS7642 Block Diagram Vs +5V +V VDD 1 Px.6 Px.5 Px.4 Px.3 uC Px.2 Px.1 Px.0 −V b<6> 100k Vo 3 BCV 50k LS7642 VSS b<5> 100k b<4> 100k 50k b<3> 100k 50k b<2> 100k 50k b<1> 100k b<0> 100k 7 Vo = Vs * N, 128 6 50k where N = 50k n b<n> * 2 n=0 100k Figure 8. Digital Control of Brightness with a uC. 8 TRIG/