Design of ultrasonic reversing radar monitoring and alarm system based on MSP430 single chip microcomputer

Foreword

According to preliminary survey statistics, 75% of automobile traffic accidents are caused by the reversing of the car's "backsight" Xiaoliang. Therefore, many non-professional car drivers are eager to have a car reversing alarm. When reversing, constantly measure the distance between the tail of the car and the obstacle behind it, and display the distance at any time.

Different alarm signals are issued within the distance range to improve the umbrella of the car when reversing. Enhancing the rear view capability of the car, especially enhancing the rear view capability of large and heavy vehicles, is very important for improving driving safety and reducing the labor intensity and psychological pressure of the driver.

At present, both domestic and foreign are studying how to use advanced technology, namely car collision avoidance technology, to assist car drivers in real-time monitoring of people, vehicles and roads that affect road traffic safety. In critical situations, the system actively interferes with driving and maneuvering. Assisting the driver to carry out emergency treatment and anti-Ib car

The occurrence of a collision accident. With the improvement of the requirements of the ease of use of the driver's assistance system, the small price drop of the single chip microcomputer and the development of the network development of the automotive electronic system, the new type of parking sensor is an intelligent distance measuring system with a single chip as the core. This paper introduces an ultrasonic reversing radar monitoring and alarming system based on MSP430 single chip microcomputer.

1 system ranging principle

The ultrasonic transmitter emits ultrasonic waves in a certain direction, and starts timing at the same time as the transmission time. The ultrasonic waves propagate in the narrow air, and immediately return to the obstacle when the obstacle is encountered on the way. The ultrasonic receiver stops the timing immediately upon receiving the reflected wave, and the ultrasonic wave is in the air. The speed of medium propagation is 340m/S. According to the time t, the distance S of the emission point from the obstacle can be calculated.

S=340&TImes;t/2 (1)

This is the time difference ranging method. The system is to use the single-chip microcomputer to control the ultrasonic transmitter to emit the super Lubo pulse, and at the same time use the counter in the single-chip microcomputer to start timing. When the ultrasonic wave reaches the back obstacle, it will be reflected back. After receiving the echo signal, the receiving device generates a high level by the external comparison circuit to cause the MCU to generate an external interrupt. The MCU running interrupt service subroutine (ISR) calculates the distance and transmits it to the LCD for display to the driver. At the same time, there is a comparison module in the program. If the distance is less than 5 m, the measured distance is displayed and the MCU outputs a high level. The buzzer is alarmed. If the distance is greater than 5m, U is displayed. U, the buzzer does not alarm, so that the driver can be reliably given alarm information in both sound and light ways to ensure the safety of reversing or driving.

2 system hardware design

2.1 main controller selection and hardware components

Compared with the commonly used 5 1 series MCUs, MSP430 series MCUs are powerful, low power consumption and high integration. The main disadvantage is that the price is slightly higher. In order to get the right price/performance ratio, we chose TI's early production of MSP430F101. This type of MCU is cheaper, although the function is not strong, but the foot 110 meets the requirements of this system. The shortcoming of F 1 is mainly that there is no liquid crystal 162 drive, and the selection of a reasonable price liquid crystal display driver chip HT 1 can solve this problem.

The system hardware circuit is based on the MPS430F1101 single-chip microcomputer. It is mainly composed of ultrasonic transmitting circuit, ultrasonic receiving circuit, power supply circuit and alarm circuit.

Picture 1 system hardware composition block diagram

2.2 Ultrasonic emission signal

The block diagram of the ultrasonic transmission hardware circuit is shown in Figure 2. The one-shot trigger receives the square wave of the 40ms flip-flop output from the P1.3 port output of the S430F1101 and the pulse width control output frequency is unchanged, and the high-level width is 160us. The square wave period is 40m s. This pulse signal acts as a set pulse for the 555 oscillator. During the set period, 555 periodically generates 40 oscillating signals, and the ultrasonic transmitting head T40K 1 converts the electrical signals into ultrasonic waves for transmission. The ultrasonic transmitter emits a pulse train with a pulse number of 7 (1/40 kHz=O.25 ms), and the sound wave of the ultrasonic transmitter is transmitted to the receiver by the reflector, and the propagation distance is 2 times the measurement distance. Formula (1) is known.

Figure 2 ultrasonic transmission hardware circuit

6.7MM  Wire To Board Connectors.6700series.


What are the main types of wire to wire connectors? In the connector industry, there is also a kind of product called connecting wire, which is often said to be terminal wire. Some terminals have terminals at one end, the other end is welded on the circuit board, and some have terminals at both ends. When these terminals form a male and a female, when the wire rod and wire rod form a mutual connection, the terminal can be regarded as A wire to wire connector, that is to say, most terminal blocks are a wire to wire connector product.


Line to board connector, connector product connecting wire or cable to circuit board. The main embodiment of the line to board connector is that the I / O terminal wire is formed by adding a connector, and the other end of the terminal line is welded on the circuit board, and the connection relationship is formed by the male and female docking of the connector, forming a complete connection scheme. Relatively speaking, many connectors can form a line-to-line relationship, and can also form a line-to-board relationship. One of the more easily distinguished cases is that one section of the connector is welded to the circuit board, and not all connectors are installed on the circuit board in the common welding way.

6.7MM Wire To Board Connectors

6.7MM Wire To Board Connectors

ShenZhen Antenk Electronics Co,Ltd , https://www.antenk.com

This entry was posted in on