TMS320F2812 - based data acquisition and CAN bus transmission

Author
WuJiYun
Advisor
CaiZhengYu
School
Nanjing University of Technology and Engineering
Major
Communication and Information System
Classification
TP274.2 Data collection and processing systems
Degree
Master's thesis
Year
2009
Downloads
920
Citations
17

Request the full text

Abstract

Currently , the data acquisition system is widely used in many fields of scientific research , education , industry , water conservancy . With the rapid development of computer and information technology , digital signal processing has become a key technology for high-speed real-time processing , and the emergence of the digital signal processor (DSP) chip provides the possibility for the realization of the digital signal processing algorithm . The system uses TMS320F2812 as the core processor , the completion of one analog signal data acquisition , the collected data is temporarily stored in a memory chip , digital filtering , the transmission to the computer display . F2812 has a wealth of on-chip peripherals , and use it as a processor circuit design , the circuit structure is designed to be simple , low cost , relatively short development cycle . This paper introduces a system implemented specific programs, including the hardware interface design and software design of the module . Data acquisition part , the F2812 comes within 12 AD converter module . Given a specific software implementation process . In general , the actual occasion bipolar input signal , so before fed into the analog-to-digital converter convert unipolar signal bipolar signals into unipolar signal circuit is introduced . F2812 exist within the gain and offset errors , have a certain impact on the accuracy of the system , the paper proposes a method to improve sampling accuracy . Digital filtering section , the choice of the FIR low pass filter , using the design method of the window function . We take advantage of the Matlab FDATool tool , designed to better meet the requirements of the filter , and then export the filter coefficients generated header file contains the the filter project file folder . The characteristic of this method is that as long as the head of the same file name , whenever the parameters of the filter is changed , the coefficients in the header file is also changed to facilitate debugging Simulation , greatly reducing the development cycle of the DSP . The data transfer is based on the completion of the CAN bus . Integrated CAN the F2812 on eCAN module controller provides a complete CAN protocol to reduce CPU overhead , only external transceiver device . This design uses the the TI's SN65HVD230 as transceivers , it is the CAN protocol controller and the physical bus interface . In this paper, the CAN module initialization , the CAN message sending software design .

Table of contents

Summary 3-4 ABSTRACT 4-8 1 Introduction 8-12 1.1 subject background 8-11 < br /> 1.1.1 data acquisition technology the 8-9 the 1.1.2 digital filtering techniques 9 1.1.3 CAN bus communication 9-11 1.2 paper to do the work the 11-12 2 DSP Introduction 12-23 2.1 DSP system 12-14 2.1.1 DSP constitute 12 the 2.1.2 DSP system characteristics the the 2.1.3 DSP system design process 12-13 13-14 the the 2.2 DSP chip the 14-17 2.2.1 DSP chip features 14 the 2.2.2 DSP chip select 14-16 2.2.3 DSP chip applications and development 16-17 2.3 the DSP chip system developed 17-20 2.3.1 System integration and debugging tools 17-19 2.3.2 code generation tools 19 2.3.3 simple operating system the 19-20 2.4 CCS development environment 20-23 2.4 .1 CCS, be installed on 2.4.2 CCS2.0, 20-21 21 2.4.3 TDS510USB, driver installation are found; 21 2.4.4 CCS2, .0 system configuration the 21-23 3 device selection the 23-41 3.1 overall system implementations 23 3.2 the TMS320F2812 chips introduced 23-35 3.2.1 TMS320F2812 chip performance 23-27 3.2.2 F2812 kernel composition 27-28 3.2.3 F2812 clock unit 28-29 3.2.4 F2812 mapping space 29-30 3.2.5 F2812 interrupt 30-31 3.2.6 F2812 outside set introduced 31-35 3.3 system hardware design 35-41 3.3.1 power section 3.3.2 clocks, 35-36 part 36-37 3.3.3 reset circuit 37 3.3.4 system RAM to expand outside 37-38 3.3.5 JTAG Boundary scanning interface design 38-39 3.3.6 AD module design 39 3.3.7 CAN module design 39-41 data acquisition the realization 41-54 4.1 / D conversion unit TMS320LF2812 Overview the 41-46 4.1.1 AD conversion unit characteristics 41-43 4.1.2 Sort works nbsp 43-44 4.1.3 the ADC clock controls; 44-46 4.2 A / D conversion engineering program designed 46-51 4.2.1 Programming 46-50 4.2.2 acquisition results 50-51 4.3 needs to be improved 51 - 54 4.3.1 AD input signal conditioning the correction 51 4.3.2 AD accuracy 51-54 the 5 digital filter design 54-66 the 5.1 digital filters overview the 54-55 structure 5.2 FIR digital filter the 55-58 5.2.1 Direct structures 55 5.2.2 cascade structure 55-56 5.2.3 linear phase structure 56-57 5.2.4 frequency sampling type structure 57-58 5.3 FIR filter window function design method the 5.3.1 window function design method 58-61 58-60 5.3 nbsp choice of .2 window function; 60-61 5.4 FIR filter DSP implementation the 61-66 5.4.1 FIR filter program design 61-63 < br /> 5.4.2 filtering results 63-66 CAN bus transmission design 66-80 6.1 CAN module structure 66-72 <br / > 6.1.1 eCAN module features the 66-68 6.1.2 CAN network and module 68-69 6.1.3 eCAN, controller Introduction 69 -71 6.1.4 message mailboxes the 71-72 6.1.5 eCAN, register 72 6.2 the CAN Module software design 72-80 < br /> 6.2.1 eCAN module initialization 72-76 6.2.2 messages sent the 76-78 6.2.3 Send Results 78-80 7 Summary and Outlook 80-81 thank the 81-82 Reference 82-84

