With the development of informatization, intelligence and networking, embedded system technology has gained a broad space for development, and the field of industrial control is also undergoing a huge change. Real-time embedded software and hardware technology based on 32-bit high-end processors will be applied in every corner of industrial control. Embedded controllers have been applied to various fields such as industry, agriculture, education, national defense, scientific research and daily life due to their many advantages such as small size, high reliability, strong functions, flexibility and convenience, and have played an extremely important role in promoting technological transformation, product upgrading, accelerating the automation process and improving productivity in various industries.
Design of obstacle distance detection circuit
In this system, the ultrasonic distance measurement circuit is designed by MICROCHIP's PIC16C57, and the ultrasonic sensor selected is the T/R40-16 piezoelectric ceramic sensor. During operation, the main controller PIC16C57 sends a signal to make the ultrasonic transducer at the transmitting end send out voltage excitation. After being excited, it emits ultrasonic waves in the form of pulses. When the ultrasonic receiver receives the echo signal, it is transmitted back to the main controller. The timer in the main controller starts timing when the pulse signal starts to be emitted, and stops timing when the echo signal is received. The time interval multiplied by the speed of sound is twice the distance value. Thus, the distance from the obstacle to the transmitting point is calculated. Its circuit diagram is shown in Figure 2.
The distance value is serially output through the 10th pin of PIC16C57 and connected to the serial port of ARM through the MAX232 chip. The chip MAX232 is an interface circuit designed for the RS232 standard serial port, which completes the conversion between TTL level and RS232 level.
Design of sound and light alarm circuit
This system requires a three-level alarm for dangerous conditions based on the critical value of the distance of obstacles that affect the stability of the loader. When in a low-risk situation, only the green indicator light is lit to remind the driver to pay attention; when the danger level increases, the yellow indicator light is lit, accompanied by a soothing buzzer, reminding the driver to take measures; when the highest danger level is reached, the red indicator light is lit, and the buzzer sound changes from soothing to urgent, reminding the driver to brake quickly. In the design, P2.20 (GPIOA4) of LPC2290 is used to drive the green LED, P2.21 (GPIOA5) drives the yellow LED, P2.22 (GPIOA6) drives the red LED, and P2.23 (GPIOA7) drives the buzzer. The designed alarm circuit is shown in Figure 3.
Through test verification, the system has met the required functional requirements, with a maximum measurement value of 9.99m and an error of ≤0.01m. It is very convenient to install and easy to use. However, there is one shortcoming of the system, that is, when using ultrasonic sensors to detect road information in front of the vehicle, if it is a raised obstacle, it can be effectively detected, but if there is a pit in front, it cannot be detected, so further research is needed .
Previous article:Implementation of Ad Hoc Network Platform Based on ARM
Next article:Design of rotary encoder acquisition module based on ARM
Recommended ReadingLatest update time:2024-11-16 13:55
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- 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!
- 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
- The era of distributed edge computing is coming? What do you think about this?
- 5G commonly used terms, too comprehensive.
- [Teardown] What is the resolution of 20 million pixels? Do you really understand digital microscopes?
- LPS27HHTW MEMS Pressure Sensor
- Are lead-free HASL and lead-free solder the same thing?
- CC2640R2F ADC
- Summary of the use of polarity and phase of MSP430 SPI
- How Designers Achieve Tri-Band Gigabit Speeds and High Throughput in Wi-Fi
- TMS320VC5502+ISP1581 USB2.0 high-speed data acquisition solution
- CH549EVT development board test - SPI test