Design of Intelligent Transmitter Based on RS-485 Bus

Author
YuanJiangBo
Advisor
MaFuChang
School
Taiyuan University of Technology
Major
Detection Technology and Automation
Classification
TP274 Data processing, data processing system
Degree
Master's thesis
Year
2011
Downloads
106
Citations
0

Request the full text

Abstract

With global warming, environmental problems have become prominent increasingly. It also raises higher and higher requirement in monitoring of hydrology and other environmental information. This requires the function of the instruments that used for field testing more completely. And now the rapid development of the field-bus technology brings new development direction to water-level monitoring. Because the RS-485 bus has mature technology, low development costs and other advantages, so it is widely used in some small monitoring system. RS-485 bus can easily form a network with different instrumentation equipment which made by different manufacturers. So, we can centralize monitoring and management some information. But the most important thing is that the equipment must have a unified interface of RS-485.This paper is about the transformation and upgrade of the inductive digital water-level sensor which is researched and developed by Taiyuan University of Technology institute of measurement and control technology independently. The sensor is designed for the project of Shanxi Wan Jiazhai Yellow River Diversion specially.Although it fully meet the long tunnel, closed and long distance communications requirements, but the sensor is not good in versatility.In order to make the sensor compatible with other systems. Consulting a large number of the relevant literature, according to the development needs of modern instruments, and combining with the current research on hydrology monitoring systems at home and abroad. This paper puts forward a set of design scheme about intelligent transmitter which is based on RS-485 bus. And it gives the detail design of the software program and hardware circuit. This paper mainly research contents include:(1) Analysis of the detection technology and instrument used in the common areas and the principle of communication technologies, compare their advantages and disadvantages, and to establish the bus using the RS-485 communication.(2) In order to reduce the costing and the number of instruments and chips.C8051F021 microcontroller is selected as the master controller of the hardware circuit which is produced by GYNAL. It’s a mixed-signal processing MCU with high-speed and high performance. C8051F021 can gather 16 analog signals at the same time because it has 16 ports of ADC input. Also, operating speed which is up to 25MIPS system can meet the needs of real-time.(3) To prevent the hydrological information loss caused by power outages or other reason, the subject chooses ferroelectric memory FM24C256 as extended external storage. The memory can store data more than 40 years without power, and it’s using the low power design. So, it is widely used in the instrumentation industry.(4) The subject provides a variety of low-power approach and anti-jamming processing measures in hardware design to improve the stability of the system.(5) After studying the bus protocols and signal transmission timing of the RS-485, design the system software program.It’s including:ADCO collection procedures, data processing and storage, communication code and so on.The experiment and debug show that the RS-485 intelligent transmitter improve the part of performance of the original water-level sensor. It makes the sensor’s output signal digital to standardization, so we can form a network conveniently.

Table of contents

