LSI/CSI LS6522 UL (631) 271-0400 FAX (631) 271-0405 ® LSI Computer Systems, Inc. 1235 Walt Whitman Road, Melville, NY 11747 A3800 PIR SENSOR INTERFACE DESCRIPTION: (See Figure 2) The LS6522 is a CMOS integrated circuit, designed for detecting motion from a PIR Sensor and initiating appropriate responses. The detailed description of the functional blocks is as follows: DIFFERENTIAL AMPLIFIER Each stage of the two stage Differential Amplifier can be set to have its own amplification and bandwidth. The two inputs to the first stage allow for single ended or differential connection to PIR Sensors. This stage can be biased anywhere in its dynamic range. The second stage is internally biased so that the Window Comparator’s lower and higher thresholds can be fixed relative to this bias. WINDOW COMPARATOR The Window Comparator provides noise filtering by enabling only those signals equal to or greater than a fixed threshold at the output of the Differential Amplifier to appear at the output of the Window Comparator. COMPARATOR DIGITAL FILTER The output of the Window Comparator is filtered so that motion must be present for a certain duration before it can be recognized and appear as pulses at the Digital Filter output. 6522-021214-1 DIFF. AMP. 1 OUTPUT 1 DIFF. AMP. 2 INPUT (-) 16 DIFF. AMP 1 INPUT (-) 2 15 DIFF. AMP 1 INPUT (+) DIFF. AMP. 2 OUTPUT 3 14 5V REGULATOR OUTPUT OSCILLATOR INPUT 4 13 TIMER CONTROL INPUT AC INPUT 5 12 DEAD TIME SELECT INPUT V SS 6 11 INHIBIT INPUT 7 10 PULSE MODE SELECT INPUT 8 9 TRIAC/RELAY OUTPUT V DD LS6522 APPLICATIONS: Indoor occupancy sensors and outdoor motion-triggered lighting for energy savings, security and convenience. . PIN ASSIGNMENT - TOP VIEW LSI FEATURES: • Low Quiescent Current • Direct Interface with PIR Sensor • Two-Stage Differential Amplifier • Amplifier Gain and Bandwidth externally controlled • Window Comparator and Digital Filter limit Noise • Triac or Relay Output Drive • Programmable Output Duration Timer • Ambient Light Level Inhibit input • Selectable Dead Time • Single or Dual Pulse Detection • Timing derived from RC Oscillator or 50Hz/60Hz AC • Regulated 5V Output for PIR Sensor • Motion Detection LED Indicator • LS6522 (DIP); LS6522-S (SOIC-NB); LS6522-SW (SOIC-WB) - See Figure 1 February 2014 LED OUTPUT FIGURE 1 OUTPUT DURATION TIMER The voltage level at the TIMER CONTROL input can select 16 different timeouts for this Timer (See Table 1). The selection can be made by varying the setting of a potentiometer. The Timer is retriggerable and controls the ON duration of the TRIAC/RELAY output. The trigger for the Timer is generated from pulses appearing at the Digital Filter output. SINGLE PULSE/DUAL PULSE MODES A Single Pulse or Dual Pulse (two pulses occurring within a specified time period) at the Digital Filter output can be selected as the trigger for the Output Duration Timer. This selection is made by the logic level at the PULSE MODE SELECT input. Logic 0 = Single Pulse Mode, logic 1 = Dual Pulse Mode. LED OUTPUT This is an open drain output which is turned on by pulses generated by a retriggerable one-shot. The one-shot is triggered by the leading edge of pulses appearing at the Digital Filter output. When turned on, this output can sink current from a series Resistor-LED network returned to a positive voltage (V DD to 12.5V maximum). This results in the LED lighting whenever motion is detected. INHIBIT The Output Duration Timer can be inhibited from triggering by the voltage level at the INHIBIT input. When this voltage level exceeds the Inhibit Threshold, the Timer will be prevented from triggering if it is OFF. If the Timer is ON, the INHIBIT input is blocked from affecting the Timer. There is approximately 10% hysteresis between the Inhibit and Enable thresholds at the INHIBIT input. The LED output is not affected by the INHIBIT input. An adjustable Ambient Light Level Inhibit can be implemented by connecting a Light Determining Resistor (LDR) network to the INHIBIT input (See Figures 3 and 4). DEAD TIME False turn-ons are prevented from occurring by establishing a Dead Time between the end of the timeout of the Output Duration Timer and the retriggering of that Timer. The state of the DEAD TIME SELECT input determines the Dead Time duration (See Table 2). OSCILLATOR For battery operation, an external RC is connected to the OSCILLATOR input to produce a 50Hz or 60Hz clock. A 30Hz clock can be used to extend timing durations (See Tables 1 and 2). DC POWER SUPPLY VDD - Vss is 8V ± 1V. Typical quiescent current is 250μA (TRIAC/RELAY, LED and REGULATOR outputs not loaded). DC REGULATOR The LS6522 includes a Regulator which provides a nominal +5V to the Differential Amplifier and Window Comparator and is available as an output to supply the PIR Sensor. TRIAC/RELAY OUTPUT This open drain output turns ON when the Output Duration Timer is triggered. The output drives a Triac when the OSCILLATOR input is tied to ground and 50/60Hz is applied to the AC input (See Figure 3). The output drives a Relay when the AC input is tied to ground and an RC network is connected to the OSCILLATOR input (See Figure 4). TRIAC DRIVE (See Figure 3) With the Output Duration Timer ON and a 2.7V P-P 60Hz signal applied to the AC input, the output produces a negative-going pulse in each half-cycle delayed a nominal 1.2ms from the zero crossing. There is no more than 150μs difference between the zero-crossing delay of each pulse. RELAY DRIVE (See Figure 4) The output can sink current continously with the Output Duration Timer ON and the OSCILLATOR input active. This output can sink current from a relay coil returned to a positive voltage (VDD to 12.5V maximum). TABLE 1 OUTPUT DURATION TIMER AS A FUNCTION OF TIMER CONTROL INPUT VOLTAGE (f = Frequency at AC input or OSCILLATOR input) INPUT VOLTAGE 0 0.09 VDD 0.16 VDD 0.22 VDD 0.28 VDD 0.34 VDD 0.41 VDD 0.47 VDD 0.53 VDD 0.59 VDD 0.66 VDD 0.72 VDD 0.78 VDD 0.84 VDD 0.91 VDD VDD f = 30Hz 30 60 90 120 4 6 8 10 12 14 16 18 20 24 28 30 f = 50Hz 18 36 54 72 2.4 3.6 4.8 6 7.2 8.4 9.6 10.8 12 14.4 16.8 18 f = 60Hz 15 30 45 60 2 3 4 5 6 7 8 9 10 12 14 15 UNIT sec sec sec sec min min min min min min min min min min min min TABLE 2 DEAD TIME DURATION AS A FUNCTION OF THE STATE OF DEAD TIME SELECT INPUT (f = Frequency at AC input or OSCILLATOR input) INPUT STATE 0 OPEN 1 6522-110712-2 f = 30Hz f = 50Hz 2 8 16 1.2 4.8 9.6 f = 60Hz 1 4 8 UNIT sec sec sec ABSOLUTE MAXIMUM RATINGS: PARAMETER SYMBOL VALUE UNIT DC supply voltage Any input voltage Operating temperature Storage temperature VDD - VSS VIN TA TSTG +10 VSS - 0.3 to VDD + 0.3 -40 to +85 -65 to +150 V V °C °C ELECTRICAL CHARACTERISTICS: ( All voltages referenced to VSS, TA = -40˚C to +55˚C, 7V ≤ VDD ≤ 9V, unless otherwise specified.) PARAMETER SYMBOL MIN TYP MAX UNIT CONDITIONS IDD IDD - 250 300 350 420 μA μA VR IR 4.0 - - - 5.5 200 V μA - G CMRR PSRR ID 70 60 60 - - - 25 dB dB dB μA - VS 70 - - μV TA = 25˚C, with Amplifier Bandpass configuration as shown in Figure 3 - 0 - 2.5 V - VIR - 0.4VR - V - COMPARATOR: Lower Reference Higher Reference VTHL VTHH - - V V - DIGITAL FILTER: Input Pulse Width (for recognition) TPW TPW 66.3 79.6 - - ms ms SUPPLY CURRENT: VDD = 8V VDD = 7V - 9V REGULATOR: Voltage Current DIFFERENTIAL AMPLIFIERS: Open Loop Gain, Each Stage Common Mode Rejection Ratio Power Supply Rejection Ratio Output Drive Current Input Sensitivity (Minimum Detectable Voltage to first amplifier when both amplifiers are cascaded for a net gain of 7,500) Input Dynamic Range Diff. Amp 2 Internal Reference 0.3VR 0.5VR TRIAC/RELAY, LED and REGULATOR outputs not loaded - 60Hz operation 50Hz operation INHIBIT INPUT: Inhibit Threshold VTHI - ≥ 0.5VDD - V - Enable Threshold VTHE - ≤ 0.45VDD - V - OSCILLATOR: Resistor Capacitor RO CO - 2.2 0.01 - MΩ μF 60Hz Oscillator Frequency Resistor Capacitor RO CO - 4.3 0.01 - MΩ μF 30Hz Oscillator Frequency 6522-110712-3 PARAMETER SYMBOL MIN TYP MAX UNIT CONDITIONS OUTPUT DRIVE CURRENT: Triac (AC MODE) IO -40 - - mA With 3V Triac Gate Drive Relay (DC MODE) IO -10 - - mA With 1V Max. across the LS6501LP. TTPW TOD 15 1.00 30 1.2 45 1.32 μs ms VDD = 8V, f = 60Hz and 2.7V P-P AC input - - 150 μs f = 60Hz TRIAC OUTPUT TIMING: Pulse Width Delay from zero crossover Delay difference between zero crossovers TODD AC INPUT IMPEDANCE ZAC 270 - - kΩ - LED OUTPUT: Sink Current ILS - - 8 mA VDD = 8V, Vo = 1.5V Max. TLPW 0.75 1 1.25 sec f = 60Hz. - - 5.125 sec - Pulse Width DUAL PULSE MODE: Time between pulse-pairs for motion recognition TR DIFF AMP 2 3 OUTPUT 5V REGULATOR OUTPUT 14 DIFF AMP 2 2 INPUT (-) WINDOW COMPARATOR VREG 5 VOLT REGULATOR 8 V REG DIFF AMP 1 1 OUTPUT VDD 6 - VSS COMP VREG DIFF AMP 1 16 INPUT (-) V REG + AMP DIFF AMP 1 15 INPUT (+) + AMP VREG + V REG DIGITAL FILTER 1 SECOND PULSE GEN 9 LED OUTPUT COMP + PULSE SELECT LOGIC 10 PULSE MODE SELECT INPUT OUTPUT BUFFER TIMER CONTROL 13 INPUT INHIBIT INPUT A/D CONVERTER 11 DEAD TIME 12 SELECT INPUT OUTPUT DURATION TIMER CONTROL LOGIC INHIBIT COMPARATOR DEAD TIME TIMER FIGURE 2. LS6522 BLOCK DIAGRAM 6522-110712-4 7 TRIAC/RELAY OUTPUT ZERO CROSS-OVER DETECT 5 AC INPUT OSCILLATOR 4 OSCILLATOR INPUT S1=SPDT(On– Off– On) VDD R1 = 36k: R2 = 36k: R3 = 2.7M: R4 = 36k: R5 = 2.7M: R6 = 36k: R7 = 270:, 1/2W * R7 = 1k, 1W R8 = 1k: R9 = 620k: R10 = 6.2k: *R10 = 3.9k: R12 = 1M: R13 = 1.0M: R14 = 910k: R15 = 3.6k: All Rs 1/4W, all Capacitors 10V unless otherwise specified. C1 = 100PF C2 = 33PF C3 = 0.01PF C4 = 33PF C5 = 0.01PF C6 = 0.1PF C7 = 0.47PF, 250V *C7 = 0.33PF, 400V C8 = 1000pF C9 = 0.1PF, 250V *C9 = 0.1PF, 400V C10 = 0.02PF, 25V *C10 = 0.03PF, 25V D1 = 1N4004 LDR = SILONEX HSL-19M52 (Typical) Z1 = 9.1V, 1/2W T1 = Q4008L4(Typical) T1 = Q5004L4(Typical) PIRs = Perkin-Elmer LHi 958 or 878, Nicera RE200B, SDA02-54 (Typical) *= Component Change for 220VAC NOTES: 1. The R9, R10, C9 network provides a 2.7V Peak-to-Peak AC signal input to Pin 5. 2. The C8, D1, Z1, C7, R7 components generate the DC Supply Voltage for the LS6522. 3. The R2, C2, R3, C3, R4, C4, R5, C5, R6, C6 components and the two on-chip Differential amplifiers set a nominal gain of 5,500 with bandpass filtering of 0.13Hz to 6Hz. 4. The value of R6 may have to be adjusted if the particular PIR Sensor selected causes the input static voltage at Pin 15 to be out of the input dynamic range. This is specified under Electrical Characteristics as 0V to 2.5V. 5. Sensitivity can be adjusted to a lower value by increasing the value of R2 or R4 or by decreasing the value of R3 or R5. FIGURE 3. TYPICAL TRIAC WALL SWITCH APPLICATION 6522-021214-5 R3 C3 1 + C4 AMP 1 OUT R4 2 AMP 2 (-) IN AMP 1 (-) IN 16 AMP 1 (+) IN 15 R2 3 V DD AMP 2 OUT 5V REG OUT 4 OSC C8 RELAY POWER SUPPLY V DD 5 6 AC TIMER CONTROL DEAD TIME SEL V DD C1 13 R12 12 R14 S1 11 V SS V DD LDR R13 INH R9 R10 R8 Q1 + R1 SEE NOTE 2 D1 C6 14 R15 RELAY COIL PIR SENSOR R6 R5 C5 + C2 - 7 Q2 RELAY OUT PULSE MODE SEL V DD 10 SPDT (On - On) S1 V DD V DD R7 REGULATOR 8 + - LED OUT V DD 9 V DD R11 C7 LS6522 LED S1 = SPDT (On - Off - On) RAW DC INPUT R1 = 36kΩ R2 = 36kΩ R3 = 2.7MΩ R4 = 36kΩ R5 = 2.7MΩ R6 = 36kΩ R7 = 10kΩ R8 = 3.6kΩ R9 = 10kΩ R10 = 18kΩ R11 = 3.6kΩ R12 = 1.0MΩ R13 = 1.0MΩ R14 = 910kΩ R15 = 2.4MΩ C1 = 100μF C2 = 33μF C3 = 0.01μF C4 = 33μF C5 = 0.01μF C6 = 0.1μF C7 = 100μF C8 = 0.01μF LDR = SILONEX NSL-19M51 (Typical) Q1 = 2N3904 Q2 = 2N3906 REGULATOR = MC78L08 (Typical) RELAY = No typical P/N PIRs = Perkin-Elmer LHi 958, 878; Nicera RE200B, SDA02-54 (Typical) All Resistors 1/4W, all Capacitors 10V NOTES: 1. The “Raw DC Voltage” into the Regulator can range between 11V and 25V and generates an 8V DC Supply Voltage for the LS6522. 2. The R10, R9, Q2, R8, R7, Q1 components interface LS6522 Pin 7 to a Relay Coil returned to a separate High-Voltage DC Supply. 3. A Relay Coil returned to a maximum of 12.5V can be directly driven by the LS6522 Pin 7. FIGURE 4. TYPICAL DC RELAY APPLICATION 6522-110712-6 R2 C2 1 + - C3 AMP 1 OUT AMP 1 (-) IN R5 16 + C5 R7 R3 2 C4 PIR SENSOR 1 - AMP 2 (-) IN R4 3 R6 AMP 1 15 (+) IN PIR SENSOR 2 C6 + R8 AMP 2 OUT R10 5V REG OUT C9 C7 14 R1 LS6522 R1 = 36kΩ R2 = 2.7MΩ R3 = 36kΩ R4 = 2.7MΩ R5 = 36kΩ R6 = 36kΩ R7 = 36kΩ R8 = 36kΩ R9 = 5.6MΩ R10 = 5.6MΩ R9 C8 + C1 - C1 = 100μF C2 = 0.01μF C3 = 33μF C4 = 0.01μF C5 = 33μF C6 = 33μF C7 = 0.01μF C8 = 0.1μF C9 = 0.1μF PIRs = Perkin-Elmer LHi 958, 878; Nicera RE200B, SDA02-54 (Typical) All Resistors 1/4 W. All Capacitors 10V NOTE: A pair of PIR Sensors may be used in applications where a wider optical field of view is needed. FIGURE 5. LS6522 DIFFERENTIAL INTERFACE TO PIR SENSOR PAIR 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. 6522-110712-7 V DD 12 VOLT INPUT 8.2V V DD LS6501LP RELAY COIL 6 OFF S1 AUTO 7 ON 8 Q RELAY OUT V DD S1 = SP3T (On - On - On) FIGURE 6. LOW VOLTAGE INDUSTRIAL CONTROL For industrial applications a 12 Volt DC power supply can be used to power one or several low voltage PIR modules for many types of motion detection requirements. The low voltage, low current switch S1 provides ON/OFF/AUTO control of the Relay Coil. R9 R7 N ON SPDT (On - Off - On) P OFF AUTO MT2 MT1 T1 R11 G V DD FIGURE 3 FIGURE 7. AIR-GAP SWITCH CONTROL The application as shown in Figure 3 can be modified with the addition of a single pole, three position switch which provides for ON/OFF/AUTO control and also for the air-gap safety switch required by UL. 6522-110712-8