用户名: 密码: 验证码:
基于嵌入式实时内核的远程测控终端的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
基于嵌入式实时内核的远程测控终端是以铁路供水系统为背景的、根据嵌入式系统设计原理构建的现场控制系统。
     本文提出了远程测控终端设计方案,对远程测控终端各部分的功能做了描述。详细介绍了远程测控终端的CPU—W77E58单片机和键盘显示、数据采集、开关量输出、串行接口等外围电路。通过对实时内核μC/OS-II源代码的分析和研究,结合该系统使用的CPU提出了具体的移植方案。在此基础上,详细讨论了远程测控终端的外部输入/输出设备驱动程序的编写以及在μC/OS-II实时内核下的实现方法。
     本文还分析了远程测控终端远程通信方式,利用RS485/以太网转换器实现远程测控终端与监控中心的通信功能。
     该远程测控终端不仅可以用于铁路供水系统,还可以应用于电力、水利、石油、化工、市政等行业中,用于地理环境恶劣、无人值守的环境下进行远程监控,具有普遍的意义和实用价值。
The remote measuring and controlling terminal based on embedded real-time operating system (RTOS) discussed in this paper is a field control terminal system with the background of the railroad supply water system, and according to the embedded system design principle.
     In this paper the design scheme of the remote measuring and controlling terminal is presented, and its functions of all parts are described in detail, which uses Winbond’s W77E58 as its MCU. The peripheral circuits of the terminal—display, keyboard, data collection, switch output, serial interface, are introduced. The real-time kernel ofμC/OS-II, which is a kind of real-time operating system, is introduced. Through analysis and research of source codes ofμC/OS-II, the kernel is known well. And the transplant plan is given based on W77E58 MCU. On these bases, the I/O devices are discussed in detail. To every device, we discuss their realization based onμC/OS-II.
     Additionally, the communication method of the remote measuring and controlling terminal is introduced in this paper. Making use of the RS485/ Ethernet converter, the terminal realizes long-range measure and control communication function.
     It may be applied not only in the railroad supply water system, but also in the electric power, water conservancy, petroleum, chemical engineering, etc. It is used in the bad geography environment and unmanned guard remote control system. It has widespread application and practical value.
引文
[1] 唐寅.实时操作系统应用开发[M].北京:中国电力出版社,2002:11-14
    [2] 王田苗.嵌入式系统设计与实例开发[M].北京.清华大学出版社,2002:7-26
    [3] Andrew S.Tanenbaum,Albert S.woodhall.操作系统:设计与实现[M] (第二版). 北京,电子工业出版社,1998
    [4] Jean J.Labrosse. μC/OS-II----源码公开的实时嵌入式操作系统[M]. 卲贝贝等译. 北京,中国电力出版社,2001
    [5] Jean J.Labrosse.嵌入式实时操作系统 μC/OS-II[M] (第 2 版).卲贝贝等译.北京,北 京航空航天大学出版社,2003
    [6] 徐爱钧,彭秀华.单片机高级语言 C51 Windows 环境编程与应用[M]. 北京,电子 工业出版社,2001
    [7] Wayne Wolf.嵌入式计算系统设计原理[M]. 北京,机械工业出版社,2002
    [8] 梁合庆.当今嵌入式系统综述与新的投机机遇[J].测控技术,2000,4: 1-5
    [9] 邵贝贝.研究和掌握嵌入式的途径[J].电子产品世界,2001,11
    [10] 吕京建,肖海桥.嵌入式系统开发工具及 RTOS 平台[J].嵌入式系统,1999,9:61-62
    [11] 王 浦,孔 力,常英军.单片机测控系统的软硬件平台技术[J].微计算机信息, 2003,11:52-53
    [12] 舒冬梅,王芬芬.远程测控终端的设计[J].仪器仪表学报,2003 ,8:82-84
    [13] 蔡建平.关于嵌入式应用开发技术[J].单片机与嵌入式系统应用,2001,3:5-11
    [14] 李江,常葆林.嵌入式操作系统设计中的若干问题[J].计算机工程,2000.6
    [15] 胡大可,李培弘,方路平.基于 8051 的嵌入式开发指南[M]. 北京,电子工业出版 社,2003:199-273
    [16] Micbeal Barr,于志宏译.C/C++嵌入式系统编程[M].北京,中国电力出版,2001: 16-18
    [17] 马忠梅,藉顺心等.单片机的语言应用程序设计[M].北京,北京航空航天大学出 版社,1999
    [18] 梁合庆,吕京建等.从到嵌入式编程语言—入门实用深入[M].北京,北京航空航 天大学出版社,2000
    [19] 陈定君等.嵌入式系统前端开发工具的设计与实现[J].东北大学学报,1998,8:346-348
    [20] 陈平.嵌入式系统与高性能嵌入式单片机技术[J].山东工程学院学报,2001,6:15-17
    [21] 周荷琴等.嵌入式系统软件设计要点[J].计算机应用,1998,3:16-18
    [22] 叶以民等.嵌入式系统中的实时操作系统[J].测控技术,2000,9:6-8
    [23] 姚放吾.嵌入式系统的硬件/软件协同设计[J].微计算机信息,2001,3:1-3
    [24] 蔡宁果 何晓琼.用 8位单片机实现串口-以太网转换器[J]. 电子技术应用,2002,2:14-16
    [25] 蒋书波等.实时操作系统用于嵌入式应用系统的设计[J].电测与仪表,2001,8 :41-44
    [26] Jean J.Labrosse.嵌入式系统构件[M]. 北京,机械工业出版社,2002
    [27] Lan Braithwaite or@iau.dtu.dk. A Framework for Real-Time Embedded PC Programming
    [28] Nils A. Anderson. A Dynamic Memory Management Unit for Embedded Real-Time System_on_a_chip
    [29] Mohamed Shalan. Cache Design for Embedded Real-Time System. Embedded Systems Conference, June 1999
    [30] Bruce Jacob. Scheduling hard real-time system. Software Engineering 1/1991
    [31] W77E58 Reference Manual.http://www.winbond.com.cn.
    [32] Alan Burns. Embedded Intelligence. IEEE Transaction on Computer.2000.
    [33] Jeff Stefan Vahid F. a VHDL front-end for embedded system. Aided Design of Integrated Circuits and Systems 1995
    [34] D.Verkest. CoWare-A Design Environment for Heterogeneous Hardware/Software Systems. Design Automation for Embedded Systems 1996
    [35] P.R.Panda. Memory Data Organization for Improved Cache Performance InEmbedded Processor Applications. ACM Transaction on Design Automation of Electronic Systems
    [36] Bernard Cole. Embedding Peer-To-Peer. Embedded.com
    [37] Lalan Mishra.Designing Embedded Real-Time Systems with Hardware and Micro-Kernel Reusability, Class#546 and#566, Embedded Systems Conference 2000 San Jose, California, U.S.A.September 24-28
    [38] Richard Heathfield.标准 C 语言实用全书[M]. 北京,电子工业出版社, 2001
    [39] 潘仕彬,何铮. 用于单片机的以太网网关——网络通[J]. 单片机与嵌入式系统应 用,2002,3
    [40] 何为民.网络测控.http://www.ecgi.jx.cn/hx/paper/paper.asp
    [41] http://www.hjhj.com/
    [42] 何立民.单片机应用系统设计[M].北京,北京航空航天大学出版社,2002

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700