步進電動機突出的優點是它可以在寬廣的頻率范圍內通過改變脈沖頻率來實現 調速,快速起停、正反轉控制及制動等,并且由其組成的開環系統既簡單、廉價,又非常可靠,因此在眾多領域有著極其廣泛的應用。研制一種高性能步進電機轉速驅動器及其控制系統具有重要的意義。
本文研究開發的步進電機轉速控制器,介紹了一種由AT89C52及脈沖分配器PMM8713控制步進電機的實用電路。詳細的介紹了步進電機的原理,控制電路,鍵盤顯示電路、驅動電路及其軟件控制步進電機轉速的方法。
本文開發的步進電機控制系統采用用戶輸入步進電機步數,并對步進電機的運轉采用梯形速度控制,有效的防止步進電機的失步,并且采用LCD顯示實現人機對話等功能。該電路可用于多種步進電機控制場合。整個系統結構簡單,可靠。
【關鍵詞】:步進電機、AT89C52、轉速控制 The design of stepper motor speed controller based on
Single-chip
Abstract
The advantages of stepping motor are that it’s able to realize regulating-rate,quickly rise-stop,positive-reverse controlling ,braking in wide rage of frequency by changing the frequency of pulse. The stepping motor opening-ring system is simple,cheap and stability,therefore its application is very extensive in many areas. It has great signification to design a high-performance speed driver and its control system of stepping motor.
A speed controller of stepping motor has been developed,and the article introduces a practical circuit by using AT89C52 and the pulse distributor PMM8713 to control stepping motor. Describe the theory of stepping motor, control circuit, keyboard input and LCD display circuit,driving circuit and a way of controlling the speed of stepping motor by software.
The stepping motor control system which this article develops uses the way of that a user input steps of stepping motor, use trapezoidal speed control to the operation of the stepping motor, it is effective to prevent the out-of-step of the stepping motor, and adopt LCD display to realize a man-machine conversation function and so on, This system can be applied in many stepping motor control occasions, the overall system is simple and reliable structure.
【Key words】step motor、 AT89C52 、control