Research on Parallel and Distributed Simulation System Based on Multi-MCU
- Author
- WangXiangWen
- Advisor
- ShiChengJun
- School
- Dalian Maritime University
- Major
- Control Theory and Control Engineering
- Classification
- TP391.9 Computer simulation
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 95
- Citations
- 2
Abstract
With the increasingly high demand on the accuracy of the simulation objects , the simulation technology to the development of parallel simulation by traditional serial simulation , development of stand-alone simulation to distributed simulation . Multi-machine parallel distributed simulation system has become a new hotspot . Engine Room Simulator is a simulation of a real ship cabin equipment function device . The cabin equipment containing a large number of complex objects , such as the main propulsion power plant , boilers and steam systems and ship power station simulator simulation system takes a lot of time running and scheduling simulation algorithm , it is difficult to take into account the real-time simulation and realistic degrees. Therefore, the use of multi-machine system simulation of complex objects , a single object is split into several parts , each part working in parallel to achieve real-time simulation of the entire object , and ultimately through the exchange of data . The simulation of this hardware instead of software simulation method can reduce simulation time for complex objects to improve the real-time , which is veneer multi MCU parallel distributed simulation system research significance . Single board microcontroller parallel distributed simulation system to conduct a preliminary study to design a parallel distributed simulation support systems experimental board , and selection of marine diesel generator sets as the simulation object , verify veneer multi- MCU parallel distributed the feasibility of the simulation system . This paper first describes the overall system design . Secondly, the design and realization of the system hardware , communication between multiple MCU by accessing external memory . And marine diesel generator sets modeling and simulation in MATLAB . Finally, system software design and implementation, including I2C bus communication and RS-485 serial communication design and simulation system in the experimental board , the diesel generator set is broken down into several parts , each MCU is responsible for part of the computing tasks final data exchange , complete simulation of the entire system , and returns the results to the host computer . The final simulation results demonstrate the feasibility of veneer multi- MCU parallel and distributed simulation systems .
Table of contents
Abstract 5-6
ABSTRACT 6-9
Chapter 1 Introduction 9-13
1.1 topic background and significance 9-11
1.2 research status 11-12
1.3 The main research content 12-13
Chapter 2 overall system design 13-16
2.1 System test board functions 13-14
2.2 hardware 14-15
2.3 object part 15 <br / > 2.4 software part 15-16
Chapter 3 system hardware design and implementation 16-31
3.1 MCU AT89S52 introduction 16-19
3.1.1 AT89 series microcontrollers Introduction 16
3.1.2 AT89S52 MCU Introduction 16-19
3.2 overall hardware design ideas 19
3.3 breadboard Overall design schematics 19-21
3.4 each functional module design 21-30
3.4.1 MCU peripheral circuit 21-22
3.4. 2 I ~ 2C bus control circuit 22-26
3.4.3 serial communication circuit 26-28
3.4.4 download circuit 28-30
3.5 Chapter Summary 30-31
Chapter 4 diesel generator modeling 31-44
4.1 marine diesel generator sets Introduction 31
4.2 diesel engine with governor mathematical model 31-33
4.2.1 Diesel mathematical model 31-32
4.2.2 governor mathematical model 32 - 33
4.3 Synchronous Generator Model 33-38
4.3.1 Parker equation model 34-35
4.3.2 Third-order synchronous generator utility model 35-38
4.4 excitation system model 38-40
4.5 Load mathematical model 40-41
4.6 system in MATLAB simulation 41-43
4.7 Chapter Summary 43-44
Chapter 5 System Software Design and Implementation 44-66
5.1 system software design ideas 44
5.2 I ~ 2C bus communication software design 44-57
5.2.1 I ~ 2C bus communication principle 45-46
5.2.2 I ~ 2 C bus controller PCF8584 software design 46-57
5.3 RS-485 serial communication software design 57-59
5.4 system simulation experiment board 59-65
5.5 Chapter Summary 65-66
Chapter 6 Conclusion and Outlook 66-67
6.1 Conclusion 66
6.2 Prospects 66-67
References 67-70
Thanks 70-71