LSI LS6506R

LSI/CSI
UL
®
A3800
LS6506R
LS6507R
LSI Computer Systems, Inc. 1235 Walt Whitman Road, Melville, NY 11747
(631) 271-0400 FAX (631) 271-0405
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
Operation for Mode 2 is as follows:
The circuit contains a two stage PIR amplifier. The sensitivity can be adjusted 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. Refer to Figure 5 for State Diagrams.
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.
In this mode, lights can only be turned on by pressing the On/Off pushbutton. 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 pushbutton.
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 occupancy 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 momentary pushbutton.
Refer to the application schematic of Figure 2: Whenever the momentary switch SW1 is pressed, a 7 second delay period (60Hz operaDESCRIPTION
tion) or an 8.4 second delay period (50Hz operation) occurs in which
The LS6506R is a CMOS integrated circuit designed for room oc- the momentary switch operation is disabled. This enables capacitor C9
cupancy detection and can be used for switching power on to all types to be recharged so that the next operation of SW1 will be properly recof AC loads. The circuit drives a two-coil latching relay (Figure 2). When ognized.
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- An additional control potentiometer at the LDR input is used to adjust
ground connection that is located in a standard wall box. The maximum the amount of ambient light required to prevent occupancy detection
current draw from the ground line is 500µA RMS. The LS6507R draws from turning the lights on (Mode 1 only) and from resetting the time-out
its power from the AC HOT and AC NEUTRAL lines. All timing is gener- counter. The occurrence of an ambient light condition will not affect a
ated from the AC input.
timeout already in progress.
Operation for Mode 1 is as follows:
Refer to Figure 2. The IC will power up in the Off-State, S0. A momentary pressing of the pushbutton switch SW1, or occupancy detection, 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 detected, 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 selected by a potentiometer control at the Timer Control input. If occupancy is detected before time-out occurs, the selected time-out begins 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 period, the unit will revert to S0. Whether the lights are on or off, detected
motion will cause the LED indicator light to blink.
6506R-060209-1
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 zerocrossover point by 1.2ms. This delay still enables 99% power to be delivered 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 prevent false turn-ons from occurring.
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 comparator. 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 generated 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 produces a negative going 32us wide pulse in each
half-cycle delayed a nominal 1.2ms from the zerocrossing. Refer to Figure 3. Resistors R9 and R10
are used to generate the input which is then ACcoupled into the chip through C9.
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 generating the triac output. It is also the source for all timing in the LS6506R and LS6507R.
6506R-042908-2
ON/OFF INPUT (Pin 12)
The On/Off input is a momentary input used to turn the latching 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. Referring 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 certain 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 different 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 floating, 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 affected by the LDR input. It is used to sink current from a series 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 timeout and LDR networks.
TABLE 1
Output Operation Time as a Function of Time Out Input Control Voltage
Input Voltage
60Hz Operation
VIN = 0
.
50Hz Operation
Units
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 (- )
DIFF. AMP 1 INPUT (- )
2
15
DIFF. AMP 1 INPUT (+)
DIFF. AMP. 2 OUTPUT
3
14
5V REGULATOR OUTPUT
VSS
4
13
TIME-OUT INPUT
AC
5
12
ON/OFF
LR1
6
11
LDR INPUT
LR2
7
10
MODE INPUT
V DD
8
9
LED OUTPUT
LSI
16
LS6506R
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
VSS
4
13
TIME-OUT INPUT
AC
5
12
ON / OFF
N/C
6
11
LDR INPUT
TRIAC OUTPUT
7
10
MODE INPUT
8
9
LED OUTPUT
LS6507R
VDD
LSI
16
FIGURE 1B
6506R-042308-3
ABSOLUTE MAXIMUM RATINGS:
PARAMETER
SYMBOL
DC supply voltage
Any input voltage (Except AC)
AC input voltage
Operating temperature
Storage temperature
VDD - VSS
VIN
VAC
TA
TSTG
VALUE
UNIT
+17
Vss - 0.3 to VR + 0.3
Vss - 0.3 to VDD + 0.3
-40 to +70
-65 to +150
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
UNIT
CONDITIONS
SUPPLY CURRENT:
VDD = 15V
IDD
-
250
350
µA
Figure 2 configuration
REGULATOR:
Voltage
Current
VR
IR
4.0
-
100
6
150
V
µA
-
G
CMRR
PSRR
70
-
60
60
-
dB
dB
dB
-
VS
100
-
-
µV
TA = 25˚C, with Amplifier
Bandpass configuration
as shown in Figure 2
-
0
-
2.0
V
-
VIR
-
0.3VR
-
V
-
COMPARATOR:
Lower Reference
Higher Reference
VTHL
VTHH
-
VIR - 0.5
VIR + 0.5
-
V
V
-
DIGITAL FILTER:
Input Pulse Width
(for recognition)
TPW
TPW
66.6
80.0
-
-
ms
ms
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 5,000)
Input Dynamic Range
Diff. Amp 2 Internal
Reference
60Hz operation
50Hz operation
LDR INPUT:
Inhibit Threshold
VTHI
-
≥ 0.5VR
-
V
-
Enable Threshold
VTHE
-
≤ 0.45VR
-
V
-
LATCHING RELAY:
Output Sink Current
LR1 / LR2
ILO
50
-
-
mA
VOUT ≤ 1.75V
LPW
LPW
-
16.66
20.0
-
ms
ms
60Hz operation
50Hz operation
IDS
1
-
4
uA
-
On Threshold Voltage ]
Mode 1 Selection
]
VTHN
-
-
≥ 0.5VR
V
-
On Threshold Voltage ]
Mode 2 Selection
]
VTHF
≤ 0.25VR
-
-
V
-
Drive Output Pulse Width
ON / OFF & MODE INPUTS:
Input Current Source
6506R-012608-4
PARAMETER
SYMBOL
MIN
TYP
MAX
UNIT
CONDITIONS
TRIAC:
Output Drive Current
ITO
-75
-
-
mA
Output Timing:
Pulse Width
VO = VDD - 3V
3V Triac Gate Drive
TPW
20
30
45
us
-
TOD
1.00
1.20
1.32
ms
Freq = 60Hz,
and 2.7V P-P AC Input
Delay Difference
Between Zero-Crossovers
TODD
-
-
150
us
-
AC Input Impedance
ZAC
-
2.9
-
MΩ
LS6507R
LED OUTPUT:
Sink Current
ILS
2
-
-
mA
VDD = 15V, VO = 0.5V
Pulse Width
DPW
-
32
-
ms
Minimium Repetition Rate
DPS
-
-
2
sec
Delay From
Zero-Crossover
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.
6506R-042308-5
R3
V DD
C3
+
R12
-
1
C4
AMP 1
OUT
+
+
C9
-
R4
C5
2
D2
D3
4
SW3
6
P
LOAD
AC
MAINS
7
N
AMP 1
(+) IN
5
R1
5V
REG.
OUT
R13
Z1
LR1
LR2
TIME OUT
ON/OFF
14
+
C1
13
12
R8
SW1
R10
V SS
AC
11
LDR
R9
LS6506R
C7
-
C6
-
MODE
D1
PIR
SENSOR
VSS
LDR
Earth Gnd
R2
R6
AMP 2
OUT
C2
15
R5
3
LR
AMP 2
(- ) IN
AMP 1
(- ) IN
-
16
10
SW2
V SS
C8
+
8
R7
V DD
LED OUT
9
R11
V DD
LED
C1 = 100µF
C7 = 100pF, 25V
SW1 = SPST Momentary
C2 = 10µF
C8 = 50µF, 25V
SW2 = SPST
C3 = 0.01µF
C9 = 100uF, 25V
SW3 = SPST
C4 = 10µF
D2, D3 = 1N4148
C5 = 0.01µF
LDR = SILONEX NSL-19M51 (Typical)
C6 = 0.1uF
Z1 = 15V, 1/2W, 5%
D1 = DF02 Bridge Rectifier
* D1 = DF04 Bridge Rectifier
LR = Two-Coil Latching Relay (Typical):
Schrack RT314F12, Matsushita NAiS DSPIA-L2-DC12V
All Rs 1/4W, all Cs 10V unless otherwise specified.
Panasonic ADJ23012
PIR = Perkin-Elmer LHi 958 or 878, Nicera RE200B, SDA02-54 (Typical)
* = Component change for 220VAC
R1 = 1.5MΩ
R2 = 33kΩ
R3 = 1.5MΩ
R4 = 33kΩ
R5 = 1.5MΩ
R6 = 36kΩ
R7 = 220kΩ
* R7 = 390kΩ
R8 = 1MΩ
R9 = 1MΩ
R10 = 910kΩ
R11 = 12kΩ
R12 = 12kΩ
R13 = 56kΩ, 1/2W
* R13 = 120kΩ, 1/2W
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
R3
C3
+
1
C4
-
AMP 1
OUT
AMP 1
(- ) IN
+
-
16
C2
R2
R4
2
C5
AMP 1
(+ ) IN
AMP 2
(- ) IN
4
V DD
AMP 2
OUT
5V REG
OUT
R10
LOAD
R7
N
MT2
AC MAINS
MT1
TI
R11
C7
5
6
D1
ON / OFF
AC
+
+
C1
13
R12
12
SW1
R14
V SS
N/C
LDR
Z1
14
-
VSS
TIME OUT
CONTROL
C9
C6
R6
R5
3
R9
PIR
SENSOR
15
LDR
11
R13
LS6507R
C8
7
G
TRIAC
OUT
MODE
10
SW2
V SS
R8
P
8
SW3
VDD
LED
OUT
9
LED
V DD
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
C9 = 0.1µF, 25V
SW1 = SPST Momentary
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
VDD
R1
5V INTERNAL
POWER SUPPLY
5V REG
14
OUTPU T
V DD
V REG
5V
REGULATOR
8
VREG
VREG
V SS
DIFF AMP 1
INPUT(+)
4
15
DIFF AMP 1
INPUT(- )
16
DIFF AMP 1
OUTPUT
1
DIFF AMP 2
INPUT(- )
2
DIFF AMP 2
OUTPUT
3
TIME-OUT
INPUT
LDR
INPUT
ON / OFF
13
+
+
AMP
-
AMP
-
LED
OUTPUT
DRIVER
6
LR1
(6506R)
NC
(6507R)
DRIVER
7
+
CMP
V REG
DIGITAL
FILTER
CMP
-
CONTROL
LOGIC
ADC
OUTPUT
DURATION
TIMER
+
CMP
-
DEBOUNCE
FILTER
LR2
(6506R)
TRIAC
OUTPUT
(6507R)
10
ZERO
CROSS-OVER
DETECT
FIGURE 4. LS6506R / LS6507R BLOCK DIAGRAM
6506R-042908-8
9
DRIVER
+
11
12
2-SEC
PULSE
GEN.
5
MODE
INPUT
AC
Mode 1
POR
(MD and (NAL or WT))
or (PB)
(MD and (NAL or WT))
S0
S1
OFF
ON
PB
(MD and (NAL or WT))
S2
OFF
PB
TO
TO
Mode 2
PB
POR
(MD and (NAL or WT))
S0
S1
OFF
ON
(TO + PB)
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
(MD and (NAL or WT))
S0
S1
OFF
ON
(TO or PB)
MD = Motion Detect
NAL = No Ambient Light
TO = Time-Out
PB = Push-Button pressed
WT = Walking Test
FIGURE 5. STATE DIAGRAMS
6506R-060209-9
V DD
R12
C9
D2
V DD
D3
LR
P
SW3
4
AC
MAINS
U1
U1
5 2
R3
R1
3
R2
6
LR1
C1
LOAD
V DD
N
LS6506R
R6
10
U1
9
6
U1
R4
7
R5
7
LR2
C2
U1 = CD4049UB/CD4050B
R1, R4 = 51kΩ, 1/4W
R2, R5 = 2MΩ Potentiometer, 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
SW3
P
AC
MAINS
N
R1
5
AC
Earth Gnd
C7
LS6506R
D1
Z1
R2
R5
Q1
R3
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
C8
8
V DD
AC
INPUT
LR1 / LR2
OUTPUT
LPW
TRIAC
OUTPUT
T OD
T PW
LED
OUTPUT
D PW
FIGURE 8. OUTPUT TIMING
6506R-060209-12