基于單片機(jī)的步進(jìn)電機(jī)控制系統(tǒng)設(shè)計(jì)
基于AT89C52單片機(jī)的步進(jìn)電機(jī)控制系統(tǒng)
設(shè)計(jì)
摘要:步進(jìn)電機(jī)專用開發(fā)系統(tǒng),適用于數(shù)控機(jī)床與某些特定條件與系統(tǒng)。本文通過單片機(jī)為開發(fā)平臺,對步進(jìn)電機(jī)進(jìn)行控制。采用單片機(jī)AT89C52,根據(jù)輸入的數(shù)據(jù)轉(zhuǎn)化成的控制信號來控制步進(jìn)電動機(jī)的角位移的一種方法,包括硬件設(shè)計(jì)和軟件設(shè)計(jì)。整個系統(tǒng)主要由電機(jī)驅(qū)動電路,聲光報(bào)警電路,4位LED顯示電路,電源電路與核心單片機(jī)部分構(gòu)成。利用單片機(jī)產(chǎn)生步進(jìn)電機(jī)驅(qū)動脈沖,通過4×4矩陣鍵盤能實(shí)現(xiàn)對步進(jìn)電機(jī)啟動、停止功能的選擇以與加速、減速、反轉(zhuǎn)功能的選擇,使用方便、操作簡單。其中在步進(jìn)電機(jī)控制器的設(shè)計(jì)中,重點(diǎn)闡述脈沖產(chǎn)生電路以與對速度的控制,實(shí)現(xiàn)對步進(jìn)電機(jī)速度精確控制的開發(fā)系統(tǒng)。提高步進(jìn)電機(jī)的步進(jìn)精度,能夠控制三相或四相步進(jìn)電機(jī)。且電路簡單,成本較低,控制方便,移植性強(qiáng)。實(shí)用價值高。
關(guān)鍵詞:AT89C52;步進(jìn)電機(jī);脈沖產(chǎn)生
Design of Control System for Stepping Motor Based on
AT89C52
Abstract: A stepper motor dedicated development system,applicable to CNC machine tools and some special conditions and system. In this paper, through the SCM as the development platform,for the stepper motor control.
The paper introduce one way that controls the stepping motor by microcomputer AT89C52 depending on the control signal to which
1 / 21