Detailed explanation of the circuit design of the car reversing radar - circuit diagram reading every day (291)

How reversing radar works

The PDC system works by setting a radar detector on the rear bumper or front and rear bumpers of the car to detect obstacles in front and rear, helping the driver to "see" the obstacles in front and rear, or when parking. In addition to its convenient parking, this device protects the body from scratches.

The PDC uses an ultrasonic sensor to detect the obstacle distance closest to the car and sounds a siren to warn the driver. The control of the siren sound is usually divided into two stages. When the distance of the vehicle reaches a certain starting distance, the siren sound starts to sound with a high-frequency siren, and when the vehicle travels to a closer distance. At the time, the siren sounds a continuous siren to inform the driver. The advantage of the PDC is that the driver can use the hearing to obtain information about the obstacle, or the distance of the car. The PDC system is mainly to assist with parking, so the system function will be turned off when a certain speed is reached or exceeded.

System hardware circuit design

system structure

The system block diagram is shown in Figure 1. The system consists of a single-chip control circuit, an ultrasonic transmitting and receiving circuit, a temperature compensation circuit, an LCD display circuit, and a voice alarm circuit. The AT89C51 microcontroller is the core component of the entire system, coordinating the work of each part of the circuit. The single-chip microcomputer starts timing at the same time as the ultrasonic signal is emitted. The ultrasonic signal is reflected in the air and encounters an obstacle. The reflected echo signal is processed and input to the INTO terminal of the single-chip microcomputer to generate an interrupt, and the counter stops counting. The number of pulses measured by the counter can be used to obtain the time required for the ultrasonic signal to go back and forth, thereby achieving the purpose of ranging. Ultrasonic probe selects TCF40-25TR1 type transceiver integrated ultrasonic sensor with resonant frequency of 40 kHz; ultrasonic transmitting and receiving circuit adopts LM1812 professional integrated circuit, which has fewer external components, simple circuit and better stability and reliability; The temperature compensation circuit adopts the one-line digital temperature sensor DS18B20, which uses the relationship between sound speed and temperature to correct the sound speed, thus eliminating the influence of temperature on the sound speed. The voice alarm circuit adopts ISD4004, which can realize the voice alarm during the reverse operation of the car.

Single chip control circuit

The core of the system control part is the AT89C51 produced by ATMEL. The AT89C51 is available in a 40-pin dual in-line package (DIP) with internal CPU, 4 KB ROM, 256 B RAM, two 16-bit timer/counters T0 and T1, and four 8-bit I/. The O port is composed of a part such as a full-duplex serial communication port. AT89C51 single-chip microcomputer has the characteristics of simple system structure, low cost, high reliability and low power consumption. In particular, the internal integration of 4 KB of FLASH program memory makes the structure of the MCU system simpler and makes it widely used. At the same time, it also features high-level language programming, rich instructions, and simple software development. The AT89C51 single-chip microcomputer is the core component of the whole system. Its function is to control the transmission and reception of the ultrasonic special integrated chip LM1812. The data of the timer is processed and sent to the LCD display and control the voice alarm circuit.

Ultrasonic transmitting and receiving circuit

This system uses ultrasonic special integrated circuit LM1812 as the main control chip of ultrasonic transmitting and receiving circuit. The LM1812 is a general purpose ultrasonic transceiver that is used in a wide variety of ranging, orientation and communication. The chip includes a pulse-modulated Class C transmitter, a high-gain receiver, a pulse-modulated detector, and a noise suppression circuit. The first leg of LM1812 is connected to L1. C1 determines the working frequency of the circuit transmission or reception. Its working frequency is:

Changing the inductance L1, the value of the capacitor C1 can change the oscillation frequency (f0 is 40 kHz in this system) up to 325 kHz.

The ultrasonic transmitting and receiving circuits are shown in Figure 2. When pin 8 of the LM1812 is high, the LM1812 is in transmit mode; when pin 8 is low, the LM1812 is in receive mode. It is worth noting that the connection from the microcontroller to the LM1812 requires a level shift of 5 to 12 V. When the LM1812 is in the transmit mode, the L1 and C1 oscillation tanks are switched to the oscillation mode. After the oscillation signal is driven and amplified, it is output by pins 13 and 6. The turns ratio of the transformer coil connected between the 6 and 13 feet is determined according to the impedance of the TCF40-25TR1 type transceiver integrated ultrasonic sensor. Experiments have shown that the transformer coil has a turns ratio of approximately 4:1 to match the impedance of the ultrasonic transmitter. The ultrasonic signal received by the ultrasonic receiver is input by the 4-pin through capacitive coupling, and then amplified by the internal two-stage amplification and sent to the detector together with the signal taken out by the resonant circuit of the 1-pin. When the ultrasonic echo signal is detected, the 14 pin of the LM1812 (connected to the INT0 terminal of the microcontroller) goes low, causing the T0 counter of the microcontroller to stop counting.

Temperature compensation circuit