Related dissertations

  1. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  2. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  3. The Design of Hybrid Electric Bus Data Acquisition and Test System
    LiHuiXian ·Hunan University ·2012 ·Master's thesis
  4. Design and Implementation of Multi-channel Data Acquisition System
  5. Research on Data Acquisition System of Can Bus
  6. The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
    QianYiWei ·Hunan University ·2013 ·Master's thesis
  7. Develop Intelligent Monitoring and Controlling System of Bioreachor
  8. Design and Implementation of Converter-based Data Acquisition System
    LiJian ·Tianjin University of Technology ·2013 ·Master's thesis
  9. Performance Testing System for PMSM Based on CAN Bus
  10. Information Colletion of the Vehicle Bus and Electrical Contact Performance Testing Research
    HuBin ·Harbin Institute of Technology ·2012 ·Master's thesis
  11. Design of Multi-Sensor Data Acquisition System Based on CAN-BUS
    ZhangZongHang ·Tianjin University ·2012 ·Master's thesis
  12. Realization of Data Acquisition and Monitoring Systerm Based on Can Bus in Production Line
    JiangLiLi ·Inner Mongolia University ·2012 ·Master's thesis
  13. The Artillery Disturbance to Line of Sight of the Shipboard Electro-optical Tracker and the Solution
    LuFeng ·Xi'an Technological University ·2013 ·Master's thesis
  14. Design of the Multi-channel Data Acquisition System Based on DSP+ARM Mode
  15. Development and Application of Vibration Signal Acquisition System Based on DSP
    WuZhenZuo ·Guangdong University of Technology ·2013 ·Master's thesis
  16. Research of Servo Motor Based on Modularized and Open System Architecture
    MeiYiCheng ·Ningbo University ·2012 ·Master's thesis
  17. The Research and Implementation of Railway Wireless Transmitter-receiver Base Band Signal Processing Module
    LiYanBing ·Tianjin University ·2007 ·Master's thesis
  18. Research on the Reform of Taxation Information Management Mechanism in China
    ZhangYiXiang ·Huaqiao University ·2013 ·Master's thesis
  19. The Ningbo Public Transit Circuit Capacity Model and Practical Research
    XuBin ·Ningbo University ·2013 ·Master's thesis
  20. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis