HT761X General Purpose PIR Controller Features · Operating voltage: 5V~12V · ON/AUTO/OFF selectable by MODE pin · Standby current: 100mA (Typ.) · Override function · On-chip regulator · Auto-reset if the ZC signal disappears over 3 seconds · Adjustable output duration · 16-pin DIP package · CDS input · 40 second warm-up Applications · PIR light controllers · Alarm systems · Motion detectors · Auto door bells General Description voltage variation. If the PIR output voltage variation conforms to the criteria (refer to the functional description), the lamp is turned on with an adjustable duration. The HT761X is a CMOS LSI chip designed for use in automatic PIR lamp control. It can operate with a 2-wire configuration for triac applications or with a 3-wire configuration for relay applications. The chip is equipped with operational amplifiers, a comparator, timer, a zero crossing detector, control circuit, a voltage regulator, a system oscillator, and an output timing oscillator. The HT761X offers three operating modes (ON, AUTO, OFF) which can be set through the MODE pin. While the chip is working in the AUTO mode the user can override it and switch to the TEST mode, or manual ON mode, or return to the AUTO mode by switching the power switch. Its PIR sensor detects infrared power variations induced by the motion of a human body and transforms it to a Selection Table Part No. ZC Off/On for Override Flash on Mde Auto-change Override ON Duration Comparator Window Effective Trigger Width HT7610A HT7610B 2 times Flash 8 hrs 1 (VDD-VEE) 16 >24ms HT7611A HT7611B 1 time No flash 8 hrs 1 (VDD-VEE) 16 >24ms Note: Part numbers suffixed with A are for Relay application while those suffixed with B are for Triac application. Pin Assignment V S S 1 1 6 O P 2 O V S S 1 1 6 O P 2 O T R IA C 2 1 5 O P 2 N R E L A Y 1 5 O P 2 N O S C D 3 1 4 O P 2 P O S C D 2 3 1 4 O P 2 P O S C S 4 1 3 O P 1 O O S C S 4 1 3 O P 1 O Z C 5 1 2 O P 1 N Z C 5 1 2 O P 1 N C D S 6 1 1 O P 1 P C D S 1 1 O P 1 P M O D E 7 1 0 R S T M O D E 6 7 1 0 V D D 8 V E E V D D 9 9 R S T V E E H T 7 6 1 X A 1 6 D IP -B R E L A Y V E R S IO N H T 7 6 1 X B 1 6 D IP -A T R IA C V E R S IO N Rev. 1.10 8 1 September 18, 2002 HT761X Block Diagram O P 2 O O P 2 N C o m p a ra to r O P 2 P O P 1 O V O P 1 N C D S V S S V o lta g e D iv id e r O P 1 P M O D E M o d e & C D S C ir c u it L a tc h C ir c u it V D D C o n tro l C ir c u it D D R E L A Y (T R IA C ) O u tp u t C ir c u it V E E R e g u la to r O S C D D e la y O s c illa to r D e la y C ir c u it O S C S S y s te m O s c illa to r C o u n te r C ir c u it R S T Z e ro C ro s s D e b o u n c e Z C Pin Description Pin Name I/O Internal Connection VSS ¾ ¾ RELAY O CMOS RELAY drive output through an external NPN transistor, active high. TRIAC O CMOS TRIAC drive output The output is a pulse output when active. OSCD I/O PMOS IN NMOS OUT Output timing oscillator I/O It is connected to an external RC to adjust output duration. OSCS I/O PMOS IN NMOS OUT System oscillator I/O OSCS is connected to an external RC to set the system frequency. The system frequency is at 16kHz for normal application. ZC I CMOS Input for AC zero crossing detection CDS I CMOS CDS is connected to a CDS voltage divider for daytime/night auto-detection. Low input to this pin can disable the PIR input. CDS a Schmitt Trigger input with 5-second input debounce time. I CMOS Operating mode selection input: VDD: Output is always ON VSS: Output is always OFF Open: Auto detection VDD ¾ ¾ VEE O NMOS RST I Pull-High Chip reset input, active low OP1P I PMOS Noninverting input of OP1 OP1N I PMOS Inverting input of OP1 OP1O O NMOS Output of OP1 OP2P I PMOS Noninverting input of OP2 OP2N I PMOS Inverting input of OP2 OP2O O NMOS Output of OP2 MODE Rev. 1.10 Description Negative power supply, ground Positive power supply Regulated voltage output The output voltage is -4V with respect to VDD. 2 September 18, 2002 HT761X Absolute Maximum Ratings Supply Voltage .........................................-0.3V to 13V Storage Temperature ...........................-50°C to 125°C Input Voltage .............................VSS-0.3V to VDD+0.3V Operating Temperature ..........................-25°C to 70°C Zero Crossing Current ................................Max. 300mA Note: These are stress ratings only. Stresses exceeding the range specified under ²Absolute Maximum Ratings² may cause substantial damage to the device. Functional operation of this device at other conditions beyond those listed in the specification is not implied and prolonged exposure to extreme conditions may affect device reliability. Electrical Characteristics Symbol Parameter Test Condition VDD Condition ¾ ¾ Min. Typ. Max. Unit 5 9 12 V VDD Operating Voltage VEE Regulator Output Voltage 12V VDD-VEE 3.5 4 4.5 V IDD Operating Current 12V No load, OSC on ¾ 100 350 mA IOH1 OUTPUT Source Current (RELAY, TRIAC) 12V VOH=10.8V -6 12 ¾ mA IOL1 OUTPUT Sink Current (RELAY, TRIAC) 12V VOL=1.2V 40 80 ¾ mA IOL2 VEE Sink Current 12V VDD-VEE=4V ¾ ¾ ¾ mA VIH ²H² Input Voltage ¾ ¾ 0.8VDD ¾ ¾ V VIL ²L² Input Voltage ¾ ¾ ¾ ¾ 0.2VDD V VTH1 CDS ²H² Transfer Voltage 12V ¾ 6.4 8 9.6 V VTL1 CDS ²L² Transfer Voltage 12V ¾ 3.7 4.7 5.6 V VTH2 ZC ²H² Transfer Voltage 12V ¾ 4.7 6.7 8.7 V VTL2 ZC ²L² Transfer Voltage 12V ¾ 1.3 1.8 2.3 V VOS OP Amp Input Offset Voltage 12V No load ¾ 10 35 mV fSYS System Oscillator Frequency 12V ROSCS=560kW COSCS=100pF 12.8 16 19.2 KHz fd Delay Oscillator Frequency 12V ROSCD=560kW COSCD=100pF 12.8 16 19.2 KHz AVO OP Amp Open Loop Gain 12V No load 60 80 ¾ dB Functional Description VEE V VEE supplies power to the analog front end circuit with a normally stabilized voltage of -4V with respect to VDD. R S 5 6 0 k W OSCS D D O S C S C S 1 0 0 p F OSCS is a system oscillator input pin. When it is connected to an external RC, a system frequency of 16kHz can be generated. System oscillator Rev. 1.10 3 September 18, 2002 HT761X CDS OSCD OSCD is an output timing oscillator input pin. It is connected to an external RC to obtain the desired output turn-on duration. Variable output turn-on durations can be achieved by selecting various values of RC or using a variable resistor. V PIR Day Time Disabled HIGH Night Enabled C D S 5 s e c < 5 s e c D D P IR R Status LOW e n a b le d is a b le e n a b le D O S C D TD = C D MODE 1 ´ 21504 f MODE is a tristate input pin used to select the operating mode. MODE Operating Status Mode Output timing oscillator RELAY (TRIAC) RELAY is an output pin set as a RELAY driving (active high) output for the HT761XA, or as a TRIAC driving (active low) output for the HT761XB. VDD ON Output is always ON: RELAY outputs high for relay driving. TRIAC pulse train output is synchronized by ZC for triac driving. VSS OFF Output is always OFF: RELAY outputs low for relay driving. TRIAC outputs high for triac driving. AUTO Outputs remain in the off state until activated by a valid PIR input trigger signal. When working in the AUTO mode, the chip allows override control by switching the ZC signal. The output active duration is controlled by the OSCD oscillating period. HT761XA HT761XB RELAY TRIAC OUTPUT Description Open CDS CDS is a CMOS Schmitt Trigger input structure. It is used to distinguish between day time and night time. When the input voltage of CDS is high the PIR input is enabled. On the other hand, when CDS is low the PIR input is disabled. The input disable to enable debounce time is 5 seconds. Connect this pin to VDD when this function is not used. The CDS input is ignored when the output is active. 1 0 s R S T B 4 0 s w a r m - u p tim e Z C < 3 s O F F /O N o n e o r tw o tim e s b y m a s k o p tio n T e s t e n a b le > 0 .3 4 s C o m p a ra to r o u tp u t fla s h 3 tim e s in 1 H z fla s h o r n o t b y m a s k o p tio n * R E L A Y (T R IA C ) 2 s * : fla fla # : fla fla Rev. 1.10 O N O F F s h s h s h s h 3 tim o r n 3 tim o r n e o t e o t s a b y s a b y t a m t a m 1 H z a s k o 2 H z a s k o O N 2 s # O N 2 s O N 2 s 2 s > 3 2 s ra te p tio n ra te p tio n 4 September 18, 2002 HT761X ZC ZC is a CMOS input structure. It receives AC line frequency and generates zero crossing pulses to synchronize the triac driver. By effective ZC signal switching (switch OFF/ON 1 or 2 times within 3 seconds by mask option), the chip provides the following additional functions: V V C C D D R E S T 1 0 0 m F R S T C R S T · Test mode control V E E Within 10 seconds after power-on, effective ZC switching will force the chip to enter the test mode. During the test mode, the outputs will be active for a duration of 2 seconds each time a valid PIR trigger signal is received. If a time interval exceeds 32 seconds without a valid trigger input, the chip will automatically enter the AUTO mode. Fig.1 RST application example Power on initial The PIR signal amplifier requires a warm up period after power-on. The input should be disabled during this period. · Override control When the chip is working in an AUTO mode (MODE=open), the output is activated by a valid PIR trigger signal and the output active duration is controlled by an OSCD oscillating period. The lamp can be switched always to ²ON² from the AUTO mode by either switching the MODE pin to VDD or switching the ZC signal by an OFF/ON operation of the power switch (OFF/ON once or twice within 3 seconds by mask option). The term ²override² refers to the change of operating mode by switching the power switch. The chip can be toggled from ON to AUTO by an override operation. If the chip is overridden to ON and there is no further override operation, it will automatically return to AUTO after an internal preset ON time duration has elapsed. This override ON time duration can be set to 4 or 6 or 8 hours by mask option. The default is 8 hours. The chip provides a mask option to determine the output flash times (3 times) when changing the operating mode. It will flash 3 times at a 1Hz rate each time the chip changes from an AUTO mode to another mode or flash 3 times at a 2Hz rate when returning to the AUTO mode. But if the AUTO mode is changed by switching the MODE switch it will not flash. In the AUTO mode within the first 10 seconds of power-on initialization, the chip allows override control to enter the test mode. After 40 seconds of the initial time the chip allows override control between ON and AUTO. It will remain in the warm up period if the total initial time has not elapsed after returning to AUTO. In case that the ZC signal disappears for more than 3 seconds, the chip will restart the initialization operation. However, the restart initial time is always 40 seconds and cannot be extended by adding CRST to the RST pin as shown in the Fig.1. Mask options The HT761X offers mask options to select the output flash (3 times) when changing the operating mode. The chip will flash 3 times at a 1Hz rate each time it changes from AUTO to another mode and flash 3 times at a 2Hz rate when it returns to the AUTO mode. However the chip will not flash if the mode is changed by switching the MODE switch. · 4, 6, or 8 hour options to return to AUTO from override ON. The default is 8 hours. · Options for effective override: Once or twice OFF/ON operation of power switch within 3 seconds. The default is OFF/ON twice. · Options for output flash to indicate effective override operation. The default is to flash. RST RST is used to reset the chip. It is internal pull-high and active low. · Options for effective PIR trigger pulse width: >24mS, The use of CRST can extend the power-on initial time. If the RST pin is an open circuit (without CRST), the initial time is the default (40 secs). O p e r a tin g M o d e fla s h A U T O >32mS or >48mS. The default is 24ms. fla s h O N fla s h fla s h A U T O O N A U T O 4 , 6 o r 8 h r b y m a s k o p tio n Z C ZC override timing Rev. 1.10 5 September 18, 2002 HT761X · Options for setting the comparator window to be 1 , 16 If the window level fails to be specified the default win1 (VDD-VEE). The preset voltage of dow is set to 16 VDD-VEE is 4V. The default values of VCP and VCN are 4 therefore 0.25V, ( V ). 16 1 1 or (VDD-VEE). 11.3 9 1 The default is (VDD-VEE). 16 PIR amplifier Second stage amplifier Consult the diagram below for details on the PIR front end amplifier. Usually the second stage PIR amplifier is a simple capacitively coupled inverting amplifier with a low pass configuration. The noninverting input terminal is biased to the center point of the comparator window and the output of the second stage amplifier is directly coupled to the comparator center point. In the Fig.2 below there are 2 op-amps with different applications. OP1 can be used independently as a first stage inverting or non-inverting amplifier for the PIR. V D D O P 1 O O P 1 N O P 1 P V O P 2 O O P 2 N In Fig.3 OP2P is directly connected to the comparator window center, and with the C3 filter it can act as the R1 bias for OP2. For this configuration AV = , low cutoff R2 1 frequency fL= , high cutoff frequency 2pR1C1 1 fH= . By changing the value of R2 the sensitivity 2pR2C2 can be varied. C1 and C3 should be of low leakage types to prevent the DC operating point from changing due to current leakage. O P 1 C o m p a ra to r C P O P 2 O P 2 P V C N V E E Each op-amp current consumption is approximately 5mA with the op-amps and comparator¢s working voltage all provided by the regulator. R e g u la to r Fig.2 PIR amplifier Consult the following diagrams for typical PIR front end circuit. As the output of OP2 is directly connected to the input of the comparator, it is used as a second stage amplifying device. The non-inverting input of OP2 is connected to the comparator¢s window center point and can be used to check this voltage and to provide a bias voltage that is equal to the center point voltage of the comparator. In Fig.2 the comparator can have 3 window levels set by 1 1 mask option. 1. (VDD-VEE), 2. (VDD-VEE), 16 11.3 1 3. (VDD-VEE). 9 First stage of PIR amplifier Fig.4 shows a typical first stage amplifier. C2 and R2 form a simple low pass filter with cut off frequency at 7Hz. The low frequency response is governed by R1 and C1 with cut-off frequency at 0.33Hz. AV = V O P 2 O R 1 2 2 k W fir s t s ta g e o u tp u t C 2 0 .0 2 2 m F C 1 2 2 m F R 2 1 M W ( R1+ R2 ) R1 D D R W O P 2 N O P 2 R W V O P 2 P D D R W C 3 1 0 m F R W V E E Fig.3 Typical second stage amplifier Rev. 1.10 6 September 18, 2002 HT761X Fig.4 and Fig.5 are similar but in Fig.5 the input signal of amplifier is taken from the drain of the PIR. This has higher gain than that in Fig.4. Since OP1 is a PMOS input VD, it has to be greater than 1.2V for adequate operation. V E E C 1 1 2 2 m F V R 1 1 2 2 k W D D R 1 2 5 1 0 k W V E E R 1 3 1 0 0 k W ~ 1 8 0 k W C 1 2 2 m F R 1 2 2 k W V P IR G D R 2 C 2 S R 4 5 6 k W O P 1 C 1 5 1 0 0 m F V E E O U T O P 1 O U T O P 1 D G 0 .0 2 2 m F S C 1 2 0 .0 4 7 D O P 1 P IR 1 M W D D V Fig.5 High gain first stage 5 6 k W V E E Fig. 4 Typical first-stage PIR Timing Diagram R S T C D S O u tp u t E n a b le 5 s e c + tr ig g e r le v e l C o m p a ra to r In p u t - tr ig g e r le v e l C o m p a ra to r o u tp u t D e te c t E n a b le < 2 4 m s p o w e r - o n d e la y tim e 4 0 S > 2 4 m s (N o te 2 ) (N o te 1 ) 1 0 S te s t e n a b le T e s t E n a b le R E L A Y O N T R IA C O N p u ls e o u tp u t Note: (N o te 3 ) The output is activated if the trigger signal conforms to the following criteria: · More than 3 triggers within 2 seconds · A trigger signal sustain duration ³ 0.34 secs · 2 trigger signals within 2 secs with one of the trigger signal sustain ³ 0.16 secs. The effective comparator output width can be selected to be 24ms or 32ms or 48ms by mask option. The default is 24ms (system frequency=16kHz). The output duration is set by an external RC that is connected to the OSCD pin. Rev. 1.10 7 September 18, 2002 HT761X Application Circuit HT761XA relay application O N /O F F O V E R R ID E L P 1 L A M P *** 0 .6 8 m F 3 5 0 V K 1 4 0 0 2 6 8 /2 P R E L A Y 3 0 m A 1 M W 4 0 0 2 1 2 V 1 2 V 4 0 0 2 4 0 0 1 8 0 5 0 4 1 4 8 5 6 k W 2 .4 M W 4 .7 k W * C D S 1 M W 1 0 0 p F 5 6 0 k W 3 9 0 0 p F ** M O D E 9 V 1 2 3 4 5 6 7 8 O S C S O S C D R L Y V S S O P 1 P O P 1 N O P 1 O O P 2 P O P 2 N O P 2 O R S T Z C V E E C D S M O D E 1 0 0 m F 0 6 % $ : ) V D D O N 3 3 0 m F 1 6 1 5 1 4 1 3 1 2 1 1 1 0 9 G 3 2 2 m F S 0 .0 2 m F 1 5 6 k W D 2 1 M W 0 .0 2 m F 2 2 k W 2 2 m F P IR S D 6 2 2 ( N ip p o n C e r a m ic ) 2 2 k W 0 .0 2 m F 1 0 m F 1 M W September 18, 2002 8 Rev. 1.10 A C + 1 1 0 V A C 4 7 0 m F Adjust ²*² to fit various CDS. Note: Change ²**² to obtain the desired adjusting range of output duration. Change the value of ²***² to 0.33mF/ 600V for AC 220V application. A U T O O F F HT761X HT761XB triac application O N /O F F O V E R R ID E T R IA C L P 1 L A M P 6 8 /2 P 0 .1 4 0 0 2 1 M W 4 0 0 2 *** 0 .3 3 m F 3 5 0 V 1 0 k W 1 M W 4 0 0 2 3 3 0 m F 2 .4 M W 4 0 0 2 1 2 V * 1 M W 1 0 0 p F 5 6 0 k W 3 9 0 0 p F ** M O D E C D S 1 2 3 4 5 6 7 8 O N 1 0 0 m F V D D M O D E C D S Z C O S C S O S C D T R IA C V S S V E E R S T O P 1 P O P 1 N O P 1 O O P 2 P O P 2 N O P 2 O 0 6 % $ : * 1 0 0 m F 1 6 1 5 1 4 1 3 1 2 1 1 1 0 9 G 3 1 M W 2 2 m F S 0 .0 2 m F 1 5 6 k W D 2 0 .0 2 m F 2 2 k W 2 2 m F P IR S D 6 2 2 ( N ip p o n C e r a m ic ) 2 2 k W 0 .0 2 m F 1 0 m F 1 M W September 18, 2002 9 Rev. 1.10 A C + 1 1 0 V A C Adjust ²*² to fit various CDS. Note: Change ²**² to obtain the desired adjusting range of output duration. Change the value of ²***² to 0.15mF/ 600V for AC 220V application. A U T O O F F HT761X Package Information 16-pin DIP (300mil) outline dimensions A B 1 6 9 8 1 H C D a G E I F Symbol A Rev. 1.10 Dimensions in mil Min. Nom. Max. 745 ¾ 775 B 240 ¾ 260 C 125 ¾ 135 D 125 ¾ 145 E 16 ¾ 20 F 50 ¾ 70 G ¾ 100 ¾ H 295 ¾ 315 I 335 ¾ 375 a 0° ¾ 15° 10 September 18, 2002 HT761X Holtek Semiconductor Inc. (Headquarters) No.3, Creation Rd. II, Science-based Industrial Park, Hsinchu, Taiwan Tel: 886-3-563-1999 Fax: 886-3-563-1189 http://www.holtek.com.tw Holtek Semiconductor Inc. (Sales Office) 11F, No.576, Sec.7 Chung Hsiao E. Rd., Taipei, Taiwan Tel: 886-2-2782-9635 Fax: 886-2-2782-9636 Fax: 886-2-2782-7128 (International sales hotline) Holtek Semiconductor (Shanghai) Inc. 7th Floor, Building 2, No.889, Yi Shan Rd., Shanghai, China Tel: 021-6485-5560 Fax: 021-6485-0313 http://www.holtek.com.cn Holtek Semiconductor (Hong Kong) Ltd. RM.711, Tower 2, Cheung Sha Wan Plaza, 833 Cheung Sha Wan Rd., Kowloon, Hong Kong Tel: 852-2-745-8288 Fax: 852-2-742-8657 Holmate Semiconductor, Inc. 48531 Warm Springs Boulevard, Suite 413, Fremont, CA 94539 Tel: 510-252-9880 Fax: 510-252-9885 http://www.holmate.com Copyright Ó 2002 by HOLTEK SEMICONDUCTOR INC. The information appearing in this Data Sheet is believed to be accurate at the time of publication. However, Holtek assumes no responsibility arising from the use of the specifications described. The applications mentioned herein are used solely for the purpose of illustration and Holtek makes no warranty or representation that such applications will be suitable without further modification, nor recommends the use of its products for application that may present a risk to human life due to malfunction or otherwise. Holtek reserves the right to alter its products without prior notification. For the most up-to-date information, please visit our web site at http://www.holtek.com.tw. Rev. 1.10 11 September 18, 2002