Photoelectric switches are non-contact measurement sensors with a wide detection range. They are widely used in many measurement and control systems such as counting, distance measurement, and stroke control. However, the output signal of the photoelectric sensor is related to the intensity of the light-emitting tube, the distance between the light-emitting tube and the receiving tube, and external interference light. Therefore, when using each photoelectric switch, the sensitivity of the receiving circuit must be adjusted first to ensure that the photoelectric switch works in the best state.
This article introduces a set of photoelectric switch circuits, which have the advantages of anti-interference from external light, no need for manual adjustment of sensitivity, stable and reliable operation, etc. It can be used in reflective or through-beam photoelectric switches.
This circuit consists of two parts: light-emitting circuit and photoelectric receiving circuit.
1. Light-emitting circuit
Figure 1 shows a LED driver circuit with high power output, which has the ability to emit 15kHz modulated light.
The first level 4001 is a single pulse generator, which can output detection pulses by manual keystroke for fault maintenance.
In order to stabilize the frequency of the modulated optical signal, a frequency divider CD4060 is used in the circuit. It has an external crystal oscillator and a multi-level frequency divider inside. For a 1M crystal oscillator, after six frequency divisions of 4060, a square wave with a stable frequency of 151625kHz can be obtained. Then, through the current amplification of the power field effect tube, hundreds of light-emitting diodes can be driven to emit light at the same time.
Figure 1 High-power LED driver
2 Photoelectric switch receiving circuit with automatic gain control
Figure 2 shows the detection circuit of the phototransistor. The infrared phototransistor T2 has a base lead pin. Therefore, its sensitivity can be controlled. The photocurrent output by its emitter is inverted by the amplifier T3 and then fed back to the base of the phototransistor. Since there is a low-pass filter composed of R13 and C11 in the feedback loop, this feedback is a negative feedback for the DC operating point, which also controls the AC voltage gain. This is the automatic gain control (AGC) circuit.
Figure 2 Photoelectric receiving circuit
When the input light signal is strong, the collector signal of T3 tends to become stronger, causing the DC operating point voltage of the base of the phototransistor T2 to drop, thereby reducing the AC output of both T2 and T3. Therefore, this negative feedback system will make the AC output signal of T3 almost independent of the light intensity obtained by T2 in a large range. It can be seen that when the input light of the receiving circuit changes, the output signal of T3 does not change much. That is to say, the change in the distance between the light source and the phototransistor has little effect on the output signal of T3 in a large range. Only when the light source is fully blocked, the output signal of T3 will change significantly.
U11 in Figure 2 forms a second-order bandpass filter that can filter out signals other than 151625kHz. The gain of this stage is 1, the Q value is 5, and the cutoff frequency, center frequency and filtering characteristics are easy to adjust. Diode D1 and capacitor C14 form a detection circuit that can demodulate the envelope signal from the 151625kHz signal. The above two circuits can filter out the effects of interference sources such as sunlight, fluorescent lamps, and incandescent lamps.
The output circuit in Figure 2 consists of amplifier stage U12 and Schmidt circuit U13. The hysteresis of U13 can eliminate the critical jitter of the photoelectric switch and avoid the false flipping of the photoelectric switch. Finally, the output state of the photoelectric switch is displayed by the light-emitting diode D2.
3 Experimental data
Table 1 shows the experimental data. The light-emitting tube and the receiving tube face each other, and there is no focusing optical element between them. The main parameters of the whole machine are tested with or without light shielding. It can be seen from the table that the relative distance between the surfaces of the two tubes is within the range of 0.15 to 1.70 mm, and it can work normally without adjusting the sensitivity.
Table 1 Photoelectric switch complete machine experimental data
When a 40W incandescent lamp is used to illuminate the receiving tube at a distance of 100mm, the receiving tube can still work normally, which means that the receiving tube will not be saturated and has strong anti-interference ability. If the working distance is to be increased, an optical lens should be added; when the light irradiation distance is more than 2m, a semiconductor laser diode can be used as a modulated light source.
4 Conclusion
The advanced photoelectric switch circuit introduced in this article has the following characteristics:
① Due to negative feedback, the receiving phototransistor is not easy to saturate.
As long as the tube is not saturated, external light interference can be suppressed.
② Due to the use of modulation and demodulation circuits, it can work reliably under various magnetic, electrical and optical interferences.
③ The Schmitt circuit can debounce the switch.
④ Since the circuit uses integrated circuits as much as possible, especially the application of high-power FETs, the circuit introduced in this article is more suitable for array photoelectric switch applications.
⑤ Due to the use of AGC circuit, the receiving sensitivity almost does not need to be adjusted.
The circuit introduced in this article is used to perform joint precise counting on an automatic production line of 100 tiny products and achieves good results.
Previous article:Design of multi-point temperature and humidity alarm system using digital temperature and humidity sensors
Next article:A great leap forward in flexible optoelectronics technology
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- [NUCLEO-WL55JC2 Review] + Development environment establishment and data preparation
- Xiaodanta teaches you the difference between a handheld radio amplifier and a repeater
- Why does the output voltage of the transistor voltage regulator circuit equal the base voltage minus VBE?
- iTOP3399 development board Android application development environment construction - installation of AndroidStudio (I)
- From acquiring ThreadX to making ThreadX open source, where will Microsoft go next? And how will other RTOS companies respond?
- Intelligent RV control system
- 360° Lid Detection using LSM6DSO
- WIFI6 Explained
- Control battery output and prevent battery reverse connection
- 【NXP Rapid IoT Review】 + Kit Modification-External Lithium Battery (Link)