Based on CAN Bus ultrasonic liquid level detection system research and design
- Author
- GongQingMin
- Advisor
- LiQuanXi
- School
- Henan Polytechnic University
- Major
- Control Theory and Control Engineering
- Classification
- TP274.53 Ultrasonic testing equipment
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 80
- Citations
- 0
Abstract
In recent years , liquid level detection technology has been widely applied , the technical requirements are also increasing , the network has become reservoirs, ports and other liquid level detection trend. CAN bus as an effective support for distributed control and real-time control of the technology, with its good stability , high reliability and low maintenance cost people's attention . In order to meet the needs of science and technology is proposed based on CAN bus ultrasonic liquid level detection system design to achieve a bus intelligent instruments . This paper analyzes the CAN bus communication theory and technical specifications , through the analysis leads to the CAN bus based ultrasonic liquid level measurement and control solutions , introduces the various parts of the control system 's basic hardware. This selection of AT89S52 MCU with CAN controller SJA1000 as a control chip design specific hardware circuit , and then for each specific hardware components of the detailed design and associated hardware control method is used. Then, the control program and hardware software system based on the design of a high-level language using C51 microcontroller system software modules , each module is given a flowchart and some source code. Using VB advanced language PC interface and gives part of the source code , to design a visual interface , and gives the results of running the software , and finally through simulation and experimental debug the system , the ideal number of parameter values. In terms of reliability , take the optical isolation , software and system software filter traps and other measures , the operation of the system hardware and software aspects of the anti-jamming technology are described , to ensure reliable operation of the system , experimental and simulation results show that the level of research and development detection and monitoring system to achieve the workstation back on the CAN bus communication , and thus prove the feasibility of topics .
Table of contents
Abstract 4-5
Abstract 5-9
1 Introduction 9-15
1.1 issues raised and research significance 9 - 10
1.2 CAN bus advantage 10-12
1.2.1 serial communication RS-485 10-11
1.2.2 wireless Communication 11
1.2.3 fieldbus CAN-bus 11
1.2.4 CAN bus and RS-485 's comparative advantage 11-12
1.2.5 CAN bus comparative advantage with other bus 12
1.3 ultrasonic liquid level detection and CAN bus technology applied research status 12-14
1.3.1 domestic research 12 -13
1.3.2 foreign Research 13-14
1.4 this research 14
1.5 Summary 14-15
2 CAN bus principle and technical specifications 15-23
2.1 CAN bus Introduction 15-16
2.1.1 CAN bus characteristics 15-16 < br /> 2.1.2 CAN bus protocol standards 16
2.2 CAN bus network protocol analysis 16-19
2.2.1 CAN bus network protocol structure 16-17
2.2.2 CAN bus physical layer analysis 17-18
2.2.3 CAN bus data link layer analysis 18-19
2.3 CAN bus packet transmission and frame structure 19-22
2.4 Summary 22-23
3 system hardware research and design 23-38 <br / > 3.1 system Architecture Design 23
3.2 microprocessor unit 23-24
3.3 ultrasonic level acquisition and processing module 24-30
3.3.1 transmitting circuit unit 25-26
3.3.2 receiving circuit unit 26-27
3.3.3 temperature correction unit 27-28 <br / > 3.3.4 LCD unit is designed 28-30
3.4 PC communications module 30-37
3.4.1 CAN232 intelligent interface card 30-31 < br /> 3.4.2 SJA1000CAN controller 31-35
3.4.3 CAN bus transceiver 35-37
3.5 Summary 37-38 <br / > 4 system software architecture design 38-51
4.1 the main level detection system software design 38
4.2 ultrasonic level acquisition and processing module software design 38-48
4.2.1 ultrasonic transmitter and receiver design 38-40
4.2.2 temperature compensation program design 40-44
4.2.3 software filtering program design 44-45
4.2.4 LCD programming 45-48
4.3 CAN bus communication program design 48-50
4.4 Summary 50-51
5 ultrasonic liquid level detection system PC communication software design 51-67
5.1 Visual Basic6.0 Profile 51-52 < br /> 5.1.1 Visual Basic 's main function 51
5.1.2 Visual Basic development engineering steps 51-52
5.2 MSComm control Introduction 52 - 54
5.2.1 MSComm way of handling communication 52
5.2.2 MSComm common attributes 52-54
5.3 communication interface design 54 -66
5.3.1 main interface design 55-56
5.3.2 the main form of the source 56-62
5.3.3 interface settings and query method 62-66
5.4 Summary 66-67
6 anti-jamming design and experimental analysis 67-75
6.1 environmental interference and the harm 67-68
6.1.1 monitoring system itself interference sources 67
6.1.2 sources of electromagnetic interference 67
6.1.3 Guo pressure interference source 67-68
6.2 hardware anti-jamming achieve 68-69
6.2.1 PCB wiring and hardware anti-jamming design 68
6.2 .2 using photoelectric isolation technology 68-69
6.2.3 transmission line interference design 69
6.3 system software anti realize 69-70 <br / > 6.4 System experimental analysis 70-73
6.5 error analysis 73-74
6.6 Summary 74-75
7 Conclusion and Outlook 75-77
7.1 Conclusion 75
7.2 Prospects 75-77
References 77-79
Appendix 79-88
intelligent mobile robot navigation system research and design 88-93
Thanks 93
Related dissertations
- Ultrasonic Liquid Level Detection Based on the Autocorrelation and Chaotic Oscillators
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- The Design of Hybrid Electric Bus Data Acquisition and Test System
- Object-shape Recognition Based on Non-crosstalk Ultrasonic Ranging
- Industrial Field Data Acquisition System Design Based on CAN Bus
- Design of the Hazard Source Monitoring System Based on CAN Bus
- The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
- Research on Data Acquisition System of Can Bus
- The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
- Design of Remote Monitoring System of Agricultural Field Information Based on GPRS Network
- Design and Implementation of Intelligent Wiring Hardness Detection System
- Research on Indoor Localization System for Intelligent Wheelchair
- Research on CAN Bus Communication and Application Experiments
- Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
- Research of Fieldbus Relay Basing on CAN Bus
- Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
- CAN Network Development of Commercial Vehicle