Software Design and Implementation of Intelligent Monitoring and Controlling Unit of WMS2004
- Author
- LuGuanZhong
- Advisor
- ChenHui
- School
- Wuhan University of Technology
- Major
- Marine Engineering
- Classification
- U665 Electrical installations in ships,observation, communication equipment
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 85
- Citations
- 1
- Intelligent alarm and Control Unit
- CAN field bus
- PCI-CAN communication Card
- Serial Port Multithreading
Abstract
In order to keep up with the development of marine engine control system and the demand of keeping the synchronization between the marine training simulator and actual marine engine monitoring system, the Intelligent Monitoring and Controlling Unit (IMCU) system for marine engine training simulator was designed. Using the CAN field bus as communication instrument, with digital network mode to perform monitoring functions, distributed and multipoint monitoring style is used instead of central monitoring, which makes supervision and control more effectively and conveniently, the system embodied the Integrated Automation System(IAS) development trend, improved the accuracy of marine engine simulation and heightened the effect of simulator training.The IMCU is composed of network hardware and software. The key part is the ETR186 module in hardware which provided the interface, memory space , and the embed DOS system for IMCU software design. The author fulfilled IMCU hardware installation, CAN bus network matching, primary network link adjustments, and the net communication tests. The author also designed the embed software of IMCU and applications communicated software, continuously tested and adjusted system function, optimally designed networking performance in the developing procedure .The author designed the efficient data traffic protocol which based on the CAN transmission technology based on BIT code for the M.E viscosity intelligent control unit, power station monitoring control unit and Engine Room monitoring control unit. The system supports two communication modes: credible respondent mode and broadcasting mode . The CMM principle are applied in the process of design and developing, the function of the system was divided by using structurization method, running flow which are highly modularized.The IMCU software was built in the Borland C++3.0 with C/C++ programming language. The system achieved the real-time data communication , realized thefunction of displaying power station parameters dynamically ,of starting and stopping power station real-time, of displaying online M.E viscosity information, of switching control mode among the four modes, of showing the engine room basic alarm message dynamically, of removing and resetting alarms, of looking up for group alarm message, of calling watch and duty engineer function and of switching watch locus. All of these functions were accorded with requirement of Marine Engine monitoring and controlling. An online help information system was designed for IMCU operation.The upper computer communication interface software was coded in "Visual C++6.0 IDE achieved data transition, data encoding and decoding ,data exchange between SE2000 simulation platform and the interface. Aiming at the CAN short data communications frame. The software solute of long data reception transition problem. Through the configure file ,the communication hardware interface could be changed in more options. To alleviate the network burden and to meet the demand of real-time data communication, the self-adopting mode was designed, which can adjust running flow dynamically, and some advanced program skill such as memory map technology, dynamic link library (DLL) technology and multithreading code technology are used. The author summarized the key technology in programming and design in detail.The paper focused on data communications protocol based on CAN bus, and realize real-time data transmission ,the program having different monitoring function of different requirements for marine engine.By testing in WMS2004 marine training simulator, the IMCU can reflect SE2000 simulation computing platform in real time. And it met requirements for design training in emulation , fully embodying good development value. The IMCU was applied now and run steadily in several sets of WMS series marine training simulator at present.
Table of contents
Chapter 1 Overview 9-13
1.1 turbine simulator development status and Intelligent Control 9-11
1.2 intelligent monitoring unit in the ship monitoring application 11
1.3 research purpose , significance and main content 11-13
Chapter 2 intelligent monitoring unit composition 13-31
2.1 monitoring module design requirements and program analysis 13-20
2.1.1 design requirements and functional 13-14
2.1.2 program selection and CAN bus 14-19 <br / > 2.1.3 design architecture and modular approach 19-20
2.2 CPU module processor selection 20-27
2.2.1 ETR186 performance and resource 21-25
2.2.2 Introduction of embedded systems with DOS 25-27
2.3 CAN protocol conversion module describes 27-28
2.3.1 principle and composition 27
2.3.2 immunity and isolation 27-28
2.4 keyboard module comprising 28-29
2.5 LCD display module 29-30
2.6 Chapter Summary 30-31
Chapter 3 intelligent network traffic monitoring unit 31-41
3.1 message protocol and conventions 31-34
3.2 data types and conversion 34-36
3.3 to send and receive data stream structure 36-40
3.3.1 data communication structure 36-37
3.3.2 viscosity control unit data definition table 37-38
3.3.3 basic alarm unit data flow structure 38-40 < br /> 3.3.4 Power monitoring unit data definition table 40
3.4 Summary 40-41
Chapter 4, intelligent control unit functions to achieve 41-54
4.1 application framework and design processes 41-44
4.1.1 intelligent monitoring unit plate frame and process 41-42
4.1.2 keyboard response processes 42-43
4.1.3 development environment and development tools 43-44
4.2 process-driven function describes 44-45
4.3 intelligent monitoring unit interface Introduction 45-47
4.3.1 Power unit main interface 45-46
4.3.2 viscosity unit interface 46-47
4.3. three basic alarm unit interface 47
4.4 intelligent monitoring unit program and key issues 47-53
4.4.1 intelligent monitoring unit main function modules 47 - 48
4.4.2 software design intelligent monitoring unit of the key issues 48-53
4.5 Chapter Summary 53-54
Chapter 5 interface computer and intelligent monitoring unit communications program development 54-72
5.1 development tools and runtime platform 54-61
5.1.1 WINDOWS 98 and WINDOWS2000/XP right I / 0 driver comparison 55-57
5.1.2 DLL dynamic link library technical presentations 57-58
5.1.3 port and drive 58-60
5.1.4 SE2000 simulation platform and its interface calls 60-61
5.2 interface computer program 61-71
5.2.1 program flow 61-62
5.2. over 2 threads using real-time 62-67
5.2.3 program design techniques 67-71
5.3 chapter Summary 71-72 <br / > Chapter 6 Summary and Outlook 72-74
6.1 Summary 72
6.2 Prospects 72-74
References 74 -77
Appendix 1 power station intelligent monitoring unit function module function table 77-78
Appendix 2 Viscosity intelligent monitoring unit function module function table 78-80
Appendix 3 basic alarm monitoring unit intelligent function module function table 80-82
Thanks 82-83
master's degree papers published during the 83
Related dissertations
- Study on Network System Monitoring and Control for Coal Mine
- The DNC System Based on CAN Field Bus and the Development of NC Machining Codes Transmission Software
- Study on Intelligent Monitoring System for the High-frequency Inverter Power in Spot Welding
- Monitoring and Measurement System of the Ponded Water Level in Mine Based on CAN Field Bus
- Design of the Smart Home System and Anti-Lighting Protection Research
- The Program Design of OPC Server Based on Can Field Bus
- The drop tube hooking device design and development of DSP-based fully automatic
- The Applied Research of Industry Ethernet and CAN Field Bus to Coal-Mine Monitoring System
- The Application and Research of the Field Bus Technology in Design of the Missile Launch Control System
- Based on CAN Bus Intelligent Actuator Research and Development
- Study of Experiment Teaching System Based on LabVIEW Virtual Instrument
- Development of Rut-depth Automatic Measurement System for High-grade Highway
- The Research and Implement of Control System of Highly Precise Computerized Combination Balance Based on CAN Field Bus
- Research of the Electronically Controlled System of Injection Pump of Diesel Engines
- Research on Intelligent Release Based on ARM System
- Research of the Remote Monitoring System in the Colliery
- The Application of CAN in Imaging Logging System
- Research and Design for Elbow Flowmeter Measure System Based on CAN Field Bus
- Development and Monitoring of Material Flow System of Automatic Workshop Based on CAN Field Bus
- The Research of Port Machinery Running Parameters On-line Collecting and Recording System