Research on the Data Acquisition System of Articulated Coordinate Measure Machine Based on CAN

Author
WangShiMin
Advisor
WangCongJun
School
Huazhong University of Science and Technology
Major
Materials Processing Engineering
Classification
TP274.2 Data collection and processing systems
Degree
Master's thesis
Year
2007
Downloads
49
Citations
0

Request the full text

Abstract

Flexible measuring arm in reverse engineering and industrial field detection due to its compact structure, small size, easy to carry, has a broad application prospects. Abroad, the technology has been very mature, but the price is very expensive. Therefore, flexible measuring arm localization is imminent. In this paper, on the basis of our predecessors, flexible data acquisition of the measuring arm to do a series of studies. This article first detailed analysis of the working mechanism of the flexible measuring arm the flexible measuring arm by multiple data acquisition nodes work together to achieve the purpose of the measurement, the overall relatively large amount of data collected, and each node has a sensitive response, between nodes demanding synchronization, but also due to the limitations of the mechanical structure, the communication lines with a minimum of wiring. Based on the above characteristics, this paper proposes a high real-time, flexible structure, high communication speed and cost advantages of CAN bus distributed real-time network model to integrated the P87C591 controller of the SJA1000 as the core, the design of each node on the CAN network The hardware module. CAN2.0 Technical specification only defines the data link layer and physical layer, the application layer needs flexibility to the user depending on the application. In accordance with the characteristics of the work of the flexible measuring arm P87C591 hardware kernel, developed the application layer protocol based on CAN network. Flexible measuring arm CAN protocol developed good or bad will directly affect the efficiency of network communication and the complexity of the software system, we take full advantage of the CAN multi-master features and message encoding characteristics, the application layer protocol designed to ensure real-time and reliability. Finally, the software implementation of the various nodes in-depth research. Due to the function of each node type, severity and urgency of the type responsible for the task, the program of each node must be individually prepared. From a software perspective, the flexible measuring arms acquisition accuracy depends on the system's real-time synchronization, the system all nodes in the design of the program runs through the real-time synchronization thinking. In order to be able to adapt to the different needs of practical application, the software system provides a flexible measuring arm operating parameters configuration interface; the same time, in order to improve the robustness of the system, the quality of communication continuously monitor and has a certain ability to repair itself .

Table of contents

