Silan Semiconductors SC5272 REMOTE CONTROL DECODER DESCRIPTION The SC5272 is a remote control decoder paired with SC5262 utilizing CMOS technology. It has a maximum of 12-bits of tri-state address pins providing up to 531,441(or 312) address codes; thereby, drastically reducing any code collision and unauthorized code scanning possibilities. DIP-18 SOP-20 FEATURES * Low power consumption and very high noise immunity * Up to 12 tri-state code address pins or 6 data pins * Wide operating voltage range(Vcc=3V ~ 15V) * Single resistor oscillator * Latch or Momentary output type DIP-20 APPLICATION * Home/automation security system * Remote control toys or for industrial use * Remote control fan * Garage door controller ORDERING INFORMATION SC5272X-XX Data Bits: 0: 0 data bit(can be omitted) 2: 2 data bits 3: 3 data bits 4: 4 data bits 5: 5 data bits 6: 6 data bits L: Latch Type M: Momentary Type S: SOP-20 Package D: DIP-20 Package Omitted: DIP-18 Package HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 1 2000.12.31 Silan Semiconductors SC5272 PIN CONFIGURATION 1 A1 Vcc A0 VT A1 OSC1 A2 A3 OSC2 A3 Din A4 A11 A5 A6 A10 A6 SC5272 A2 A4 A5 1 Vcc VT SC5272-M2/L2 A0 OSC1 OSC2 Din D0 D1 A7 A9 A7 Vss A8 Vss A8 NC NC NC NC Vcc A0 VT A1 1 A1 A2 SC5272-M3/L3 A4 A5 A6 Vcc VT A2 OSC1 A3 1 OSC1 SC5272-M4/L4 A0 A9 A3 OSC2 18 Pin Package Din 20 Pin Package D0 A4 A5 A6 D1 OSC2 Din D0 D1 D2 A7 Vss A8 Vss D3 NC NC NC NC Vcc A0 VT A1 A0 1 A1 A3 A4 A5 SC5272-M5/L5 A2 OSC1 A2 OSC2 A3 Din A4 D0 A5 1 D2 Vcc VT OSC1 SC5272-M6/L6 A7 OSC2 Din D0 D1 D5 D4 D2 D4 Vss D3 Vss D3 NC NC NC NC A6 D1 D2 HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 2 2000.12.31 Silan Semiconductors SC5272 BLOCK DIAGRAM OSC2 OSC1 VT 15 16 17 18 Vcc Output Logic OSC Sync. Detect System Timing Control Logic 9 Vss Compare Logic Data Detect Tri-stateAddress Data Detect 1 2 3 4 5 6 7 8 10 11 12 13 A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 14 Din The Pin configurations are for DIP-18 package and are also some different with the SC5272 suffix (please refer to the Pin Configuration) ABSOLUTE MAXIMUM RATINGS(Ta=25°C ) Characteristic Symbol Value Unit Supply Voltage Input Voltage Output Voltage Maximum Power Dissipation(Vcc=12V) Operating Temperature Storage Temperature Vcc Vi Vo Pa Topr Tstg -0.3 ~ 16.0 -0.3 ~ Vcc+0.3 -0.3 ~ Vcc+0.3 300 -20 ~ +70 -40 ~ +125 V V V mW °C °C ELECTRICAL CHARACTERISTICS (Ta=25°C,Vcc=12V,unless otherwise specified) Characteristic Symbol Supply Voltage Supply Current Vcc Icc Dout Output driving Current IOH Dout Output sinking Current IOL Input High Voltage Input Low Voltage VIH VIL Test Condition Min Typ. Max Unit 0.02 15 0.3 V µA Vcc 0.3Vcc mA mA mA mA mA mA V V 3 Vcc=12V,OSC stops A0~ A11 Open Vcc=5V,VOH=3V Vcc=8V,VOH=4V Vcc=12V,VOH=6V Vcc=5V,VOL=3V Vcc=8V,VOL=4V Vcc=12V,VOL=6V -3 -6 -10 2 5 9 0.7Vcc 0 HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 3 2000.12.31 Silan Semiconductors SC5272 PIN DESCRIPTION Pin No. 18 PIN 20 PIN Pin Name I/O 1~6 1~6 A0~A5 I 7~8 10~13 7~8 12~15 A6/D5~A11/D0 I/O 14 16 DIN I 15 17 OSC1 I 16 18 OSC2 O 17 19 VT O 18 9 -- 20 9 10~11 Vcc Vss NC ---- Description Code Address pins No. 0~5. These six tri-state pins are detected by SC5272 to determine the encoded waveform bit 0 ~bit 5. Each pin can be set to “0”,”1”,”f”(floating). Code Address pins No.6~11/data pins No.5~0. These six pins are used higher address input bits or data output pins depending on the versions of SC5272 used.When these pins are used as address pins, they are tri-state input pins and can be set to “0”,”1”,”f”.When they are used as output pins, they are driven to Vcc if (1) the address decoded from the waveform that was received matches the address setting at address input pins, and (2) the corresponding data bits received is a “1” bits. Otherwise, they are driven to Vss. Data Input Pin. The encode waveform received is serially fed to SC5272 at this pin. A resistor connected between Oscillator pin 1 these two pins determine the Oscillator pin 2 fundamental frequency of SC5272. Valid Transmission. Active high signal. VT in high state signifies that SC5272 receives valid transmission waveform. Positive Power Supply Negative Power Supply No Connection FUNCTIONAL DESCRIPTION The SC5272 decodes the waveform received and fed into the Din pin. The waveform is decoded into code word that contains the address, data and Sync bits. The decoded address bits are compared with the address set at the address input pins. If both addresses match for 2 consecutive code words, SC5272 drives: a). The data output pins whose corresponding data bits is then decoded to be a "1" bit b). The VT output --to high voltage (high state). 1. RF OPERATION Code Bits A code bit is the basic component of the encoded waveform, and can be classified as either an AD(Address/Data) Bit or a SYNC(Synchronous) Bit. An AD bit can be designated as bit “ 0 ”, “ 1 ” or “ f ” if it is in low, high or floating state respectively. One bit waveform consists of two pulse cycles. Each pulse cycle has 16 oscillating time periods. For further details, please refer to the diagram below: 32a a OSC bit "0" bit "1" 12a 4a 4a 12a bit "f" Where: a = oscillating clock period . Bit “ f ” is only available for address bits. HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 4 2000.12.31 Silan Semiconductors SC5272 The Synchronous bit waveform is 4 bits long with 1/8 bit width pulse. Please refer to the diagram below: 1/8 bit width=4a 4 bit width=128a Note: 1bit =32a Code word A group of Code Bits is called a Code Word. A Code Word consists of 12 AD bits followed by one Sync. Bit. The 12 AD bits are interpreted as either address or data bits depending on the SC5272 version used. Please refer to the diagram below: A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 SYNC Single Resistor Oscillator The Build-in oscillator circuitry of SC5272 allows a precision oscillator to be constructed by connecting an external resistor between OSC1 and OSC2 pins. For SC5272 to decode correctly the received waveform, the oscillator frequency of SC5272 must be 2.5 ~8 times that of transmitting SC5262. It is a good practice to center the SC5272 oscillator frequency in the window to gain best window margin at both sides. The typical oscillator frequency with various resistor values for both SC5262 and SC5272 are shown below: Encoder OSC Frequency Decoder OSC Frequency 100 1000 R=510kΩ R=100kΩ R=240kΩ Frequency (kHz) Frequency (kHz) R=1MΩ R=2MΩ R=3.3MΩ 10 R=4.7MΩ 1 100 R=510kΩ R=1MΩ R=2MΩ 10 1 0 3 6 9 12 15 0 Supply Voltage (V) 3 6 9 12 15 Supply Voltage (V) Suggested Oscillator resistor values are shown below: SC5262 SC5272 4.7MΩ 820kΩ 3.3MΩ 680kΩ 1.2MΩ 200kΩ HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 5 2000.12.31 Silan Semiconductors SC5272 2. IR OPERATION In the IR Type of operation, the functions are similar to the above descriptions except that the output waveform carried by SC5262-IR has a frequency of 38kHz. Details are as follows. Code Bits The Code Bits are further modulated with a 38kHz carrier frequency and can be”0”,”1” or “ f ” bit. Their waveform are shown below: 160λ OSC 20λ "0" 60λ "1" "f" 620λ Sync Note:λ=2 clock lengths Code Word A Code Word is made up of code bits and the format is the same as that of the RF Code Word. Code Frame Likewise, a Code Frame is made up of Code Words and the format is the same as that of RF type of operation. Oscillator The SC5262-IR is specially designed for infrared remote control applications and its output waveform carries 38kHz frequency. To get the 38kHz carrier frequency at the data output, the oscillator frequency must be 76kHz. A 440kΩ resistor connected between OSC1 and OSC2 pins of SC5262-IR is recommended. Moreover, for a matching decoder frequency, 1MΩ resistor connected between the OSC1 and OSC2 pins of SC5272 is also recommended. 3.VALID TRANSMISSION When the SC5272 receives a transmission code word, it initially checks whether this is a valid transmission. For a transmission to be valid, (1) it must be a complete code word, and (2) the address bits must match the address setting at the address pins. After two consecutive valid transmission, SC5272 (1) drives the data pins according to the data bits received, and (2) rise VT to high voltage(high state). The timings are shown in the following diagram. Sync bit 1st word Sync bit 2nd word Din Data pins (momentary) Ta Tc Tb VT Ta= 8 OSC clock width Tb= 1 OSC clock width Tc=2 code word width HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 6 2000.12.31 Silan Semiconductors SC5272 4.LATCH OR MOMENTARY DATA OUTPUT TYPE The SC5272 uses either the latch or momentary data output type depending on the SC5272 version used. The latch type SC5272-LXactivates the data out during transmission and this data is sustained in the memory until another data is inputted or entered. A momentary type(SC5272-MXon the other hand, activates the data out only during transmission. In the momentary type, the data does not remain in the memory after the transmission is completed. Please refer to the diagram below: Data Words Din Data Words T Data Pins (Momentary) T Data Output X Data Pins (Latch) Data Output Y Data Output X Data Output Y VT OPERATION FLOW CHART Decoder Without Data Output Pin 1. When the power is turned on, the SC5272 activates the Stand-By Mode. 2. It then search for signals, If there is no signal received, it remains in the Stand-By Mode; otherwise, the address bits received are compared with the address configuration of the pins. 3. The VT goes high signifying the validation of transmission only when there are two continuous frames that contain matched address bit; otherwise, VT will not be activated and the Stand-By Mode remains active. 4. Then , the address bits are again checked. Two continuous mismatches of the address bits would disable the VT and make the Stand-By Mode active; otherwise, the address bits are continuous checked. Power ON Stand-By Mode No Singal IN ? Disable VT Yes Address bits match? No Yes Address bits match? No Yes Activate VT Yes Address bits still match? Yes Address bits still match? No No Decoder Without Data Output Pin HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 7 2000.12.31 Silan Semiconductors SC5272 Decoder With Data Output Pins 1. When the power is turned on ,the SC5272 activates the Stand-By Mode. 2. It then searches for signal. If there is no signal received , it remains in the Stand-By Mode; otherwise, the address bits are compared with the address configuration of the pins. 3. Whenever the address bits in frame match with that of the address configuration of the pin, the data bits are stored into memory. Also, when this IC finds two continuous and identical data having the same address bits, the data outputs is activated and the VT is enabled. The VT is disabled when there are two continuous mismatched addresses. For the momentary type, the data output is reset; while for the latch type, the data output is sustained. Power ON Stand-By Mode No Singal IN ? Disable VT & Reset output Data ( for Momentary Type) Disable VT & Sustain output data (For Latch Type) Yes Address bits match? No Yes Address bits match? No Yes Activate VT Yes Address bits still match? Yes Address bits still match? No No Decoder With Data Output Pins HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 8 2000.12.31 9 L1 33pF 0.01µF 47kΩ 1pF 270pF 2pF 13mH 47kΩ 47kΩ 0.001µF 15kΩ 47kΩ 0.001µF 7pF 2.2kΩ 1.5kΩ 10MΩ + UTC358 - +8V 0.001µF 0.001µF 100kΩ + UTC358 - Receiving Block SC5272(No Data) RF Application Circuit 1µF/16V 47kΩ 47kΩ 1N4148 10MΩ 1µF/16V 27kΩ 9 14 47kΩ A 15 Rosc 18 Vcc=+8V 16 SC5272 Silan Semiconductors SC5272 TYPICAL APPLICATION CIRCUIT HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 2000.12.31 3.3µF 100Ω Silan Semiconductors SC5272 18 2 17 3 16 4 5 6 SC5272-L4 1 Rosc Vcc=+5V 15 From "A" point of the receiving Block 14 13 7 12 8 11 9 10 560Ω x 5 LED x 5 SC5272-L4(4 Data) RF Application Circuit 2 17 3 16 5 6 15 14 13 7 12 8 11 9 10 560Ω x 5 2SC1815 4 1MΩ 18 SC5272-L4 1 10kΩ Vcc=+5V IR Receiver LED x 5 SC5272-L4(4 Data) IR Application Circuit HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 10 2000.12.31 Silan Semiconductors SC5272 PACKAGE OUTLINE DIP-18-300-2.54 UNIT:mm 6.40 7.62 0.25 2.54 1.50 15 degree 3.30 5.08 3.51 22.95 0.46 DIP-20-300-2.54 UNIT:mm 6.40 7.62 0.25 2.54 1.50 15 degree 3.30 5.08 3.51 22.95 0.46 HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 11 2000.12.31 Silan Semiconductors SC5272 1.27 9.53 7.70 UNIT:mm 10.45 SOP-20-225-1.27 0.41 18.02 1.95 17.62 HANGZHOU SILAN MICROELECTRONICS JOINT-STOCK CO.,LTD Rev: 1.0 12 2000.12.31