LS6506R (LSI)
PIR SENSOR INTERFACE

No Preview Available !

Click to Download PDF File for PC

LSI/CSI
LS6506R
LS6507R
U® L
LSI Computer Systems, Inc. 1235 Walt Whitman Road, Melville, NY 11747 (631) 271-0400 FAX (631) 271-0405
A3800
PIR SENSOR INTERFACE
June 2009
FEATURES:
Latching relay drive (LS6506R)
LS6506R is suitable for incandescent and fluorescent lights,
electronic and magnetic ballasts, motors and heaters, etc.
• Triac drive (LS6507R)
• Sensitivity adjustment
• Push-button for manual on/off control
• Ambient light override adjustment
• Selectable time-out adjustments
3 Operating Modes:
1. Manual On or Auto On / (Manual Off and Delayed Auto On) or
(Manual Off and Manual On) or Auto Off
2. Manual On / Manual Off or Auto Off
3. Manual On or Auto On / Manual Off or Auto Off
• LED indicator light for motion detection
• Controls 115VAC and 220VAC applications
LS6506R (DIP), LS6506R-S (SOIC);
LS6507R (DIP), LS6507R-S (SOIC) - See Figures 1A & 1B
DESCRIPTION
The LS6506R is a CMOS integrated circuit designed for room oc-
cupancy detection and can be used for switching power on to all types
of AC loads. The circuit drives a two-coil latching relay (Figure 2). When
the latching relay is engaged, full AC power is connected to the load.
The LS6506R draws its power from the AC hot line and the house-
ground connection that is located in a standard wall box. The maximum
current draw from the ground line is 500µA RMS. The LS6507R draws
its power from the AC HOT and AC NEUTRAL lines. All timing is gener-
ated from the AC input.
Operation for Mode 2 is as follows:
In this mode, lights can only be turned on by pressing the On/Off push-
button. Lights will remain on if occupancy is detected. Lights will turn
off automatically when occupancy no longer exists and the time-out
occurs. Lights can also be turned off by pressing the On/Off push-
button.
Operation for Mode 3 is as follows:
In this mode, Pins 10 and 12 are connected together. One momentary
switch is used instead of the two as shown in Figures 2 and 3. Lights
can be turned on by pressing the momentary pushbutton or by oc-
cupancy detection. Lights will remain on if occupancy is detected.
Lights will turn off automatically when occupancy no longer exists and
the time-out occurs. Lights can also be turned off by pressing the mo-
mentary pushbutton.
Refer to the application schematic of Figure 2: Whenever the mo-
mentary switch SW1 is pressed, a 7 second delay period (60Hz opera-
tion) or an 8.4 second delay period (50Hz operation) occurs in which
the momentary switch operation is disabled. This enables capacitor C9
to be recharged so that the next operation of SW1 will be properly rec-
ognized.
An additional control potentiometer at the LDR input is used to adjust
the amount of ambient light required to prevent occupancy detection
from turning the lights on (Mode 1 only) and from resetting the time-out
counter. The occurrence of an ambient light condition will not affect a
timeout already in progress.
The circuit contains a two stage PIR amplifier. The sensitivity can be ad-
justed by replacing R5 in Figure 2 with a potentiometer. Upon power up
all inputs are disabled for a period of 56 seconds (60Hz operation) or 67
seconds (50Hz operation) in order for the PIR amplifier to reach its
quiescent operating state. The circuit contains two operating modes. Re-
fer to Figure 5 for State Diagrams.
Operation for Mode 1 is as follows:
Refer to Figure 2. The IC will power up in the Off-State, S0. A mo-
mentary pressing of the pushbutton switch SW1, or occupancy de-
tection, will cause a negative-going output pulse, LR1, to occur and turn
on the light and place the IC in the On-State, S1. If occupancy is not de-
tected, a negative-going output pulse, LR2, will cause the lights to turn
off after a time-out of 5, 10, 20 or 30 minutes, or 30 seconds, as se-
lected by a potentiometer control at the Timer Control input. If oc-
cupancy is detected before time-out occurs, the selected time-out be-
gins again. If time-out occurs and the lights switch off, then occupancy
detection, or pressing the pushbutton switch, will switch the lights back
on again. Once the unit is in S1, pressing the On/Off push-button switch
places the unit in the Off-State, S2 , and turns the lights off and keeps
them off as long as motion is detected, or if motion is not detected the
lights will stay off for the time-out period. At the end of the time-out pe-
riod, the unit will revert to S0. Whether the lights are on or off, detected
motion will cause the LED indicator light to blink.
The LS6506R can operate using a 12V latching relay. Figure 2 shows
typical resistor and capacitor values for a 12V relay. Z1 is specified as
a 15V zener diode. The chip generates its own 5V regulator to power
its internal circuits and a separate 5V regulator to power the two stage
PIR amplifier and external PIR. The LS6506R generates 16ms pulses
on two outputs for setting/resetting the latching relay. Upon power up,
the LS6506R generates a reset pulse as soon as its supply voltage
reaches the relay coil’s set/reset voltage. This ensures that the relay
comes up in the off position and occurs 20 seconds (60Hz operation)
or 24 seconds (50Hz operation) after power is applied.
For triac operation, the LS6507R is shown in the Figure 3 application
schematic. The LS6507R has the same features as the LS6506R.
This circuit is intended for driving lamps, motors and heaters. The
LS6507R has a single output that generates a 50µs negative pulse to
drive the gate of a triac. The pulse output is delayed from the AC zero-
crossover point by 1.2ms. This delay still enables 99% power to be de-
livered to the load while allowing circuit power to be derived from the
connection to the load. The LS6507R application schematic does not
require connection to the house-ground.
For calibration purposes in either mode, connecting the Timer Control
to VREG will set the time-out to be 30 seconds allowing for walking test
to set the desired sensitivity. Note also that a two- position switch may
be used instead of a potentiometer for time-out control. In that case,
either 5 minutes or 30 seconds is available for time-out. The circuit
also has a built-in 2 second dead time at the end of the time-out to pre-
vent false turn-ons from occurring.
http://www.Datasheet4U.com
6506R-060209-1


