Parking sensor circuit

Not rated 29,334

Parking sensor
Parking sensor

This simple circuit can be used to sense the distance between the rear bumper of a car and any obstacle behind it. The distance is indicated by the combination of LEDs (D5 to D7) that illuminate: at 25 cm, D7 lights up; at 20 cm, both D7 and D6 light up; and at 5 cm, D7, D6, and D5 all light up. If the obstacle is farther than 25 cm, none of the LEDs will illuminate. The circuit utilizes two integrated circuits (ICs). IC1 (NE555) is configured as an astable multivibrator to drive the IR diode D1, which emits infrared pulses at a frequency of 120 Hz. These IR pulses reflect off obstacles and are received by the IR photodiode D2. The received signal is then amplified by IC2a. The peak of the amplified signal is detected by diode D4 and capacitor C4, with resistors R5 and R6 compensating for the forward voltage drop of D4. The output voltage of the peak detector is proportional to the distance between the car's bumper and the obstacle. This output is fed into three comparators (IC2b, IC2c, and IC2d) within IC2 (LM324). The comparators control the status of the LEDs based on the input voltage at their inverting terminals compared to the reference voltages at their non-inverting terminals. Resistors R7 to R10 are employed to establish the reference voltages for the comparators.

The circuit operates by utilizing an NE555 timer configured in astable mode, generating a continuous square wave output at a frequency of 120 Hz. This output drives an infrared LED (D1), which emits modulated infrared light. The modulation allows the system to differentiate between ambient light and reflected signals from obstacles. The infrared light reflects off nearby objects and is captured by an infrared photodiode (D2), which converts the received light into a corresponding electrical signal.

The signal from D2 is relatively weak and requires amplification. This is accomplished using the first operational amplifier (IC2a), which increases the signal strength for further processing. The amplified signal is then passed to a peak detector circuit, consisting of diode D4 and capacitor C4. The peak detector captures the maximum voltage level of the received signal, which corresponds to the proximity of the detected obstacle. Resistors R5 and R6 are crucial for ensuring that the forward voltage drop across D4 does not adversely affect the peak detection capability.

The output of the peak detector provides a voltage that varies with the distance to the obstacle. This voltage is subsequently fed into three comparators (IC2b, IC2c, and IC2d) within the LM324 operational amplifier. Each comparator is configured with a specific reference voltage set by resistors R7 to R10, allowing the circuit to determine which LEDs should be illuminated based on the distance measured. As the distance decreases, the output voltage from the peak detector increases, triggering the comparators to activate the corresponding LEDs (D5, D6, and D7). This visual feedback effectively communicates the proximity of obstacles to the driver, enhancing safety while reversing the vehicle.This simple circuit can be used as an aid for sensing the distance between the rear bumper of the car and any obstacle behind the car. The distance can be understood from the combination of the LEDs (D5 to D7) glowing. At 25cm D7 will glow, at 20 cm D7&D6 will glow and at 5cm D7, D6 and D5 will glow. When the obstacle is beyond 25 cm none of the a bove LEDs will glow. Two ICs are used in the circuit. The IC1 (NE555) is wired as an astable multivibrator for driving the IR Diode D1 to emit IR pulses. The operating frequency of the transmitter is set to be 120Hz. The IR pulses transmitted by D1 will be reflected by the obstacle and received by the D2 (IR photo diode). The received signal will be amplified by IC2a. The peak of the amplified signal will be detected by the diode D4 and capacitor C4. R5 and R6 compensates the forward voltage drop of D4. The output voltage of the peak detector will be proportional to the distance between car`s bumper and obstacle.

The output of peak detector is given to the inputs of the other three comparators IC2b, IC2c and IC2d inside the IC2 (LM324). The comparators switch the status LEDs according to the input voltage their inverting inputs and reference voltages at their non inverting inputs.

Resistances R7 to R10 are used to set the reference voltages for the comparators. 🔗 External reference