摘要
根据实际工况环境要求远距离信号传输及实时响应的情况,设计了基于单片机MC9S12XS128的数据采集传输系统的硬件结构和运行μC/OS-Ⅱ实时操作系统下的软件设计。重点描述了远距离通信机制RS485及为适应实际工况环境,对硬件电路的改进设计和μC/OS-Ⅱ操作系统下,实时多任务模块间的切换实现机制。
A data acquisition and transmission system was designed based on MC9S12XS128 micro-controller which meet the demand of actual working conditions that long distance signal transmission and real-time response were needed.The hardware structure and the software design which runs the real-time operating system(RTOS)of μC/OS-Ⅱwere described in details.In the paper,the RS485 communication mechanism which we use to realize long distance transmission,the special hardware circuit in order to adapt the working environment and the implementation of the multi-task operating system module of μC/OS-Ⅱwere introduced.
出处
《机电产品开发与创新》
2011年第6期83-84,80,共3页
Development & Innovation of Machinery & Electrical Products