Design and Realization of Bus-based Control Module
- Author
- TangWenJing
- Advisor
- WangQiang
- School
- Harbin Institute of Technology
- Major
- Control Science and Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 16
- Citations
- 0
Abstract
Along with the innovation of automatic control technology, the complexity of thecontrol system is increasing day by day. Traditional control system design processshows its disadvantages gradually, it is difficult to development the system and the cycleis too long, it also difficult in debugging and maintenance, design is inefficient, theability of reconfiguration is low. Based on these problems, the bus-based and networkedcontrol system emerges as the time requires. The centralized system becomes to severalnetwork nodes by bus. At the same time, it is also decoupled into many functionalmodules what are independent of each other. This way can solve the above problemeffectively.The purpose of this paper is designing such bus-based control module. The modulechooses the RS485bus as the primary connection channel. It makes the module havestandard and rich interfaces, realize the functional modules of the system in the platformconnecting with bus, and have generality.First of all, this paper put forward a overall design according to the input/outputsignal and interface that the function module need, communication mode of the system.It gives the detailed description about connections, network mode, and the functions andthe standard interfaces the control module should have.Secondly, according to the framework of the overall design, it gives the schematiccircuit diagram of the bus-based control module and designs the printed circuit board. Itbuilds the peripheral circuit about many functions such as several communicationinterfaces, radio frequency, AD, DA, and Motor Drive and so on with SAM3U4Csingle-chip microcomputer at the core.Thirdly, it describes the design of the RS485bus communication protocol. Itcontains the format of the data frames, the format and coding of the operatingcommands, mechanism of communication among the modules, query mode, and thehow to realize the program flow of the communication protocol.Finally, it brings several bus-based control modules into practical application. Theyare used in five control system called two-axis turntables. It describes how to realize the related function and some key critical points in detail. Then software of upper machineaiming at monitoring to the whole production control system is given. The systems canachieve the functions such as positioning, target tracking successfully with the help ofthe bus-based control modules. In addition, it tests the process of the buscommunication. And the result of using the control modules is showed after that. Itdemonstrates the validity of the design.
Table of contents
Abstract 4-5
Abstract 5-9
Chapter 1 Introduction 9-14
1.1 subject background and significance 9 -11
1.1.1 subject background 9-10
1.1.2 purpose and significance 10-11 Situation 1.2 domestic and foreign research
11 -12
1.2.1 foreign research status 11-12
1.2.2 domestic research status 12
1.3 content and structure of the paper 12- 14
1.3.1 research 12-13
1.3.2 papers nbsp structure ; 13-14
Chapter 2 overall design 14-21
2.1 needs analysis 14-15
2.2 overall design 15-20
2.2.1 communication mode selection 15-16
2.2.2 networking 16-17
functional design nbsp 2.2.3 control Module ; 17-19
2.2.4 control Module processing core 19-20
2.3 Chapter Summary hardware 20-21
Chapter 3 control module design 21-37
3.1 power, clock , reset 21-25
3.1.1 circuit board power 21-22
3.1.2 SAM3U4C processor power 22-24
3.1.3 clock circuit 24
3.1.4 reset , erasing 24-25
3.2 UART and USART peripheral circuits 25-27
3.2.1 RS232 interface circuit 25- 26
3.2.2 RS485 interface circuit 26-27
3.2.3 RS422 interface circuit 27
3.3 PWM link circuit 27-29
3.4 AD converter circuit 29-30
3.5 DA converter circuit 30-32
3.6 ZigBee module circuit 32-34
3.7 USB interface circuit 34
3.8 JTAG interface circuit 34-35
3.9 other 35-36
3.9.1 NAND Flash expansion 35
3.9.2 SPI interface is reserved 35-36
multiple test points 3.9.3 36
3.10 Summary 36-37 <br / > design and implementation of communication protocols in Chapter 4 design 37-48
4.1 control Module RS485 communication protocol 37-43
4.1.1 data frame format 37-39
4.1.2 information on the meaning of the data frame 39-41
4.1.3 communication mechanism 41-43
achieve 4.2 RS485 communication protocol 43-47
4.2.1 data frames received 43-44
frame processing 4.2.2 data 44-46
4.2.3 data frames sent 46-47
4.3 Chapter Summary 47-48
Chapter 5, the practical application of the control module 48-68
5.1 control module application platform 48-55
5.1.1 connectivity solutions 48-49
problem in communication points to note 5.1.2 bus 49- 50
5.1.3 actual test results 50-55
5.2 major Features 55-65
5.2.1 PWM motor drive 55-57
5.2.2 AD sampling 57-59
5.2.3 DA converter 59-61
5.2.4 incremental encoder position data obtained 61-65
5.3 PC monitoring software designed 65-67
5.4 Summary 67-68
conclusion 68-70 <br / > References 70-75
Thanks 75
Related dissertations
- The Research on Standardization of the Basic Accounting
- Accounting Information Technology Standards Development and Implementation of Research-for Example in XBRL
- Research on the social security public service standards
- Research on the Standarisation for China Informal Financial Development
- Studies on Standardization of the Informal Finance in Rural Areas of Shandong Province
- Normalization of Informal Finance
- Research on the development paths of specification in Taizhou city of local financing platform
- The Research on the Evaluation System of the Standardization of Chinese Fast Food
- Zhuhai City Bus Branding Research
- Research on Development Strategy for Standardized Farm Products Industrial Cluster in Laiyang Shandong Province
- Study on the Development Strategy of Shouguang Vegetable Lndustry
- Analyse on the Agricultural Standarization of Theory and Practice in Ru Shan City
- Shaanxi Xian Renliu Township Rural Financial Management Standardization Research
- Research on Standardization Strategy Implementation of Panyu District
- Research on Capital Management Standardization in Yuanzhu Company
- Research on the theory and practice of the implementation of quality strategy - strong regional new city development in Guangzhou City, Panyu District as an example
- The Research on the Standardization of the Product Type
- Design and Implementation of Bus Monitoring System Based on Wireless Network
- A Bus Body Control System Design Based on CAN Bus
- The Research on Modular Modeling of Autonomous Underwater Vehicle