设计了一种基于CooCox CoOS微操作系统和CAN总线的高实时性,高精度的多电机控制系统。以恩智浦公司LPC11C14芯片为处理器,通过移植CoOS操作系统,实现多任务运行,有效的解决了多电机协调工作的问题;利用CAN总线转发命令,解决了多个控制器级联控制的问题,扩大了控制范围。采用VS2008的MFC设计上位机控制软件,实现了整个控制系统的可视化。应用结果表明,该系统运行稳定可靠,实时性好,具有一定的实用和推广价值。
In the paper, a high real-time, high-precision multi-motor control system based on micro operating system and CAN bus is introduced. The system is proposed based on NXP LPC11C14 micro-processors. The transplanting CoOS operating system allows the execution of the program in order to run the task, which effectively solves the multi-motor synchronous coordination problems. By forwarding commands by CAN bus, the problem of cascading multiple controllers work is solved. It also expands the control range. The VS2008 MFC PC control software design allows to achieve the control of a graphical display. The application results show that the system is stable and reliable, real-time, it also has some practical and promotional value.