基于MSP430的智能测控模块的设计与研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
目前不少高校过程控制实验采用的都是基于标准PC总线的的数据采集卡,使用时将板卡插入主机机箱,结束后再拔出来,如有实验交叉就需反复拆装机箱,给实验带来很多不便。且这一类板卡没有自主处理能力,一旦计算机故障控制就会中断,安全性能欠佳,同时这类板卡没有对外通信接口,不能进行网络化实验。为了方便教学,加强实验室设备建设,提高测控的安全性,同时满足实现网络化实验需求,论文提出设计一种外挂的、带有CPU并且具备对外通信接口的智能测控模块。该模块具有自主的数据采集、数据处理和数据通信能力,具有网络化接口,可以构建网络化实验。
     根据模块的功能需求,同时考虑目前模块设计中低功耗化和微型化的发展趋势,选用了TI公司的MSP430F149单片机作为智能模块的主控芯片。为了更有效利用CPU,实现多任务管理能力,在基本的软、硬件设计完成的基础上,又将μC/OS-Ⅱ实时内核移植到了智能模块中。
     通过查阅相关资料和以往的设计经验的积累,使用Protel99SE完成了硬件电路的设计,使用IAR Embedded Workbench 3.41设计了智能测控模块的C语言程序,使用IAR Embedded Workbench 3.41作为开发工具,将μC/OS-Ⅱ实时操作系统移植到本模块中。最后基于该智能测控模块,设计了面向实验室综合过程控制对象的水位单回路控制系统来验证模块的实际测控效果,作为一个辅助的可视化手段使用VC++6.0设计了上位机的监控软件。
     实验结果证明:模块设计方案正确,性能可靠,能够满足设计的要求。
So far, many universities uses data collecting cards which are based on standard PCbus for laboratory process control teaching, all these cards have to be inserted into hostcomputer when using. It is very much inconvenient to dismantle installation repeatedly inlab teaching cases, and this kind of board card will be cut off if the trouble of thecomputer system occurs, because it doesn't have the ability of dealing independently, sothat the safe performance is not good enough. At the same time, it does not have foreigncommunication interface, so it can't carry on networked experiment. In order to facilitatelab teaching, strengthen labware construction, improve the security of control, and meetthe networked experiment demand, the thesis puts forward and designs one kind ofintelligent measure and control module which have CPU and foreign communicationinterface and does not need to insert the computer. The module wants data collecting,data processing and data communication capacity with initiative, and can carry onnetworked experiment.
     According to the function demand for the module, and considering the lowconsumption and miniature development trend in module design at present, the thesisselects MSP430F149 as the MCU of the intelligent module. After the completion of thebasic hardware and software designing, the thesis transplants theμC/OS-Ⅱreal-timesystem kernel into the intelligent module, in order to utilize CPU more effectively andrealize multitask management ability.
     By reading a large amount of relevant materials and based on the accumulation ofpast designing experience, the thesis uses Prote199SE to finish the design of the hardwarecircuit, uses IAR Embedded Workbench 3.41 to design C language for the intelligentmodule,uses IAR Embedded Workbench 3.41 as the developing instrument to transplantμC/OS-Ⅱinto the intelligent module. Finalty, using the intelligent module and laboratorycomprehensive proecess control object to form a single-loop water-level control system,and designing the PC control software by VC++6.0.
     The experimental result proved that: the designing of the module is correct, theperformance of the module is reliable, so it can meetthe designing requirement of thelaboratory experimental system.