Summary 3-5 abstract 5-9 first chapter nbsp 9-17 1.1 Topic background and significance; 9 - 10 the 1.2 research situation 10-14 1.2.1 water level sensor status and 10-11 the the 1.2.2 hydrological information and communication network status quo 11 1.2.3 intelligent instruments and data acquisition system status and development 11-14 1.3 research and papers arrangement 14-17 second the chapter overall design 17-21 2.1 functional requirements analysis 17 the 2.2 overall system build 17-18 the 2.3 System modular design 18-19 2.3.1 Sensor Module 18 a 2.3.2 transmitter module nbsp it; 18-19 2.3.3 test software modules 19 2.4 Chapter Summary 19-21 Chapter smart transmitter communication introduced 21-37 3.1 Introduction 21 3.2 digital communications technology and the OSI Reference Model Overview 21-24 3.2.1 OSI reference model structure 22 3.2.2 OSI reference model layers function nbsp 22-24 3.3 fieldbus communication technology; 24-31 3.3.1 Fieldbus definition 24 3.3.2 on-site control of the bus the structural characteristics of the system 24-27 3.3.3 commonly used fieldbus technology example 27-31 3.4 serial bus communication 31-33 3.4.1 RS-485 interface specification 32-33 3.5 RS-485 Smart Transmitter 33-35 3.6 Chapter Summary 35-37 Chapter intelligent transmitter hardware design the 4.1 master chip, Melville Y. Stewart and Kelly J. Clark, selection and its hardware circuit design 38-41 4.1.1 C8051F X ⅹ ⅹ The main characteristics of the series microcontroller 39-40 4.1.2 C8051F021 MCU peripheral circuit design 40-41 4.2 water level sensor circuit 41-42 <br / > 4.3 signal conditioning circuit 42-45 the 4.3.1 signal conditioning circuit schematic analysis 43-44 the 4.3.2 signal conditioning circuitry concrete design 44-45 4.4 external expansion memory circuit design 45-47 the circuit 4.5 RS-485 interface 47-48 4.6 system power circuit design 48-50 4.6.1 with 12V and 5V power supply circuit LM2576 series to achieve 48-49 4.6.2 3V power supply design 49-50 4.7 system power management technology and low-power program design 50-51 4.8 Integrated RS-485/RS-232 serial converter 51 4.9 Chapter Summary 51-53 Chapter 5 Software design 53-73 the 5.1 CYGNALIDE integrated development environment introduced 53-54 5.2 main program design 54-55 5.3 system initialization program design the 55-61 System 5.3.1 The clock initialization Design 56-57 5.3.2 I / O port initialization configuration 57-58 < br /> 5.3.3 serial UART initialization procedure designed 58-60 5.3.4 ADC0 initialization The design 60 5.3.5 SMBus initialization procedure 60-61 5.4 the ADC0 water level data acquisition program designed 61-62 5.5 communication program design 62-64 5.6 memory program designed 64-71 5.6.1 SMBUS agreement introduced 64-68 5.6.2 iron memory FM24C256 read and write operation for programming 68-71 5.7 Smart Transmitter Test programming 71-72 5.8 Chapter Summary 72-73 Chapter the Smart Transmitter debugging and design experience 73-79 6.1 the smart transmitter debugging 73-76 6.1.1 Induction digital water level sensor debugging 73 the 6.1.2 signal conditioning circuit debugging 73-74 < br /> 6.1.3 ADC0 analog capture debug 74-75 6.1.4 RS-485 interface circuit debugging the <br 75 /> 6.1.5 RS-485 communication debugging 75-76 6.2 system design experience 76-79 Chapter VII Summary and Outlook 79-81 7.1 Summary 7.2 Prospects 79-80 80-81 refer to the literature 81-83 Acknowledgements 83-85 studying for a master's degree issued during the papers and research 85

Related dissertations

  1. Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM
    CuiXiaoNan ·Hebei University of Technology ·2013 ·Master's thesis
  2. The Design and Realization of Remote Monitoring System for Grain Situation
    DongLiLi ·Xi'an Technological University ·2012 ·Master's thesis
  3. The Temperature and Humidity Monitoring System for High Speed Emus Based on WSN Technology
    ZhuangHuaYong ·Southwest Jiaotong University ·2012 ·Master's thesis
  4. The Design and Implementation of Low Noise High Stability Diode Laser Current Source
    LiWei ·Yanshan University ·2013 ·Master's thesis
  5. Research on Detection of Electrical Parameters in Low-voltage Feed System Based on C8051F021
  6. Research on Controller of Control and Protective Switching Device and Automatic Calibration System
  7. Research on real time monitoring system of water level of reservoir based on GPRS
    XuHang ·Jiangxi University of Technology ·2012 ·Master's thesis
  8. The Operation Control Unit of a on-Board Opti-Electronic Pod Design and Realization
    ZhangChong ·Xi'an Technological University ·2013 ·Master's thesis
  9. Based on Digital Image Remote Water-Level Automatic Monitoring System
    LiangBo ·Taiyuan University of Technology ·2013 ·Master's thesis
  10. DC high power X-ray tube design and the implementation of remote control
    ChenFeng ·Central South University ·2007 ·Master's thesis
  11. Asynchronous Motor Protective Device Based on Network
    HaoZuo ·Xi'an University of Technology ·2008 ·Master's thesis
  12. Design and Implementation of Network Well-Earth Potential Detection System
    FuWei ·Jilin University ·2008 ·Master's thesis
  13. Remote Monitor and Control System of Temperature and Humidity in Great Greenhouse
    DuanChaoWei ·Wuhan University of Technology ·2008 ·Master's thesis
  14. RS-485 network system based on campus card consumer research
    DingYanYan ·Tianjin Polytechnic University ·2008 ·Master's thesis
  15. The Network Alarm System’ Achievement Which is Based on the 485 Bus
    ZengJing ·Chengdu University of Technology ·2008 ·Master's thesis
  16. Anti- slip device to the hair line control system prototype design and implementation
    DongRenFei ·Beijing Jiaotong University ·2008 ·Master's thesis
  17. Design of Remote Control System about High Pressure Water Pump Electric Engine in Mine Based on DSP
  18. Computer Monitoring System of the Personnel Tracking System Based-on Radio Frequency Identification in Mine
  19. Embedded USB Host System Research and Application Design
  20. Intelligent remote meter reading system development and testing