ARM7-Based Development of Master-Computer of Wireless Temperature Monitoring and Control System
- Author
- CuiPeng
- Advisor
- GuoQingPing
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 262
- Citations
- 1
- Temperature Monitoring System
- Serial communication
- network communication
- Network Address Communication
- Multi-threading technology
Abstract
Nowadays, Temperature Monitoring System plays an important role in many industies, so that more and more Monitoring Systems have been appearing and providered more and more feature-rich communication services. These systems are sold to users with the hardware. With the development of some fields of industrial control, Temperature Monitoring System will be widely used and is growing up day after day.To determine the functional structure of the Temperature Monitoring System software, this thesis analyzes a variety of popular monitoring software. Based on these, we put forward a kind of different system architecture.This system architecture is divided into two parts, sub-sation and central station.both parts become an independent software. Sub-station and slave computer communicate and exchange data through serial communication. Sub-station and central station communicate and exchange data through network. So this architecture is a good combination of serial communication and network, and the function also been upgraded.Around the basic functions of system communication, we design specific communication architecture for serial communicatioin and network communication. In order to ensure communication’s efficiency, as well as scalability.This solution greatly improved the server’s processing power and response speed.It paves the way for future functionality such as file transfer, etc.Because of the temperature monitoring system presented to the user is always the user terminals, in this environment, the user terminal interface user-friendly design is also very obvious occupy an important position. Therefore, the monitoring system client software development and design have also become an important component of this thesis. Since the introduction of self-drawn controls became a bright spot of this thesis.For the design of communication framework,this thesis has designed a communication protocol for PC and slaver computer,sub-stations and central station communications,and do the mathematical analysis and simulation for the bit error rate.We design network communication and serial communication coexist system architecture through multi-threading technology.We adopt hardware of softdog to enhance the system’s security,it also play a role of identity authenrication at the same time.Finally,using TCP protocol to penetrate NAT for network communication.Finally, through researching the temperature monitoring system, we have known the development of it and pointed out some main questions to be settled urgently.
Table of contents
Abstract 4-5
Abstract 5-11
Chapter 1 Introduction 11-14
1.1 The subject of the background, purpose and meaning 11
1.2 research situation analysis 11-12
1.3 thesis 12-13
1.4 thesis framework 13-14
Chapter 2 topics introduced 14-43
2.1 MFC introduction 14-16
2.1.1 Windows programming mechanism 14
2.1.2 MFC architecture 14-15
2.1.3 MFC application framework 15-16
2.2 database access technology 16-20
2.2.1 ODBC API 17
2.2.2 the DAO and RDO.; 17-19
2.2.3 OLE DB and ADO.; 19-20
2.3 serial communication the basic principles of 20-27
2.4 multi-threaded introduced 27-33
2.4.1 multi-threaded Overview 27-28
2.4.2 MFC support for multi-threaded programming 28-30
2.4.3 thread synchronization 30-33
2.5 the Winsock Introduction communication principle 33-36
2.5.1 Winsock control to use 33-34
2.5.2 introduced on several functions of the communications 34-36
2.6 NAT and Hole Punching introduced 36-39
2.6.1 Network Address Translation 36
2.6.2 NAT classification 36-37
2.6.3 Hole Punching 37-39
2.7 VC 6.0 self-drawn controls 39-40
2.7.1 button control, self-painted principle 39
2.7.2 progress bar control since painted principle 39-40
2.8 dongle 40-43
2.8.1 software dog the basic principles of 40
2.8.2 software dog how to protect your software 40-41
dog 2.8.3 software features and advantages 41-43
Chapter 3, the overall design of the temperature control system 43-50
3.1 sub-station 43-45
3.1.1 sub-station functional requirements analysis 43-44
3.1.2 sub-station software, the functional structure 44-45
3.2 Central Station 45-48
3.2.1 Central Station of the functional requirements analysis 45-47
the functional structure of the
3.2.2 Central Station 47-48
3.3 overall framework of Figure 48
3.4 system logical structure 48-50
Chapter 4 communication protocol design 50-56
4.1 communications agreement 50
the basic format of the frame structure
4.2 50-53
4.2.1 host computer command format 50
4.2.2 machine response format 50-51
4.2.3 protocol parse 51-53
4.3 error to produce the a posteriori statistical model 53-56
4.3.1 bit error rate of the prior distribution options 53-54
4.3.2 bit error rate of the posterior distribution of model 54-56
Chapter 5 Temperature Control System Design and Implementation 56-83
5.1 sub-station detailed design 56-57
5.1.1 sub-station flowchart 56-57
5.2 Central Station detailed design 57-58
5.2.1 Central Station, the specific flow chart 57-58
5.3 interface beautification 58-62
5.3.1 Button from painted 58-62
5.4 database design 62-65
5.4.1 database analysis 62-64
5.4.2 database to achieve 64-65
5.5 system security design 65-68
5.5.1 32-bit Windows program shell encryption 65-66
5.5.2 API interface functions to complete the encryption 66-68
5.5.2.1 store edit 66-67
5.5.2.2 C program using API calls 67-68
5.6 modules and interface design 68-83
5.6.1 sub-station main interface 68-71
5.6.1.1 interface frame structure 68-70
5.6.1.2 the main menu to create 70
5.6.1.3 the progress bar to create 70
5.6.1.4 wind The rose curve created 70
5.6.1.5 weather forecast module to create 70-71
5.6.2 startup interface 71-72
5.6.3 Communication set 72-73
5.6.3.1 serial port settings 72-73
5.6.3.2 network settings 73
5.6.4 system settings 73-75
5.6.4.1 Automatic shutdown 74-75
5.6.4.2 boot 75
5.6.5 skin set 75-76
5.6.6 Data browser 76-78
5.6.7 help documentation 78-79
5.6.8 database backup and recovery 79
5.6.9 clock calibration 79-80
5.6.10 central station interface 80-83
5.6.10.1 navigation tree created 81-83
Chapter 6 Conclusions and Outlook 83-85
6.1 Conclusion 83-84
6.2 further 84-85
References 85-89
thank 89-90
master's degree during the academic papers and participate in research projects 90
Related dissertations
- Dissemination value and development of Citizen Journalism
- Research of the Communication Environment of Network Society in China under the Media Ecology Sight
- Network Visual Communication Anomie and Reconstruction
- Educational NGO Program Research in Organizational Communication Perspective
- Design and Implementation of Hydrological Information Telemetry System Based on GSM
- Research on PLC remote monitoring technology based on Internet
- Design of an Automatic Test System for Radar
- Study of Vision-based Tracking and Positioning System for Moving Target in a Large-scale Space
- Temperature Monitoring System Design Based on ZigBee and TS118-3
- The Design and Implementation of the Monitor System Software for Electrified Railway Section Insulator
- Development and design of intelligent residential area centralized control system
- Development of Simple Controller Device
- Development of Automatic Towel Hemming Machine Control System
- PID Parameters Adjustingand Optimization Tuning Assistant by Upper Computer
- Design and implementation of a remote experiment system based on CS4000 platform
- Research on Robot Teaching-box Based on an Embedded Computer
- Research on Motion Simulation of Robot Based on Java3D Virtual Reality Technology
- Study and Deployment on Communication Security and Optimizations for VPN Networks
- The Design and Implementation of a Network Communication Game on Linux
- The Development and Application of Tobacco WMS Based on RFID