电子设计工程
電子設計工程
전자설계공정
ELECTRONIC DESIGN ENGINEERING
2012年
10期
119-122
,共4页
STM32F103RB%两相混合式步进电机%开环矢量%细分可调
STM32F103RB%兩相混閤式步進電機%開環矢量%細分可調
STM32F103RB%량상혼합식보진전궤%개배시량%세분가조
STM32F103RB%two-phase hybrid stepper motor%open-loop vector%micro-stepping adjustable
根据两相混合式步进电机细分驱动原理,设计了一种基于STM32F103RB单片机的、细分度可调的步进电机驱动器。控制器采用电流矢量控制算法,通过双H桥驱动步进电机的两相转子。利用片内AD对电机转子电流进行采样,将矢量角度的目标值与测量值进行比较、调节,形成电流环,进而实现对整个周期电流阶梯的细分度控制。本文还介绍了该控制器的软硬件设计方案,并对该设计的实际电路进行了测试,结果表明控制器达到了设计目标,减少了低频振荡,提高了步进电机的控制性能。
根據兩相混閤式步進電機細分驅動原理,設計瞭一種基于STM32F103RB單片機的、細分度可調的步進電機驅動器。控製器採用電流矢量控製算法,通過雙H橋驅動步進電機的兩相轉子。利用片內AD對電機轉子電流進行採樣,將矢量角度的目標值與測量值進行比較、調節,形成電流環,進而實現對整箇週期電流階梯的細分度控製。本文還介紹瞭該控製器的軟硬件設計方案,併對該設計的實際電路進行瞭測試,結果錶明控製器達到瞭設計目標,減少瞭低頻振盪,提高瞭步進電機的控製性能。
근거량상혼합식보진전궤세분구동원리,설계료일충기우STM32F103RB단편궤적、세분도가조적보진전궤구동기。공제기채용전류시량공제산법,통과쌍H교구동보진전궤적량상전자。이용편내AD대전궤전자전류진행채양,장시량각도적목표치여측량치진행비교、조절,형성전류배,진이실현대정개주기전류계제적세분도공제。본문환개소료해공제기적연경건설계방안,병대해설계적실제전로진행료측시,결과표명공제기체도료설계목표,감소료저빈진탕,제고료보진전궤적공제성능。
This paper describe the principle of the stepper motor's micro-stepping and designs a driver system which numbers of step can be adjusted based on STM32F103RB. The system used the current vector algorithm , using the dual H-bridge to connect the motor's rotor and through the on-chip AD to sample the MOSFET current,then take the value of vector and angle to compare and adjust with the measure one, thus forming the current loop and achieve that control the step of current to control the micro-stepping degree. The system hardware and software was designed by this theme, we debugged it and the result is this controller can improve the motor's inherent mechanical step angle, reduce the low-frequency oscillation and enhance the control performance.