LS6506R (LSI)
PIR SENSOR INTERFACE

No Preview Available !

Click to Download PDF File for PC

INPUT / OUTPUT DESCRIPTION
PIR AMPLIFIER
This is a two stage amplifier. Each stage can be set
to have its own amplification and bandwidth. Pins 15
and 16 make up the positive and negative inputs for
Stage 1 and Pin 1 is the output. The two inputs allow
for single-ended or differential connection to PIR
Sensors. Pin 2 is the negative input for Stage 2. The
output of Stage 2 is applied to an internal compar-
ator. The positive input of Stage 2 is internally
biased so that the comparator’s lower and higher
threshold can be fixed relative to this bias. Only
those signals greater than a fixed threshold appear
at the output of the window comparator.
Refer to Figure 4.
LR1 / LR2 OUTPUT (LS6506R, Pin 6 / Pin7)
For the LS6506R, a 16.66ms negative going pulse
appears on the LR1 output whenever conditions call
for the latching relay to turn on. When conditions call
for the latching relay to turn off, a 16.66ms negative
going pulse appears on the LR2 output. Each output
is capable of sinking 50mA. The outputs are gener-
ated in synchronism with the AC voltage input such
that the leading edge of these outputs always occur
when the AC voltage input switches low. Refer to
Figure 6. Potentiometers R2 and R5 are adjusted so
that the relay contacts always close and open at the
AC zero-crossover at the load.
TRIAC OUTPUT (LS6507R, Pin7)
With the output duration timer on and a 2.7V P-P
60Hz Signal applied to the AC input, the output pro-
duces a negative going 32us wide pulse in each
half-cycle delayed a nominal 1.2ms from the zero-
crossing. Refer to Figure 3. Resistors R9 and R10
are used to generate the input which is then AC-
coupled into the chip through C9.
ON/OFF INPUT (Pin 12)
The On/Off input is a momentary input used to turn the latch-
ing relay on or off (LS6506R) or to enable or disable output
pulses to a triac (LS6507R). Refer to the state diagrams of
Figure 5. This input has a pull-up resistor which allows the
use of a SPST momentary switch.
LDR INPUT (Pin 11)
The Light Determining Resistor (LDR) input is used to inhibit
motion from turning on the load during daylight hours. Re-
ferring to Figure 2, the ambient level for inhibiting turn-on
can be adjusted. There is also approximately 10% hysteresis
between inhibiting and enabling at the LDR input. Under cer-
tain conditions the LDR input is also used to keep the load
off when motion is detected. Refer to Figure 5, Mode 1.
TIME CONTROL INPUT (Pin 13)
The voltage level at the time out control input selects 5 differ-
ent timeouts and the Walking Test as shown in Table 1. A
potentiometer can be used for these selections as shown in
Figure 2.
MODE INPUT (Pin 10)
This input has a pull-up resistor. When this input is left float-
ing, Mode 1 is selected. When this input is tied to ground,
Mode 2 is selected.
LED OUTPUT (Pin 9)
This is an open drain output which generates negative-going
pulses whenever motion is detected. The output is not af-
fected by the LDR input. It is used to sink current from a se-
ries Resistor – LED network as shown in Figure 3.
5V REGULATOR OUTPUT (Pin 14)
This regulator is used to provide power to the PIR sensor
and the internal PIR amplifiers as well as the external time-
out and LDR networks.
AC INPUT (Pin 5)
This input is derived from the AC hot line input. For
the LS6506R it is used for synchronizing the relay
drive outputs. For the LS6507R it is used for gener-
ating the triac output. It is also the source for all tim-
ing in the LS6506R and LS6507R.
6506R-042908-2


