MOS M2000C (PTY) LTD. PIR Light Controller for 3-Wire Applications Microsystems On Silicon Member of ELMOS Semiconductor AG General Description___________ Applications_________________ The M2000C integrated circuit combines all required functions for a single chip Passive Infra Red (PIR) light controller. ♦ ♦ ♦ ♦ It is designed for load switching with a TRIAC or a relay in 3 wire systems. Features_____________________ A conventional PIR sensor connects directly to the PIR input. The pull-down resistor and DC decoupling circuitry are integrated on chip. The PIR signal is converted to a 15 bit digital value. ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ External potentiometers or resistors are used to set the operating parameters for sensitivity, on-time, brightness, fade, daylight sensor and environment temperature correction. The corresponding voltage levels are converted to digital values with a 4 bit resolution All signal processing is performed Outdoor and indoor motion sensor lights High end lighting switches Automatic bedroom night lights Energy saving digitally. Digital signal processing On chip rectifier and supply regulator Low power consumption Temperature compensation input Adjustable soft on/off switching (fading) Dimmer function Inductive load switching Capacitive load on/off switching Four quadrant TRIAC driver Suitable for 115V/60Hz and 230V/50Hz applications Low TRIAC switching noise Application Circuit_____________________________________________ U1 10 IRA1 C5 14 15 VDDA ACIN 4 NEUTRAL C1 PIRIN VSSA VSW P1 R1 9 R3 8 C2 ON-TIME TRIAC R8 VDD R2 Q1 18 VDD Cx1 R4 3 P2 SENS RELAY 17 L1 LIVE 2 P3 FADE VDD VDD 1 P4 5 R7 N1 NTC BRIGHT TEST VSS TOG 19 12 TCOMP VSS R6 VDD VDD 6 P5 C4 C3 11 16 RETRIG 13 DARK VDD LDR1 VSS R5 20 CLOCK SWIN 7 S1 ON AUTO OFF M2000C VSS www.mos.co.za Rev. 1.0 MOS M2000C PIR Light Controller for 3-Wire Applications (PTY) LTD. Microsystems On Silicon Member of ELMOS Semiconductor AG Electrical Characteristics_______________________________________ Absolute Maximum Ratings Parameter Supply Voltage Current into any pin Storage Temperature Symbol Min VDD -0.3 -100 -45 Tst Max Unit Remarks 7 100 125 V mA °C One pin at a time Table 1: Electrical Characteristics (Stresses beyond those listed above may cause permanent damage to the device. Exposure to absolute maximum ratings may affect the device reliability. ESD protection: all pins will be able to withstand a discharge of a 100pF capacitor charged to 1.6kV through a 1500Ω series resistor. Test method: MIL-STD-883D method 3015). Operating Conditions (T=25°C, VDD=5V, unless stated otherwise) Parameter Symbol Min Typ Max Unit -25 25 70 °C Temperature Operating temperature range Rectifier / Regulator Supply voltage VDD 5.5 V Supply current IDD 500 µA IACIN 20 mA Shunt regulator current 4.2 5 Digital Inputs, Schmitt triggers (TEST, TOG, RETRIG, DARK, SWIN) Input low voltage VIL Input high voltage VIH 20 80 Remarks VDD=5VOutputs unloaded VDD=6V %VDD %VDD Pull down current on TEST,TOG 140 Pull up current on RETRIG 140 µA Input to VDD µA Input to VSS Leakage current on DARK ±1 µA Input to VSS or VDD Pull up/ pull down scanning current on SWIN VSW Digital Input (window comparator) Input low voltage 6 mA Input to VSS or VDD VSWL 1 V Input high voltage VSWH Digital Outputs (RELAY, TRIAC) Output low voltage VOL Output high voltage VOH VDD-1 Analog Inputs Input voltage range Input leakage current (ON-TIME, SENS, FADE, BRIGHT, TCOMP) PIRIN input resistance to VSS V 10 90 ISOURCE=5mA %VDD ISINK=2mA 0 VDD V -1 1 µA 5 mV 60 PIRIN input AC voltage Oscillator and Filter LPF cutoff frequency %VDD 7 kΩ Peak-to-Peak Hz HPF cutoff frequency 0.5 Hz Internal clock frequency 25.6 kHz R5 as per table 7 Table 2: Operating Conditions www.mos.co.za Page 2 of 5 Rev. 1.0 MOS M2000C PIR Light Controller for 3-Wire Applications (PTY) LTD. Microsystems On Silicon Member of ELMOS Semiconductor AG Detailed Description___________________________________________ DARK VS W V DD SWIN V DDA D riv e r In put A m plifier A /D C onv erter P I RIN Ban d P ass F ilter Relay D riv e r P aram eters C ontroller M ains Rectifier TRI A C TRI A C D riv e r SENS V olta ge Reg ulato r A C IN RE LA Y BRI G H T FA DE A DC O scilator O N -TI M E Mains Rectifier The M2000C contains an on chip half wave rectifier. The ACIN input is connected to the mains voltage through an external voltage dropper resistor. Voltage Regulator A shunt regulator between VDD and VSS limits the supply voltage to 5V. An external capacitor has to be connected between VDD and VSS. Oscillator The IC contains an on chip oscillator. The frequency is set to about 52 kHz for 50Hz systems and 64kHz for 60Hz systems by selecting the correct resistor between CLOCK and VDD. All timing signals and cutoff frequencies of the digital filters are derived from this frequency. Input amplifier and A/D Converter The PIRIN input has an internal pull-down resistor and DC decoupling circuitry. The signal voltage on the PIR input is converted to a 14 bit digital value. Band-Pass Filter nd A 2 order digital Butterworth band-pass filter eliminates unwanted frequency components above and below the band of interest (0.4Hz .. 7Hz). Threshold Comparator The output signal from the band pass filter is digitally rectified and its peak value compared against a threshold value calculated from the voltages on the SENS and TCOMP inputs. Whenever the PIR signal exceeds the threshold, the load is switched on. www.mos.co.za Page 3 of 5 RTRIG TOG TE ST CLOCK VS S VS SA TC O M P Parameter Settings The M2000C provides for five inputs, which are used to define the operational parameters. The voltage applied on these inputs are converted to 4 (3) bit digital values. A value of 16 (8) corresponds to a voltage of >VDD/4, a value of 0 to VDD/4/16 (8). SENS: Sets the sensitivity threshold required to generate a trigger condition. Eight different threshold values are possible. Refer to table 3. The threshold value internally recalculated with the temperature compensation factor. BRIGHT: Sets the maximum brightness of the light. The brightness levels are divided into 15 equal steps. One steps corresponds to 90*(1- 1/16) degrees phase angle. FADE: Sets the time it takes to switch the light on or off (soft dimming). Refer to table 3. ON-TIME: Sets the time the light remains on. Refer to table 3. Pin voltage/ VDD On time (s) Fade time (s) SENS threshold 7/32 6/32 5/32 4/32 3/32 2/32 1/32 0/32 1280 640 320 160 80 40 20 10 3.7 3.3 2.8 2.1 1.2 0.9 0.3 0 128 64 32 16 8 4 2 1 Table 3: On-time and Fade-time Rev. 1.0 MOS M2000C PIR Light Controller for 3-Wire Applications (PTY) LTD. Microsystems On Silicon Member of ELMOS Semiconductor AG TCOMP: A temperature dependent resistor network can be connected to this pin. A voltage range of VDD*16/128 to VDD*31/128 is converted to a set of threshold multiplication factors. The voltage on this pin must decrease as the temperature increases. At 37°C, the voltage should be between VDD*19/128 and VDD*20/128. Refer to table 4. Pin voltage/ VDD TCOMP factor Pin voltage/ VDD TCOMP Factor <16/128 17/128 18/128 19/128 20/128 21/128 22/128 23/128 7 6 5 4 4 5 6 7 24/128 25/128 26/128 27/128 28/128 29/128 30/128 >31/128 8 9 10 11 12 13 14 15 Table 4: Temperature compensation factor TRIAC and RELAY output drivers The TRIAC output generates a square wave, synchronous with the mains voltage. To control the brightness of the light, the square wave is delayed with regards to the mains cycle zero-crossings. The rising edge of the square wave triggers the TRIAC for the positive cycle and the falling edge triggers the TRIAC for the negative cycle. The RELAY pin is an active high output and changes state at the start of the fading cycle. Controller: Modes of Operation The operating modes are determined by four digital inputs. These digital inputs can be connected to VDD or VSS, some can be left floating. Pin Name Description SWIN Selects the ON-AUTO-OFF mode. VDD: light permanently ON VSS1: light permanently OFF Floating: PIR sensor mode (AUTO) VDD: mains toggling enabled. VSS or floating: mains toggling disabled. Also refer to 'Conditions for switching the light ON'. Re-trigger Mode VDD or floating: As long as movement is detected within the on-time, the light will remain on. VSS: The light will first switch off, before it can be switched on again. Typically connected to a Light Dependant Resistor (LDR) or photo transistor, to prevent the light from switching on during daylight conditions. VDD: Enable switching of the light VSS: Disables switching of the light Do not leave this input floating TOG RETRIG DARK Operation____________________ Power-up Mode Whenever the circuit is powered up, the light is switched on for the selected on-time duration. The DARK input is ignored on power-up, to allow the user to verify the installation during daylight conditions. Trigger condition The SENS threshold (refer to table 3) is multiplied with the TCOMP factor (refer to table 4), to obtain a temperature dependent threshold. When the filtered PIR signal exceeds this temperature dependent threshold, a trigger condition occurs. Conditions for Switching the Light ON (AUTO mode) If a trigger condition occurs and the DARK input is high, the light will be switched on. The light’s brightness will increase to the selected brightness within the selected fade time. The RELAY output is activated at the start of the fadingon cycle. The light and the relay will remain on for the duration set by the ON-TIME input. If the TOG input is high, the light can also be switched on by toggling the mains ON-OFF-ON within 3 seconds. In this mode, the PIR inputs are ignored, the DARK input will switch the light ON or OFF. This mode is disabled by disconnecting the mains for a few seconds. Conditions for Switching the Light OFF (AUTO mode) The light is switched off softly after the selected ONTIME has elapsed, or if the DARK input senses a low voltage. The light’s brightness will reduce to zero within the selected fade time. The RELAY output is switched off at the start of the fading-off cycle. Table 5: Operational parameters 1 The toggle mode is not cancelled by setting SWIN input to VSS, although the light will be switched off www.mos.co.za Page 4 of 5 Rev. 1.0 MOS M2000C PIR Light Controller for 3-Wire Applications (PTY) LTD. Microsystems On Silicon Member of ELMOS Semiconductor AG Device Pin Out________________________________________________ Pin No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Name Description BRIGHT FADE SENS ON-TIME TCOMP DARK SWIN VSW ACIN VDDA TEST TOG RETRIG PIRIN VSSA VSS RELAY TRIAC VDD CLOCK Set maximum brightness of light Set fading time of light Set sensitivity threshold for switching light on Set light on time Temperature compensation input Dark mode input, connected to LDR/Photodiode ON-AUTO-OFF select input Input voltage sensor Mains power in (rectifier) Analog supply Reserved test mode, connect to VSS Selects Toggle Mode Selects Re-trigger mode PIR sensor input Analog ground Digital ground Relay Output, push-pull TRIAC gate signal, push-pull Digital supply Set oscillator frequency Table 6: Device Pin Out Component Values____________________________________________ Designator Description R1 88kΩ (230V~) 1/2W 44kΩ (110V~) 1/2W 1MΩ 10kΩ 470kΩ 180kΩ 18kΩ 33kΩ 47kΩ Trim pot 10nF 100nF 470µF, 16V 470nF LHI 878, Perkin Elmer BT136 TRIAC 600V, 4A Inductor 100..1500µH 100..220nF, class X (dependent on local EMC regulations) NTC 47k Light Dependant Resistor Trim pot R2, R3 R4 R5 R6 R7 R8 P1, P2, P3, P4 C1 C2 C4 C3,C5 IRA1 Q1 L1 CX1 N1 LDR1* P5* Table 7: Component Values for Application Circuit Contact Information___________ Ordering Information__________ Microsystems On Silicon (PTY) Ltd. Pretoria, South Africa Tel: +27 (12) 348 8367 Fax: +27 (12) 348 1790 Email: [email protected] Visit our website for the latest information M2000C-DIP20 (Dual-in-line plastic) M2000C-SO20-300 (Surface mount, 300 mills) M2000C-DIE (Unpackaged devices) www.mos.co.za Other packages are available on request. Page 5 of 5 Rev. 1.0