隨著各型馬達的發展及應用,新控制理論不斷發展,無論在工業製造或是學術研究上只要涉及馬達的課題,就無法忽略轉速量測的課題。然而傳統的轉速量測方式係以計算編碼器(encoder)脈波數換算馬達轉速的方式實現。傳統方法受限編碼器精確度,為求提高量測結果的精確度則需使用高精度的編碼器。這意味著馬達控制系統的研發成本將隨編碼器精度的提高而大幅增加。 本文提出在不使用高精度編碼器的前提下,為減少傳統馬達轉速量測方式所造成的量測誤差並提高量測之精確度,以計算脈寬大小之方式實現馬達轉速量測的方法。此方法以外加的晶體振盪電路做為馬達轉速量測的基頻,並與馬達編碼器所產生的脈波頻率做比較以計算轉速,其主要優點在於使用低精度的編碼器即可提高量測精確度並縮短量測所需的時間,而達到增快馬達控制系統反應速度的目的,將使得馬達的速度控制可以更為靈敏,並達到增高馬達控制系統可靠度的最終目的。 本文設計一個CPLD電路以驗証此一新的方法,而在實驗中,我們可以精確的量測到模擬信號的頻率,並觀測到誤差值非常的小,顯示此方法的優點明顯大於傳統的轉速量測方式。
With the development of technology, the motor applications become an increasingly important position in our daily life. In order to reduce the error caused by the traditional motor speed measurement methods and improve the accuracy of results, a new method for calculating the pulse width of the encoder on motor to obtain the accurate motor speed is described in this thesis. The additional crystal oscillator circuit provides a signal to compare with the pulse width of encoder for calculating the motor speed. The proposed method has the advantages of higher accuracy and less measurement time so that the motor speed control become more sensitive and enhance the reliability of the motor control system. The proposed method is realized using a CPLD ciruit. According to the experimental results, we can calculate the frequency of encoder pulses with little system error. The proposed method is better than the traditional methods.