IR Short Distance Beam Cut Detector

13,123

IR Short Distance Beam Cut Detector
IR Short Distance Beam Cut Detector

A circuit designed to detect the interruption of a light beam. The initial circuit was a light/dark detector using a photoresistor, which, while capable of detecting light interruptions, suffered from significant interference due to ambient light. This led to the development of a simplified circuit. The maximum effective distance for the infrared LED pair used is approximately 2.5 cm (nearly 1 inch), which is reflected in the title "Short Distance." The circuit exhibits excellent sensitivity, with a potentiometer allowing for adjustments to detect completely opaque objects or semi-transparent films. It is also suitable for use in rotary encoders, although it is not intended for security systems requiring longer beam distances of 3 to 4 meters. The first part of the infrared pair consists of a transmitter circuit, which utilizes a pulse generator to drive an infrared LED, implemented using a 555 timer chip configured as an astable multivibrator oscillating at about 1.5 kHz. Alternative pulse generator designs, such as a transistor-based astable multivibrator, are also applicable. Initially, a more complex interference-proof circuit was considered, incorporating active filtering and multiple stages. However, it was determined that such complexity was unnecessary, as the IR pair would typically be housed with the transmitter positioned close to the receiver, minimizing exposure to unwanted ambient light. The resulting circuit can operate with a single 5-volt supply, in contrast to previous designs requiring dual power supplies. A simple capacitor filter effectively eliminates constant and low-frequency IR light sources, such as sunlight and household lighting. The IR detector is designed to reject light sources outside the infrared spectrum, including other LEDs and sunlight. The primary interference source would be high-frequency modulated IR light, like that emitted from television remote controls. It is assumed that in applications like rotary encoders, the remote control would not be aimed directly at the receiver LED. The circuit features an IR detector LED connected in reverse, which is intentional, allowing it to reject non-infrared light sources. Capacitor C1 only permits modulated IR light to pass through, blocking constant light sources. The adjustable gain amplifier includes a voltage divider (R3-R4) to bias the transistor base. Resistor R5 sets the maximum gain, while the potentiometer R2 adjusts the base current of the amplifier. The amplified signal charges capacitor C2, which smooths the signal into a stable output. The final stage consists of a comparator, where the voltage reference is established by the R7-R8 voltage divider. The output of the comparator generates a HIGH or LOW signal based on the comparison between the voltage across C2 and the reference voltage. When the IR beam reaches the receiver LED1, the signal is amplified (and inverted) by transistor T1, allowing C2 to develop a voltage across its terminals. This voltage can be regulated by R2 and must remain below the non-inverting input voltage set by the R7-R8 divider. The comparator output remains HIGH as long as the IR beam is intact. Conversely, when the beam is interrupted, the amplifier output (T1) reaches 5 volts, which also reflects across C2, causing the inverting input of the comparator to exceed the reference voltage.

The circuit operates effectively within its specified range, making it suitable for applications requiring precise light beam interruption detection. The design's simplicity facilitates easy integration into various projects, particularly where space and power constraints are present. The use of a potentiometer for sensitivity adjustment enhances its versatility, allowing it to cater to different detection requirements. Furthermore, the configuration minimizes potential interference from ambient light, ensuring reliable operation in practical scenarios. The compact nature of the circuit also allows for easy implementation in devices like rotary encoders, where space is often at a premium. Overall, this light beam detection circuit presents a practical solution for applications requiring short-range light interruption detection with minimal interference.A circuit that can detect a light beam cut. The first circuit i made was a light/dark detector with photoresistor. Although it could sense the light cut, it had a major disadvantage: extreme interferences from ambient light. That is why i designed this simple circuit. I tried to keep it as simple as possible. The maximum distance of the IR LED pair that i used is up to about 2. 5cm (close to 1 inch). That explains the title "Short Distance". It has a very good sensitivity. With a potentiometer you can adjust it to sense completely opaque objects, or it can sense semi-transparent films as well! It is also suitable for rotary encoders. It is not suitable for making security systems which require a beam that can go up to 3 or 4 meters long.

This is the first part of this IR pair. The transmitter circuit is a pulse generator that drives an infrared LED. I have use the good old 555 chip. The pulses are about 1. 5KHz. You can use of course any kind of pulse generator like an Astable Multivibrator transistor circuit. That is up to you. Here is the schematic for the 555 connected as an astable multivibrator, oscillating at around 1. 5KHz: I began designing a complicated interference-proof circuit, with an active filter and other stages of filtering. Then, i realized that i was going the long way. There is no need for such filtering. This is an IR pair that will be most likely inside a housing, with the transmitter close to the receiver, away from parasitic lights.

So, i start removing stages until i got down to minimum. The circuit that follows can be powered with a single 5 volts supply (unlike the other circuits that i designed that required double power supply). It has a simple capacitors filter that drops all constant and low frequency IR light sources such as the sun, the household lighting.

The IR detector itself will reject any other source of light beyond the IR, such as other LEDs and the sun. So, the only thing that will interfere with the receiver is sources of high frequency modulated IR light, such as the TV remote controls.

But i supposed that if you built a rotary encoder, you will not turn the TV remote control directly to the receiver LED do you I might re-make the complicated filtered version and upload another circuit. First of all, notice the IR Detector LED that is connected reverse! And that is how it should be! This receiver will reject all light sources except the infrared. Then, the capacitor C1 will only allow the modulated IR light to go through. Constant light sources such as the sun, or low frequency such as the household light will not be allowed to go through.

Remember that both the sun and the household lamps, except the visible light, they emit also infrared light. Next is the adjustable gain amplifier. The R3-R4 voltage divider biases the base of the transistor. The R5 will set the maximum gain, while the potentiometer R2 will adjust the current that flows to the base of the amplifier.

The amplified signal will charge the capacitor C2. This capacitor also will smooth the signal into a constant straight line. The final stage is the comparator. The R7-R8 voltage divider will set the voltage reference. The comparison of the voltage across the C2 and this reference voltage, will result into a HIGH or LOW output of the comparator. As long as the IR beam reaches the receiver LED1, the signal will be amplified (and inverted) from T1.

The C2 will then generate a voltage across its leads. This voltage level can be adjusted by R2. It must be less than the voltage of the non-inverting input (R7-R8 voltage divider). The output of the comparator will then be HIGH. When the beam is cut, the output of the amplifier (T1) will be 5 volts, and that will also be the voltage across the C2. The inverting input of the comparator will be higher than the no 🔗 External reference