全面了解红外遥控器.doc
《全面了解红外遥控器.doc》由会员分享,可在线阅读,更多相关《全面了解红外遥控器.doc(18页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、【精品文档】如有侵权,请联系网站删除,仅供学习与交流全面了解红外遥控器.精品文档.全面了解红外遥控作者:San BergmansIR Remote Control Theory The cheapest way to remotely control a device within a visible range is via Infra-Red light. Almost all audio and video equipment can be controlled this way nowadays. Due to this wide spread use the required com
2、ponents are quite cheap. Thus making it ideal for us hobbyists to use for our own projects. This part of my knowledge base will explain the theory of operation of IR remote control, and some of the protocols that are in use in consumer electronics. Infra-Red Light Infra-Red actually is normal light
3、with a particular colour. Us humans cant see this colour because its wave length of 950nm is below the visible spectrum. Thats one of the reasons why IR is chosen for remote control purposes, we want to use it but were not interested in seeing it. Another reason is because IR LEDs are quite easy to
4、make, and therefor can be very cheap. Although we humans cant see the Infra-Red light emitted from a remote control doesnt mean we cant make it visible. A video camera or digital camera can see the Infra-Red light as you can see in this picture. Unfortunately for us there are many more sources of In
5、fra-Red light. The sun is the brightest source of all, but there are many others, like: light bulbs, candles, central heating system, and even our body radiates Infra-Red light. In fact everything that radiates heat, also radiates Infra-Red light. Therefor we have to take some precautions to guarant
6、ee that our IR message gets across to the receiver without errors. Modulation Modulation is the answer to make our signal stand out above the noise. With modulation we make the IR light source blink in a particular frequency. The IR receiver will be tuned to that frequency, so it can ignore everythi
7、ng else. You can think of this blinking as attracting the receivers attention. We humans also notice the blinking of yellow lights at construction sites instantly, even in brought daylight. In the picture above you can see a modulated signal driving the IR LED of the transmitter on the left side. Th
8、e detected signal is coming out of the receiver at the other side. In serial communication we usually speak of marks and spaces. The space is the default signal, which is the off state in the transmitter case. No light is emitted during the space state. During the mark state of the signal the IR lig
9、ht is pulsed on and off at a particular frequency. Frequencies between 30kHz and 60kHz are commonly used in consumer electronics. At the receiver side a space is represented by a high level of the receivers output. A mark is then automatically represented by a low level. Please note that the marks a
10、nd spaces are not the 1-s and 0-s we want to transmit. The real relationship between the marks and spaces and the 1-s and 0-s depends on the protocol thats being used. More information about that can be found on the pages that describe the protocols. The Transmitter The transmitter usually is a batt
11、ery powered handset. It should consume as little power as possible, and the IR signal should also be as strong as possible to achieve an acceptable control distance. Preferably it should be shock proof as well. Many chips are designed to be used as IR transmitters. The older chips were dedicated to
12、only one of the many protocols that were invented. Nowadays very low power microcontrollers are used in IR transmitters for the simple reason that they are more flexible in their use. When no button is pressed they are in a very low power sleep mode, in which hardly any current is consumed. The proc
13、essor wakes up to transmit the appropriate IR command only when a key is pressed. Quartz crystals are seldom used in such handsets. They are very fragile and tend to break easily when the handset is dropped. Ceramic resonators are much more suitable here, because they can withstand larger physical s
14、hocks. The fact that they are a little less accurate is not important. The current through the LED (or LEDs) can vary from 100mA to well over 1A! In order to get an acceptable control distance the LED currents have to be as high as possible. A trade-off should be made between LED parameters, battery
15、 lifetime and maximum control distance. LED currents can be that high because the pulses driving the LEDs are very short. Average power dissipation of the LED should not exceed the maximum value though. You should also see to it that the maximum peek current for the LED is not exceeded. All these pa
16、rameters can be found in the LEDs data sheet. A simple transistor circuit can be used to drive the LED. A transistor with a suitable HFE and switching speed should be selected for this purpose. The resistor values can simply be calculated using Ohms law. Remember that the nominal voltage drop over a
17、n IR LED is approximately 1.1V. The normal driver, described above, has one disadvantage. As the battery voltage drops, the current through the LED will decrease as well. This will result in a shorter control distance that can be covered. An emitter follower circuit can avoid this. The 2 diodes in s
18、eries will limit the pulses on the base of the transistor to 1.2V. The base-emitter voltage of the transistor subtracts 0.6V from that, resulting in a constant amplitude of 0.6V at the emitter. This constant amplitude across a constant resistor results in current pulses of a constant magnitude. Calc
19、ulating the current through the LED is simply applying Ohms law again. The Receiver Many different receiver circuits exist on the market. The most important selection criteria are the modulation frequency used and the availability in you region. In the picture above you can see a typical block diagr
20、am of such an IR receiver. Dont be alarmed if you dont understand this part of the description, for everything is built into one single electronic component. The received IR signal is picked up by the IR detection diode on the left side of the diagram. This signal is amplified and limited by the fir
21、st 2 stages. The limiter acts as an AGC circuit to get a constant pulse level, regardless of the distance to the handset. As you can see only the AC signal is sent to the Band Pass Filter. The Band Pass Filter is tuned to the modulation frequency of the handset unit. Common frequencies range from 30
22、kHz to 60kHz in consumer electronics. The next stages are a detector, integrator and comparator. The purpose of these three blocks is to detect the presence of the modulation frequency. If this modulation frequency is present the output of the comparator will be low. As I said before, all these bloc
23、ks are integrated into a single electronic component. There are many different manufacturers of these components on the market. And most devices are available in several versions each of which are tuned to a particular modulation frequency. Please note that the amplifier is set to a very high gain.
24、Therefore the system tends to start oscillating very easily. Placing a large capacitor of at least 22F close to the receivers power connections is mandatory to decouple the power lines. Some data sheets recommend a resistor of 330 Ohms in series with the power supply to further decouple the power su
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 全面 了解 红外 遥控器
限制150内