LS6506R (LSI)
PIR SENSOR INTERFACE

No Preview Available !

Click to Download PDF File for PC

TABLE 1
Output Operation Time as a Function of Time Out Input Control Voltage
Input Voltage
60Hz Operation
50Hz Operation
Units
VIN = 0
5 6 Minutes
VIN = 0.25VREG
10 12 Minutes
VIN = 0.5VREG
20 24 Minutes
VIN = 0.75VREG
30 36 Minutes
*VIN = VREG
30 36 Seconds
*Walking Test: Ambient light will not prevent motion from turning
the lights on or resetting the time-out counter
.
PIN ASSIGNMENT - TOP VIEW
DIFF. AMP. 1 OUTPUT 1
DIFF. AMP. 2 INPUT (- ) 2
DIFF. AMP. 2 OUTPUT 3
VSS 4
AC 5
LR1 6
LR2 7
V DD 8
16 DIFF. AMP 1 INPUT (- )
15 DIFF. AMP 1 INPUT (+)
14 5V REGULATOR OUTPUT
13 TIME-OUT INPUT
12 ON/OFF
11 LDR INPUT
10 MODE INPUT
9 LED OUTPUT
FIGURE 1A
6506R-042308-3
PIN ASSIGNMENT - TOP VIEW
DIFF. AMP. 1 OUTPUT 1
DIFF. AMP. 2 INPUT (- ) 2
DIFF. AMP. 2 OUTPUT 3
VSS 4
AC 5
N/C 6
TRIAC OUTPUT 7
VDD 8
16 DIFF. AMP 1 INPUT (- )
15 DIFF. AMP 1 INPUT (+)
14 5V REGULATOR OUTPUT
13 TIME-OUT INPUT
12 ON / OFF
11 LDR INPUT
10 MODE INPUT
9 LED OUTPUT
FIGURE 1B


LS6506R (LSI)
PIR SENSOR INTERFACE

No Preview Available !

Click to Download PDF File for PC

