Order this document by MC145026/D SEMICONDUCTOR TECHNICAL DATA CMOS These devices are designed to be used as encoder/decoder pairs in remote control applications. The MC145026 encodes nine lines of information and serially sends this information upon receipt of a transmit enable (TE) signal. The nine lines may be encoded with trinary data (low, high, or open) or binary data (low or high). The words are transmitted twice per encoding sequence to increase security. The MC145027 decoder receives the serial stream and interprets five of the trinary digits as an address code. Thus, 243 addresses are possible. If binary data is used at the encoder, 32 addresses are possible. The remaining serial information is interpreted as four bits of binary data. The valid transmission (VT) output goes high on the MC145027 when two conditions are met. First, two addresses must be consecutively received (in one encoding sequence) which both match the local address. Second, the 4 bits of data must match the last valid data received. The active VT indicates that the information at the Data output pins has been updated. The MC145028 decoder treats all nine trinary digits as an address which allows 19,683 codes. If binary data is encoded, 512 codes are possible. The VT output goes high on the MC145028 when two addresses are consecutively received (in one encoding sequence) which both match the local address. • • • • • • P SUFFIX PLASTIC DIP CASE 648 16 1 D SUFFIX SOG PACKAGE CASE 751B 16 1 DW SUFFIX SOG PACKAGE CASE 751G 16 Operating Temperature Range: – 40 to + 85°C Very–Low Standby Current for the Encoder: 300 nA Maximum @ 25°C Interfaces with RF, Ultrasonic, or Infrared Modulators and Demodulators RC Oscillator, No Crystal Required High External Component Tolerance; Can Use ± 5% Components Internal Power–On Reset Forces All Decoder Outputs Low 1 ORDERING INFORMATION • Operating Voltage Range: MC145026 = 2.5 to 18 V* MC145027, MC145028 = 4.5 to 18 V • Low–Voltage Versions Available: SC41343 = 2.8 to 10 V Version of the MC145027 SC41344 = 2.8 to 10 V Version of the MC145028 • For Infrared Applications, See Application Note AN1016/D MC145026P MC145026D Plastic DIP SOG Package MC145027P, SC41343P MC145027DW, SC41343DW Plastic DIP SOG Package MC145028P, SC41344P MC145028DW, SC41344DW Plastic DIP SOG Package PIN ASSIGNMENTS MC145026 ENCODER MC145027/SC41343 DECODERS MC145028/SC41344 DECODERS VDD A1 1 16 VDD A1 1 16 VDD A1 1 16 A2 2 15 Dout A2 2 15 D6 A2 2 15 A6 A3 3 14 TE A3 3 14 D7 A3 3 14 A7 A4 4 13 RTC A4 4 13 D8 A4 4 13 A8 A5 5 12 CTC A5 5 12 D9 A5 5 12 A9 A6/D6 6 11 RS R1 6 11 VT R1 6 11 VT A7/D7 7 10 A9/D9 C1 7 10 R2/C2 C1 7 10 R2/C2 VSS 8 9 A8/D8 VSS 8 9 VSS 8 9 Din Din * All MC145026 devices manufactured after date code 9314 or 314 are guaranteed over this wider voltage range. All previous designs using the low–voltage SC41342 should convert to the MC145026, which is a drop–in replacement. The SC41342 part number has been discontinued. REV 2 1/98 Motorola, Inc. 1998 MOTOROLA MC145026•MC145027•MC145028•SC41343•SC41344 1 RS RTC CTC TE 11 14 12 13 3–PIN OSCILLATOR AND ENABLE 9 15 D out RING COUNTER AND 1–OF–9 DECODER 8 7 6 5 4 3 2 1 1 A1 2 A2 3 A3 4 A4 5 A5 TRINARY DETECTOR 6 A6/D6 7 A7/D7 9 A8/D8 A9/D9 DATA SELECT AND BUFFER ÷4 DIVIDER VDD = PIN 16 VSS = PIN 8 10 Figure 1. MC145026 Encoder Block Diagram CONTROL LOGIC 15 14 LATCH 4–BIT SHIFT REGISTER 11 13 12 VT D6 D7 D8 D9 SEQUENCER CIRCUIT 5 A1 A2 A3 A4 A5 4 3 2 1 1 2 3 DATA EXTRACTOR 4 5 C1 7 6 R1 9 C2 10 Din VDD = PIN 16 VSS = PIN 8 R2 Figure 2. MC145027 Decoder Block Diagram MC145026•MC145027•MC145028•SC41343•SC41344 2 MOTOROLA 11 CONTROL LOGIC 9 A1 1 A2 2 A3 3 A4 4 A5 5 8 7 SEQUENCER CIRCUIT 6 5 4 3 2 VT 1 9–BIT SHIFT REGISTER DATA EXTRACTOR A6 15 C1 A7 14 7 6 R1 A8 13 9 C2 10 R2 Din VDD = PIN 16 VSS = PIN 8 A9 12 Figure 3. MC145028 Decoder Block Diagram MAXIMUM RATINGS* (Voltages Referenced to VSS) Rating Symbol Value Unit VDD DC Supply Voltage (except SC41343, SC41344) – 0.5 to + 18 V VDD DC Supply Voltage (SC41343, SC41344 only) – 0.5 to + 10 V Vin DC Input Voltage – 0.5 to VDD + 0.5 V Vout DC Output Voltage – 0.5 to VDD + 0.5 V DC Input Current, per Pin ± 10 mA Iout DC Output Current, per Pin ± 10 mA PD Power Dissipation, per Package 500 mW Tstg Storage Temperature – 65 to + 150 °C 260 °C Iin TL Lead Temperature, 1 mm from Case for 10 Seconds This device contains protection circuitry to guard against damage due to high static voltages or electric fields. However, precautions must be taken to avoid applications of any voltage higher than maximum rated voltages to this high–impedance circuit. For proper operation, Vin and Vout should be constrained to the range VSS ≤ (Vin or Vout) ≤ VDD. * Maximum Ratings are those values beyond which damage to the device may occur. Functional operation should be restricted to the limits in the Electrical Characteristics tables or Pin Descriptions section. MOTOROLA MC145026•MC145027•MC145028•SC41343•SC41344 3 ELECTRICAL CHARACTERISTICS — MC145026*, MC145027, and MC145028 (Voltage Referenced to VSS) Guaranteed Limit Symbol S b l Characteristic Ch i i – 40°C 25°C 85°C VDD V Min Max Min Max Min Max Unit U i VOL Low–Level Output Voltage (Vin = VDD or 0) 5.0 10 15 — — — 0.05 0.05 0.05 — — — 0.05 0.05 0.05 — — — 0.05 0.05 0.05 V VOH High–Level Output Voltage (Vin = 0 or VDD) 5.0 10 15 4.95 9.95 14.95 — — — 4.95 9.95 14.95 — — — 4.95 9.95 14.95 — — — V (Vout = 4.5 or 0.5 V) (Vout = 9.0 or 1.0 V) (Vout = 13.5 or 1.5 V) 5.0 10 15 — — — 1.5 3.0 4.0 — — — 1.5 3.0 4.0 — — — 1.5 3.0 4.0 (Vout = 0.5 or 4.5 V) (Vout = 1.0 or 9.0 V) (Vout = 1.5 or 13.5 V) 5.0 10 15 3.5 7.0 11 — — — 3.5 7.0 11 — — — 3.5 7.0 11 — — — (Vout = 2.5 V) (Vout = 4.6 V) (Vout = 9.5 V) (Vout = 13.5 V) 5.0 5.0 10 15 – 2.5 – 0.52 – 1.3 – 3.6 — — — — – 2.1 – 0.44 – 1.1 – 3.0 — — — — – 1.7 – 0.36 – 0.9 – 2.4 — — — — (Vout = 0.4 V) (Vout = 0.5 V) (Vout = 1.5 V) 5.0 10 15 0.52 1.3 3.6 — — — 0.44 1.1 3.0 — — — 0.36 0.9 2.4 — — — VIL VIH IOH IOL Low–Level Input Voltage V High–Level Input Voltage V High–Level Output Current mA Low–Level Output Current mA Iin Input Current — TE (MC145026, Pull–Up Device) 5.0 10 15 — — — — — — 3.0 16 35 11 60 120 — — — — — — µA Iin Input Current RS (MC145026), Din (MC145027, MC145028) 15 — ± 0.3 — ± 0.3 — ± 1.0 µA Iin Input Current A1 – A5, A6/D6 – A9/D9 (MC145026), A1 – A5 (MC145027), A1 – A9 (MC145028) 5.0 10 15 — — — — — — — — — ± 110 ± 500 ± 1000 — — — — — — Cin Input Capacitance (Vin = 0) — — — — 7.5 — — pF IDD Quiescent Current — MC145026 5.0 10 15 — — — — — — — — — 0.1 0.2 0.3 — — — — — — µA IDD Quiescent Current — MC145027, MC145028 5.0 10 15 — — — — — — — — — 50 100 150 — — — — — — µA Idd Dynamic Supply Current — MC145026 (fc = 20 kHz) 5.0 10 15 — — — — — — — — — 200 400 600 — — — — — — µA Idd Dynamic Supply Current — MC145027, MC145028 (fc = 20 kHz) 5.0 10 15 — — — — — — — — — 400 800 1200 — — — — — — µA µA * Also see next Electrical Characteristics table for 2.5 V specifications. MC145026•MC145027•MC145028•SC41343•SC41344 4 MOTOROLA ELECTRICAL CHARACTERISTICS — MC145026 (Voltage Referenced to VSS) Guaranteed Limit Symbol S b l Characteristic Ch i i – 40°C 25°C 85°C VDD V Min Max Min Max Min Max Unit U i VOL Low–Level Output Voltage (Vin = 0 V or VDD) 2.5 — 0.05 — 0.05 — 0.05 V VOH High–Level Output Voltage (Vin = 0 V or VDD) 2.5 2.45 — 2.45 — 2.45 — V — 0.3 — 0.3 — 0.3 V VIL Low–Level Input Voltage (Vout = 0.5 V or 2.0 V) 2.5 VIH High–Level Input Voltage (Vout = 0.5 V or 2.0 V) 2.5 2.2 — 2.2 — 2.2 — V IOH High–Level Output Current (Vout = 1.25 V) 2.5 0.28 — 0.25 — 0.2 — mA IOL Low–Level Output Current (Vout = 0.4 V) 2.5 0.22 — 0.2 — 0.16 — mA Iin Input Current (TE — Pull–Up Device) 2.5 — — 0.09 1.8 — — µA Iin Input Current (A1–A5, A6/D6–A9/D9) 2.5 — — — ± 25 — — µA IDD Quiescent Current 2.5 — — — 0.05 — — µA Idd Dynamic Supply Current (fc = 20 kHz) 2.5 — — — 40 — — µA ELECTRICAL CHARACTERISTICS — SC41343 and SC41344 (Voltage Referenced to VSS) Guaranteed Limit Symbol S b l Characteristic Ch i i – 40°C 25°C 85°C VDD V Min Max Min Max Min Max Unit U i VOL Low–Level Output Voltage (Vin = 0 V or VDD) 2.8 5.0 10 — — — 0.05 0.05 0.05 — — — 0.05 0.05 0.05 — — — 0.05 0.05 0.05 V VOH High–Level Output Voltage (Vin = 0 V or VDD) 2.8 5.0 10 2.75 4.95 9.95 — — — 2.75 4.95 9.95 — — — 2.75 4.95 9.95 — — — V (Vout = 2.3 V or 0.5 V) (Vout = 4.5 V or 0.5 V) (Vout = 9.0 V or 1.0 V) 2.8 5.0 10 — — — 0.84 1.5 3.0 — — — 0.84 1.5 3.0 — — — 0.84 1.5 3.0 (Vout = 0.5 V or 2.3 V) (Vout = 0.5 V or 4.5 V) (Vout = 1.0 V or 9.0 V) 2.8 5.0 10 1.96 3.5 7.0 — — — 1.96 3.5 7.0 — — — 1.96 3.5 7.0 — — — (Vout = 1.4 V) (Vout = 4.5 V) (Vout = 9.0 V) 2.8 5.0 10 – 0.73 – 0.59 – 1.3 — — — – 0.7 – 0.5 – 1.1 — — — – 0.55 – 0.41 – 0.9 — — — (Vout = 0.4 V) (Vout = 0.5 V) (Vout = 1.0 V) 2.8 5.0 10 0.35 0.8 3.5 — — — 0.3 0.6 2.9 — — — 0.24 0.4 2.3 — — — VIL VIH IOH IOL Low–Level Input Voltage V High–Level Input Voltage V High–Level Output Current mA Low–Level Output Current mA Iin Input Current — Din 10 — ± 0.3 — ± 0.3 — ± 1.0 µA Iin Input Current A1 – A5 (SC41343) A1 – A9 (SC41344) 2.8 5.0 10 — — — — — — — — — ± 30 ± 140 ± 600 — — — — — — µA Cin Input Capacitance (Vin = 0) — — — — 7.5 — — pF IDD Quiescent Current 2.8 5.0 10 — — — — — — — — — 60 75 150 — — — — — — µA Idd Dynamic Supply Current (fc = 20 kHz) 2.8 5.0 10 — — — — — — — — — 300 500 1000 — — — — — — µA MOTOROLA MC145026•MC145027•MC145028•SC41343•SC41344 5 SWITCHING CHARACTERISTICS — MC145026*, MC145027, and MC145028 (CL = 50 pF, TA = 25°C) S b l Symbol tTLH, tTHL Ch Characteristic i i Output Transition Time Figure No. Guaranteed Limit VDD Min Max U i Unit 4,8 5.0 10 15 — — — 200 100 80 ns tr Din Rise Time — Decoders 5 5.0 10 15 — — — 15 15 15 µs tf Din Fall Time — Decoders 5 5.0 10 15 — — — 15 5.0 4.0 µs fosc Encoder Clock Frequency 6 5.0 10 15 0.001 0.001 0.001 2.0 5.0 10 MHz Decoder Frequency — Referenced to Encoder Clock 12 5.0 10 15 1.0 1.0 1.0 240 410 450 kHz TE Pulse Width — Encoders 7 5.0 10 15 65 30 20 — — — ns f tw * Also see next Switching Characteristics table for 2.5 V specifications. SWITCHING CHARACTERISTICS — MC145026 (CL = 50 pF, TA = 25°C) VDD Min Max U i Unit 4, 8 2.5 — 450 ns Encoder Clock Frequency 6 2.5 1.0 250 kHz TE Pulse Width 7 2.5 1.5 — µs S b l Symbol tTLH, tTHL fosc tw Guaranteed Limit Figure No. Ch Characteristic i i Output Transition Time SWITCHING CHARACTERISTICS — SC41343 and SC41344 (CL = 50 pF, TA = 25°C) S b l Symbol tTLH, tTHL Ch i i Characteristic Output Transition Time Figure No. Guaranteed Limit VDD Min Max U i Unit 4, 8 2.8 5.0 10 — — — 320 200 100 ns tr Din Rise Time 5 2.8 5.0 10 — — — 15 15 15 µs tf Din Fall Time 5 2.8 5.0 10 — — — 15 15 5.0 µs f Decoder Frequency — Referenced to Encoder Clock 12 2.8 5.0 10 1.0 1.0 1.0 100 240 410 kHz MC145026•MC145027•MC145028•SC41343•SC41344 6 MOTOROLA ANY OUTPUT 90% tf 10% tr VDD 90% tTLH Din tTHL 10% Figure 4. VSS Figure 5. 1 / fosc VDD TE RTC 50% 50% VSS tw Figure 6. Figure 7. TEST POINT DEVICE UNDER TEST OUTPUT CL* * Includes all probe and fixture capacitance. Figure 8. Test Circuit MOTOROLA MC145026•MC145027•MC145028•SC41343•SC41344 7 OPERATING CHARACTERISTICS MC145026 The encoder serially transmits trinary data as defined by the state of the A1 – A5 and A6/D6 – A9/D9 input pins. These pins may be in either of three states (low, high, or open) allowing 19,683 possible codes. The transmit sequence is initiated by a low level on the TE input pin. Upon power–up, the MC145026 can continuously transmit as long as TE remains low (also, the device can transmit two–word sequences by pulsing TE low). However, no MC145026 application should be designed to rely upon the first data word transmitted immediately after power–up because this word may be invalid. Between the two data words, no signal is sent for three data periods (see Figure 10). Each transmitted trinary digit is encoded into pulses (see Figure 11). A logic 0 (low) is encoded as two consecutive short pulses, a logic 1 (high) as two consecutive long pulses, and an open (high impedance) as a long pulse followed by a short pulse. The input state is determined by using a weak “output” device to try to force each input high then low. If only a high state results from the two tests, the input is assumed to be hardwired to VDD. If only a low state is obtained, the input is assumed to be hardwired to VSS. If both a high and a low can be forced at an input, an open is assumed and is encoded as such. The “high” and “low” levels are 70% and 30% of the supply voltage as shown in the Electrical Characteristics table. The weak “output” device sinks/sources up to 110 µA at a 5 V supply level, 500 µA at 10 V, and 1 mA at 15 V. The TE input has an internal pull–up device so that a simple switch may be used to force the input low. While TE is high and the second–word transmission has timed out, the encoder is completely disabled, the oscillator is inhibited, and the current drain is reduced to quiescent current. When TE is brought low, the oscillator is started and the transmit sequence begins. The inputs are then sequentially selected, and determinations are made as to the input logic states. This information is serially transmitted via the Dout pin. MC145027 This decoder receives the serial data from the encoder and outputs the data, if it is valid. The transmitted data, consisting of two identical words, is examined bit by bit during reception. The first five trinary digits are assumed to be the address. If the received address matches the local address, the next four (data) bits are internally stored, but are not transferred to the output data latch. As the second encoded word is received, the address must again match. If a match occurs, the new data bits are checked against the previously stored data bits. If the two nibbles of data (four bits each) match, the data is transferred to the output data latch by VT and remains until new data replaces it. At the same time, the VT output pin is brought high and remains high until an error is received or until no input signal is received for four data periods (see Figure 10). Although the address information may be encoded in trinary, the data information must be either a 1 or 0. A trinary (open) data line is decoded as a logic 1. MC145028 This decoder operates in the same manner as the MC145027 except that nine address lines are used and no MC145026•MC145027•MC145028•SC41343•SC41344 8 data output is available. The VT output is used to indicate that a valid address has been received. For transmission security, two identical transmitted words must be consecutively received before a VT output signal is issued. The MC145028 allows 19,683 addresses when trinary levels are used. 512 addresses are possible when binary levels are used. PIN DESCRIPTIONS MC145026 ENCODER A1 – A5, A6/D6 – A9/D9 Address, Address/Data Inputs (Pins 1 – 7, 9, and 10) These address/data inputs are encoded and the data is sent serially from the encoder via the Dout pin. RS, CTC, RTC (Pins 11, 12, and 13) These pins are part of the oscillator section of the encoder (see Figure 9). If an external signal source is used instead of the internal oscillator, it should be connected to the RS input and the RTC and CTC pins should be left open. TE Transmit Enable (Pin 14) This active–low transmit enable input initiates transmission when forced low. An internal pull–up device keeps this input normally high. The pull–up current is specified in the Electrical Characteristics table. Dout Data Out (Pin 15) This is the output of the encoder that serially presents the encoded data word. VSS Negative Power Supply (Pin 8) The most–negative supply potential. This pin is usually ground. VDD Positive Power Supply (Pin 16) The most–positive power supply pin. MC145027 AND MC145028 DECODERS A1 – A5, A1 – A9 Address Inputs (Pins 1 – 5) — MC145027, Address Inputs (Pins 1 – 5, 15, 14, 13, 12) — MC145028 These are the local address inputs. The states of these pins must match the appropriate encoder inputs for the VT pin to go high. The local address may be encoded with trinary or binary data. D6 – D9 Data Outputs (Pins 15, 14, 13, 12) — MC145027 Only These outputs present the binary information that is on encoder inputs A6/D6 through A9/D9. Only binary data is acknowledged; a trinary open at the MC145026 encoder is decoded as a high level (logic 1). Din Data In (Pin 9) This pin is the serial data input to the decoder. The input voltage must be at CMOS logic levels. The signal source driving this pin must be dc coupled. MOTOROLA R1, C1 Resistor 1, Capacitor 1 (Pins 6, 7) VT Valid Transmission Output (Pin 11) As shown in Figures 2 and 3, these pins accept a resistor and capacitor that are used to determine whether a narrow pulse or wide pulse has been received. The time constant R1 x C1 should be set to 1.72 encoder clock periods: This valid transmission output goes high after the second word of an encoding sequence when the following conditions are satisfied: R1 C1 = 3.95 RTC CTC R2/C2 Resistor 2/Capacitor 2 (Pin 10) As shown in Figures 2 and 3, this pin accepts a resistor and capacitor that are used to detect both the end of a received word and the end of a transmission. The time constant R2 x C2 should be 33.5 encoder clock periods (four data periods per Figure 11): R2 C2 = 77 RTC CTC. This time constant is used to determine whether the Din pin has remained low for four data periods (end of transmission). A separate on–chip comparator looks at the voltage–equivalent two data periods (0.4 R2 C2) to detect the dead time between received words within a transmission. MOTOROLA 1. the received addresses of both words match the local decoder address, and 2. the received data bits of both words match. VT remains high until either a mismatch is received or no input signal is received for four data periods. VSS Negative Power Supply (Pin 8) The most–negative supply potential. This pin is usually ground. VDD Positive Power Supply (Pin 16) The most–positive power supply pin. MC145026•MC145027•MC145028•SC41343•SC41344 9 RS CTC 11 RTC 12 13 INTERNAL ENABLE This oscillator operates at a frequency determined by the external RC network; i.e., f≈ 1 2.3 RTC CTC′ The value for RS should be chosen to be ≥ 2 times RTC. This range ensures that current through RS is insignificant compared to current through RTC. The upper limit for RS must ensure that RS x 5 pF (input capacitance) is small compared to RTC x CTC. (Hz) for 1 kHz ≤ f ≤ 400 kHz where: CTC′ = CTC + Clayout + 12 pF For frequencies outside the indicated range, the formula is less accurate. The minimum recommended oscillation frequency of this circuit is 1 kHz. Susceptibility to externally induced noise signals may occur for frequencies below 1 kHz and/or when resistors utilized are greater than 1 MΩ. RS ≈ 2 RTC RS ≥ 20 k RTC ≥ 10 k 400 pF < CTC < 15 µF Figure 9. Encoder Oscillator Information ENCODER PWmin 2 WORD TRANSMISSION TE 1ST DIGIT 9TH DIGIT 184 182 180 178 122 120 118 116 114 90 88 86 84 82 80 30 28 26 24 22 20 18 16 6 4 2 ENCODER OSCILLATOR (PIN 12) CONTINUOUS TRANSMISSION 9TH DIGIT 1ST DIGIT Dout (PIN 15) HIGH OPEN LOW 1ST WORD 2ND WORD ENCODING SEQUENCE DECODER 1.1 (R2C2) VT (PIN 11) DATA OUTPUTS Figure 10. Timing Diagram MC145026•MC145027•MC145028•SC41343•SC41344 10 MOTOROLA ENCODER OSCILLATOR (PIN 12) ENCODED “ONE” Dout (PIN 15) ENCODED “ZERO” ENCODED “OPEN” DATA PERIOD Figure 11. Encoder Data Waveforms f max (kHz) (REF. TO ENCODER CLOCK) 500 400 VDD = 15 V VDD = 10 V 300 200 VDD = 5 V 100 10 20 30 40 50 Clayout (pF) ON PINS 1 – 5 (MC145027); PINS 1 – 5 AND 12 – 15 (MC145028) Figure 12. fmax vs Clayout — Decoders Only MOTOROLA MC145026•MC145027•MC145028•SC41343•SC41344 11 NO HAS THE TRANSMISSION BEGUN? YES DOES THE 5–BIT ADDRESS MATCH THE ADDRESS PINS? NO DISABLE VT ON THE 1ST ADDRESS MISMATCH YES STORE THE 4–BIT DATA DOES THIS DATA MATCH THE PREVIOUSLY STORED DATA? NO DISABLE VT ON THE 1ST DATA MISMATCH YES IS THIS AT LEAST THE 2ND CONSECUTIVE MATCH SINCE VT DISABLE? NO YES LATCH DATA ONTO OUTPUT PINS AND ACTIVATE VT HAVE 4–BIT TIMES PASSED? YES DISABLE VT NO NO HAS A NEW TRANSMISSION BEGUN? YES Figure 13. MC145027 Flowchart MC145026•MC145027•MC145028•SC41343•SC41344 12 MOTOROLA HAS THE TRANSMISSION BEGUN? NO YES DOES THE ADDRESS MATCH THE ADDRESS PINS? NO DISABLE VT ON THE 1ST ADDRESS MISMATCH AND IGNORE THE REST OF THIS WORD YES IS THIS AT LEAST THE 2ND CONSECUTIVE MATCH SINCE VT DISABLE? NO YES ACTIVATE VT HAVE 4–BIT TIMES PASSED? YES DISABLE VT NO NO HAS A NEW TRANSMISSION BEGUN? YES Figure 14. MC145028 Flowchart MOTOROLA MC145026•MC145027•MC145028•SC41343•SC41344 13 VDD MC145027 AND MC145028 TIMING To verify the MC145027 or MC145028 timing, check the waveforms on C1 (Pin 7) and R2/C2 (Pin 10) as compared to the incoming data waveform on Din (Pin 9). The R–C decay seen on C1 discharges down to 1/3 VDD before being reset to VDD. This point of reset (labelled “DOS” in Figure 15) is the point in time where the decision is made whether the data seen on Din is a 1 or 0. DOS should not be too close to the Din data edges or intermittent operation may occur. The other timing to be checked on the MC145027 and MC145028 is on R2/C2 (see Figure 16). The R–C decay is continually reset to VDD as data is being transmitted. Only between words and after the end–of–transmission (EOT) does R2/C2 decay significantly from VDD. R2/C2 can be used to identify the internal end–of–word (EOW) timing edge which is generated when R2/C2 decays to 2/3 VDD. The internal EOT timing edge occurs when R2/C2 decays to 1/3 VDD. When the waveform is being observed, the R–C decay should go down between the 2/3 and 1/3 VDD levels, but not too close to either level before data transmission on Din resumes. Verification of the timing described above should ensure a good match between the MC145026 transmitter and the MC145027 and MC145028 receivers. MC145026•MC145027•MC145028•SC41343•SC41344 14 Din 0V VDD 2/3 C1 1/3 0V DOS DOS Figure 15. R–C Decay on Pin 7 (C1) EOW VDD 2/3 R2/C2 1/3 0V EOT Figure 16. R–C Decay on Pin 10 (R2/C2) MOTOROLA VDD TE VDD VDD A1 A2 5 TRINARY ADDRESSES A3 A4 A5 D6 4–BIT BINARY DATA D7 D8 14 1 2 3 4 5 6 7 9 10 16 Din 9 6 R1 13 C1 CTC 10 11 RS 8 MC145027 OR SC41343 7 RTC 12 D9 A1 16 15 Dout MC145026 VDD 0.1 µF 0.1 µF R2 1 2 3 4 5 15 14 13 12 11 A2 A3 A4 5 TRINARY ADDRESSES A5 D6 D7 D8 D9 VT C2 8 CTC′ = CTC + Clayout + 12 pF 100 pF ≤ CTC ≤ 15 µF RTC ≥ 10 kΩ; RS ≈ 2 RTC R1 ≥ 10 kΩ C1 ≥ 400 pF R2 ≥ 100 kΩ C2 ≥ 700 pF 1 fosc = 2.3 RTCCTC′ R1C1 = 3.95 RTCCTC R2C2 = 77 RTCCTC REPEAT OF ABOVE REPEAT OF ABOVE Example R/C Values (All Resistors and Capacitors are ± 5%) (CTC′ = CTC + 20 pF) fosc (kHz) RTC CTC′ RS R1 C1 R2 C2 362 181 88.7 42.6 21.5 8.53 1.71 10 k 10 k 10 k 10 k 10 k 10 k 50 k 120 pF 240 pF 490 pF 1020 pF 2020 pF 5100 pF 5100 pF 20 k 20 k 20 k 20 k 20 k 20 k 100 k 10 k 10 k 10 k 10 k 10 k 10 k 50 k 470 pF 910 pF 2000 pF 3900 pF 8200 pF 0.02 µF 0.02 µF 100 k 100 k 100 k 100 k 100 k 200 k 200 k 910 pF 1800 pF 3900 pF 7500 pF 0.015 µF 0.02 µF 0.1 µF Figure 17. Typical Application MOTOROLA MC145026•MC145027•MC145028•SC41343•SC41344 15 APPLICATIONS INFORMATION INFRARED TRANSMITTER In Figure 18, the MC145026 encoder is set to run at an oscillator frequency of about 4 to 9 kHz. Thus, the time required for a complete two–word encoding sequence is about 20 to 40 ms. The data output from the encoder gates an RC oscillator running at 50 kHz; the oscillator shown starts rapidly enough to be used in this application. When the “send” button is not depressed, both the MC145026 and oscillator are in a low–power standby state. The RC oscillator has to be trimmed for 50 kHz and has some drawbacks for frequency stability. A superior system uses a ceramic resonator oscillator running at 400 kHz. This oscillator feeds a divider as shown in Figure 19. The unused inputs of the MC14011UB must be grounded. The MLED81 IRED is driven with the 50 kHz square wave at about 200 to 300 mA to generate the carrier. If desired, two IREDs wired in series can be used (see Application Note AN1016 for more information). The bipolar IRED switch, shown in Figure 18, offers two advantages over a FET. First, a logic FET has too much gate capacitance for the MC14011UB to drive without waveform distortion. Second, the bipolar drive permits lower supply voltages, which are an advantage in portable battery–powered applications. The configuration shown in Figure 18 operates over a supply range of 4.5 to 18 V. A low–voltage system which operates down to 2.5 V could be realized if the oscillator section of a MC74HC4060 is used in place of the MC14011UB. The data output of the MC145026 is inverted and fed to the RESET pin of the MC74HC4060. Alternately, the MC74HCU04 could be used for the oscillator. Information on the MC14011UB is in book number DL131/D. The MC74HCU04 and MC74HC4060 are found in book number DL129/D. INFRARED RECEIVER The receiver in Figure 20 couples an IR–sensitive diode to input preamp A1, followed by band–pass amplifier A2 with a gain of about 10. Limiting stage A3 follows, with an output of about 800 mV p–p. The limited 50 kHz burst is detected by comparator A4 that passes only positive pulses, and peak– MC145026•MC145027•MC145028•SC41343•SC41344 16 detected and filtered by a diode/RC network to extract the data envelope from the burst. Comparator A5 boosts the signal to logic levels compatible with the MC145027/28 data input. The Din pin of these decoders is a standard CMOS high–impedance input which must not be allowed to float. Therefore, direct coupling from A5 to the decoder input is utilized. Shielding should be used on at least A1 and A2, with good ground and high–sensitivity circuit layout techniques applied. For operation with supplies higher than + 5 V, limiter A4’s positive output swing needs to be limited to 3 to 5 V. This is accomplished via adding a zener diode in the negative feedback path, thus avoiding excessive system noise. The biasing resistor stack should be adjusted such that V3 is 1.25 to 1.5 V. This system works up to a range of about 10 meters. The gains of the system may be adjusted to suit the individual design needs. The 100 Ω resistor in the emitter of the first 2N5088 and the 1 kΩ resistor feeding A2 may be altered if different gain is required. In general, more gain does not necessarily result in increased range. This is due to noise floor limitations. The designer should increase transmitter power and/or increase receiver aperature with Fresnal lensing to greatly improve range. See Application Note AN1016 for additional information. Information on the MC34074 is in data book DL128/D. TRINARY SWITCH MANUFACTURERS Midland Ross–Electronic Connector Div. Greyhill Augat/Alcoswitch Aries Electronics The above companies may not have the switches in a DIP. For more information, call them or consult eem Electronic Engineers Master Catalog or the Gold Book. Ask for SPDT with center OFF. Alternative: An SPST can be placed in series between a SPDT and the Encoder or Decoder to achieve trinary action. Motorola cannot recommend one supplier over another and in no way suggests that this is a complete listing of trinary switch manufacturers. MOTOROLA V+ SELECT FOR 200 mA TO 300 mA MLED81 USE OF 2 MLED81s IS OPTIONAL MC14011UB 10 kΩ MPSA13 OR MPSW13 SEND MC14011UB Dout TE MC145026 RS CTC RTC SWITCHES 220 kΩ 0.01 µF 220 kΩ 1000 pF 9 ADJUST/SELECT FOR f = 50 kHz (APPROX. 100 kΩ) 100 kΩ FOR APPROX. 4 kHz 47 kΩ FOR APPROX. 9 kHz Figure 18. IRED Transmitter Using RC Oscillator to Generate Carrier Frequency V+ MC14011UB MC14024 CLK Q3 RESET 50 kHZ TO DRIVER TRANSISTOR 1MΩ X1 = 400 kHz CERAMIC RESONATOR PANASONIC EFD–A400K04B OR EQUIVALENT X1 470 pF 470 pF V+ MC14011UB Dout FROM MC145026 Figure 19. Using a Ceramic Resonator to Generate Carrier Frequency MOTOROLA MC145026•MC145027•MC145028•SC41343•SC41344 17 +5 V 10 kΩ 10 µF A1 1 mH — TOKO TYPE 7PA OR 10PA OR EQUIVALENT 10 µF 10 kΩ 22 kΩ 0.01 µF 2N5088 2N5086 2N5088 ÉÉ ÉÉ 0.01 µF 1 kΩ 10 kΩ – A2 100 Ω OPTICAL FILTER 6.8 kΩ V1 2.2 kΩ + 1/4 MC34074 1 µF 1N914 0.01 µF 4.7 kΩ 1N914 1 MΩ 100 kΩ 1 MΩ – 10 kΩ A3 V1 1N914 + + 1 kΩ 22 kΩ + A4 – V2 1/4 MC34074 A5 1/4 MC34074 1000 pF 47 kΩ V3 – 1/4 MC34074 +5 V 390 kΩ FOR APPROX. 4 kHz 180 kΩ FOR APPROX. 9 kHz 1000 pF 750 kΩ FOR APPROX. 4 kHz 360 kΩ FOR APPROX. 9 kHz 0.01 µF 4.7 kΩ R1 C1 MC145027/28 Din VDD +5 V V2 ≈ 2.7 V R2/C2 VSS 390 Ω VT V1 ≈ 2.5 V 4 DATA OUT MC145027 ONLY 9 FOR MC145027 5 FOR MC145028 2.2 kΩ 10 µF 10 µF V3 ≈ 1.3 V 10 µF 2.7 kΩ ADDRESS SWITCHES Figure 20. Infrared Receiver MC145026•MC145027•MC145028•SC41343•SC41344 18 MOTOROLA PACKAGE DIMENSIONS P SUFFIX PLASTIC DIP (DUAL IN–LINE PACKAGE) CASE 648–08 NOTES: 1. DIMENSIONING AND TOLERANCING PER ANSI Y14.5M, 1982. 2. CONTROLLING DIMENSION: INCH. 3. DIMENSION L TO CENTER OF LEADS WHEN FORMED PARALLEL. 4. DIMENSION B DOES NOT INCLUDE MOLD FLASH. 5. ROUNDED CORNERS OPTIONAL. –A– 16 9 1 8 B F C DIM A B C D F G H J K L M S L S SEATING PLANE –T– K H G D M J 16 PL 0.25 (0.010) M T A M INCHES MIN MAX 0.740 0.770 0.250 0.270 0.145 0.175 0.015 0.021 0.040 0.70 0.100 BSC 0.050 BSC 0.008 0.015 0.110 0.130 0.295 0.305 0_ 10 _ 0.020 0.040 MILLIMETERS MIN MAX 18.80 19.55 6.35 6.85 3.69 4.44 0.39 0.53 1.02 1.77 2.54 BSC 1.27 BSC 0.21 0.38 2.80 3.30 7.50 7.74 0_ 10 _ 0.51 1.01 D SUFFIX SOG (SMALL OUTLINE GULL–WING) PACKAGE CASE 751B–05 –A– 16 NOTES: 1. DIMENSIONING AND TOLERANCING PER ANSI Y14.5M, 1982. 2. CONTROLLING DIMENSION: MILLIMETER. 3. DIMENSIONS A AND B DO NOT INCLUDE MOLD PROTRUSION. 4. MAXIMUM MOLD PROTRUSION 0.15 (0.006) PER SIDE. 5. DIMENSION D DOES NOT INCLUDE DAMBAR PROTRUSION. ALLOWABLE DAMBAR PROTRUSION SHALL BE 0.127 (0.005) TOTAL IN EXCESS OF THE D DIMENSION AT MAXIMUM MATERIAL CONDITION. 9 –B– 1 P 8 PL 0.25 (0.010) 8 M B S G R K F X 45 _ C –T– SEATING PLANE M D 16 PL 0.25 (0.010) MOTOROLA M T B S A S J DIM A B C D F G J K M P R MILLIMETERS MIN MAX 9.80 10.00 3.80 4.00 1.35 1.75 0.35 0.49 0.40 1.25 1.27 BSC 0.19 0.25 0.10 0.25 0_ 7_ 5.80 6.20 0.25 0.50 INCHES MIN MAX 0.386 0.393 0.150 0.157 0.054 0.068 0.014 0.019 0.016 0.049 0.050 BSC 0.008 0.009 0.004 0.009 0_ 7_ 0.229 0.244 0.010 0.019 MC145026•MC145027•MC145028•SC41343•SC41344 19 DW SUFFIX SOG (SMALL OUTLINE GULL–WING) PACKAGE CASE 751G–02 –A– 16 9 –B– 8X P 0.010 (0.25) 1 NOTES: 1. DIMENSIONING AND TOLERANCING PER ANSI Y14.5M, 1982. 2. CONTROLLING DIMENSION: MILLIMETER. 3. DIMENSIONS A AND B DO NOT INCLUDE MOLD PROTRUSION. 4. MAXIMUM MOLD PROTRUSION 0.15 (0.006) PER SIDE. 5. DIMENSION D DOES NOT INCLUDE DAMBAR PROTRUSION. ALLOWABLE DAMBAR PROTRUSION SHALL BE 0.13 (0.005) TOTAL IN EXCESS OF D DIMENSION AT MAXIMUM MATERIAL CONDITION. M B M 8 16X J D 0.010 (0.25) M T A S B S F R X 45 _ C –T– 14X G K SEATING PLANE M DIM A B C D F G J K M P R MILLIMETERS MIN MAX 10.15 10.45 7.40 7.60 2.35 2.65 0.35 0.49 0.50 0.90 1.27 BSC 0.25 0.32 0.10 0.25 0_ 7_ 10.05 10.55 0.25 0.75 INCHES MIN MAX 0.400 0.411 0.292 0.299 0.093 0.104 0.014 0.019 0.020 0.035 0.050 BSC 0.010 0.012 0.004 0.009 0_ 7_ 0.395 0.415 0.010 0.029 Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. “Typical” parameters which may be provided in Motorola data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. Motorola does not convey any license under its patent rights nor the rights of others. Motorola products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Motorola product could create a situation where personal injury or death may occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Motorola was negligent regarding the design or manufacture of the part. Motorola and are registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer. Mfax is a trademark of Motorola, Inc. How to reach us: USA / EUROPE / Locations Not Listed: Motorola Literature Distribution; P.O. Box 5405, Denver, Colorado, 80217. 1-303-675-2140 or 1-800-441-2447 JAPAN: Nippon Motorola Ltd.; SPD, Strategic Planning Office; 4-32-1, Nishi-Gotanda; Shinagawa-ku, Tokyo 141, Japan. 81-3-5487-8488 Mfax : [email protected] – TOUCHTONE 1-602-244-6609 ASIA/PACIFIC: Motorola Semiconductors H.K. Ltd.; 8B Tai Ping Industrial Park, Motorola Fax Back System – US & Canada ONLY 1-800-774-1848 51 Ting Kok Road, Tai Po, N.T., Hong Kong. 852-26629298 – http://sps.motorola.com /mfax / HOME PAGE : http://motorola.com/sps / CUSTOMER FOCUS CENTER: 1-800-521-6274 ◊ MC145026•MC145027•MC145028•SC41343•SC41344 20 MC145026/D MOTOROLA