文档介绍:河北工业大学
硕士学位论文
励磁系统实时数据记录及参数显示模块的研究和开发
姓名:王辉
申请学位级别:硕士
专业:电机与电器
指导教师:杨彦杰
20071101
HCS12X FRAM MRAM CAN
河北工业大学硕士学位论文
励磁系统实时数据记录及参数显示模块的
研究和开发
摘要
随着计算机技术、自动化技术的不断发展和 CAN 总线等现场总线技术的日益完善,
励磁控制系统逐步向分布式现场总线方向发展。本文的研究对象是励磁控制系统中的实时
数据记录及参数显示模块,是励磁控制系统体现控制分散、信息集中的关键环节,是现场
与中控室连接的桥梁。
本设计选用 Freescale 的 HCS12X 系列 16 位微控制器为核心进行产品设计,完成现场
数据的显示、便捷的参数修改以及故障录波。通过高速率、低误码率的 CAN 总线将现场
数据传输到 MCU,经 MCU 处理判断后,或是显示于 LCD 上,或是存储并通知上位机;
通过设计的 8 个按键和友好的人机界面,用户可以随时修改系统参数,实现便捷的现场控
制;采用铁电存储器、磁电阻随机存储器扩展了系统的存储容量,使故障录波得以实现;
应用 RTC 和 PIT,一起完成了毫秒级的计时,完善了录波功能。
本文已经完成了硬件电路的设计和调试。使用Metrowerks 公司开发的软件集成开发环
境 CodeWarriorIDE 和 P&E’s USB HCS08/HCS12 MULTILINK 硬件调试工具,完成了大部
分的软件编写和调试,验证了本设计的可行性,为产品的进一步开发打下了坚实的基础。
关键词:励磁系统,人机界面,HCS12X, FRAM,MRAM ,CAN 总线
i
KEY WORDS:
河北工业大学硕士学位论文
THE RESEARCH
ON RECORD OF REAL TIME DATAS
AND PARAMETERDISPLAYMODULE
FOR EXCITATIONSYSTEM
ABSTRACT
With the perfecting of fieldbus technology and the rapid development puter and
automatics,the control of excitation system has a trend of distributed module of real
time datas record and parameter display on the control of excitation system is the research object
of the is the keywoad link of distributed control and concentrated information,and is the
bridge between scene and master-control room.
16-bit MCU HCS12X of pany is adopted as the core of has the
functions of display of scene datas,convenient parameter modify and the wave record of
the CAN bus which has the character of the high rate and low errer rate,the scene
datas have transmitted into the by the judgment and process of MCU, the scene datas
either display on the LCD,or store and infor to the can modify parameter at any time
with the eight keypresses and friendly using of FRAM and MRAM enlarge the capacity
of the system,and make the record wave of faiking of the RTC and PIT
modules which have the fuction of millisecond time