ABSOLUTE MAXIMUM RATINGS:
PARAMETER
DC supply voltage
Any input voltage (Except AC)
AC input voltage
Operating temperature
Storage temperature
SYMBOL
VDD - VSS
VIN
VAC
TA
TSTG
VALUE
+17
Vss - 0.3 to VR + 0.3
Vss - 0.3 to VDD + 0.3
-40 to +70
-65 to +150
UNIT
V
V
V
°C
°C
ELECTRICAL CHARACTERISTICS:
(All voltages referenced to VSS, TA = -40˚C to +55˚C, VDD = 15V, unless otherwise specified.)
PARAMETER
SYMBOL
MIN
TYP
MAX
SUPPLY CURRENT:
VDD = 15V
IDD -
250 350
REGULATOR:
Voltage
Current
VR 4.0
-
6
IR - 100 150
DIFFERENTIAL AMPLIFIERS:
Open Loop Gain, Each Stage
Common Mode Rejection Ratio
Power Supply Rejection Ratio
G
CMRR
PSRR
70
-
-
-
60
60
-
-
-
Input Sensitivity
(Minimum Detectable Voltage
to first amplifier when both
amplifiers are cascaded for
a net gain of 5,000)
VS
100
-
-
Input Dynamic Range
-0
- 2.0
Diff. Amp 2 Internal
Reference
VIR - 0.3VR -
COMPARATOR:
Lower Reference
Higher Reference
VTHL
VTHH
- VIR - 0.5
- VIR + 0.5
-
-
UNIT
µA
V
µA
dB
dB
dB
µV
V
V
V
V
CONDITIONS
Figure 2 configuration
-
-
-
-
-
TA = 25˚C, with Amplifier
Bandpass configuration
as shown in Figure 2
-
-
-
-
DIGITAL FILTER:
Input Pulse Width
(for recognition)
TPW
TPW
LDR INPUT:
Inhibit Threshold
VTHI
Enable Threshold
VTHE
LATCHING RELAY:
Output Sink Current
LR1 / LR2
ILO
Drive Output Pulse Width
LPW
LPW
ON / OFF & MODE INPUTS:
Input Current Source
IDS
On Threshold Voltage ]
Mode 1 Selection ]
VTHN
On Threshold Voltage ]
Mode 2 Selection ]
VTHF
6506R-012608-4
66.6
80.0
-
-
-
-
0.5VR
0.45VR
-
-
-
-
50
-
-
1
-
0.25VR
-
16.66
20.0
-
-
-
-
-
-
4
0.5VR
-
ms 60Hz operation
ms 50Hz operation
V-
V-
mA VOUT 1.75V
ms 60Hz operation
ms 50Hz operation
uA -
V-
V-


LS6506R (LSI)
PIR SENSOR INTERFACE

No Preview Available !

Click to Download PDF File for PC

PARAMETER
TRIAC:
Output Drive Current
Output Timing:
Pulse Width
Delay From
Zero-Crossover
Delay Difference
Between Zero-Crossovers
AC Input Impedance
LED OUTPUT:
Sink Current
Pulse Width
Minimium Repetition Rate
SYMBOL
ITO
TPW
TOD
TODD
ZAC
ILS
DPW
DPS
MIN
-75
20
1.00
-
-
2
-
-
TYP
-
30
1.20
-
2.9
-
32
-
MAX
-
45
1.32
150
-
-
-
2
UNIT
CONDITIONS
mA VO = VDD - 3V
3V Triac Gate Drive
us -
ms Freq = 60Hz,
and 2.7V P-P AC Input
us -
MLS6507R
mA VDD = 15V, VO = 0.5V
ms
sec
6506R-042308-5
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.


LS6506R (LSI)
PIR SENSOR INTERFACE

No Preview Available !

Click to Download PDF File for PC

