《机电工程》杂志,月刊( 详细... )

中国标准连续出版物号 ISSN 1001-4551 CN 33-1088/TH
主办单位浙江省机电集团有限公司
浙江大学
主编赵 群
副 主 编唐任仲、罗向阳(执行主编)
总 经 理罗向阳
出 版浙江《机电工程》杂志社有限公司
地 址杭州市上城区延安路95号浙江省机电集团大楼二楼211、212室
电话Tel+86-571-87041360、87239525
E-mailmeem_contribute@163.com
国外发行中国国际图书贸易总公司
订阅全国各地邮局   国外代号M3135
国内发行浙江省报刊发行局
邮发代号32-68
广告发布登记证:杭上市管广发G-001号

在线杂志

当前位置: 机电工程 >>在线杂志

基于PIC的步进电机细分控制器

作者:陈鸽, 许飞云, 贾民平,胡建中 日期:2009-02-23/span> 浏览:3222 查看PDF文档

基于PIC的步进电机细分控制器

陈鸽, 许飞云, 贾民平,胡建中
(东南大学 机械工程学院,江苏 南京 211189)

摘要:为了实现永磁式步进电机的细分控制,采用PIC18F2331单片机作为主控单元接收外部的脉宽调制(PWM)步进电机控制信号,并辅之以外部功率驱动电路完成了步进电机细分控制器的硬件设计,并应用C语言编写了相应的PWM信号至步进电机控制信号的转换程序,实现了对2/4相步进电机的开环细分控制。此外,还利用单片机的串行通信模块,设计了与计算机的串行通信电路,方便了系统的调试和监控。测试结果表明,该控制器能实现对步进电机的细分控制。
关键词:步进电机;PIC18F2331;单片机;功率驱动电路;细分;脉宽调制
中图分类号:TP216文献标识码:A文章编号:1001-4551(2009)01-0042-03

Stepper motor microstepping controller based on PIC
CHEN Ge, XV Fei-yun, JIA Min-ping, HU Jian-zhong
(School of Mechanical Engineering, Southeast University, Nanjing 211189, China)
Abstract: Aiming at realizing a permanent magnet stepper motor microstepping management, using PIC18F2331 micro-programmed control unit (MCU) as main control unit detecting external pulse width modulation (PWM) control signal and the other external power drive circuit, the hardware was developed for that controller. Furthermore, with the C programming, the PWM duty ratio detected by PIC18F2331 was converted into the stepper motor control signal to drive a 2/4 phase stepper motor. Additionally, the online debug and monitoring of the controller from a computer was realized with the serial communication port. The test results verify the validity of the proposed theory and control.
Key words: stepper motor; PIC18F2331; microprogrammed control unit (MCU);power drive circuit; microstepping; pulse width modulation (PWM)



友情链接

浙江机械信息网