Design of Distributed Control System of Engine Based on CANbus
- Author
- WangGuiJian
- Advisor
- LiuZhiGang
- School
- Harbin Engineering University
- Major
- Marine Engineering
- Classification
- TK40 General issues
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 381
- Citations
- 8
Abstract
The fieldbus is the focus technology in 21th century that named as local network in automation fields . The fieldbus have been used in many fields , example industry control, transportation , robotic , digital machine , and so on . The automation system has goes into fieldbus control system . Based on the background of fieldbus , this paper introduce the fieldbus technology into design of Stirling engine control system . The distributed control system CAN based of Stirling engine has been designed . Better performances can be attained.In this paper, introduced the fieldbus technology at first, then explain the CANbus work principles . Based on these discuss , introduced the design of distributed control system CAN based of Stirling engine , including the design of hardware and the software based on real time operating system and CANopen protocol.This design has been produced , take long time experiment with Stirling engine . Experimental results show this design is correct and effective .
Table of contents
Summary 4-5
ABSTRACT 5-10
Chapter 1 Introduction 10-18
1.1 Introduction 10-11
1.2 fieldbus technology features 11
1.3 fieldbus control technology superiority the 11-12
1.4 fieldbus standard status quo 12-15
1.5 our choice 15
1.6 In this paper, the work done 15-18
Chapter 2 CAN bus technology 18-32
2.1 CAN Bus Overview 18-19
2.2 CAN technical specifications 19
2.3 CAN hierarchy 19-21
2.4 CAN packet transmission 21
2.5 CAN message frame structure 21-25
2.5.1 data frame the 21-22
2.5.2 Remote Frame 22-23
2.5.3 error frames are found; 23
2.5.4 overload frame 23-24
2.5.5 interframe, space 24
2.5.6 bit stuffing rule 24-25
the 2.6 media interviews and arbitration 25
2.7 CAN error detection and fault defined 25-27 <br / > 2.7.1 error types 25-26
2.7.2 failure to define rules 26-27
2.8 bus bit timing 27-29
2.9 physical layer 29-30
2.10 CAN bus transmission rate and communication distance 30-31
2.11 Chapter Summary 31-32
Chapter 3 system hardware design 32-60
3.1 the MCU Selection the 33-34
3.1.1 Field I / O nodes MCU 33
3.1.2 main the control nodes MCU 33-34
3.2 CAN controller 34-38
3.2.1 of SJA1000 function introduced 34-36
3.2.2 SJA1000 pin arrangement 36-38
3.3 CAN transceiver 38
3.4 Analog I / O node design 38-49
3.4.1 the MCU the core circuit 39-40
3.4.2 thermocouple signal conditioning circuit 40-43
3.4.3 Pt100 resistance temperature measurement circuit 43-44
3.4.4 4 ~ 20mA current input circuit 44-45
3.4.5 0 to 1V voltage input circuit 45
3.4.6 A, / D converter circuit 45-46
3.4.7 4 to 20 mA current output circuit 46-48
3.4.8 AD7416, temperature measurement circuit 48-49
3.4.9 CAN communication circuit 49
3.4.10 circuit anti-jamming design 49
3.5 switch I / O node design 49-53
3.5.1 MCU core circuit 50-51
3.5.2 switch input circuit 51
3.5.3-frequency signal input circuit 51-52
3.5. 4 power output circuit 52-53
3.5.5 CAN communication circuit 53
3.6 master controller node design 53-58
3.6.1 MCU core circuit the 54-55 RS232 interface circuit
3.6.2 55
3.6.3 RS485 interface circuit 55-56
3.6.4 CAN the interface circuit 56-57
3.6.5 Real Time Clock circuit 57-58
3.6.6 LCM interface 58
3.7 PCB design and processing 58-59
3.8 Chapter Summary 59-60
Chapter 4 system software development 60-81
4.1 RTOS select 60 - 61
4.2 μC/OS- Ⅱ on the ATmega128 transplant the
the 4.2.1 compiler data type 61-71 62
4.2.2 Critical area processing 62-63
4.2.3 stack growth direction defined the 63-64
4.2.4 task switching function transplantation 64
4.2.5 OSStartHighRdy () 64-65
4.2.6 OSCtxSw () 65-67
4.2.7 OSIntCtxSw () 67-68
4.2. 8 OSTickISR () 68-69
4.2.9 OS_CPU_C.c file transplantation 69-71
4.2.10 other functions 71
4.3 μC / OS-Ⅱ in MC9SDG256 on transplantation 71
4.4 CANopen communication the 71-75 4.4.1 CANopen protocol characteristics
72
4.4.2 Object Dictionary (Object Dictionary) 72-73
4.4.3 CANopen protocol set the CANopen data transmission 73
4.4.4 73-74
4.4 .5 nbsp network management; 74
4.4.6 Object Dictionary establish 74
4.4.7 system communication process 74-75
4.5 software design nbsp 4.5.1 The main program flow; 75-80
77
4.5.2 master controller the node tasks running process 77-78
4.5.3 Analog the amount of I / O nodes, the task of running processes 78-79
the 4.5.4 switch the amount of I / O nodes tasks running processes 79-80
4.6 Chapter Summary 80 -81
Chapter 5 test and data analysis with machine 81-88
continuous running test laboratory 200h 5.1 83-85
5.1.1 Speed ??and power changes the 83-84
5.1.2 wall maximum temperature efficiency changes between 5.1.3 wall temperature changes of 84-85
85
5.2 Laogang landfill 120h continuous run test 85-87
5.2.1 The main parameters of the running crew 86
5.2.2 heater tube wall temperature changes the 86-87 5.3 Chapter Summary
87-88
conclusion 88-90
references 90-93
to study the papers and obtained a master's degree during the research results 93-94
Acknowledgements the
biographical 94-95 95
Related dissertations
- Research and Application of Virtualization for Embedded Systems Based on ARM TrustZone
- The Research on the Small Multi-rotorcraft Based on Embeded Contorl System
- Design and Implement of Wood Processing Network Control System Based on Canopen
- Design of CAN Intelligent Controller Based on Linux
- Research of Intelligent Monitoring and Control Lower-End System Based on Canopen
- Design and Implementation of Drive Software of Track Monitor and Control Technology Based on CAN in Mine Transport System
- CAN bus based temperature control system of heat treatment shop
- Research of CANbus Control System Based on CANopen Protocol
- Equipment Driver Research Based on Linux Embedded Operating System
- Research of Locomotive Quality Monitor System Based on FieldBus
- The Research on the Intellignet Electrol-Hydraulic Roportional Vavle Controller Based on Fieldbus
- The Development of the Intelligent Module--The Fieldbus Gateway Based on the WorldFIP Protocol
- The Waterworks Automation System Based on the CANbus
- Embedded Internet access technology research and application in the monitoring and control network
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Video Surveillance System Based on Embedded Technology Research
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9