引文
1 邵裕森等.过程控制系统及仪表.北京:机械工业出版社,1993
    2 高春甫,艾学忠.微机测控技术.北京:科学出版社,2005
    3 田艾平,王力生,卜艳萍.微型计算机技术.北京:清华大学出版社,2005
    4 郭敬枢,庄继东,孔峰.微机控制技术.重庆:重庆大学出版社,1994
    5 吕辉,陈中柱,李刚等.现代测控技术.西安:西安电子科技大学出版社,2006
    6 冯景之.微型机计算机控制.成都:西南交通大学出版社,1996
    7 李世平,韦增亮,戴凡.PC计算机测控技术.西安:西安电子科技大学出版社,2003
    8 邬学礼等.计算机控制.北京:北京航空航天大学出版社,1990
    9 探矽工作室.嵌入式系统开发圣经.第二版.北京:中国铁道出版社,2003
    10 韩永华.基MSP430系列单片机嵌入式系统开放式开发平台的研究.万方数据.TP368.1.2003
    11 Peter S. Vincent, Phillip J. McMahon, Richard F. Muscat, Alan R. Wilson.A small,low-power,networked and versatile sensor interface.Defence Science and Technology Organisation.2003(2): 155-161
    12 魏小龙.MSP430F149系列单片机接口技术及系统设计实例.北京:北京航空航天大学出版社,2002
    13 TI Corporation.MSP430x13x,MSP430x14x Mixed Signal Microcontroller DataSheet, 2001
    14 Texas Instruments Incorporated.MSP430xlxx Family User's Guide, 2002
    15 王继国等.CAN控制器芯片MCP2510在远程监测系统中的应用.集成电路应用.2004(4):77-80
    16 孙传友,孙晓斌等.测控系统原理与设计.北京:北京航空航天大学出版社,2002
    17 艾玲梅.单片机测控系统抗干扰技术.陕西工学院学报.2003(2):36-40
    18 沈建华等.MSP430系列16位超低功耗单片机实践与系统设计.北京:清华大学出版社,2005
    19 陈连坤.嵌入式系统设计与开发.北京:北京交通大学出版社,2005
    20 柯南.非常电路板设计——Protel99之PCB.北京:中国铁道出版社,2000.3
    21 梁恩主,梁恩维.Protel 99 SE电路设计与仿真应用.北京:清华大学出版社,2000
    22 黑杰克.Protel schematic 99 SE电路设计.北京:科学出版社,2001
    23 柯南.非常电路图设计——Protel99之SCH.北京:中国铁道出版社,2000.3
    24 李伯成.嵌入式系统可靠性设计.北京:电子工业出版,2006
    25 胡大可.MSP430系列单片机C语言程序设计与开发.北京:北京航空航天大学出版社,2003
    26 TEXAS INSTRUMENTS.Anton MSP430 Flash Serf-Programming Technique, 2000
    27 Fang Lide, Zhang Wanling, Li Jinhai, Zhu Aimin.A New Intelligence Dynamic Heat Meter.The Institute of Quality and Technology Supervising, Hebei University, China, 071051.2004(3):43-48
    28 徐维广,邹江峰.MSP430在液晶显示上的应用.信息技术与信息化.2004(6):97-101
    29 田学锋等.计算机通信与RS-232接口实用指南.北京:电子工业出版社,1995
    30 Martin D. Seyer.Complete guide to RS232 and parallel: a step-by-step approach to connecting computers, printers, terminals, and modems.Englewood Cliffs, N.J. Prentice Hall, 1988
    31 TI Corporation.MSP430 Universal Synchronous Asynchronous Receive/Transfer Communication interface.Taxes Instrvments. 1999(1): 132-138
    32 余永权,汤荣江.计算机接口与通信.广东:华南理工大学出版社,2004
    33 金勇,潘永才.一种基于RS485总线的工控系统的设计与实现.制造技术.2006(12):134-136
    34 阳宪惠.现场总线技术及其应用.北京:清华大学出版社,1999.6
    35 邬宽明.CAN总线原理和应用系统设计.北京:北京航空航天大学出版社,1996
    36 廖日坤.ARM嵌入式应用开发技术白金手册.北京:中国电力出版社,2005
    37 蔡海平.基于MSP430单片机的外围电路的通用化平台研究与设计.万方数据.TP368.1 2003
    38 佟宇,王彦华.MSP430系列单片机异步串行通信应用.微机处理.2004(2):56-59
    39 饶运涛,邹继军等.现场总线CAN原理与应用技术.北京:北京航空航天大学出版社,2003
    40 史久根,张培仁,陈真勇.CAN现场总线系统设计技术.北京:国防工业出版社,2004
    41 Jean J.Labrose著,绍贝贝等译.嵌入式实时操作系统uC/OS-Ⅱ.第二版.北京:北京航空航天大学出版社,2003
    42 任哲.嵌入式实时操作系统μC/OS-Ⅱ原理及应用.北京:北京航空航天大学出版社,2005
    43 王田苗.嵌入式系统设计与实例开发:基于ARM微处理器与μC/OS-Ⅱ实时操作系统.北京:清华大学出版社,2003
    44 黄燕平.μC/0S ARM移植要点详解.北京:北京航空航天大学出版社,2005
    45 (美)William Stallings.操作系统:内核与设计原理.北京:电子工业出版社,2001
    46 谭思亮,邹超群等.Visual C++串口通信工程开发实例导航.北京:人民邮电出版社,2003
    47 李现勇.Visual C++串口通信技术与工程实践.第二版.北京:人民邮电出版社,2004
    48 龚建伟,熊光明.Visual C++/Turbo C串口通信编程实践.北京:电子工业出版社,2004
    49 何庆离等.过程控制系统与装置.重庆:重庆大学出版社,2004
    50 陶永华.新型PID控制及其应用.第二版.北京:机械工业出版社,2002
    51 Sylvia Kwakye, Antje Baeurnner.An embedded system for portable electrochemical detection.Sensors and Actuators B 123 (2007) 336-343
    52 C. S. Chua, Siew Mun Hin.Digital Blood Pressure Meter.Sensor Application Engineering,2005
    53 刘兵,张庆强.基于MSP430单片机的实时多任务操作系统.专题论述.2003(7):122-125
    54 索南加乐,宋国兵等.基于MSP430单片机的RS485通信.计算机应用.2001(11):68-72
    55 Zhao Xinghua,Zhu Lianqing, Dong Mingli, Lin Ting, Niu Shouwei.The MSP430 based control system for automatic EISA tester.Beijing Institute of Machinery, Beijing 100085,China;Beijing Success Technology Co. Ltd., Beijing 102200, China
    56 Homes A. Henzinger, Christoph M. Kitsch. How to Get a uC/OS-Ⅱ Application Running. ACM SIGPLAN Notices. 2002(1):213-217