摘要
针对当前基于CCP协议标定系统通信软件匮乏的现状,设计并开发了标定系统的通信模块,将通信模块分为上层通信模块和下层通信模块两个部分,分析了库函数的调用、CAN驱动、CCP驱动以及CAN驱动与CCP驱动间的接口程序,并给出了基于单片机MC9S12XDP512的硬件相关电路,以喷气阀测试为实例,实验结果证明设计的通信模块运行稳定,数据传输速度快,实时性好,为标定系统的进一步开发打下了基础。
One kind of communication module for a new calibration system was designed and implemented in order to alleviate the shortage of communication module for calibration system. The module was based on CAN calibration protocol (CCP). The communication module was divided into two parts : upper - layer communication module and under - layer communication module. Library function call,CAN driver,CCP driver and the interface programs between CAN driver and CCP driver were comprehen- sively and systemically analyzed. Relative electronic circuits based on MC9HS12XDP512 microcontroller were provided. The experimental results show that the communication module performs stably and is good at real - time character as well as high data transmit speed. It built a solid foundation for further development of calibration system.
出处
《武汉理工大学学报(信息与管理工程版)》
CAS
2012年第4期421-425,共5页
Journal of Wuhan University of Technology:Information & Management Engineering
基金
湖北省自然科学基金资助项目(2011CDA059)
关键词
标定系统
CAN
CCP
通信模块
calibration system
controller area network
CAN calibration protocol
communication module