The temperature compensation circuit uses the DS18B20 single-bus digital temperature sensor from DALLAS Semiconductor. A single bus uses only one signal line to transmit data, and the data transmission is bidirectional. The single bus has a "wire and" function, which is convenient for connection and easy to expand. DS18B20 integrates temperature measurement and A/D conversion, and has the advantages of small size, wide dynamic range and high measurement accuracy. DS18B20 and microcontroller interface circuit shown in Figure 3.

The DS18B20 is connected to the AT89C51 microcontroller in a single bus mode, that is, the DS18B20 has 1 pin grounded, 3 pins grounded, 2 pins connected to the P11 pin of the AT89C51, and the P11 pin is pulled up to VCC with a 4.7 kΩ resistor. The measured temperature value is stored in the 1st and 2nd bytes of the scratchpad memory in the form of a 16-bit signed extended two's complement. After the microcontroller reads the data through the single bus interface, the real-time ambient temperature value can be calculated by calculation. .

LCD display circuit

The display circuit of this system adopts the OCMJ12232C_3 liquid crystal display module of Jinpeng Electronics. The liquid crystal module contains a font, which can display Chinese characters very conveniently. OCMJ12232C_3 LCD and single-chip AT89C51 interface circuit shown in Figure 3, which OCMJ12232C_3 LCD 15 pin ground, that is, using serial communication. The display includes two parts: the reverse distance and the outside temperature. It is displayed in two lines: the first line shows the reverse distance and the second line shows the outside temperature. The reversing distance is in cm, accurate to 0.1 cm; the temperature is in °C, accurate to O. 1 ° C.

Voice alarm circuit

The voice alarm circuit of this system uses the ISD4004 voice chip. ISD4004 and microcontroller interface circuit shown in Figure 3. As can be seen from the figure, there is less connection between the ISD4004 and the AT89C51 microcontroller. P00 of the MCU is connected to the chip select pin SS of ISD4004 to control whether the ISD4004 is strobed; P0l is connected to the serial input pin MOSI of ISD4004, and the address of the playback is read from this pin; P02 is connected to the serial output pin MISO of ISD4004. P03 is connected to the serial clock pin SLCK of ISD4004; P04 is connected to the toggle switch for selecting recording or playback; P05 is connected to the STOP button to reset the ISD4004; P06 is connected to the AN button, and the ISD4004 starts to work when pressed; P33 (INT1) is connected to the interrupt pin INT of ISD4004. The connection required for the ISD4004 chip is also the audio signal output pin AUD OUT. This pin is connected to the speaker through a power amplifier circuit LM386 through a filter capacitor; the MIC is connected to the recording signal input terminal of the ISD4004: ANA IN-, ANA IN+); AMCAP is an automatic mute terminal, which is grounded through a capacitor during use. In addition, since the ISD4004 operates at 3 V and the microcontroller requires a supply voltage of 5 V, the LM317 transformer circuit is required to obtain a 3 V voltage for the ISD4004.

When the reversing distance is greater than 3 m, the voice prompt is “reverse safety”; when the reversing distance is between 2 and 3 m, the voice prompt is “reverse”; when the reversing distance is between 1 and 2 m, the voice prompt is “Reverse caring”; when the reversing distance is between 0.5 and 1 m, the voice prompt is “reverse danger”; when the reversing distance is less than 0.5 m, the voice prompt is “very dangerous, emergency stop”.

Edit Comment: The reversing radar system designed in this paper uses AT89C51 as the main control chip, which can realize real-time ultrasonic ranging and display the measured distance on the LCD. It can meet the needs of drivers in reversing and can be widely used.
Electronic enthusiast "Smart Medical Special", more quality content, download now
Abandoned hard disk "shake" can be changed to double-sided clock

Disposable E-cig

More stable performance

Disposable ecig have a completely enclosed design, reducing the need for charging and replacing cartridges. The no-charge design also reduces the occurrence of faults. It is understood that with rechargeable e-cigarettes, each cartridge needs to be charged at least once and the battery efficiency is extremely low, while the design of disposable ecig can solve this problem very well.

Disposable ecig are very easy to carry on daily trips, no need for any operation in the use of airflow induction, direct suction can be out of smoke, meaning that you just need to suck directly on the hand can be the main feature of the small cigarette is practical portability is the main, its appearance is very small, no longer like the previous big smoke box mechanical rod nowhere to put.


The market outlook for disposable ecig

There has been a controversial topic regarding the use of disposable ecig. According to scientific studies, the long-term use of e-cigarettes can cause harm to the human body, no less than tobacco. Therefore, it is important not to overuse either type of e-cigarette - after all, smoking is bad for your health. Specifically, the PMTA requires that any new tobacco product be approved by the FDA for legal promotion and that the FDA consider all aspects of the product to be beneficial to public health. Our products can always be sold under the supervision of the PMTA at cost and are prohibited for sale to minors. We have strict guarantees regarding the quality of our products.



Disposable E-Cig,Disposable Vape Pen Oem,Best Disposable Vapes,One-Time Use Vape

Shenzhen MASON VAP Technology Co., Ltd. , https://www.e-cigarettefactory.com