首先对Windows的实时性能进行了分析,并通过实验对Windows下常用定时方法的实时性进行了考核。结果表明,内核模式下中断定时具有极强的实时性。借助于驱动程序开发工具开发出满足数控系统要求的实时模块是完全可能的。提出了基于Windows纯软件开放式数控系统的解决方案及软、硬件结构。开发出软件化数控系统实验平台。并在工作台上完成了高精度X—Y工作台圆运动实验。实验结果表明该平台不仅能完成运动控制系统的基本任务功能,且圆轮廓误差不超过±5邮,达到中档数控系统精度水平。并能通过改变控制策略和添加误差补偿环节进一步提高轮廓精度,实现了Windows下开发纯软件数控系统的目的。
Real-time performance of Windows is analyzed in this paper, and time methods usually used under Windows are evaluated by means of experiments. The results show real-time performance of interrupt timer in kernel mode is high and it is feasible to develop real-time position control module with driver development tool under Windows. A software-only open CNC system solutions based on Windows, software-only CNC system's software and hardware structure are proposed. The Windows-based software-only CNC system test platform has been developed. Using the platform circular motion experiment on high precision X-Y feed servo table has been completed. The results show that the platform can realize motion control system functions of the basic tasks with contour error within ± 5μm that reaches level of middle precision CNC system, and the contour accuracy can be further improved by using proper control strategy and adding the error compensation unit.