1. Introduction
1.1 Overview of domestic and international development
Intelligent distance measurement systems have a certain level of research in China and are mostly used in the automotive industry, navigation systems of intelligent robots and related fields. The frequency, power and acoustic characteristics of the ultrasonic waves they generate are different, so their uses are also different. The piezoelectric ultrasonic generator is currently more commonly used.
Ultrasonic waves are often used to measure distances because of their strong directivity, slow energy consumption, and long propagation distance in the medium. They are mainly used in the development of reversing radars, rangefinders, level measuring instruments, mobile robots, construction sites, and some industrial sites, such as distance, liquid level, well depth, pipeline length, flow rate, etc. Ultrasonic detection is often quick and convenient, and the calculation is simple, easy to achieve real-time control, and can meet the requirements of industrial practicality in terms of measurement accuracy. Therefore, it has been widely used. This type of distance measurement technology in China is relatively complete, but the peripheral circuits of this type of system are relatively complex, the display part is not vivid enough, and the accuracy is not high, most of which remain at the centimeter level.
1.2 System Function and Performance Requirements
This design of "high-precision ultrasonic intelligent distance measurement system" can achieve accurate measurement function within the range of 2cm-4m, with an accuracy of up to 0.1mm, LCD screen Chinese character display function, and distance segment alarm function. The physical object is small in size, low in power consumption, and easy to embed into other systems, and has certain use value.
2. System structure
2.1 System Structure Diagram
2.2 Basic working principle
The 40KHZ square wave is generated at the P1.2 port through the single-chip microcomputer driver and driven by the modulation circuit to generate the ultrasonic transmitting probe. When encountering an obstacle, it is reflected and received by the ultrasonic receiving probe at the P1.1 port. The time is calculated by the internal timing circuit of the single-chip microcomputer to derive the distance between the obstacle and the probe, which is displayed on the LCD12864 connected to the P0 port. The distance threshold is divided into three sections with different frequency alarms: 0-1m; 1m-1.5m; above 1.5m.
3. Hardware Design
Ultrasonic sensor circuit:
(1) Use IO trigger ranging to provide a high-level signal of at least 10us;
(2) The module automatically sends 8 40kHz square waves and automatically detects whether there is a signal returned;
(3) When a signal is returned, a high level is output through IO. The duration of the high level is the time from the ultrasonic wave being emitted to the ultrasonic wave being returned. Test distance = (high level time (340m/s))/2; as shown in Figure 2.
Previous article:Design of temperature inspection device for unmanned aerial vehicle based on FPGA
Next article:Improvement of the usage of MM74HC4046 in induction heating power supply
- Popular Resources
- Popular amplifiers
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Innovation is not limited to Meizhi, Welling will appear at the 2024 China Home Appliance Technology Conference
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- MPPT solar lithium battery charger based on single chip microcomputer
- Data sharing: A brief review of the 2018 National Undergraduate Electronic Design Competition TI Cup and sharing of preparation experience
- STM32 assignment question
- LIS331DLH three-axis acceleration sensor package and code
- EEWORLD University - EOS and ESD on ADC
- NodeMcuEsp8266-L298N drives DC motor
- [RVB2601 Creative Application Development] LVGL Horizontal Scrolling Display
- BQ4050 charging and discharging failure
- 12 details of PCB layout
- June 30th Liyuan live broadcast replay: ON Semiconductor Power Solutions (including video, presentation documents, QA)