检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]吉林大学计算机科学与技术学院,吉林长春130012
出 处:《吉林大学学报(信息科学版)》2004年第5期481-484,共4页Journal of Jilin University(Information Science Edition)
基 金:吉林大学新世纪教育教学改革基金资助项目(450011024274)
摘 要:为克服Windows系统对并口直接访问的限制,提出了一种直接利用计算机并行接口来控制步进电机的新方法。通过采用PortTalk静态连接库,利用MicrosoftVisualC++语言,在WindowsXP平台上实现了通过计算机并行接口进行步进电机转速、转向的精确控制,并在手动单色仪改造中实现了从600~1700nm波长范围的20s快速扫描以及瞬间起停,利用该方法还实现了计算机直接控制精密位移平台,步进距离约为1μm,与直接购买自动仪器相比可节省大量资金,并减少测试系统软件二次开发的难度。该方法可用于实验室及工业新旧仪器的改造与设计。There are many methods to control stepper motors using personal computer. However, most of those are to control stepper motors through additional plug communication card or computer serial ports.A new low-cost and simple method of controlling stepper motors through personal computer's parallel port directly on WindowsXP has been proposed. The soft package of parallel ports I/O accessing used in this method is PortTalk in a user defined static link library, which overcomes the restriction of Windows parallel ports accessing. The program was developed using Microsoft Visual C++ 6.0. This method also can be applied to Windows2000/XP or NT. And it has been used in automation reconstructing of a manual operating monochrometer and precision displacement plate. 20 sec of scan from 600~1700 nm wavelength and instantaneous run or stop have been achieved for the former and 1 μm move step can be obtained for the latter. Compared with purchasing automation instruments, it can save much more expenses and can be used in new and old laboratorial or industrial instruments reconstruction and design.
关 键 词:步进电机控制 并口 单色仪 WindowsXP VC++语言
分 类 号:TH70[机械工程—仪器科学与技术] TP39[机械工程—精密仪器及机械]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222