用户名: 密码: 验证码:
基于C8051F020的通用仿真平台软硬件设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
本课题为基于C8051F020的通用仿真平台软硬件设计。随着科学技术的快速发展,计算机控制系统在工业控制中得到了广泛的应用。本研究旨在提供一种可用于控制系统调试的通用仿真平台。仿真平台能够接收控制系统输出的控制量,经仿真算法形成特定受控对象的响应,且将此种响应转换为与指定的传感器相一致的电信号输出,回馈给控制系统。仿真平台具有通用性、灵活性、易操作、易连线且显示直观、形象的特点。
     首先,论述了本文的选题背景和意义,介绍了国内外相关领域研究状况,并给出了主要研究内容。
     其次,从整体上介绍了通用仿真平台的设计构成,论述了各功能电路在仿真及控制中的工作原理及作用,最后简要介绍了仿真平台的核心—C8051F020单片机。
     然后,介绍了通用仿真平台的硬件设计。硬件设计包括通用模拟量输入输出电路、通用开关量输入输出电路及其它外围电路。文中除了对硬件电路作了详细的分析外,还列写了通用仿真平台的各模块部分主要子程序及流程图。
     再次,应用通用仿真平台与组态王软件,描述了对电梯速度进行仿真的思路。其中首先讨论了组态王通信设置、单片机与组态王通信协议及部分通讯程序,然后给出了电梯控制器的速度控制算法,最后介绍了电梯模型的仿真算法。
     最后,介绍了如何运用通用仿真平台实现对加热器的温度控制。文中首先介绍了系统的硬件构成,然后对系统进行建模并进行了温控分析,进而提出了控制算法,并对算法进行了改进。
This article is about the software and hardware design of general simulationplatform based on C8051F020 MCU. With the fast development of science andtechnology, computer control system has been widely used in industry control.This article introduced a platform which can be used in debugging of controlsystem. Simulation platform can receive control quality of control system'soutput, form response of controlled object after simulating arithmetic, cantransform this response into electrical signal which is in consistent withspecific sensor's output, and feedback to the control system. Simulationplatform has the Character of versatility, easily operating, direct-viewing, andvisualization.
     Firstly, this article describes the background and meanings, introducesdomestic and international condition of the related research, and gives the mainresearch contents.
     Secondly, it introduces the structure of the platform in whole, describesthe main function of every module in simulation and control, and then brieflyintroduces the core of the platform, C8051F020 MCU.
     Then, this article introduced the hardware of the general simulation platform.It included general analog channel input and output module, digital channel inputand output module, and other circuits. This article wrote some programs andflowcharts, of modules, besides detailed analysis of hardware circuit.
     Then, applying simulation platform and Kingview software described the speedsimulation of elevator. It discussed the method of simulation of elevator' sspeed. In this part, firstly discussed communications setting of Kingview, communication protocol between MCU and Kingview, and some corresponding programs, and then give the moving speed algorithm of elevator controller, at last givethe simulation algorithm of controlled object.
     Finally, this article introduced how to use this platform to realize temperature control of heater. In this part firstly introduced system' shardwarestructure, then modeling to the system, analyzing the temperature control system, and then raise the controlling arithmetic, finally proposed improved arithmetic.
