【正文】
antly produce control pulses, taking up a lot of CPU time so that SCM can not be at the same time other work。由于將多功能8位CPU和閃爍存儲器組合在單個芯片中,ATMEL的AT89C51是一種高效微控制器,為很多嵌入式控制系統(tǒng)提供了一種靈活性高且價廉的方案原文:Stepper Motor Motion Control System DesignPaper Keywords: stepping motor speed control system microcontrollerPaper Abstract: The stepper motor is the electric pulse signal into angular displacement or linear displacement of the openloop control ponents. In the nonoverload case, the motor speed, and stop location depends only on pulse frequency and pulse number, without the load change, that is, to add an electrical pulse signal, a step motor is turned away from the corner. The existence of this linear relationship, coupled with only a periodic error of stepper motors without the accumulated error and so on. Made in terms of speed, position and other control areas to control the stepper motor used bee very simple. Stepper motor speed control in general is to change the input frequency of stepper motor pulses to achieve the stepper motor speed, because the stepper motor to a pulse on each rotation a fixed angle, so that you can by controlling the stepper motor a pulse to the next a pulse time interval to change the pulse frequency, the length of delay to specific controls to change the angle stepper motor speed, in order to achieve speed control stepper motor. In this design the use of AT89C51 microcontrollerbased timer to change the internal pulse frequency of CP in order to achieve the speed of stepper motor control, motor speed and the realization of positive inversion functions. Preface Stepper motors in 1920 was first developed by the British. Late 1950 invention of the transistor is gradually applied to stepper motor, which controls for the digital easier. Through continuous improvement in the future, makes today39。AT89C51是一種帶4K字節(jié)閃爍可編程可擦除只讀存儲器(FPEROM—FAlsh ProgrAmmABle And ErAsABle ReAd Only Memory)的低電壓,高性能CMOS8位微處理器,俗稱單片機。但由鍵盤輸入的速度數(shù)值了得通過顯示器來顯示,固本次設(shè)計要兩排顯示,一排來顯示給定的轉(zhuǎn)速一排來顯示實際的轉(zhuǎn)速。選用8713作為步進電機的驅(qū)動芯片并通過光電耦合來驅(qū)動步進電機。三 控制的測定因本次設(shè)計的要求,選用三相三拍步進電機,單片機選用89C51作為控制器。 這就需要采用單片機對步進電機進行加減速控制,實際上就是改變輸出脈沖的時間間隔,單片機控制步進電機加減法運轉(zhuǎn)可實現(xiàn)的方法有軟件和硬件兩種 ,軟件方法指的是依靠延時程序來改變脈沖輸出的頻率,其中延時的長短是動態(tài)的,軟件法在電機控制中, 要不停地產(chǎn)生控制脈沖, 占用了大量的CPU 時間,使單片機無法同時進行其他工作。二 步進電機詳細調(diào)速原理 步進電機的調(diào)速一般是改變輸入步進電機的脈沖的頻率來實現(xiàn)步進電機的調(diào)速,因為步進電機每給一個脈沖就轉(zhuǎn)動一個固定的角度,這樣就可以通過控制步進