Development of Sensor Network Node Using DSP and uC/OS-II RTOS

Author
ZhengJuMing
Advisor
ZhangHeSheng
School
Beijing Jiaotong University
Major
Power Electronics and Power Drives
Classification
TP212.9;TN929.5 Mobile Communications
Degree
Master's thesis
Year
2009
Downloads
144
Citations
0

Request the full text

Abstract

Acquisition of traffic status information is the basic problem in Urban Road Traffic Control.The existing road traffic control system which takes focus on processing information in central processing computer results in the pressure of data transmission and processing.And as the deployments of bottom sensors are independent of each other,the system can not form the sensor network to acquire traffic status in whole time-space.In response to these problems,a distributed method of traffic status acquisition based on sensor network is introduced into this paper.Bottom layer adopts fieldbus CAN transmission which is high reliability and easy to form network, while upper layer uses the Ethernet communication which is high-speed and informative.The system consists of access nodes,composite nodes and a central computer.The access nodes from the bottom realize the connection of sensors of different types,and the upper central computer uses Ethernet for high-capacity data transmission,while composite nodes on the middle layer burden the functions of protocol conversion and logical layer data fusion.Sensor network nodes developed by this subject have the functions of both composite nodes and access nodes,and occupy an important position in the whole sensor network system.Considering the development costs and system performance,we have designed the hardware and software of sensor network nodes.The development and debugging of sensor network nodes include the followings.First,multi-task management and scheduling by the system are achieved by transplanting uC/OS-Ⅱreal-time operating system into the TMS320F2812.Second,system implements the acquisition of traffic status basic information by using information acquisition circuit.Third,system implements the bidirectional conversion of CAN fieldbus and Ethernet by the design of protocol conversion(CAN-TCP/IP) module.Forth, this paper takes use of CPLD auxiliary control circuit,the LCD screen and keyboard to achieve local man-machine interface control.The remote monitoring of sensor network nodes is realized by the compilation of PC monitoring software which takes VC++ as the software development platform.To verify the success of transplantation on uC/OS-Ⅱreal-time operating system and the realization of multi-task system,we have done a full experiment. By taking a large number of experiments,we also verify the correctness of the protocol conversion(CAN-TCP/IP) gateway function and traffic status information acquisition function.Finally,through the local LCD screen and a remote PC monitor interface,we get the experimental results.The sensor network nodes developed by this issue meet the design requirements and expectations,provide a reference for the further study of distributed monitoring system.

Table of contents

Acknowledgements 5-6 Chinese Abstract 6-7 ABSTRACT 7-10 1 Introduction 10-16 1.1 background and research topics significance 10-11 1.2 research status 11-13 1.3 the main research topics 13-16 <br / > 1.3.1 main tasks 13 1.3.2 research technology roadmap 13-14 1.3.3 paper structure 14-16 <br / > 2 sensor network node hardware design 16-26 2.1 system Architecture 16-17 2.2 the main control circuit 17-20 2.2.1 The digital signal processor TMS320F2812 17-18 2.2.2 clock circuit 18-19 2.2.3 external memory device. 19-20 < br /> 2.3 information collection circuit 20-22 2.3.1 analog signal acquisition circuit 20-21 2.3.2 switch signal acquisition circuit 21 -22 2.3.3 digital pulse train signal acquisition circuit 22 2.4 protocol conversion (CAN-TCP/IP) interface circuit 22-26 3 uC / OS-Ⅱ operating system on TMS320F2812 transplant 26-36 3.1 task management and scheduling 26-28 3.2 inter-task communication mechanism 28-29 3.3 uC/OS- Ⅱ interrupts and clock 29-31 3.4 transplant uC/OS- Ⅱ 31-36 3.4.1 associated with the compiler the data type 32 3.4.2 of the code associated with the processor 32-33 3.4.3 kernel transplant function implementation 33-36 <br / > 4 sensor network nodes in uC/OS- Ⅱ platform to achieve 36-66 4.1 front and back mode, the system software architecture 36-38 4.2 based on uC / OS-Ⅱ platform system software overall structure 38-41 4.2.1 division of tasks and task priority setting 38 4.2.2 main function main () 38-39 4.2.3 protocol conversion (CAN-TCP/IP) mission 39-40 4.2.4 clock Synchronization 40-41 4.3 CAN network set 41-49 4.3.1 CAN bus network system structure 41-43 4.3.2 CAN communication program design 43-49 4.4 protocol conversion (CAN-TCP/IP) gateway designs 49-55 4.4.1 protocol conversion (CAN-TCP/IP) model building 50-52 <br / > 4.4.2 protocol conversion (CAN-TCP/IP) program design 52-55 4.5 sensor network node information collection 55-66 4.5.1 basic transport status information detecting method 56-57 4.5.2 switch digital acquisition module 57-59 4.5.3 analog signal acquisition module 59-60 4.5.4 DS18B20 temperature measurement module 60-66 5 PC monitoring software 66-72 5.1 overall functionality of the software design 66 - 67 5.2 system interface design 67-68 5.3 software design key technology 68-72 5.3.1 network programming technology 68-69 5.3.2 multithreading technology 69-71 5.3.3 double buffering graphics technology 71-72 6 experimental results and analysis 72 - 80 6.1 experimental setup 72-73 6.2 ethernet communication experiment 73-74 6.3 build and test a prototype system 74-80 <br / > 7 Conclusion 80-82 7.1 Summary 80 7.2 Prospects 80-82 References 82-84 <br / > Appendix A topic related real photos 84-86 Author Biography 86-90 dissertation dataset 90

Related dissertations

  1. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  2. Intelligent Video Surveillance System Based on DSP
  3. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  4. The Design of Monitoring System for the Photovoltaic Plant Based on DSP
  5. Design and Implementation of Multi-channel Data Acquisition System
  6. Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
  7. Wire Rope On-line Detection System Design Based on DSP
  8. IMU Data Acquisition and Processing System Design and Realization Based on DSP
  9. Embedded Network Monitoring System Based on ZIGBEE
  10. Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
    SuKaiZuo ·Zhejiang University ·2014 ·Master's thesis
  11. The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
    WangJianFei ·University of North ·2014 ·Master's thesis
  12. The Study Oh Fuzzy Controlin TIG Welding Prossess
    ZhangJun ·Shanghai Jiaotong University ·2008 ·Master's thesis
  13. Control Method Research and Controller Development of AGV Based on DSP
    SunXiaoMeng ·Harbin Institute of Technology ·2012 ·Master's thesis
  14. Research on Tension Control System of Fiber Placement Machine
    LiuJiCheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  15. Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
  16. Research and Design of High-power Temperature Control System Based on PROFIBUS
  17. Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus
  18. Modeling and Implementation of Motor Function Module Based on PLCopen
  19. The Design and Research of Embedded Multi-axis Control System
  20. The Design of Data Acquisition Controller Based on Wireless Ad-Hoc Network Technology