The Design of Interpolating the Optical Encorder Based on TMS320F2812

Author
HeChuanMin
Advisor
YangJianWu
School
Beijing University of Technology
Major
Mechanical and Electronic Engineering
Classification
TH74 Optical instruments
Degree
Master's thesis
Year
2008
Downloads
413
Citations
2

Request the full text

Abstract

Photoelectric rotary encoder is a high-precision measurement of circular grating as the detection element and light, machine, electricity in one digital angle measurement sensor, a wide range of applications in the field of industrial production. In many cases, high-resolution raster encoder. Currently, printing machinery shaftless printing industry innovation and modernization, one of the basic means to achieve higher productivity and economic efficiency. Shaftless dual synchronization loop control system is a speed and position (phase), the system requires two sensors of the position and velocity, but in order to simplify the complexity of the system and reducing costs, in the servo system usually only mounting position sensors, a speed signal by the position signal to obtain the time differential. At present, foreign shaftless drive system generally adopted a resolution greater than 1 million lines / rev rotary position encoder. SERCOS standard rotation angular resolution of 3.6 million lines / rev. To accurately measure an angle of rotation, typically there are two methods: one is to use a grating has a very high precision encoder, another method is to subdivide the the existing general accuracy of the encoder. Under normal circumstances, the combination of both methods is the best solution. However, the the grating encoder output signal often with various forms of error, is not suitable to be used directly for the subdivided input. Therefore the main body portion of this article is a grating encoder automatic error correction method, it can be automatically corrected in accordance with the input of the grating encoder error and greatly improve the degree of the rules of the raster output signal of the encoder can be used for incremental or absolute encoder segmentation error correction, which can make the encoder work properly in various even harsh environments, improve the encoder anti-jamming ability to work. 2812 the subject mainly to improve the subdivision precision and method using numerical analysis program to achieve the relatively simple and flexible. The hardware and software design includes: before AD converter uses a the hardware correction AD sampling method; ultra-low noise, low ripple power, as well as ultra-low-noise op amps to reduce the noise of signal segments; future applications in the product among Interface communication and control, mainly through the dual-port RAM; while in the measurement error in the assessment process display results using the NI virtual instrument the HSDIO NI 6552. In software design, the use of a one week period uniform extraction of 2 groups of 50 samples, and take multi-value fitting to establish five yuan once equations, the Gauss method for solving equations, calculated five segments error parameters, after subdivision calculation; calculation consists of two parts, namely 2812 QEP counting part of the large numbers and meter decimal segmentation part, part of the segments by the ADC and the calculated output; calculation of the number of segments, segmentation using different anyway, the cutting method of calculating the angle, the calculation uses a new positive cosine signals into the form of a sawtooth signal all the way, and that the non-ideal sawtooth signal was added in the calculation of the error compensation.

Table of contents

