为了能够快速精确地控制步进电机,采用LPC2148和L298型驱动器精确控制频率输出,实现对电机进行简单有效地调速和基于闭环反馈的转速测量。给出硬件设计的总体框图,详细叙述了调速和测速系统的设计原理与软件实现方法,对L298型步进电机驱动电路进行分析,给出LPC2148与L298的硬件连接电路,以及电源模块和通信接口的设计方案。经过试验验证:该系统电机转速误差控制在±0.2 m/s 以内,简化了外围电路设计,提高了系统性价比。
- Abstract:
- In order to quickly and accurately control the stepper motor, this paper proposed a design scheme, which used LPC2148 and the L298 driver to precise control the drive frequency output, achieved a simple and effective motor speed and the speed of measurement-based feedback loop. The overall block diagram of hardware design is given, and the speed and the speed system design principles and software implementation methods is describe in detail. The L298 stepper motor drive circuit is analyzed, and the hardware connection circuit between LPC2148 and L298 is given. The power modules and communication interface design scheme also is given. After experimental verification, the system error of the motor speed is controlled in ± 0.2m/s or less, simplifying the external circuit design and improving the system cost performance.
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