Development of Industrial Digital Command Telephone System Based on CAN Bus

Author
DanChengFu
Advisor
LiuXiaoMing
School
Chongqing University
Major
Circuits and Systems
Classification
TN916.2 Telephone lines, telephone network
Degree
Master's thesis
Year
2013
Downloads
1
Citations
0

Request the full text

Abstract

In the scheduling environment of industrial field, transportation, power system andso on, there always produce voice command scheduling, contact, or monitoring andother needs. However most voice communication system are based on the traditionalcircuit-switched technology, routing technology or Public Switched Telephone Network(PSTN). Traditional voice communication system has many defects, such as when nodeincreases, the address will be very large, which provides the designer with a heavyworkload. It brought a heavy burden to the maintenance as there are a wide variety ofcomponents and the number of cables. It waste bandwidth because of low or no voicecompression. It can not meet a variety of requirements because of its singlecommunication mode. In actual R&D and use, it often causes complex development insystem, manufacturing and maintenance costly and other drawbacks.As one of the multi-master serial field bus, CAN bus can support for distributedcontrol effectivly. CAN bus has many features such as simple communication hardwareinterface, flexible choice of communication medium, low prices ans so on. Thus CANbus was favored by the interconnection of field devices and was widely used in theautomotive automation, building automation, industrial control and other fields. CANbus mainly works in data link layer and physical layer of OSI model, it is an all-digital,two-way and multi-master field bus. CAN bus has many advantages such as strongerror-correction capability, long distance of transmission, fast transmission speed, stronganti-interference ability and so on. Therefore, it has an enormous practical significanceto achieve a voice communication system constituted by the CAN bus. Currently, theapplied research in voice communication system based on CAN bus is in the initialstage.On these bases, this article discusses the developed of digital commands telephonesystem based on CAN bus,which was used in industrial command scene.The paper described CAN bus technology and voice codecs principle in detailfirstly. Then use the theory of queuing theory to modeling and analysis the datatransmission on CAN bus. Analysis results is used to guide the parameters settings ofthe system at last. In hardware system, industrial-grade ARM9chip AT91SAM9260isused as the main system controller. AT91SAM9260is equipped with voice codecmodule and voice compression module to complete voice digitizing. By controlling the CAN interface module, AT91SAM9260can make the system connected to the CAN busnetwork. Then with auxiliary button module, display module, storage module, RTCmodule etc, a hardware environment which core as ARM9of instructions telephonywith multifunction was build. The system software was based on μC/OS-Ⅱ. Thedesign of the system application software followed by the steps of systemcommunication protocol design, state machine design and task division. At the first halfof the section the paper describes the technical principles of the system and at thesecond half the paper elaborates hardware and software design and system test. The testresults show that the system is stable and reliable, it reached design expectations.

Table of contents

Summary 3-4 ABSTRACT 4-9 1 Introduction 9-13 1.1 Introduction 9-10 1.2 domestic and international research and development raised and significance 10-11 1.3 topics 11-12 1.4 the main topics 12-13 1.4.1 The main contents 12 1.4.2 articles chapters arranged 12-13 2 describes the technical principles and solutions identified 13-29 2.1 CAN bus technology introduced hierarchy nbsp 13-19 2.1.1 CAN nodes ; 13-14 2.1.2 basic Concepts 14-15 <br / > 2.1.3 packet transmission 15-17 2.1.4 packet filtering 17-18 2.1.5 packet checksum 18 <br / > 2.1.6 coding 18 2.1.7 error handling 18-19 2.1.8 failure to define 19 2.2 audio codec technology digitize 19-22 2.2.1 voice 19-20 2.2.2 voice codec technology 20-22 2.2.3 voice encoder performance evaluation 22 2.3 voice transmission on the CAN bus analysis 22-26 2.3.1 queuing theory foundation 22-24 <br / > 2.3.2 voice transmission on the CAN bus analysis 24-26 2.4 hardware and software selection and program to determine 26-29 3 system hardware design 29-45 3.1 host controller module 29-33 3.1.1 AT91SAM9260 chip introduced 29 3.1.2 AT91SAM9260 peripheral circuit design 29 -33 3.2 CAN interface module 33-36 3.2.1 CAN controller 33-35 3.2.2 CAN transceiver 35 - 36 3.3 voice processing module 36-41 3.3.1 speech codec module 36-38 3.3.2 voice Compression module 38 - 41 3.4 other functional modules 41-45 3.4.1 LCD LCD module design 41 3.4.2 I2C interface module design 41 - 45 4 system software design 45-73 4.1 software overall structure 45-46 4.2 IAR development tools introduced 46 4.3 driver software design 46-54 start 4.3.1 system 46-48 4.3.2 CAN communication module programming 48-51 4.3.3 voice Processing 51-53 4.3.4 other modules are designed 53-54 4.4 system communication protocol design 54-59 4.4 .1 ID assigned 54-55 4.4.2 frames 55-56 4.4.3 voice implementations 56-59 4.5 application software design 59-73 4.5.1 μC/OS- Ⅱ Introduction 59-61 4.5.2 μC/OS- Ⅱ transplant 61-63 4.5.3 task design 63-73 5 system testing and analysis 73-77 5.1 test Method 73-74 5.2 test results 74-77 6 summary and Outlook 77-79 6.1 summary 77 6.2 Prospects 77-79 Thanks 79-81 References 81-85 Appendix 85-90 A. part of the source code 85-89 B. partial schematic 89-90 C. published during the author 's master's degree thesis topic 90 D. master's author participate in research projects during graduate 90

Related dissertations

  1. Design and Implementation of Intelligence Residential Intrusion System Based on CAN Bus
    ChenYi ·Shanghai Jiaotong University ·2008 ·Master's thesis
  2. Design of Portable Flue Gas Analyzer Controller Based on ARM
    LiChao ·Xi'an Technological University ·2012 ·Master's thesis
  3. Research and Implementation of Smart Valve Controller with High Cost Performance and Remote Network Control
  4. The Design of Embedded Network Video Surveillance System Based on ARM9
  5. Data Acquisition System of Cavern Based on Embedded Web Server
  6. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  7. Industrial Field Data Acquisition System Design Based on CAN Bus
  8. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  9. Research on Indoor Localization System for Intelligent Wheelchair
  10. Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
    LiShun ·Northeastern University ·2012 ·Master's thesis
  11. Research on the Digital Controller and PID Parameter Tuning of the Proportional Valve
    ZhangZuoZuo ·Zhejiang University ·2014 ·Master's thesis
  12. Design of Cutting Robot System Platform Based on ARM
    QiChong ·Harbin Engineering University ·2013 ·Master's thesis
  13. AGV car design and development of image recognition and motion control technology based on
  14. Research and Implementation of Intelligent Regulator Based on ARM
    MengFanBing ·Dalian Polytechnic University ·2011 ·Master's thesis
  15. Design and Implementation of Ethernet Transfer Based on ARM
    LiMingJian ·Dalian University of Technology ·2013 ·Master's thesis
  16. Research and Design of Embedded Network Video Surveillance System Based on ARM
  17. Embedded Short Distance Wireless Voice Terminal Design and Implementation
  18. The Research of Secure Routing Protocols in Ad Hoc Networks and Its Implementation on Embedded Systems
  19. Design of Wireless Sensor Network System Based on Multi-sensor
    XuJiaDong ·University of North ·2014 ·Master's thesis
  20. Design and Implementation of Video Surveillance Systems Based on Android Smartphones
    LangNing ·Northeastern University ·2013 ·Master's thesis