Abstract 3-4 Abstract 4-9 Chapter 1 Introduction 9-15 the the 1.1 topics academic background and significance of the study 9-10 of 1.2 segments grating encoder technology at home and abroad overview 10-14 1.2.1 segmentation scheme 10-11 1.2.2 subdivision scheme 2 1.2.3 subdivision scheme 3 11-13 1.2.4 Project subdivision scheme 13-14 1.3 research 14-15 Chapter 2 grating measurement principle and subdivision hardware design 15-30 2.1 grating measurement principle 15-17 2.1.1 moire fringe effect 15-16 2.1.2 grating measurement principle 16-17 2.2 hardware basic idea 17-18 the 2.3 grating encoder signal input processing 18-20 2.3.1 op amp the buffer input unit 18-19 2.3.2 comparator unit 19-20 2.4 power supply unit 20-22 2.4.1 power supply isolated power supply part (VCC) 2.4.2 op amp power supply part 20-21 the 2.4.3 DSP power conversion power supply unit 21-22 2.5 high-precision subdivision function circuit design 22-25 2.5.1 anti-jitter chaos counting unit and QEP input 22 2.5.2 ADC hardware error correction circuit 22-24 2.5.3 DAC correction DC component reference unit 24-25 2.6 memory unit interface 25-28 2.6.1 DARAM interface communication unit 25-26 2.6.2 DSP external memory unit 26-28 2.7 the DSP peripheral function circuit 28 2.7.1 serial communication interface 28 2.7.2 DSP reset function to achieve 28 2.8 data selection function to select the unit 28-29 2.9 This chapter Summary 29-30 Chapter 3 subdivision software design 30-49 3.1 Software Design Overview 30 3.2 program memory space allocated 30-32 3.3 segmentation functions to achieve 32-35 3.3.1 ADC error correction function 32 3.3.2 SCI communication interface function 32-34 3.3.3 motor speed measurement function 34-35 3.4 segmentation errors to solve theoretical foundation 35-38 3.4.1 grating encoder output signal error sources 35 3.4.2 error theoretical basis 35-36 3.4.3 segmentation error parameters function 36-38 3.5 segmentation hardware circuit driving function 38-40 3.5.1 DAC driver comparator DC level program 38 3.5.2 encoder signal voltage range of adaptive program 38-40 3.6 software subdivision design 40-47 3.6.1 mathematical basis 41-43 3.6.2 software design 43-44 3.6.3 encoder signal quadrant interval judgment 44-45 3.6.4 the subdivision and nonlinear sawtooth compensation program 45 3.6.5 Test Results 45-47 3.7 data output communication interface function 47 3.7.1 GPIO port output data to the HSDIO program 47 the 3.7.2 DARAM communication interface functions 47 3.8 This chapter Summary 47-49 the of Chapter 4 subdivision debugging and segmentation error analysis 49-59 4.1 virtual instrument commissioning software design 49-55 4.1.1 to virtual instrument subdivided display module 51-53 4.1.2 Design observation Lissajous program 53-55 4.2 SCI serial debugging VC program design 55 4.3 interpolation error assessment 55-57 4.4 This chapter Summary 57-59 concluded 59-60 the References 60-63 Appendix 63-67 studying for a master's degree during the published papers 67-68 Acknowledgements 68

Related dissertations

  1. Research on real time high reliable fault tolerant architecture based communication protocol
    ZhangZunWei ·Qufu Normal University ·2012 ·Master's thesis
  2. Research of Ethernet/Ip and Modbus-TCP Communication Adapter Based on Dual-port RAM
    WeiYi ·Tianjin University of Technology ·2012 ·Master's thesis
  3. DSP Based Wireless High Speed Train Noise Monitoring System Design
    XinGuang ·Southwest Jiaotong University ·2012 ·Master's thesis
  4. Design and Implementation of Pulsed Eddy Current Testing Data Acquisition System Based on Embedded Dual-CPU
  5. The Research and Design of STATCOM Based on DSP
  6. Image tracker integrated debugging system
  7. Research on DSP Power Quality Analysis System
    PengXiaoJun ·Nanchang University ·2008 ·Master's thesis
  8. Floating observation platform for computer systems analysis and design
  9. Design and Analysis of Slave Interface for NCS Based on PROFIBUS
    SongLiJie ·Hebei University of Technology ·2007 ·Master's thesis
  10. IP Addressable Audio Playback System Based on the Network Microcontroller
    YuBin ·Taiyuan University of Technology ·2008 ·Master's thesis
  11. Design and Realization of USB Host Interface on Digital Set-Top-Box
    WangShaoLong ·Wuhan University of Technology ·2008 ·Master's thesis
  12. Programmable digital storage oscilloscope design
    SongJianTing ·West China University ·2008 ·Master's thesis
  13. A Design of Portable Digital Oscillograph Based on MCU
    FanXueChao ·Suzhou University ·2007 ·Master's thesis
  14. Live multi-channel digital audio streaming server designed studies
    ZhangHong ·Taiyuan University of Technology ·2007 ·Master's thesis
  15. Design and Realize of Control Device Test Equipment of Navigation Computer
  16. The Design and Manufacture of Counter Array Based on Dual-port RAM
    ChengLuMing ·Capital Normal University ·2004 ·Master's thesis
  17. Modelling and Simulation of Flux Observer at Zero/Very Low Speed Situation and the Design of High Performance Digital Platform
  18. Profibus fieldbus its DC transmission system
  19. Multiple precision CNC switching power supply control system
    XuYanZuo ·Zhejiang University ·2003 ·Master's thesis
  20. The Design and Realization about the Fax Signal Digital Processing Module
    DongRongGuo ·Harbin Engineering University ·2007 ·Master's thesis