V DD
R12
+
C9
-
D2
SW3
P
AC
MAINS
N
LR
D3
LOAD
R1
Earth Gnd
D1
R13
Z1
R7
R3
C3
1 AMP 1
- OUT
+C4
R4
2 AMP 2
(- ) IN
C5 R5
3 AMP 2
OUT
4
VSS
6
LR1
7
LR2
AMP 1
(- ) IN
16
AMP 1
(+) IN
15
5V
REG.
OUT
14
13
TIME OUT
12
ON/OFF
5
AC
11
LDR
C7 LS6506R
MODE 10
-C8
+
8
V DD
LED OUT 9
+
C2
-
R2
R6 C6
PIR
SENSOR
+
- C1
SW1
V SS
R8
R10
SW2
V SS
LDR
R9
V DD
R11 LED
R1 = 1.5M
* R7 = 390k
C1 = 100µF
C7 = 100pF, 25V SW1 = SPST Momentary
R2 = 33k
R3 = 1.5M
R8 = 1M
R9 = 1M
C2 = 10µF
C3 = 0.01µF
C8 = 50µF, 25V SW2 = SPST
C9 = 100uF, 25V SW3 = SPST
R4 = 33k
R10 = 910k
C4 = 10µF
D2, D3 = 1N4148
R5 = 1.5M
R6 = 36k
R11 = 12k
R12 = 12k
C5 = 0.01µF
C6 = 0.1uF
LDR = SILONEX NSL-19M51 (Typical)
Z1 = 15V, 1/2W, 5%
R7 = 220k
R13 = 56k, 1/2W
* R13 = 120k, 1/2W
D1 = DF02 Bridge Rectifier
* D1 = DF04 Bridge Rectifier
LR = Two-Coil Latching Relay (Typical):
All Rs 1/4W, all Cs 10V unless otherwise specified.
Schrack RT314F12, Matsushita NAiS DSPIA-L2-DC12V
Panasonic ADJ23012
* = Component change for 220VAC
PIR = Perkin-Elmer LHi 958 or 878, Nicera RE200B, SDA02-54 (Typical)
NOTES: 1. The C8, D1, Z1, R7 components generate the DC Supply Voltage for the LS6506R.
2. The R2, C2, R3, C3, R4, C4, R5, C5, R6, C6 components and the two on-chip Differential Amplifiers
set a nominal gain of 2,000 with bandpass filtering of 0.5Hz to 10Hz.
3. R5 may be replaced with a potentiometer in order to adjust the Sensitivity.
4. The value of R6 may have to be adjusted if the selected PIR Sensor causes the input static voltage
at Pin 15 to be out of the Input Dynamic Range.
5. LR1 output closes contacts of Relay LR. LR2 output opens contacts of Relay LR.
6. Total Earth Ground current is typically 450uA RMS.
FIGURE 2. Typical Two-Coil Latching Relay Wall Switch Application
6506R-121508-6


LS6506R (LSI)
PIR SENSOR INTERFACE

No Preview Available !

Click to Download PDF File for PC

R3
C3
LOAD
N
MT2
MT1
AC MAINS
-
C4 +
R4
C5 R5
1 AMP 1
OUT
2 AMP 2
(- ) IN
AMP 1
(- ) IN
16
AMP 1 15
(+ ) IN
3 AMP 2
OUT
5V REG 14
OUT
V DD
R10
R9 C9
4
VSS
5 AC
TIME OUT
CONTROL
13
ON / OFF 12
R7 C7
D1
6
N/C
LDR 11
TI
R11
G
LS6507R
Z1 - C8
+ 7 TRIAC
MODE 10
OUT
P
SW3
R8
8 VDD
V DD
LED
OUT
9
+
C2
-
R2
R6 C6
+
- C1
SW1
V SS
SW2
V SS
VDD
R1
LED
PIR
SENSOR
R12
R14
LDR
R13
R1 = 12k
R2 = 33k
R3 = 1.5M
R4 = 33k
R5 = 1.5M
R6 = 36k
R7 = 270, 1/2W
* R7 = 1k, 1W
R8 = 1k
R9 = 910k
R10 = 7.5k
* R10 = 3.6k
R11 = 100
R12 = 1.0M
R13 = 1.0M
R14 = 910k
All Resistors 1/4W, all Capacitors 10V
unless otherwise specified.
C1 = 100µF
C2 = 10µF
C3 = 0.01µF
C4 = 10µF
C5 = 0.01µF
C6 = 0.1µF
C7 = 0.47µF, 250V
* C7 = 0.33µF, 400V
C8 = 1000µF, 25V
SW1 = SPST Momentary
C9 = 0.1µF, 25V
SW2 = SPST
SW3 = SPST
D1 = 1N4004
LDR = Silonex NSL-19M51 (Typical)
Z1 = 15V, 1/2W, 5%
T1 = Q4008L4 (Typical)
* T1 = Q5004L4 (Typical)
PIR = Perkin-Elmer LHi 958 or 878 (Typical)
Nicera RE200B, SDA02-54 (Typical)
* = Component change for 220VAC
NOTE: The R9, R10, C9 network provides a 2.7V P-P AC signal input to Pin 5.
FIGURE 3. Typical Triac Wall Switch Application
6506R-101308-7


LS6506R (LSI)
PIR SENSOR INTERFACE

No Preview Available !

Click to Download PDF File for PC

5V REG
OUTPU T
14
V DD 8
V SS 4
DIFF AMP 1
INPUT(+ )
15
DIFF AMP 1
INPUT(- )
DIFF AMP 1
OUTPUT
16
1
5V INTERNAL
POWER SUPPLY
5V
REGULATOR
VREG
V REG
VREG
+
AMP
-
+
AMP
-
+
CMP
-
V REG
+
CMP
-
2-SEC
PULSE
GEN.
DRIVER
DIGITAL
FILTER
DIFF AMP 2
INPUT(- )
DIFF AMP 2
OUTPUT
2
3
CONTROL
LOGIC
DRIVER
DRIVER
TIME-OUT 13
INPUT
ADC
OUTPUT
DURATION
TIMER
9
LED
OUTPUT
LR1
6
(6506R)
NC
(6507R)
LR2
7 (6506R)
TRIAC
OUTPUT
(6507R)
LDR
INPUT
11
+
CMP
-
10
MODE
INPUT
ON / OFF 12
DEBOUNCE
FILTER
ZERO
CROSS-OVER
DETECT
5 AC
6506R-042908-8
FIGURE 4. LS6506R / LS6507R BLOCK DIAGRAM


LS6506R (LSI)
PIR SENSOR INTERFACE

No Preview Available !

Click to Download PDF File for PC

Mode 1
POR
Mode 2
(MD and (NAL or WT))
or (PB)
(MD and (NAL or WT))
PB (MD and (NAL or WT))
S0
OFF
TO
S1
ON
TO
S2
OFF
PB
PB (MD and (NAL or WT))
POR
S0
OFF
(TO + PB)
S1
ON
Mode 3
Note:
Mode 3 is entered by connecting
Pins 10 and 12 together and using
one momentary switch.
POR
(MD and (NAL or WT))
or PB
S0
OFF
(TO or PB)
(MD and (NAL or WT))
S1
ON
MD = Motion Detect
NAL = No Ambient Light
TO = Time-Out
PB = Push-Button pressed
WT = Walking Test
6506R-060209-9
FIGURE 5. STATE DIAGRAMS


LS6506R (LSI)
PIR SENSOR INTERFACE

No Preview Available !

Click to Download PDF File for PC

V DD
R12
C9
D2
SW3
P
AC
MAINS
N
V DD
D3
LR R3
U1 U1
4 52 3
R1 R2 6
LR1
LOAD
C1
V DD
LS6506R
U1 U1
10
96
7
R6
R4 R5
7
LR2
C2
U1 = CD4049UB/CD4050B
R1, R4 = 51k, 1/4W
R2, R5 = 2MPotentiometer, 1/4W
R3, R6 = 100k, 1/4W
C1, C2 = 0.01uF, 25V
Note: Connect U1 Pins 11 and 14 to Gnd.
Outputs LR1 and LR2 occur on the negative edge of the AC input at Pin 5 of the LS6506R.
Variable resistors R2 and R5 are adjusted so the relay contact closes and opens at the
at the AC zero-crossover at the Load.
FIGURE 6. Zero-Crossing Adjustment
6506R-012608-10


LS6506R (LSI)
PIR SENSOR INTERFACE

No Preview Available !

Click to Download PDF File for PC

P
AC
MAINS
N
SW3
R1 5 AC
Earth Gnd
D1
C7
LS6506R
Z1 C8
R5
R2
Q1
R3
8 V DD
R4
Z2
Q1 = MPSA42 or equivalent
R1 = 1.5M, 1/4W (Reference Figure 2)
R2 = 180k, 1/4W
R3 = 12k, 1/4W
R4 = 4.7M, 1/4W
R5 = 91k, 1W
C7 = 0.001uF, 25V (Reference Figure 2)
C8 = 50µF, 25V (Reference Figure 2)
Z1 = 15V, 5%, 1/2W (Reference Figure 2)
Z2 = 5.6V, 10%, 1/4W
The AC current drawn from Earth Ground is regulated to remain virtually constant
as the AC Mains Voltage varies from 120VRMS to 277VRMS
FIGURE 7. Earth Ground Current Regulator
6506R-042308-11


LS6506R (LSI)
PIR SENSOR INTERFACE

No Preview Available !

Click to Download PDF File for PC

AC
INPUT
LR1 / LR2
OUTPUT
TRIAC
OUTPUT
LED
OUTPUT
LPW
TOD
D PW
TPW
6506R-060209-12
FIGURE 8. OUTPUT TIMING




LS6506R.pdf
Click to Download PDF File