Features • • • • Few External Components Low Power Consumption Microcomputer Compatible Insensitive to Ambient Light and Other Continuous Interferences IR Receiver for Data Communication Applications • Keyless Entry Systems • Remote Control • Wireless Data Transfer up to 4 kbit/s 1. Description The IC U2538B is a complete IR receiver for data communication. The useful input signals are separated by a special input circuit and amplified by a gain-controlled amplifier. The bandpass filter suppresses the off-band signals. The signal detector, consisting of a demodulator, an integrator and a Schmitt trigger, forms the input signal to an output pulse that can be interfaced to a microcomputer. The AGC and the ATC circuit control the receiver's sensitivity, making it insensitive to ambient light sources. Figure 1-1. U2538B Block Diagram with Typical Circuit VS U2538B Input Amplifier and filter Detector µC AGC/ATC Modulated IR signal carrier frequency 20 to 60 kHz minimum 6 pulses/burst Rev. 4717B–IRRC–09/05 Figure 1-2. Block Diagram VS RF0 VS RF BIAS + BPF IN CGA AGND TIA CGA BPF AGC 2 Transimpedance amplifier Controlled gain amplifier Bandpass filter Automatic gain control ATC AGC CAGC DEM 100 kΩ OUT Vth + - TIA Comp 1 & dt Comp 2 INT ST DGND CAGC ATC DEM INT ST Automatic threshold control Demodulator Integrator Schmitt trigger U2538B 4717B–IRRC–09/05 U2538B 2. Pin Configuration Figure 2-1. Pinning SO8 NC RF AGND IN 8 7 6 5 U2538B Table 2-1. 1 2 3 4 VS CAGC OUT DGND Pin Description Pin Symbol Function 1 VS Supply voltage 2 CAGC AGC capacitor 3 OUT 4 DGND Data output 5 IN Input pin diode 6 AGND GND amplifier GND - DEM/INT/ST 7 RF Frequency determination 8 NC Not connected 3 4717B–IRRC–09/05 3. Functional Description 3.1 Input Stage (TIA) The input stage provides the necessary bias voltage for the photo diode and ensures decoupling of the useful signal. This involves processing the DC and AC portions in separate parts of the circuit: the bias voltage (BIAS) and the transimpedance amplifier circuit (TIA). The bias voltage circuit operates like a load resistor with respect to the photo diode, the value of which is low for DC and low-frequency signals (3 to 100 kΩ), but as high as possible for the operating frequency (100 kHz to 1 MHz) depending on the input current). The ac portion of the input signal feeds an inverted amplifier with a sufficiently low input resistance (Zi < 10 kΩ). If the input resistance is too high, the useful signal will be lost due to the junction capacitance of the photodiode. 3.2 Controlled Gain Amplifier (CGA) The controlled gain amplifier accounts for the greatest part of the voltage gain and can be controlled via the voltage at CAGC (pin 2). Gain control is needed to support the interference suppression of the detector. High-pass behavior results from the capacitive coupling of the individual stages. The cut-off frequency is approximately 20 kHz. 3.3 Bandpass Filter (BPF) The bandpass filter basically consists of integrated components. An external resistor determines the mid-frequency. The filter quality is about 7 and is practically independent of the selected midfrequency (see Figure 3-1). The following formula can be used for calculating the resistor, Rf0: 8855 - – 13 R fO (kΩ) = -----------------f 0 (kHz) where: 20 kHz < f0 < 60 kHz Figure 3-1. Characteristic of the Bandpass Filter 120 100 Grel 80 60 40 20 0 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 f/f0 4 U2538B 4717B–IRRC–09/05 U2538B 3.4 Automatic Threshold Control (ATC) During the reception of an incoming telegram, the ATC reduces the sensitivity of the demodulator to establish the highest possible signal-to-noise ratio according to the signal strength. This prevents interferences which may arise during transmission from affecting the output. The advantage of the circuit is achieved if its output voltage exceeds VTh (Comp 1). That is the case when the input signal strength is more than twice as much as the minimum detectable signal intensity. 3.5 Automatic Gain Control (AGC) The automatic gain control improves the circuit's resistance to interference by adapting the amplification of the gain-controlled amplifier to the relevant existing interference level. In order to prevent the circuit from responding to transmitted data signals, it gradually reduces the sensitivity, but only if the duty cycle exceeds a specific value (see Figure 3-2). When using telegrams with higher duty cycles than this value, the capacitor, CAGC, maintains the sensitivity for a certain time period. A higher capacitance enables a longer transmission time. A capacitance of C1 = 22 nF is adequate for most known telegrams. A typical value for the maximum duty cycle (DC) can be calculated by the following formula: N DC max = -------------------------------------14.2 + 1.1 × N Figure 3-2. Duty Cycle Transmitted Burst (N cycles) t pl = N f DC = T 3.6 t pl T N ≥ 6; f = 20 kHz to 60 kHz Detector The output signal of the bandpass filter is compared to a fixed reference (Comp 1) and to a reference generated by the ATC circuit (Comp 2). The output of the comparator with the higher threshold voltage controls the integrator. Using the integrator keeps the output free of short-time interference. The integrator drives the output stage after being processed through a Schmitt trigger. The internal pull-up resistor can replace an external resistor in some applications. 5 4717B–IRRC–09/05 4. Absolute Maximum Ratings Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Parameters Symbol Value Unit Supply voltage, pin 1 VS –0.3 to +6.0 V Input voltages Pins 2, 3, and 5 Pin 7 VIN VIN –0.3 to VS –0.3 to +1.5 V V Input current, pin 7 IIN 0 to 0.1 mA Power dissipation Tamb = 105°C Ptot 110 mW Junction temperature Tj 125 °C Ambient temperature Tamb –40 to +105 °C Storage temperature Tstg –40 to +125 °C Symbol Value Unit RthJA 180 K/W 5. Thermal Resistance Parameters Junction ambient 6. Electrical Characteristics Tamb = 25°C, VS = 5V Parameters Test Conditions Symbol Min. Max. Unit Supply voltage Pin 1 VS 4.5 5.5 V Supply current Pin 1 IS 0.35 0.65 mA Maximum input current VIN = 0 Pin 5 IIN 0.6 Output voltage low: IOL = 2 mA Pin 3 VOL Internal pull-up resistor Pin 3 RL 75 Center frequency of bandpass RF = 240k f0 33.3 Q factor Q Frequency range f AGC current source sink Pin 2 AGC slope Pin 2 Typ. mA 0.2 V 100 125 kΩ 35 36.7 kHz 60 kHz 155 140 nA nA 7 20 90 70 120 100 20 Number of pulses required dB/V 6 Sensitivity Pin 5 0.7 nA(rms) Switch-on delay, iIN = 0.7 nA (rms) Pin 3, see Figure 6-1 tdon 3 7.5 Period Switch-off delay, iIN = 0.7 nA (rms) Pin 3, see Figure 6-1 tdoff 5 10 Period Pulse width, iIN = 0.7 nA (rms), 6 pulse bursts Pin 3, see Figure 6-1 tpo 4.5 10 Period 8855 R fO (kΩ) = ------------------- – 13 kΩ f 0 (kHz) 6 U2538B 4717B–IRRC–09/05 U2538B Figure 6-1. Switch On/Off Delay VIN Repetition rate = 10 ms Burst, X pulses VOUT tpo tdon Figure 6-2. tdoff Application Circuit C1 R1 10 µ 16 V 220 3 C2 RfO 100 n C3 VBatt 1 VS NC 8 2 CAGC RF 7 AGND 6 10 n R2 > 10 k (1) U2538B 2 OUT 470 p(1) 1 GND feedback reduction (1) C4 3 OUT 4 DGND (1) IN D1 (1) D2 (1) D3 (1) 5 optional 7 4717B–IRRC–09/05 7. Ordering Information Extended Type Number Package Remarks U2538B-MFPY SO8 Tube, Pb-free U2538B-MFPG3Y SO8 Taped and reeled, Pb-free 8. Package Information Package SO8 Dimensions in mm 5.2 4.8 5.00 4.85 3.7 1.4 0.25 0.10 0.4 1.27 6.15 5.85 3.81 8 0.2 3.8 5 technical drawings according to DIN specifications 1 4 9. Revision History Please note that the following page numbers referred to in this section refer to the specific revision mentioned, not to this document. 8 Revision No. History 4717B-IRRC-09/05 • • • • Put datasheet in a new template Pb-free Logo on page 1 added Heading Rows on Table “Absolute Maximum Ratings” on page 6 added Ordering Information on page 8 changed U2538B 4717B–IRRC–09/05 Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Regional Headquarters Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland Tel: (41) 26-426-5555 Fax: (41) 26-426-5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel: (852) 2721-9778 Fax: (852) 2722-1369 Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan Tel: (81) 3-3523-3551 Fax: (81) 3-3523-7581 Atmel Operations Memory 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 436-4314 RF/Automotive Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany Tel: (49) 71-31-67-0 Fax: (49) 71-31-67-2340 Microcontrollers 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 436-4314 La Chantrerie BP 70602 44306 Nantes Cedex 3, France Tel: (33) 2-40-18-18-18 Fax: (33) 2-40-18-19-60 ASIC/ASSP/Smart Cards 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA Tel: 1(719) 576-3300 Fax: 1(719) 540-1759 Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex, France Tel: (33) 4-76-58-30-00 Fax: (33) 4-76-58-34-80 Zone Industrielle 13106 Rousset Cedex, France Tel: (33) 4-42-53-60-00 Fax: (33) 4-42-53-60-01 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA Tel: 1(719) 576-3300 Fax: 1(719) 540-1759 Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland Tel: (44) 1355-803-000 Fax: (44) 1355-242-743 Literature Requests www.atmel.com/literature Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDITIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. © Atmel Corporation 2005. All rights reserved. Atmel ®, logo and combinations thereof, Everywhere You Are ® and others, are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. Printed on recycled paper. 4717B–IRRC–09/05