Development of a New Type Data Processing System for Photoelectric Encoder
- Author
- WangJingHeng
- Advisor
- JiaWenChao
- School
- Changchun University of
- Major
- Detection Technology and Automation
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 135
- Citations
- 0
Abstract
Photoelectric encoder widely used in CNC machine, robotics, radar, Photoelectric theodolite, military, aerospace and other fields, is an ideal sensor for automation equipment. With the development of industrial control in our country, interface technology of Photoelectric encoder for the acquisition and transmission has made great progress. How to the Photoelectric encoder connected to the industrial control bus and achieve data collection and delivery has become important issue to be study and solved. The output data of traditional Photoelectric encoder is the original single-ended or differential signals which only represents the encoder disk signals, It is not conducive to monitoring and testing of fieldbus and not suited to the requirements of industrial control, common bus type Photoelectric encoder overcome the above disadvantages, it has become an intelligent node in industrial fieldbus. Sending the appropriate message to achieve Photoelectric encoder serial data transmission, it will meet the requirements of industrial control.In order to meet the requirement of the data collection and transmission, using dsPIC30F4011digital signal controllers, which is produced by Microchip Technology Inc, as the Photoelectric encoder data collection unit and the system controller. Using CAN bus and CANopen protocol as data transmission object, implementing the CANopen protocol communication. It can be an intelligent node in CANopen protocol.The study include:(1) Proposing a design of the CAN bus transmission base on CANopen protocol for the Photoelectric encoder, design the bus structure of the framework and common bus type Photoelectric encoder scheme, analysising the principles of the CAN bus and CANopen protocol structure, lay the foundation for the Programming.(2) Design Photoelectric encoder hardware architecture and the hardware schematic. Including the power supply circuit, the input and output circuits and CAN bus communication interface circuit etc. Using the QEI module collecte the data which is output form encoder, using the CAN controller module for data transmission.(3) Programming for the node of encoder and CANopen protocol which is the focus of the study. It including Photoelectric encoder data processing procedures and CAN bus communication, CANopen protocol communication object and the object dictionary realization.Finally, building the Photoelectric encoder node test board and the entire CANopen network for testing Photoelectric encoder node, verify the data content and test communication function the results show that Photoelectric encoder node implements the functions which is expected.
Table of contents
Summary 2-3
Abstract 3-8
first chapter 8-12
1.1 research background 8-9
1.2 development and research status development and status quo 9-11
1.2.1 analysis photoelectric encoder 9-10
1.2.2 CANopen protocol development and situation analysis 10-11
1.3 research significance main contents 11
1.4 topics 11-12
Chapter II intelligent data node overall design 12-18
2.1 photoelectric encoder type selection 12-13
2.2 fieldbus choice 13-14
2.3 select the application layer protocol determine nbsp 14-16
2.4 bus type photoelectric encoder data transmission scheme ; 16-17
2.5 Summary 17-18 <br / > Chapter III CAN bus protocol and CANOPEN principle and implementation 18-28
3.1 CAN bus Principle and realization 18-20
3.1.1 CAN bus Overview 18-19
3.1.2 CAN bus hardware product categories 19-20
hardware 3.1.3 CAN bus transceiver unit to achieve 20
3.2 CANOPEN principle analysis and Application protocol 20-27
3.2.1 CANopen protocol analysis principles define 20-22
3.2.2 CANopen protocol communication object 22-24 defined
3.2.3 CANopen protocol object dictionary 24-25
3.2.4 CANopen protocol state machine nodes and node communication model 25-27
3.3 of this chapter Summary 27-28
Chapter photoelectric encoder CANOPEN slaves and hardware design 28-39
4.1 slave system hardware design 28-32 <br / > 4.1.1 photoelectric encoder structure slave 28
4.1.2 photoelectric encoder slave control chip selection 28-30
4.1.3 other Functions node hardware design 30
4.1.4 system planning for each controller 30-32
4.2 photoelectric encoder nbsp slave controller main functional modules ; 32 -35
4.2.1 MCU internal integration modules and their interfaces 32-34
4.2.2 peripheral circuit design 34-35
4.3 heartbeat manage hardware from station design overall 35
4.4 jamming system design 35-36
4.5 test circuit design 36-38
4.6 Summary 38-39
Chapter CANOPEN slave optical encoder software design overall planning 39-66
5.1 software design 39-40
5.2 programming software and choice of development tools 40
5.3 overall process design program software programming 40-41
5.4 optical encoder and other functional modules 41-47
5.4.1 peripheral module initialization settings 41-43
5.4.2 photoelectric encoder data collection 43-44
5.4.3 photoelectric encoder data processing software 44-47
5.5 CANOPEN protocol implementations 47-64
5.5.1 the overall structure of the program 47-48
5.5.2 CANopen messages on the CAN bus transceiver control 48-50
5.5.3 CANopen object dictionary protocol implementations 50-53
5.5.4 NMT achieve communication 53-54
realize 5.5.5 PDO communication achieve 54-57
5.5.6 SDO communication 57-60
5.5.7 SYNC communications achieve 60-61
5.5.8 heartbeat protocol send error handling 61-62
5.5.9 CANopen protocol and emergency object EMCY message 62 - 64
5.6 node heartbeat consumer software design 64-65
5.7 Summary 65-66
Chapter VI optical encoder from the testing laboratory and station node analysis 66-70
build 6.1 CANOPEN protocol networks 66
6.2 optical encoder from the test station 66-68
6.2.1 optical encoder NMT slave node status test 66-67
6.2.2 photoelectric encoder slave SDO object function test 67-68
6.2.3 photoelectric encoder from test station emergency object 68
6.3 photoelectric encoder output data analysis 68-69
6.4 Summary 69-70
conclusion 70-71
Thanks 71-72
References About 72-75
Author 75
studying for a master's degree research period 75-76
Related dissertations
- Research on Key Technology of Miniature Single-Track Absolute Rotary Encoder
- The Development of Absolute Photoelectric Encoder Output Signal Intelligent Optimization System
- The Development of Output Signal of Intelligent Adjustment System for Absolute Optical Encoder
- Evaluation of Swimming Athletes in Upper Limb" Strength Endurance" Experimental Research on the Training Effect
- A High-Precision Angle Measurement System of a Simulation Swing Test Bench
- Research and design of Brushless DC motor servo control system
- System of a high speed feeding control device
- Investigation of CNC Bending Control System Based on Component Modular
- Digital sensor thickness measurement system and its application
- Digital Recorder with Index Indication
- The Design and Experiment of Photoelectricity Dynamic Torque Measurement System
- Design and Simulation of the Solar Tracking System
- Research and Study of Diditalized Cam
- The Electronic Integrate Test-Bed
- A Research on the Technique of Temperature Compensation for the Signal of High Precision Photoelectric Encoder
- Research of Auto-detection System of Hotoelectric Encoder Based on DSP
- Research on Multifunctional Position Interface Module in Servo System Based on TMS320F28035
- Research on Techniques of Information Acquisition and Location in Pavement Roughness Inspection