Abstract 4-5 ABSTRACT 5-11 1 Introduction 11-20 1.1 flexible measuring arm domestic and foreign developments 11-14 1.1.1 foreign equipment Research 11-14 1.1.2 Domestic Equipment Research 14 1.2 Description and common species fieldbus compare 14-17 1.2.1 The concept of fieldbus control system (FCS) 14 1.2.2 CAN bus (Controller Area Network) 14-15 1.2.3 CAN bus with the common fieldbus comparison 15-17 1.2.4 The system uses CAN bus advantage 17 1.3 The origin and significance of issues 17-18 1.4 The main contents and chapters divided 18-20 2 flexible measuring arm data acquisition system overall program of 20-35 2.1 flexible measuring arm of the mechanical structure 20-22 2.2 flexible measuring arm mathematical model 22-26 2.2.1 Denavit-Hartenberg method Introduction 22-24 2.2.2 coordinate system and measurement equations of motion to establish 24-26 2.3 measuring arm flexible data acquisition needs analysis 26-27 2.4 based on CAN bus network topology 27-29 2.5 CAN Protocol Introduction 29-33 2.5.1 CAN communication logic level 29 2.5.2 CAN communication model 29-31 2.5.3 CAN message type 31-33 2.6 CAN bus system feasibility analysis 33-35 3 based on CAN bus network node hardware design 35-46 3.1 rotary encoder and decoder works 35-39 3.1.1 Encoder 35-36 3.1.2 decoder 36-37 3.1.3 encoder and decoder hardware connection between 37-38 3.1.4 encoder and decoder for communication between 38-39 3.2 with CAN controller and transceiver circuit 39-42 3.2.1 P87C591 Description 39-41 3.2.2 CAN module transceiver circuit 41-42 3.3 angle data acquisition node hardware circuit 42-43 3.4 trigger node hardware circuit 43-44 3.5 scan node, the image data collection nodes and angle data collection node hardware circuit 44-46 4 CAN Controller Area Network application layer protocol developed 46-57 4.1 Calculation of baud rate 46-47 4.2 CAN arbitration mechanism 47-48 4.3 flexible measuring arm node data communication model 48-50 4.4 identifier assignment scheme 50-54 4.4.1 Basic data frame classification 51 4.4.2 synchronous frame identification symbol assigned 51-52 4.4.3 Node alarm frames 52-53 4.4.4 configuration command frame 53 4.4.5 status report frame 53 4.4.6 angle data frame 53-54 4.4.7 image data frame 54 4.5 filter settings 54-57 5 system software to achieve 57-79 5.1 CPU communication between the controller and the CAN 57-61 5.1.1 CPU interface between the CAN controller functions 57-58 5.1.2 CAN controller initialization 58-59 5.1.3 data transceiver mechanism 59-61 5.2 angle acquisition node software design 61-70 5.2.1 angle acquisition node main processes 61-63 5.2.2 angle acquisition node CAN controller interrupt management 63-65 5.2.3 Trigger acquisition module 65-66 5.2.4 scan acquisition module 66-68 5.2.5 false alarm processing module 68 5.2.6 Configuration Command frame processing module 68-70 5.2.7 encoder and decoder for communication between 70 5.3 trigger node software design 70-72 5.3.1 the overall flow of the program trigger nodes 70-71 5.3.2 trigger contacts interrupt management 71-72 5.4 scanning node software design 72-75 5.4.1 Scanning the overall flow of the node 72-74 5.4.2 Scanning node sends interrupt handling 74-75 5.4.3 scanning node Timer 0 interrupt 75 5.5 point of collection node software design 75-78 5.5.1 Angle collection node main processes 75-76 5.5.2 Angle collection node CAN controller interrupt 76-77 5.5.3 Timer 0 interrupt node collection angle 77-78 5.6 image collection node software design 78-79 6 Summary and Outlook 79-81 6.1 Full Summary 79 6.2 Prospects 79-81 Thanks 81-82 References 82-85

Related dissertations

  1. The Design of Hybrid Electric Bus Data Acquisition and Test System
    LiHuiXian ·Hunan University ·2012 ·Master's thesis
  2. Research on Data Acquisition System of Can Bus
  3. The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
    QianYiWei ·Hunan University ·2013 ·Master's thesis
  4. Design of Multi-Sensor Data Acquisition System Based on CAN-BUS
    ZhangZongHang ·Tianjin University ·2012 ·Master's thesis
  5. Realization of Data Acquisition and Monitoring Systerm Based on Can Bus in Production Line
    JiangLiLi ·Inner Mongolia University ·2012 ·Master's thesis
  6. Research on the Reform of Taxation Information Management Mechanism in China
    ZhangYiXiang ·Huaqiao University ·2013 ·Master's thesis
  7. Analysis of Mechanism and Affection Factors for FDI Technology Spillovers
    XuHongWen ·Huazhong University of Science and Technology ·2013 ·Doctoral dissertation
  8. The Ningbo Public Transit Circuit Capacity Model and Practical Research
    XuBin ·Ningbo University ·2013 ·Master's thesis
  9. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  10. The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
  11. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  12. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  13. Design and Implementation of Alarming Management System about Fireproof and Burglar
  14. Design and Application of the Distributed Monitoring System Based on Embedded Web
  15. Research on Mechanical Vibration Testing System
    YaoFeiZhao ·Dalian Polytechnic University ·2008 ·Master's thesis
  16. Study on Embedded Data Acquisition System Application
    ZhangDong ·Dalian Polytechnic University ·2009 ·Master's thesis
  17. The Data Acquisition and Monitoring System of Gas-liquid Two-phase Flow Based on Data Acquisition Card and Kingview
    LiJian ·China University of Petroleum Hua Dong. ·2012 ·Master's thesis
  18. Development of ATE Signals On-line Monitoring Equipment
    QianKeWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. The Reliable Data Transmission System in the Maternal and Child Health Information Platform
    YangLei ·Guangxi University ·2012 ·Master's thesis
  20. Electromagnetic Tomography System for Biological Electrical Impedance Imaging
    LiXiaoKe ·Tianjin University ·2012 ·Master's thesis