Design of Embedded Waterlevel Monitoring System Based on CAN Bus
- Author
- YangShaoFeng
- Advisor
- MaFuChang
- School
- Taiyuan University of Technology
- Major
- Detection Technology and Automation
- Classification
- TP274 Data processing, data processing system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 186
- Citations
- 1
Abstract
Level monitoring, water power, urban water supply and drainage, light industry, chemical widely used in many fields, and plays an important role in social life. With the development of science and technology, computers, microelectronics, and many other advanced technology has been applied to the water level monitoring technology, water level monitoring system is moving in the direction of the digital, intelligent, network development. At present, more and more industrial process parameters transmission control using fieldbus technology, CAN bus because of its superior performance has been widely adopted. Based Taiyuan University of Technology Institute of Measurement and Control Technology, the research results achieved in water level monitoring over the years, combined with the current water level monitoring technology status, as the core embedded microprocessor technology, integration and fieldbus technology design an embedded water level monitoring system. The system hardware platform based on the LPC2368 microprocessor ARM7TDMI-S core software platform uses preemptive embedded operating system kernel μC / OS-II, the use of the the induction water level sensor water level information acquisition, the water level information in real time via the CAN bus transmission. CAN bus is a high-security, high anti-interference ability and effective support for distributed control and real-time control of the serial communication network. CAN bus as a communication network can improve the safety and reliability. μC / OS-II preemptive embedded operating system, and is conducive to improve the real-time nature of the procedure and the product's scalability. Based on research and analysis of the current domestic and international level monitoring method, the combination of laboratory water level monitoring system to improve summarized summed up the subject of research, given access to large amounts of reference data on the basis of of embedded water level monitoring the overall design of the system and module design ideas; analysis based on the front and back office systems and multi-tasking system, select the system uses an embedded real-time operating system μC / OS-II, by the μC / OS-II kernel structure μC / OS-II on the LPC2368 transplantation; CAN specification, the the CAN bus transplant into μC / OS-II operating system; system hardware design including data acquisition circuit design, memory circuit design LCD circuit design, CAN bus interface circuit design, power circuit design, and system low-power design; software design including the the monitoring terminal software design, PC management software design and CAN communication protocol design, monitoring the terminal software design completed μC / OS-II operating system start early initialized analysis FM24CL64 is the TLC3574 and CAN controller read and write timing based on writing a device driver, the combination of monitoring terminal system of the division of tasks and the preparation of the application; Kingview software written PC software, the use of ZOPC-Server completed between PC and CAN bus communication. Finally, the system application debugging and the entire system is analyzed and summarized. The subject design water level monitoring system, water level monitoring network centralized management, real-time, stability, security, reliability, versatility and scalability characteristics. Centralized control system of industrial field has certain reference value.
Table of contents
Abstract 3-5
ABSTRACT 5-10
first chapter 10-14
1.1 Background and Significance topics 10 - 11
1.2 research status 11
1.3 and the main content of research papers arrangement 11-14
Chapter overall system design 14-18
2.1 System Features 14
2.2 overall system architecture 14-15
2.3 system features modular design 15-18 <br / > 2.3.1 Sensor Selection 15
2.3.2 site monitoring terminal design 15-16
2.3.3 CAN bus design 16-17 <br / > 2.3.4 Monitoring Software Design 17-18
Chapter μC/OS- Ⅱ embedded operating system and CAN bus research 18-32
3.1 operating system of choice 18-20
3.2 μC/OS- Ⅱ structure and transplantation 20-26
3.2.1 μC/OS- Ⅱ structure 20-22
3.2.2 μC/OS- Ⅱ on the LPC2368 transplant 22-26
3.3 CAN bus research 26-32
3.3.1 CAN bus technology features 26-27
3.3.2 CAN bus specification 27-32
Chapter water level monitoring system hardware circuit design 32-50
4.1 core processing Design 32-36
4.1.1 Processor Selection 32-34
4.1.2 LPC2368 peripheral circuit design 34-36
4.2 sensor circuit 36-37
4.3 data acquisition circuit design 37-40
4.3.1 circuit analysis 37-39
4.3.2 Filtering Circuit analysis 39-40
4.4 memory circuit design 40-41
4.5 CAN bus circuit design 41-42
4.6 ADC circuit design 42-43
4.7 low-power design 43-45
4.7.1 Low-power peripheral devices use 44
4.7.2 Zoning power supply 44-45
4.8 system power supply design 45-50
4.8.1 5V power supply design 45-46
4.8.2 3.3V power supply design 46-47
4.8.3 ± 12V power supply design 47-50
Chapter water level monitoring system application software design 50-78
5.1 system division of tasks 50-52
5.2 System Bootloader process 52-53
5.3 device driver 53-63
5.3.1 GPIO driver 53-54
5.3.2 WDT driver 54-55
5.3.3 RTC driver 55
5.3.4 12C driver 55 - 59
5.3.5 SPI driver 59-62
5.3.6 CAN driver 62-63
5.4 CAN communication application layer protocol 63 - 69
5.4.1 iCAN message identifier assigned 64-65
5.4.2 iCAN data portion of the frame definition 65-66
5.4.3 iCAN The communication protocol frame transmission protocol 66-68
5.4.4 iCAN protocol frame format conversion 68-69
5.5 Monitoring server design 69-78 <br / > 5.5.1 build systems engineering 70-71
5.5.2 database variable setting 71
5.5.3 Communication configuration settings 71-74
5.5.4 database configuration settings 74-78
Chapter VI system debugging and running 78-82
6.1 test environment 78-79
6.2 the problems encountered during testing and solutions 79-81
6.2.1 Signal Acquisition transmission circuit 79-80
6.2.2 Data transmission 80-81
6.2.3 experimental data acquisition 81
6.2.4 experimental data analysis 81
6.3 Test results 81-82 < br /> Summary and Outlook 82-84
References 84-86
Thanks 86-87
author published during the master's degree Papers 87
Related dissertations
- 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
- 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
- Based on Smith Fuzzy-PID of Hot Drawing Roller Temperature Control System
- Research on the Scheduling Algorithm of Networked Control System Based on CAN Bus