科学技术与工程
科學技術與工程
과학기술여공정
SCIENCE TECHNOLOGY AND ENGINEERING
2013年
23期
6893-6897
,共5页
曹彬乾%程远增%孙书鹰%张佩超
曹彬乾%程遠增%孫書鷹%張珮超
조빈건%정원증%손서응%장패초
STM32%A3988%多细分%PWM-DAC
STM32%A3988%多細分%PWM-DAC
STM32%A3988%다세분%PWM-DAC
STM32%A3988%higher resolution%PWM-DAC
介绍了一种基于STM32与A3988的步进电机多细分控制的设计,通过STM32控制定时器产生PWM信号,经过低通滤波后,完成PWM的DAC转换.利用其输出的动态变化的电压为步进电机驱动芯片A3988提供参考;并且对电流方向进行控制,从而实现了步进电机的多细分控制.STM32通过查表法得到对应占空比,占空比变化的时间间隔通过定时器实现.阐述了相关软硬件和设计原理,验证了该设计的控制效果,结果表明,该设计不仅控制精度高,灵活性强,而且相对于传统利用DAC转换芯片的方案,具有实现简单,效费比高等优点.
介紹瞭一種基于STM32與A3988的步進電機多細分控製的設計,通過STM32控製定時器產生PWM信號,經過低通濾波後,完成PWM的DAC轉換.利用其輸齣的動態變化的電壓為步進電機驅動芯片A3988提供參攷;併且對電流方嚮進行控製,從而實現瞭步進電機的多細分控製.STM32通過查錶法得到對應佔空比,佔空比變化的時間間隔通過定時器實現.闡述瞭相關軟硬件和設計原理,驗證瞭該設計的控製效果,結果錶明,該設計不僅控製精度高,靈活性彊,而且相對于傳統利用DAC轉換芯片的方案,具有實現簡單,效費比高等優點.
개소료일충기우STM32여A3988적보진전궤다세분공제적설계,통과STM32공제정시기산생PWM신호,경과저통려파후,완성PWM적DAC전환.이용기수출적동태변화적전압위보진전궤구동심편A3988제공삼고;병차대전류방향진행공제,종이실현료보진전궤적다세분공제.STM32통과사표법득도대응점공비,점공비변화적시간간격통과정시기실현.천술료상관연경건화설계원리,험증료해설계적공제효과,결과표명,해설계불부공제정도고,령활성강,이차상대우전통이용DAC전환심편적방안,구유실현간단,효비비고등우점.