1 Structural features of the detector
If the driver is in a state of fatigue driving, the head must deviate from the normal position and the time exceeds the set value, then the device outputs an alarm and brake control signal. The reflective infrared sensor in the detector consists of an infrared emitting diode and two infrared receiving heads. The infrared emitting diode emits a modulated 38 kHz infrared beam and is installed on the front of the seat headrest facing the driver's head. The infrared emitting diode is placed in the middle, and the two infrared receiving heads are placed symmetrically on the left and right sides.
2 Analysis of the driver's head position
During driving, the driver's head position is different when normal and when fatigued. The side view is shown in Figure 1. Figure 1 (a) shows that when the driver is driving normally, his head is a few centimeters away from the seat headrest, rather than completely close to the headrest, because driving close to the headrest will make the eyes feel very uncomfortable and inconvenient to observe the road conditions close to the car.
Figure 1 (b) shows the most common driving sleeping posture when the driver is fatigued, which is also the driver's initial fatigue sleeping posture. At this time, the driver's head is generally more than 15 cm away from the seat headrest. In this case, an alarm should be issued in time, and if it lasts for 2 seconds, the brake system should be activated to automatically brake. However, other short-term non-fatigue actions, such as leaning over to operate the switch on the dashboard, looking back, and other short-term actions, also have similar distance changes. At this time, time can be used to distinguish. Returning to the normal position within 2 seconds is not considered as fatigue driving.
Figure 1 (c) shows the posture of a driver who is consciously taking a short break and driving with his eyes closed, but has not yet fallen asleep completely. However, this is a prelude to falling asleep completely, with his head close to the seat headrest and the distance is 0. In this case, an alarm should be sounded in time, otherwise the situation will develop into the situation shown in Figure 1 (b).
Figure 1 Side view of the driver's head position
FIG2 is a top view of the driver's head, in which the circle represents the driver's head and the arrow represents the route of infrared emission and reflection. FIG2 (a) is a schematic diagram of the relative position of the driver's head and the infrared sensor during normal driving. The distance traveled by the infrared from the infrared emitting diode in the middle to the two infrared receiving heads on the left and right reflected by the driver's head is basically the same. FIG2
(b) shows the position of the driver's head after fatigue, which is tilted to the left or right. This is different from the typical position of FIG1 (b). It is an intermediate transition fatigue form and will eventually transform to the position of FIG1 (b). At this time, the infrared sensor will detect different distances on the left and right, and an alarm or brake signal should be output in time.
FIG2 (c) shows the position of the driver's head after fatigue. The infrared receiving head on one side can no longer receive the reflected infrared light. The result of infinite distance is obtained in the computer program, which indicates that the driver's fatigue level has further increased and an alarm or brake signal should be output in time.
Figure 2 Top view of the driver's head position
3 Hardware design of the detector
The hardware circuit diagram of the detector is shown in Figure 3, where LED is an infrared emitting diode, IC3 and IC4 are infrared receiving heads, and MCU is an ATMaga8 microcontroller.
Figure 3 Detector hardware circuit
LED emits a 38 kHz infrared modulated beam, which will be reflected by the driver's head and irradiate the receiving window of IC3 and IC4. IC3 and IC4 demodulate the received signal, and after amplification, send it to the input line of the single-chip microcomputer MCU in a high or low level manner. The computer program sends the value of the line to the memory for storage, which is used as a basis for judgment by the subsequent program.
The effective detection distance of the infrared light emitted by the infrared emitting diode LED corresponds to the current passing through the infrared emitting diode. The current of the infrared emitting diode LED is determined by the output voltage of the three-terminal integrated voltage regulator IC2, and the output voltage of the three-terminal integrated voltage regulator IC2 is controlled by the control word output by the computer program.
The maximum value of the control word is binary 11111111d. At this time, R1~R8 are all grounded, the comprehensive resistance of R12 is the smallest, the output voltage Vout of the three-terminal integrated voltage regulator IC2 is also the smallest, and the effective distance of the infrared light beam emitted by the LED is also the smallest. By properly adjusting the values of R1~R8, the effective distance of the infrared light beam emitted by the LED can be adjusted to about 1 cm. When the minimum value of the control word is binary 00000000d, all resistors R1 to R8 are suspended, the comprehensive resistance of R12 is R12, the output voltage Vout of the three-terminal integrated regulator IC2 is the maximum, and the effective distance of the infrared beam emitted by the infrared emitting diode LED is also the maximum. By properly adjusting the value of R12, the effective distance of the infrared beam emitted by the infrared emitting diode LED can be adjusted to about 20 cm. The effective detection distance of 1 to 20 cm can meet actual needs.
4 Detector software design
4.1 Distance detection method The
effective distance detection corresponds to the control word issued by the single-chip microcomputer. The distance detection method is: gradually reduce the intensity of infrared emission until the reflected infrared beam is not received. The distance value corresponding to the control word at this time is the distance between the current driver's head and the seat headrest.
4.2 Automatic calibration of the driver's head position
The single-chip microcomputer program flowchart is shown in Figure 4. The program for automatically calibrating the normal position of the head runs after the car starts the engine and then delays for a period of time, because fatigue driving will not occur during this period. When driving to the main road, the movement of the head gradually stabilizes. This is the right time to calibrate the normal position of the head. The reason for recalibration every time is that the driver may change, and the position of each person's head is not exactly the same, and the calibration results will also be different.
Figure 4 Flow chart of automatic calibration of normal head position
The procedure for automatically calibrating the normal position of the head is to gradually reduce the current intensity of the infrared emitting diode from strong to weak, and at the same time detect the output status of IC3 and IC4 to determine whether it has reached the critical point where it cannot be received. This is the limit for stopping the reduction of the emission current intensity, and at the same time read the control word value at this moment as the distance calibration. When the signal levels output by the left and right infrared receiving heads IC3 and IC4 are consistent and can remain unchanged for a considerable period of time, the control word at this time can be used as the standard distance calibration. Each control word corresponds to an actual distance.
4.3 Detection of the driver's head deviating from the normal position
If an infrared receiving head does not receive the infrared signal, it is determined that the distance between this infrared receiving head and the driver's head is greater than the distance associated with the control word at this time.
The information output by the two infrared receiving heads respectively reflects the distance between the driver's head and the two infrared receiving heads at the same time. By comparing with the standard distance, it can be determined whether the driver's head is in the normal position or tilted forward, sideways, or backward. Whether to output the alarm and brake control level is determined by the computer program according to the duration after the driver's head deviates from the normal position.
5 Analysis of experimental results
The detector was installed on cars such as Jetta and Swift and a large number of experiments were conducted to test the normal driving status and fatigue driving status of 5 drivers. The test data are shown in Table 1. It can be seen that the detector can track and judge the fatigue status of the tester in real time, and also play a warning role for improper sitting posture of drunk driving.
6 Conclusion
The detector can identify whether the driver's head position is normal or not, and then judge whether the driver is driving fatigued. It is an intelligent application of simple technology. The detector can be equipped with existing cars at a low cost, improve the safety rate, and facilitate large-scale promotion. The market demand potential is huge.
Previous article:Continental unveils EDLC-equipped idle stop mechanism
Next article:NEXCOM's smart in-vehicle solutions are ready to go
- Popular Resources
- Popular amplifiers
- 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
- 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!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- 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
- I bought a ZT303 multimeter.
- Design techniques for machine learning algorithm generation (provided by ST official, Chinese subtitles)
- Add a startup program to the itop4412 development board
- IWR1642 Vehicle Occupant Detection Routine Problem
- How can I use an oscilloscope to capture pulses within a certain time range, such as capturing waveforms between 100us and 200us?
- Next-generation wireless network standard technology HiperLAN/2
- Products + DC brushless motor control + drive kit
- Due to the epidemic, you are under home quarantine. Has your salary been reduced?
- ARM9-compatible soft-core processor design: based on FPGA
- 5G era promotes PCB development in multiple fields