The Embedded Industrial Control Module Based on iCAN Protocol
- Author
- GouZuo
- Advisor
- YinGang
- School
- Inner Mongolia University of Technology
- Major
- Detection Technology and Automation
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 12
- Citations
- 0
Abstract
With the rapid development technology of information, the fieldbus technology hasbecome a hot technology of concern in automatic control area. And the CAN bus hasproved to be one of the most widely used field bus in the world with its advantages ofreliability and flexibility, which has the incomparable superiority in many fields, likeautomotive electronics, automatic control and so on. At present, the iCAN fieldbusprotocol, produced by Zhiyuan of Guangzhou, with its concise and convenientcharacteristics attracted much attention especially for the domestic users.The embedded industrial control core module designed in this paper includecompleted CAN-bus communication circuit and reliable iCAN high-level protocol, andan effective way of data collection and communication is set between masterequipment and the site signal. The users can construct the CAN-bus applicationnetwork flexibly according to the backplane designed by themselves. The design ofthis paper has certain engineering application value and research significance in thedevelopment of industrial control network.It is introduced the research background, purpose and significance of control moduleand described the related knowledge of field bus technology and CAN-bus in thisthesis. The parts of hardware and software of this module was detailed described andanalyzed. This module with industrial-grade32bit ARM processor LPC11C14of CANcontroller can be configured as many as8road DI port,8road DO port,4road10bitADC,4road PWM output. The part of CAN application layer with standard iCANprotocol, has better versatility and provide flexible data collection scheme for users. Toensure the stably and reliably operate in the industrial environment, the high-speedsignal isolation devices and bus protection devices was used in CAN-buscommunication port and the watchdog and dedicated power reset chip was applied inthe peripheral hardware.To sum up, the embedded industry control module based on iCAN protocol is acommon core module. In the long-term, it can reduce the investment cost of users andespecially suit for the network development and construction of real-timecommunication with remote, more nodes and high reliability. The research designed in this subject have broad prospects for development for the current development trend ofindustrial Ethernet and the standardization of fieldbus application layer.
Table of contents
Abstract 3-4
Abstract 4-9
first chapter 9-12
1.1 research background 9
1.2 significance of the subject 9-10
1.3 overall design requirements of the subject main contents of 10-11
1.4 topics 11-12
The second chapter of CAN bus technology and its application layer protocol 12-19
2.1 CAN bus Overview 12
2.2 CAN bus protocol specification Introduction 12- 13
2.2.1 CAN communication reference model 12-13
2.2.2 CAN frame format 13
2.3 ICAN protocol Introduction 13-18
2.3.1 iCAN protocol noun explanation 14
addressing 2.3.2 iCAN network equipment 14-15
2.3.3 data communication model 15
2.3.4 connection-based communication 15-16
2.3.5 device model 16-17
2.3.6 resource node allocate 17
2.3.7 iCAN message identifier 17-18
2.3.8 iCAN data section defines 18
2.4 chapter Summary 18-19
Chapter III embedded control module hardware design 19-32
3.1 system hardware design 19-29
3.1.1 master chip LPC11C14 introduction and pinout configurations 19-24
3.1.2 power circuit 24-25
3.1.3 system reset circuit 25-26
3.1.4 system clock circuit 26-27
3.1.5 debugging interface with ISP interface circuit 27
3.1.6 memory expansion circuit design 27-28
3.1.7 CAN communications interface circuits 28-29
3.2 embedded control module hardware physical map and pin definition wiring 29-30
3.3 printed circuit boards as well as anti-jamming measures 30-31
3.4 Summary 31-32
Chapter IV embedded control module software design 32-65
4.1 the main function design 33-34
4.2 system initialization 34-38
4.2.1 system Clock configuration 34-35
4.2.2 GPIO initialization 35
4.2.3 timer initialization 35-36
4.2.4 AD module initialization 36
4.2.5 PWM output initialization 36-37
4.2.6 UART initialization 37-38
4.2.7 I2C initialization 38
4.3 user application design 38 -42
4.3.1 user initial parameter setting program designed 38-39
4.3.2 data acquisition program designed 39-41
4.3.3 data output program design 41-42
4.4 CAN module application design 42-49
4.4.1 CAN module data structure 42-44
4.4.2 Creating CAN soft node 44-45
4.4.3 CAN module initialization 45-48
4.4.4 CAN packet transmission program 48-49 <br / > 4.5 ICAN protocol based packet processing program design 49-64
4.5.1 iCAN module communication mode 49-51
resource allocation nbsp 4.5.2 module IO nodes ; 51-52
4.5.3 MAC ID detection 52-53
4.5.4 to establish a connection 53-54
4.5.5 digital input port control controls 54-58
4.5.6 digital output port 58-59
4.5.7 analog input port control 59-61
control 4.5.8 analog output ports 61-62
4.5.9 delete the connection 62-63
4.5.10 device reset 63- 64
4.6 Chapter Summary 64-65
Chapter commissioning and operation 65-76
5.1 hardware circuit debugging 65
5.2 communications software debugging 65-75
5.2.1 preparations 65-67
5.2.2 MACID detection 67-68
5.2.3 establish a connection 68-69
5.2.4 acquisition digital input port 69-71
5.2.5 write digital output port 71-72 <br / > 5.2.6 acquisition of analog input port 72-73
5.2.7 write PWM output port 73-74
5.2.8 device reset 74
5.2.9 delete the connection 74-75
5.3 Chapter Summary 75-76
Chapter summary and Outlook 76-77
6.1 summary 76
6.2 Looking 76-77
references 77-79
Appendix 1 79-80
Appendix 2 80-81
Thanks About 81-82
author 82
Related dissertations
- Engine Room Monitoring System Based on the Embedded Web Server
- Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
- Research of Surface Roughness Network Data Collector System Based on ARM
- Research and Design on Embedded Face Recognition Entrance Guard System
- Research of the Embedded Tumor Medical Image Analyzer
- Research on Image Processing System of Embedded Digital Inkjet Printer
- The Study and Design of Embedded Multifunction CNC Platform Based on ARM
- Plant3D Information Acquisition System Automatically
- Research and Implementation of Embedded Remote Monitoring System Based on ARM
- The Design of Multi-channel Data Acquisition System for Marine
- Distributed Optical Fiber Temperature Measurement System Based on ARM
- The Research and Design of Embedded Fresh Air Monitoring System Based on ARM
- Research and Design of the Embedded Network Control System Based on ARM&Linux
- Research on Control System of Overflow Dyeing Machine Based on ARM and CAN Bus Technology
- Research and Implementation of Controller for Data Acquisition Based on ARM&Linux
- Design of Embedded Remote Monitoring System for Intelligent Home
- Research and Implementation of Embedded System in Intelligent Household
- Effects of the Multi-National Corporation to China embedded industrial agglomeration
- The Remote Wireless Control System Based on ARM Processor
- The Research of Household Remote Monitoring Based on Embedded Web Server