INFRAED REMOCON RECEIVER S5G9801X01/S5G9803X01 INTRODUCTION The S5G9801X01 and S5G9803X01 are CMOS integrated circuits for the infrared ray remote receiver, used with the S5G9802, which can be applied to TV, VCR, VDP, CDP and AV controller. The S5G9801X01 is a 16-DIP type and is able to control 10 functions. The S5G9803X01 is a 24-DIP type and is able to control 18 functions. 16-DIP-300A 24-DIP-400 FEATURES * Output for continuous pulse, toggle pulse and single pulse are provided (Toggle pulse is available only for S5G9803X01) * A single terminal type oscillator by means of RC is provided * Containing custom code detection circuit for code check with the transmitter (To prevent interferences with other models) * Able to output in parallel method multiple keying signals sent from transmitter. The S5G9801X01 can output up to 5 functions, and the S5G9803X01 can output up to 6 functions in parallel method. ORDERING INFORMATION Device Package S5G9801X01-D0B0 16-DIP-300A S5G9803X01-D0B0 24-DIP-400 Operating Temperature - 20C - +75C 1 S5G9801X01/S5G9803X01 INFRAED REMOCON RECEIVER BLOCK DIAGRAM VDD GND 16 OSC 15 REMIN 2 CODE1 14 CODE2 13 1 OSC DIVIDER DATA INPUT DATABIT COUNTER SYSTEM CODEINPUT COMPARATOR Figure 1. 2 CLOCK GENERATOR DATA REGISTER OUTPUT LATCH & DRIVER CP1 CP2 CP3 CP4 CP5 CP6 SP1 SP2 SP3 SP4 SP5 SP6 SP7 SP8 SP9 SP10 TP1 TP2 INFRAED REMOCON RECEIVER S5G9801X01/S5G9803X01 PIN CONFIGURATION VSS 1 16 REMIN 2 15 OSC CP1 3 14 CODE2 CP2 4 13 CODE3 CP3 5 12 SP1 CP4 6 11 SP2 CP5 7 10 SP3 SP5 8 9 SP4 S5G9801X01 VSS 1 24 VDD REMIN 2 23 OSC CP1 3 22 CODE1 CP2 4 21 CODE2 CP3 5 20 SP1 CP4 6 TP5 7 18 SP3 TP6 8 17 SP4 TP2 9 16 SP5 TP1 10 15 SP6 11 14 SP7 SP9 12 13 SP8 VDD SP10 S5G9803X01 19 SP2 Figure 2. 3 S5G9801X01/S5G9803X01 INFRAED REMOCON RECEIVER PIN DESCRIPTION Pin No Symbol S5G9801 S5G9803 1 1 GND 2 2 REMIN 3-7 - CP1 - SP5 - 3-8 CP1 - CP6 - 9 - 10 TP1, TP2 8 ~ 12 - SP1 - SP5 - 11 - 20 SP1 - SP10 13, 14 21, 22 CODE 15 33 16 24 Input Output Description - Ground Receiving Signal Input Instruction signal input with the carrier signal eliminated. Continuous Signal output As long as receiving is input, this output is held at "H" level. After releasing a key, output is held at "H" level for about 160 msec. Toggle Signal Output When receiving signal is input, output is toggled. Single Signal Output When receiving signal is input, output is held at "H" level only for about 107 msec. Code Input A code set at this terminal is compared with transmitter code and if they agree with each other, input is accepted (built-in pull-up resistor). OSC Timing Oscillation A capacitor and a resistor are connected in parallel method between this terminal and VSS. VDD Power Supply - ABSOLUTE MAXIMUM RATINGS (TA = 25xC) Characteristic Symbol Value Unit VDD 0-6 V VIN VOUT VSS -0.3 - VDD + 0.3 V PD 200 mW Operating Temperature TOPR -20 - 75 C Storage Temperature TSTG -55 - 125 C Supply Voltage Input/Output Voltage Power Dissipation 4 INFRAED REMOCON RECEIVER S5G9801X01/S5G9803X01 ELECTRICAL CHARACTERISTICS (Ta = 25 xC, VDD = 5 V, unless otherwise specified) Characteristic Symbol Test Conditions Min. Typ. Max. Unit 4.5 - 5.5 V Operating Voltage VDD Ta = -25C ~ 75C Operating Current IDD Output Without Load - - 1.0 mA Frequency Deviation fOSC Ta = -25C - 75C VDD = 4.5V - 5.5V 27 38 57 kHz VFOXC Ta = -25C VDD = 4.5V - 5.5V -5 - 5 % TFOSC Ta = -30C - 75C -5 - 5 % Frequency Stability Output "H" Level IOH All Output, VOH = 4V - -2.0 -1.0 mA Current "L" Level IOL All Output, VOL = 1V 1.0 2.5 - mA Input Current "H" Level IIH Code Terminal, VIH = 5.0V -1.0 - 1.0 uA Pull-up Resistor RUP REMAIN Terminal 10 20 40 k Input Circuit Threshold Voltage VIH REMAIN Terminal 3.5 - - V VIL REMAIN Terminal - - 1.5 V Hysteresis Width VH2S - - 1.0 - V Standard osc Frequency SFOSC - - 38 - kHz 5 S5G9801X01/S5G9803X01 INFRAED REMOCON RECEIVER OPERATING PRINCIPLES 1. POR (Power On Reset) CIRCUIT To initialize the internal state at time of power ON, it is necessary to perform the initialization. The initialization is carried out when a capacitor is connected to the code bit terminal. RUP CODE1 RUP CODE2 Initialize RUP = 20k C = 0.001F - 0.022F Figure 3. In the case of S5G9803, connect a capacitor to CODE2 and CODE3. 2. OSCILLATION CIRCUIT The RC oscillation circuit is normally operated at 38kHz oscillation frequency. (The RC is connected between OSC terminal and VSS.) FOSC CSC R C SCHMITT R = 39k 5% C = 1000pF 5% Figure 4. Oscillation frequency is about 38kHz 5kHz at R = 38kW and C = 1000pF. 6 INFRAED REMOCON RECEIVER S5G9801X01/S5G9803X01 3. RECEIVING SIGNAL INPUT CIRCUIT Signal received by the light receiving element is sent through the Pre-Amp to the detector, when a 38 kHz carrier wave is eliminated and the signal enters a REMIN PIN of the receiving signal input circuit. The receiving signal input circuit (REMIN) has a built-in Schmitt trigger for shaping receiving signal waveforms to eliminate rounding. AMP DET REMIN PH302B Figure 5. 4. RECEIVING SIGNAL CHECK The receiving signal check is to check the 2-cycle transmitting signal sent from the transmitter to check whether it is a normal signal or not. 12 Bits 12 Bits First Data Second Data Figure 6. The first data is stored in the 12-bit data register. Then, when the second data is entered, the previous data is pushed out from the data register one by one. The pushed out data and incoming data are checked to see if they are same. If any errors are caused during the 12-bit receiving data check, the system is reset at that time. And when all receiving data are same, output is raised from L level to H level. The status of receiving data, register clock and check pulse are shown below. Register clock is provided in the data center by taking frequency margins of the transmitter and the receiver into consideration. 7 S5G9801X01/S5G9803X01 INFRAED REMOCON RECEIVER READER DATA `0' READER DATA `1' Receiving Data 0.42ms 0.84ms Register Clock (REGCK) Check Pulse (CHP) Figure 7. 5. CODE BIT COMPARISON In order to prevent interference with other machines and apparatuses, C1, C2 and C3 code bits are provided for checking whether or not the transmitter codes agree to the receiver codes. Only when both codes agree, the internal latch pulse is generated to latch receiving data, and output is raised from "L" level to "H" level. If both codes do not agree, latch pulse is not generated and output remains at "L" level. Code bits used differ depending on receiver as shown below: CODE BIT 8 C1 C2 C3 C2 0 1 1 0 1 1 S5G9801X01C2, C3 is used. S5G9803X01C1, C2 is used. * CODE BIT "0", "0" cannot be used. INFRAED REMOCON RECEIVER S5G9801X01/S5G9803X01 6. EXPLANATION OF OUTPUT PULSE SP, CP, TP 1) SP1 - SP10 (Single Pulse) When a single key is depressed, after checking the 12-bit receiving data, if the data agree, a single pulse is output. The output is raised from "L" level to "H" level and returned again to "L" level after about 107 msec. KEY ON Single Signal 12Bits 12Bits Latch Pulse Single Output About 107 msec Figure 8. 2) CP1 - CP6 (Continuous Pulse) Continuous pulse is output by the first latch pulse after key ON. Output is kept at "H" level as a long as a continuous signal is input. When the key is released and continuous signal is stopped about 160 msec later, output is reversed to "L" level by the last latch pulse. Further, CP1 - CP6 are able to output simultaneously in parallel method, maximum sextet outputs at "H" level by continuous signals sent from the transmitter. These outputs are optimum as outputs of REC-PLAY, REC-PAUSE and CUE/REVIEW of a tape deck. KEY ON Continuous Signal 12 12 Latch Pulse Continuous Output 160msc Figure 9. 3) TP1, TP2 (Toggle Pulse) When toggle signal is received, toggle pulse output is reversed. This toggle pulse is used for power ON, OFF, MUTE, etc. KEY ON Toggle signal 12 12 Latch Pulse Toggle Output Figure 10. 9 S5G9801X01/S5G9803X01 INFRAED REMOCON RECEIVER 7. CODE TABLE C1 - C3 code bits are available in addition to the data bits shown below for optional code selection. S5G9803X01 is able to use all keys, but S5G9801X01 can use KEY1 - 5 and KEY 7 - A only for 10 commands. Key Data Bit No. CT S1 S2 D1 D2 D3 D4 D5 D6 1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 CONT : Continuous, NOTE: 10 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 Key 0 0 0 1 0 0 0 0 0 SING : Single, 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 Data Bit No. CT S1 S2 D1 D2 D3 D4 D5 D6 CONT, CP1 CONT, CP2 CONT, CP3 CONT, CP4 CONT, CP5 CONT, CP6 SING, SP1 SING, SP2 SING, SP3 10 A B C D E F G H 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 SING, SP4 0 SING, SP5 1 SING, SP6 0 SING, SP7 0 SING, SP8 0 SING, SP9 0 SING, SP10 0 TOGG, TP1 1 TOGG, TP2 TOGG : Toggle S5G9802X01 has 18 function keys, and total 75 commands can be transmitted: 63 commands by the continuous keys of multiple keying is possible and 12 commands by the single-shot keys. INFRAED REMOCON RECEIVER S5G9801X01/S5G9803X01 EXAMPLE OF APPLICATION CIRCUIT 1. COMBINATION OF S5G9802X01/S5G9801X01 CODE BITS (EXAMPLE 1) In the Case when CODE C2 = 0 and C3 = 1 (TABLE 1) S5G9802X01 S5G9801X0 1 C1 C2 C3 C2 C3 1 0 1 0 1 1 1 0 1 0 1 1 1 1 1 CCI ST3 ST2 ST1 K6 (C3) (C2) (C1) S5G9802 KS9802 VDD (CODE C1 = 1, C2 = 0, C3 =1) (CODE C1 =1, C2 =1) VDD OSC CODE1 CODE1 SP1 Figure 11. The combination of code bits of S5G9802X01 and S5G9801X01 is shown in Table 1. To make the code bit to 1 on S5G9802X01, connect diodes to the CCI terminal from ST1 - ST3 terminals. To set Code Bit at 0, open the circuit. S5G9801X01 has CODE2 and CODE3 code terminals. Code bit of C1 has been pulled up in IC and C1 is always kept at 1 status. Therefore, on transmitter S5G9802X01, it is necessary to keep C1 code bit at 1. 11 S5G9801X01/S5G9803X01 INFRAED REMOCON RECEIVER 2. COMBINATION OF S5G9802/S5G9803 CODE BITS (EXAMPLE 2) In case CODE C1 = 1 and C2 = 1 (TABLE 2) S5G9802X01 S5G9803X01 C1 C2 C3 C2 C3 0 1 1 0 1 1 0 1 1 0 1 1 1 1 1 CCI ST3 ST2 ST1 K6 (C3) (C2) (C1) S5G9802X01 KS9802 (CODE C1 = 1, C2 = 1, C3 =1) VDD VDD OSC CODE1 CODE1 (CODE C1 =1, C2 =1) Figure 12. The combination of code bits of S5G9802X01 and S5G9803X01 is shown in Table 2. S5G9803X01 has CODE1 and CODE2 code terminals. Code bit of C3 has been pulled up in IC and C3 is always kept at 1 status. Therefore, on transmitter S5G9802X01 it is necessary to keep code bit C3 at 1. To keep code bit C3 at 1, connect a diode to the Cci terminal from ST3 terminal. 3. If input voltage above VDD +0.3 V may be applied to the REMIN Input Terminal (2 PIN), connect about ten resistors in series to the REMIN Input Terminal. (This is to prevent latch-up). RECEIVING SIGNAL REMIN (2 PIN) 10k O Figure 13. 12 INFRAED REMOCON RECEIVER S5G9801X01/S5G9803X01 APPLICATION CIRCUITS 1. RECEIVING PART S1A2184 1 3 2 4 5 6 8 7 55K 4.7 PH302B + 330pF + 1F 3.3F - - REMOUT KSC945 1K 200K 22K 5V Figure 14. 2. S5G9801 CIRCUIT CONTROL SIGNAL CR VDD + 10iF + 1000pF 1000pF 16 15 VDD OSC 14 13 12 CODE2 CODE3 11 10 9 SP1 SP2 SP3 SP4 KS9801 S5G9801X01 VSS REMIN 1 CP1 2 3 CP2 4 CP3 5 CP4 CP5 CP5 6 7 8 10kO REMIN input CONTROL SIGNAL Figure 15. 13 S5G9801X01/S5G9803X01 INFRAED REMOCON RECEIVER 3. S5G9803 CIRCUIT CONTROL SIGNAL CR VDD + + 10iF 1000pF 1000pF 24 23 VDD OSC 22 21 20 CODE3 CODE1 19 18 17 16 15 14 13 SP1 SP2 SP3 SP4 SP5 SP6 SP7 SP8 CP5 CP5 CP5 CP5 CP5 CP5 9 10 11 12 S5G9801X01 KS9801 VSS REMIN 1 CP1 2 3 CP2 4 CP3 5 CP4 6 10kO REMIN input CONTROL SIGNAL Figure 16. 14 7 8 INFRAED REMOCON RECEIVER S5G9801X01/S5G9803X01 VARIANCE OF OSCILLATION FREQUENCY BY R AND C 1) Variance of Oscillation Frequency by R 55 VDD = 5 V C = 1000 pF 50 45 FREQ. (kHz) 40 35 30 25 30 34 38 42 46 50 54 R (k) 2) Variance of Oscillation Frequency by C 55 50 VDD = 5 V R = 39 k 45 FREQ. (kHz) 40 35 30 25 30 34 38 42 46 50 54 C (pF) 15 S5G9801X01/S5G9803X01 INFRAED REMOCON RECEIVER NOTES 16