LSI/CSI UL ® LS6511 LSI Computer Systems, Inc. 1235 Walt Whitman Road, Melville, NY 11747 (631) 271-0400 FAX (631) 271-0405 A3800 PIR SENSOR INTERFACE DESCRIPTION (See Figure 5) The LS6511 is a CMOS integrated circuit, 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. 6511-102502-1 DIFF. AMP. 1 OUTPUT 1 DIFF. AMP. 2 INPUT (-) 14 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 10 V SS (- V ) LS6511 APPLICATIONS: Security system intrusion detection, automatic doors, motion triggered events such as remote animal photography. PIN ASSIGNMENT - TOP VIEW LSI 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 • 50µA Typical Supply Current • Undervoltage Detection • LS6511(DIP); LS6511-S (SOIC) - See Figure 1 October 2002 DURATION TIMER RC 6 MODE SELECT 7 9 LED/RELAY OUTPUT 8 LED/RELAY OUTPUT FIGURE 1 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. 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 and when the Power Supply drops below 3.7V (Typical) (Undervoltage Detection). The Undervoltage Detection will be removed when the Power Supply rises above 3.9V (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 9.5V maximum). SHUNT REGULATOR The LS6511 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. ABSOLUTE MAXIMUM RATINGS: PARAMETER SYMBOL VALUE UNIT DC supply voltage Any input voltage Operating temperature Storage temperature VDD - VSS VIN TA TSTG +7 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, 4.5V ≤ VDD ≤ 6.5V, unless otherwise specified.) PARAMETER SYMBOL SUPPLY CURRENT: VDD = 5V VDD = 4.5V - 6.5V MIN TYP MAX UNIT CONDITIONS IDD IDD - 50 65 75 125 µA µA LED/RELAY, LED/RELAY and REGULATOR outputs not loaded VR IR 5.00 5.75 - - 6.25 10 V mA - G CMRR PSRR 70 60 60 - - dB dB dB - VS 100 - - µVp-p - 0 - 1.75 V - VIR - 0.3VDD - V - VTHL VTHH - VIR - 0.8V VIR + 0.8V - V V At VDD = 5.75V At VDD = 5.75V RDF CDF - 2.2 0.01 - MΩ µF - ROS COS RWT CWT - 2.2 0.22 2.2 0.68 - MΩ µF MΩ µF - REGULATOR: Voltage Current DIFFERENTIAL AMPLIFIERS: Open Loop Gain, Each Stage Common Mode Rejection Ratio Power Supply Rejection Ratio Input Sensitivity (Minimum Detectable Voltage to first amplifier when both amplifiers are cascaded for a net gain of 8,000) Input Dynamic Range Diff. Amp 2 Internal Reference COMPARATOR: Lower Reference Higher Reference DIGITAL FILTER: For 50ms Filter Time ONE SHOT (1 Second) WINDOW TIMER (2.5 Second) DURATION TIMER (5 Seconds) RDT CDT - 2.2 0.68 - MΩ µF OUTPUT DRIVE CURRENT IO -20 - - mA TA = 25˚C, with Amplifier Bandpass configuration as shown in Figure 3 - - VDD = 5V (Vo = 0.5V Max.) 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. 6511-102402-2 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 = 2.7MΩ R4 = 36kΩ R5 = 2.7MΩ R3 C3 1 + C4 AMP 1 OUT AMP 1 (-)IN AMP 2 (-)IN AMP 1 (+)IN + C2 - 14 R2 R4 2 C5 3 C9 R9 R5 V DD PIR SENSOR 13 AMP 2 OUT 5V REG OUT 12 RAW DC INPUT R6 4 V DD DIG FILTER RC V DD C6 R1 11 + R7 5 See Note 3 C7 V DD C1 CP MODE or DP MODE RC R8 6 C8 V DD S All Resistors 1/4W. RELAY COIL 9 LED/REL OUT 8 7 MODE PIR = HEIMANN LHi 958, 968 (Typical) 10 LED/REL OUT DUR TIM RC C1 = 100µF C2 = 33µF C3 = 0.01µF C4 = 33µF C5 = 0.01µF 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 D1 = 1N4001 RELAY = No typical P/N - V SS LS6511 R6 = 2.2MΩ (Typical) R7 = 2.2MΩ (Typical) R8 = 2.2MΩ (Typical) R9 = 3kΩ R10 = 2.2kΩ (Typical) NOTE 2: R1 is selected to provide sufficient current to drive the LS6511 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. D1 R10 LED NOTE 3: In SP Mode, R7 and C7 are not used and Pin 5 is tied to Vss. S = 3-Position SPDT (On-Off-On) 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. All Capacitors 10V. 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 100k R6 2.2M LS6511 - 4 + 220µF C6 .01µF 6511-102402-3 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 - C3 + AMP 1 OUT AMP 1 (-)IN R5 14 + C5 - PIR SENSOR 1 R7 C8 R3 2 AMP 2 (-)IN AMP 1 (+)IN R4 C4 3 12 AMP 2 OUT C6 R6 13 + PIR SENSOR 2 R8 R10 LS6511 5V REG OUT V DD R9 C9 C7 5V + C1 - R1 R1 = 1kΩ R6 = 36kΩ C1 = 100µF R2 = 2.7MΩ R7 = 36kΩ C2 = 0.01µF R3 = 36kΩ R8 = 36kΩ C3 = 33µF R4 = 2.7MΩ R9 = 5.6MΩ C4 = 0.01µF R5 = 36kΩ R10 = 2.4MΩ C5 = 33µF PIRs = HEIMANN LHi 954, 958, 978, 874 or 878 (Typical) C6 = 33µF C7 = 0.01µF C8 = 0.1µF C9 = 0.1µF 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 LS6511 and PIR sensor. FIGURE 5. LS6511 BLOCK DIAGRAM DIGITAL FILTER RC DIFF AMP 2 3 OUTPUT 4 DURATION TIMER RC 7 6 DIFF AMP 2 2 INPUT (-) MODE SELECT WINDOW COMPARATOR DIFF AMP 1 1 OUTPUT OUTPUT DURATION TIMER + COMP DIFF AMP 1 14 INPUT (-) - DIFF AMP 1 13 INPUT (+) + - DRIVER 9 LED/RELAY OUTPUT DIGITAL FILTER AMP AMP + V DD DIGITAL FILTER + COMP M U X WINDOW TIMER - (+V) VDD 11 SHUNT REGULATOR VSS 10 PROGRAMMABLE RETRIGGERABLE ONE-SHOT DRIVER (-V) 5 V REGULATOR 12 OUTPUT PROGRAMMABLE RETRIGGERABLE ONE-SHOT CONCURRENT PULSE/ DUAL PULSE RC 5 UNDERVOLTAGE DETECTOR 6511-102402-4 8 LED/RELAY OUTPUT