摘要
为实现基于PCI总线的运动控制,设计了一款以国产芯片CH365为核心的运动控制卡,给出设计原理图,开发基于DOS的开源驱动函数库和基于Windows的驱动程序及动态链接库,并对运动控制卡驱动程序的编写做了详细的介绍,对中断服务程序的工作流程也做了完整的说明,通过这些函数库及驱动程序,可方便地对伺服电机进行步进式及脉冲式控制,实现各种方向连续的曲线加工和速度控制。经测试,设计的运动控制卡在实时性、可靠性、插补速度和加工精度方面都有较大的优势,具有较好的应用前景。
In order to realize motion control based on PCI bus, A motion control card cored on CH365 is designed, the author gives the schematic diagram, develops open source drive function library based on DOS, driver software based on windows and dynamic link library, at the same time, this paper does a detailed introduction in programming driver software for the motion control card and does a complete description for work flow of Interrupt service routine. We can easily control the servo motor working on step mode or pulse mode by using this function library and driver software, and realize all kinds of continuous direction curve processing and speed controlling. After inspection, this motion control card has obvious advantage in real time, reliability, interpolation rate and process accuracy so it has good prospect.
出处
《电子设计工程》
2012年第24期102-105,共4页
Electronic Design Engineering
基金
国家自然科学基金(50375078)