Research and Design of Car Reversing System

Zhiqiang Xu2018 · DOI

Abstract

Nowadays, with the improvement of people's living standards, automobiles have become the preferred mode of transportation. However, traffic accidents, particularly those caused by limited visibility during reversing, have become increasingly frequent. This paper presents a reversing radar system based on the AT89C51 single-chip microcontroller. We detail the system structure, hardware circuit design, and software logic. The resulting system is characterized by its simple structure, high reliability, and practical utility.

Introduction

As global automobile ownership has surged, the frequency of traffic accidents has risen proportionally. Reversing maneuvers are particularly hazardous due to inherent blind spots at the rear of vehicles. While premium vehicles often include integrated camera systems, there is a significant demand for simple, reliable, and inexpensive distance-warning systems. This project addresses this need by designing a "parking assistant" that utilizes ultrasonic sensors to detect obstacles and provide real-time alerts to the driver.

System Methodology

The core of the system is the AT89C51 (or STC89C51) microcontroller, which manages signal processing and user feedback. The system employs Ultrasonic Non-Contact Distance Measurement based on the Time-of-Flight (ToF) principle.

  1. Signal Generation: The microcontroller generates a 40 kHz square wave. By using a helical oscillating circuit for the generator, the design achieves a 10% increase in output power compared to standard self-excited circuits, extending the detection range.
  2. Distance Calculation: The system measures the time ($t$) required for the ultrasonic pulse to travel to an obstacle and return. The distance ($s$) is derived using the formula $s = 340t/2$, assuming a standard speed of sound of 340 m/s.

Hardware Design

The hardware architecture is modular, designed for stability and resource efficiency.

  • Microcontroller Core: The AT89C51 serves as the central processing unit. A 12 MHz crystal oscillator is integrated to provide the high-accuracy timing necessary for precise distance calculations.
  • Display and Alarm: To conserve I/O pins, 74HC573 latches drive a 4-digit tube display. An alarm circuit triggers a buzzer when the detected distance falls below a safety threshold.
Schematic of the 8051 microcontroller core circuit.

Software Implementation

The software design prioritizes timing precision and system stability through a hybrid programming approach.

  • Hybrid Coding: While the main logic is written in C for ease of development, the ultrasonic pulse generation subroutine is written in Assembly language. This ensures cycle-accurate control of the 40 kHz pulses, avoiding the overhead and unpredictability of high-level language compilers.
  • Blind Spot Mitigation: A critical software feature is the implementation of a 1.5–2 ms delay after pulse transmission. This "blind spot" delay prevents the receiver from being falsely triggered by the direct wave traveling from the transmitter to the receiver on the same board.

Results and Discussion

The prototype demonstrated high reliability during testing. Initial debugging allowed the system to transition from centimeter-level accuracy to millimeter-level precision. The system supports two operational modes: an Automatic mode (activated by a long press) and a Manual mode (short press), providing flexibility for different driving scenarios.

Limitations and Future Work

Despite its accuracy, the system has two primary limitations:

  1. Environmental Factors: The assumption of a constant speed of sound (340 m/s) may lead to errors in extreme temperatures or humidity.
  2. Minimum Detection Distance: The 1.5–2 ms delay required to prevent self-triggering creates a physical blind spot for objects within a few centimeters of the sensor.

Conclusion

The designed reversing radar system offers a robust and inexpensive solution for enhancing vehicle safety. By combining precise hardware timing with optimized software routines, the system provides accurate distance measurements and reliable alerts, making it a practical addition to modern automobiles.

Summary updated

Abstract

Nowadays, with the improvement of people's living standards, automobiles have become the preferred mode of transportation for people. According to statistics, the number of automobiles in China and even the world each year has grown substantially, which has greatly improved people, s living standards. Promote the development of the automotive industry. On the other hand, the resulting traffic accidents have become more and more frequent. In particular, the loss of life and property caused by the lack of visibility during reversing the car is even more serious. Therefore, this article has designed a reversing radar system based on single-chip AT89C51, elaborated the structure of the system, hardware circuit design and software design. The system is simple in structure, extremely reliable and practical.
BibTeX
@misc{xu2018research,
  author = {Zhiqiang Xu},
  title = {{Research and Design of Car Reversing System}},
  year = {2018},
  doi = {10.2991/meees-18.2018.66},
}
Figure