LSI/CSI UL ® LS6511N LS6512 LS6513 LSI Computer Systems, Inc. 1235 Walt Whitman Road, Melville, NY 11747 (631) 271-0400 FAX (631) 271-0405 A3800 PIR SENSOR INTERFACE • • • • • • • • • • • FEATURES: Direct Interface with PIR Sensor Two-Stage Differential Amplifier Amplifier Gain and Bandwidth externally controlled True and Complementary Output Drives Separate digital filters for processing positive and negative input signals Single Pulse/Dual Pulse/ Concurrent Pulse Detection Adjustable Output Pulse Width Optional 5V Shunt Regulator Output 75µA Typical Supply Current Undervoltage Detection LS6511N(DIP); LS6511N-S (SOIC) - See Figure 1A LS6512(DIP); LS6512-S (SOIC) - See Figure 1A LS6513(DIP); LS6513-S (SOIC) - See Figure 1B APPLICATIONS: Security system intrusion detection, automatic doors, motion triggered events such as remote animal photography, etc. DESCRIPTION (See Figure 5) The LS6511N, LS6512 and LS6513 are CMOS integrated circuits designed for detecting motion from a PIR Sensor and initiating appropriate responses. 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. Signal levels as low as 100µV can be detected. 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 2 outputs of the Window Comparator. One output detects positive input signals while the other output detects negative input signals. COMPARATOR DIGITAL FILTER The outputs of the Window Comparator are filtered so that motion must be present for a certain duration before it can be recognized and appear as pulses at the Digital Filter outputs. An external RC network sets the duration time. Nominal duration is 50ms. MODE SELECT A tristate input pin selects how the detected signals are processed. Single Pulse (SP) Mode is when detection from either a positive or negative input signal at the Digital Filter outputs will cause an LED / RELAY output to occur. Concurrent Pulse (CP) Mode is when detection from a positive and negative input signal must occur within a specific time before an output will occur. Dual Pulse (DP) mode is when any two detections within a specific time will cause an output to occur. SP Mode = 0; CP Mode = Open; DP Mode = 1. 6511N-092509-1 September 2009 PROGRAMMABLE RETRIGGERABLE ONE-SHOTS Positive and negative input signals at the digital filter outputs will generate retriggerable one-shot pulses. In the Concurrent Pulse Mode, outputs from each one-shot must occur together at some point in time to cause an output to occur. The one-shot pulse width is programmable using an external RC network. Typical pulse widths used vary between 1 and 12 seconds. WINDOW TIMER In the Dual Pulse Mode any two detections must occur within a timing window to cause an output to occur. The timing window is programmable using an external RC network. Typical windows are between 1 and 5 seconds. ENABLE Input A low on the Enable input for LS6513 allows the LED / Relay and LED / Relay outputs to respond to the PIR input detection. If the Enable input is high, then the two outputs remain in their dormant state. The LED / Relay and LED / Relay outputs on LS6511N and LS6512 are always enabled. SEL UDV Input For the LS6513, a low on this input allows undervoltage to be detected. If left floating, undervoltage detection will not occur. OUTPUT DURATION TIMER The duration timer is retriggerable and programmable using an external RC network. Typical duration times are between 0.5 and 15 seconds. Successive input detections will restart the timer. OUTPUTS The LED / RELAY Output is an open drain output that will sink current when an input signal is detected and processed. The LS6511N will also sink current when the Power Supply drops below 3.5V (Typical) (Undervoltage Detection). The Undervoltage Detection will be removed when the Power Supply rises above 3.7V (Typical). The LED / RELAY Output performs identically but is opposite in polarity. The output can sink current from a relay coil returned to a positive voltage (VDD to 15V maximum). The LS6512 will not respond to an undervoltage detection. The LS6513 can be selected to respond or not respond to a power supply undervoltage. The undervoltage detection feature in the LS6511N assures that in security systems tampering with the power supply by loading it and causing it to be reduced in value will be quickly detected. In battery operated non-security systems applications the undervoltage feature is not desireable because it produces unwanted outputs as the batteries age. The LS6512 should be selected for these applications. SHUNT REGULATOR The LS6511N includes a 5V Shunt Regulator Output which can be tied to the V DD Pin so that the circuit can be powered from a higher voltage power supply. Note: See Figures 2, 3 and 4 for application schematics. PIN ASSIGNMENT - TOP VIEW DIFF. AMP. 1 OUTPUT 1 DIFF. AMP. 2 INPUT (- ) DIFF. AMP 1 INPUT (- ) 2 13 DIFF. AMP 1 INPUT (+) DIFF. AMP. 2 OUTPUT 3 12 5V REGULATOR OUTPUT DIGITAL FILTER RC 4 11 V DD (+V ) CP MODE / DP MODE RC 5 DURATION TIMER RC 6 9 LED / RELAY OUTPUT 7 8 LED / RELAY OUTPUT LS6511N LS6512 MODE SELECT LSI 14 10 V SS (- V ) FIGURE 1A PIN ASSIGNMENT - TOP VIEW DIFF. AMP. 1 OUTPUT 1 DIFF. AMP. 2 INPUT (- ) DIFF. AMP 1 INPUT (- ) 2 15 DIFF. AMP 1 INPUT (+) DIFF. AMP. 2 OUTPUT 3 14 5V REGULATOR OUTPUT DIGITAL FILTER RC 4 13 V DD (+V ) CP MODE / DP MODE RC 5 DURATION TIMER RC 6 11 LED / RELAY OUTPUT MODE SELECT 7 10 LED / RELAY OUTPUT ENABLE 8 9 LSI 16 LS6513 12 V SS (- V ) SEL UDV INPUT FIGURE 1B 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. 6511N-072009-2 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 -40 to +85 -65 to +150 UNIT V V °C °C ELECTRICAL CHARACTERISTICS: (All voltages referenced to VSS, TA = -40˚C to +55˚C, 4.5V ≤ VDD ≤ 6.5V, unless otherwise specified.) PARAMETER MIN TYP MAX UNIT CONDITIONS IDD IDD - 75 125 100 160 µA µA REGULATOR: Voltage Current LED/RELAY, LED/RELAY and REGULATOR outputs not loaded VR IR - 5 - 15 V mA - UNDERVOLTAGE: DETECTION RECOVERY UDV URV 2.9 3.05 3.5 3.7 4.1 4.4 V V } LS6511N } LS6513 MIN. OPERATING VOLTAGE VDM - - 3.0 V } LS6512 } LS6513 70 60 60 - - dB dB dB - SUPPLY CURRENT: VDD = 5V VDD = 4.5V - 6.5V SYMBOL DIFFERENTIAL AMPLIFIERS: Open Loop Gain, Each Stage G Common Mode Rejection Ratio CMRR Power Supply Rejection Ratio PSRR Input Sensitivity (Minimum Detectable Voltage to first amplifier when both amplifiers are cascaded for a net gain of 8,000) VS 100 - - µVp-p TA = 25˚C, with Amplifier Bandpass configuration as shown in Figure 3 Input Dynamic Range - 0 - 1.75 V - Diff. Amp 2 Internal Reference VIR - 0.35VDD - V - VTHL VTHH - VIR - 0.5V VIR + 0.5V - V V At VDD = 5.0V At VDD = 5.0V RDF CDF - 2.2 0.01 - MΩ µF - ONE SHOT (1 Second) WINDOW TIMER (2.5 Second) ROS COS RWT CWT - 2.2 0.22 2.2 0.68 - MΩ µF MΩ µF - Concurrent Pulse Window TCP - 1 - sec Dual Pulse Window TDP - 2.5 - sec RCP < 2.2MΩ } CCP = 0.22uF } } Pin 5 RDP = 2.2MΩ } CDP = 0.68uF } DURATION TIMER TDT - 4 - sec RDT = 2.2MΩ } Pin 6 CDT = 0.68µF } OUTPUT DRIVE CURRENT (VO = 0.5V Max.) IO IO -20 -10 - - mA mA VDD = 5V VDD = VDM COMPARATOR: Lower Reference Higher Reference DIGITAL FILTER: For 50ms Filter Time 6511N-092509-3 FIGURE 2. TYPICAL RELAY APPLICATION NOTE 1: The relay coil is normally energized and the LED is off. When an alarm occurs, the relay coil becomes de-energized and the LED is turned on. R1 = See NOTE 2 R2 = 36kΩ R3 = 1.5MΩ R4 = 36kΩ R5 = 1.5MΩ R3 C3 1 - C4 R4 + 2 3 V DD R6 4 V DD C7 V DD C6 5 See Note 3 R8 6 C8 V DD AMP 1 OUT AMP 1 (-) IN AMP 2 (-) IN AMP 1 (+) IN R5 C5 R7 + S V DD 7 (8) AMP 2 OUT 5V REG OUT DIG FILTER RC CP MODE or DP MODE RC V DD V SS - 14 (16) MODE ENABLE S = 3-Position SPDT (On-Off-On ) LED / REL OUT LED / REL OUT SEL UDV IN C2 R2 PIR SENSOR 13 (15) C9 R9 RAW DC INPUT R1 11 (13) + 10 (12) - + C10 - C1 RELAY COIL 9 (11) D1 R10 PIR = Perkin-Elmer LHi 958, 978 (Typical) Nicera RE200B, SDA02-54 (Typical) All Capacitors 10V. NOTE 2: R1 is selected to provide sufficient current to drive the LS6511N and PIR Sensor. Any surplus current is available to drive additional loads applied to the 5V Shunt Regulator output or is absorbed by the 5V Shunt Regulator. Refer to specifications for current limits. NOTE 3: In SP Mode, R7 and C7 are not used and Pin 5 is tied to Vss. NOTE 4: Adjust the value of R9 if the selected PIR Sensor causes the input static voltage at Pin 13 to be out of the Input Dynamic Range of 0V to 1.75V. (See Electrical Characteristics on Page 2) NOTE 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. 8 (10) (9 ) C6 = 0.01µF (Typical) C7 = 0.22µF (CP Mode; Typical) C7 = 0.68µF (DPMode; Typical) C8 = 0.22µF (Typical) C9 = 0.1µF C10 = 0.1µF Relay = No typical P/N All Resistors 1/4W. 12 (14) LS6511N/LS6512 (LS6513 ) DUR TIM RC C1 = 100µF C2 = 10µF C3 = 0.003µF C4 = 10µF C5 = 0.003µF D1 = 1N4001 R6 = 2.2MΩ (Typical) R7 = 2.2MΩ (Typical) R8 = 2.2MΩ (Typical) R9 = 36kΩ R10 = 2.2kΩ (Typical) LED NOISE CONSIDERATIONS Layout of any circuit using a high-gain PIR amplifier is critical. The PIR amplifier components should be located close to the amplifier pins on the chip in order to minimize noise pickup.The oscillator and relay drive components should be located away from the amplifier components. NOTE 6: Pins shown in parentheses and connections shown by broken lines are for LS6513 only. Other steps that can help reduce noise is adding a ground shield backplane to the PCB and enhancing the filtering of VDD; i.e., adding a 0.1uF high frequency capacitor across C1 and increasing C1 to 220 µF. FIGURE 3. INHIBITING OUTPUTS UPON POWER TURN-ON V DD 220k + - R6 2.2M LS6511N - 4 220µF C6 0.01µF 6511N-061509-4 Using the typical application circuit as shown in Figure 2, the Outputs on Pins 8 and 9 occur on power-up because of the large settling time in the amplifier stages. In applications where this is not desireable, the digital filter oscillator must be disabled on power-up long enough to enable the PIR amplifiers to stabilize. Replacing the R6-C6 circuit shown in Figure 2 with the circuit shown in Figure 3 will disable the digital filter oscillator until the voltage across the 220µF capacitor reaches a value high enough for the oscillator to begin oscillating. Component values that can be changed to speed up stabilization include C2, C3, C4 and C5. C3 and C5 become 0.001µF and C2 and C4 become 10µF. FIGURE 4. DIFFERENTIAL INTERFACE TO PIR SENSOR PAIR R2 C2 1 + AMP 1 OUT C3 R3 C4 2 R4 AMP 2 (- ) IN 3 AMP 1 (+) IN R9 C5 PIR SENSOR 1 C8 + C10 - LS6511N / LS6512 (LS6513 ) C6 PIR SENSOR 2 + C7 C9 R8 R1 11 (16) V DD R1 = 1kΩ R2 = 1.5MΩ R3 = 36kΩ R4 = 1.5MΩ R5 = 36kΩ R6 13 (15) R10 5V REG OUT + R7 AMP 2 OUT 12 R5 14 (16) AMP 1 (- ) IN 5V + C1 - R6 = 36kΩ R7 = 36kΩ R8 = 36kΩ R9 = 5.6MΩ R10 = 2.4MΩ C1 = 100µF C2 = 0.003µF C3 = 10µF C4 = 0.003µF C5 = 10µF C6 = 10µF C7 = 0.01µF C8 = 0.1µF C9 = 0.1µF C10 = 0.1µF PIRs = Perkin-Elmer LHi 954, 958, 978; Nicera RE200B, SDA02-54 (Typical) All Resistors 1/4 W. All Capacitors 10V. NOTES: 1) A pair of PIR Sensors may be used in applications where a wider optical field of view is needed. 2) External 5V Regulator drives the LS6511N and PIR sensor. FIGURE 5. BLOCK DIAGRAM ENABLE DIFF AMP 2 OUTPUT DIFF AMP 2 INPUT (-) DIGITAL FILTER RC MODE SELECT WINDOW COMPARATOR DIFF AMP 1 OUTPUT + COMP DIFF AMP 1 INPUT (-) - + OUTPUT DURATION TIMER AMP V DD + + DIGITAL FILTER WINDOW TIMER COMP - (+ V) VDD LED/RELAY OUTPUT M U X PROGRAMMABLE RETRIGGERABLE ONE-SHOT SHUNT REGULATOR VSS DRIVER DIGITAL FILTER - AMP DIFF AMP 1 INPUT (+) DRIVER (- V) 5 V REGULATOR OUTPUT PROGRAMMABLE RETRIGGERABLE ONE-SHOT CONCURRENT PULSE/ DUAL PULSE RC UNDERVOLTAGE DETECTOR 6511N-060909-5 DURATION TIMER RC SEL UDV LED/RELAY OUTPUT