引文
1.张迎新,雷文,姚静波。C8051F系列SOC单片机原理及应用[M].北京:国防工业出版社,2005.
    2.于海生.微型计算机控制技术[M].北京:清华大学出版社,1999,80-139.
    3.张毅,计算机控制技术[M].北京:机械工业出版社,2004,1-19,74-79,203-217.
    4.童诗白.模拟电子技术基础[M].北京:高等教育出版社,2001,446-454.
    5.康华光.电子技术基础[M].北京:高等教育出版社,2000,240-263.
    6.赵茂泰.智能仪器原理与应用:M].北京:电子工业出版社,1999,121-138.
    7.李华.MCS-51系列单片机实用接口技术[M].北京:北京航空航天大学出版社,1993,162-227,358-360,594-604.
    8.魏俊兰,丁振荣。组态王6.5与单片机的通信方法[J],工业控制计算机,2004,(10):84-86.
    9.翟玉文.电梯理想数学曲线的研究与实现[J],吉林化工学院学报,1995,12(1):37-41.
    10.田立勇,汪玉凤,于宁,李文江.计算机与单片机的串行通讯[J],仪器仪表用户,1995,(2):91-92.
    11.赵学军.单片机与组态王的通信程序设计[j],工业控制计算机,2006,19(9):35-37.
    12.段晨东,王俭.电梯仿真模型演示系统的研制[J],西北建筑工程学院学报,1999,16(4):39-42.
    13.鲍雅萍.电梯给定速度曲线的仿真与实现[J],唐山高等专科学校学报,1999,12(4):64-66.
    14.张学军,张苗苗,谢剑英.电梯控制系统的面向对象分析与实现[J],测控技术,1999,18(2):29-31.
    15.李蒙,张灵玲.基于VB平台PLC电梯控制仿真系统设计[J],洛阳工业高等专科学校学报,2005,15(3):28-29.
    16.熊光楞,郭斌,陈晓波,蹇佳.协同仿真与虚拟样机技术[M].北京:清华大学出版社,2004.8.
    17.何立民.单片机应用技术选编(8)[M].北京:北京航空航天大学出版社,2000,301-360,494-514.
    18.陶永华,尹怡欣,葛芦生.新型PID控制及其应用[M].机械工业出版社,1999
    19.李正军.计算机控制系统[M].北京:机械工业出版社,2005,48-109,132-222.
    20.王顺晃,舒迪前.智能控制系统及其应用[M].机械工业出版社,2005.
    21.马国华.监控组态软件及应用[M].清华大学出版社,2001
    22.张翠莲,杨加强.铂电阻温度传感器的非线性特性及其线性化校正方法[J],微计算机信息,2002,(1):43-44.
    23.刘春英,刘盾.单片机实现温度自动控制系统研究[J],天津职业技术师范学院学报,2000,(3):62-65.
    24.陆阳,韩江洪,魏臻,张维勇.铂电阻测温系统温度补偿方法[J],仪器仪表学报,2000,21(3):255-259.
    25.田臣礼.自动控制微波加热器的研制[D],四川成都:电子科技大学,2005.
    26.翁绍捷.开关量采样的干扰与抗干扰电路设计[J],机电工程技术,2002,31(5):28-29.
    27.求是科技.单片机典型模块设计实例导航[M].人民邮电出版社,2004.5.
    28.陈杰,黄鸿.传感器与检测技术[M].北京:高等教育出饭社,2002.8.
    29.王正朴,王胜开,陈国顺.MATL\B/Simulink与控制系统仿真[M].北京:电子工业出版社,2005.7.
    30.刘艳.刘晓瑛.四层楼电梯PLC控制系统的仿真动画软件[J],实验技术与管理,2000,17(4):55-58.
    31.苏宏升.真空钎焊炉温度自动控制系统建模与仿真[J],自动化技术与应用,2004,23(12):26-28.
    32.金鹏电子有限公司.C系列液晶显示模块说明书.
    33.北京亚控科技发展有限公司.组态王King View Version 6.5使用手册,2003
    34.李中华,毛宗源.基于Matlab的多速度模式电梯群控系统模型仿真[J],系统仿真学报,2005,17(8):1997-2000.
    35.刘春泽.热工学基础[M].北京:机械工业出版社,2004.1,204-206.
    36.张朝晖,范群波.ANSYS 8.0热分析教程与实例解析[M].北京:中国铁道出版社,2005.5,112-132.
    37. Jinshiuh Taut, Chin-Wang Tao.Fuzzy model based approach to the design of PID controllers for temperature control systems [J], The International Journal of Intelligent Control and Systems. 1999, 3(1): 93-104.
    
    38. A. Hoshino, K. Shinozaki, Y. Ishisaki, T. Mihara. Improved PID method of temperature control for adiabatic demagnetization refrigerators[J], Nuclear Instruments & Methods in Physics Research. Section A, Accelerators, Spectrometers, Detectors and Associated Equipment. 2006,558(2): 536-541。
    
    39. Taur, J.S, Tao, C.W. Temperature control of a plastic extrusion barrel using PID fuzzy controllers [J], Industrial Automation and Control: Emerging Technologies, 1995.,International IEEE/IAS Conference on.1995, 370-375.
    
    40. Jia-Xin Chen, Wei Li. Application of fuzzy control PID algorithm in temperature controlling systems [J], 2003 International Conference on Machine Learning and Cybernetics.2003,4: 2601-2604 .
    
    41. Masakazu Kotaki, Yuji Yamakawa, Takanori Yamazaki, Kazuyuki Kamimura. A Tuning Method for PID Controller That Considers Changes in System Characteristics[J],ASHRAE Transactions.2005,11(2): 13-22.

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

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

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