摘要 目的 研制一種結(jié)構(gòu)和電氣性能更優(yōu)的數(shù)字式正弦機。
方法 采用8098單片機,用軟件方法產(chǎn)生高精度的階躍、等速、正弦和周期等速等信號,然后采用DSC模塊(即數(shù)字-自整角機轉(zhuǎn)換器)進行轉(zhuǎn)換,使之成為伺服系統(tǒng)所需的自整角機的三線模擬電壓輸出。
結(jié)果 這種基于單片機的新型數(shù)字正弦機功能齊備,克服了機電正弦機在結(jié)構(gòu)和電氣上所固有的缺點。
結(jié)論 經(jīng)實驗室測試及系統(tǒng)聯(lián)調(diào),證明本文所述數(shù)字正弦機能夠完全滿足伺服系統(tǒng)調(diào)試的各項要求,且結(jié)構(gòu)簡單、工作可靠、重量輕、體積小,具有良好的應(yīng)用前景。
關(guān)鍵詞 數(shù)字正弦機;數(shù)字-自整角機轉(zhuǎn)換器;限位工作方式
分類號 TP271
A Digital Sinusoidal Signal Generator Based on the Single Chip Processor
He Chao Zhang Yuhe
(Department of Automatic Control, Beijing Institute of Technology, Beijing 100081)
Abstract Aim To manufacture a kind of digital sinusoidal signal generator with the better structure and electric performance. Methods All kinds of the high-precision digital signals such as step, uniform, sinusoidal, period uniform signal and so on were generated by 8098 single chip processor with the software method, then the digital-to-synchro converters (DSC) were used to convert the digital signal into the three-phase analogous voltage output of the synchro which is needed by the servo system. Results The shortcomings in the structure and the electric performance of the mechano-electronic sinusoidal signal generator have been successfully overcome by this new type of multifunctional digital sinusoidal signal generator. Conclusion The results of the laboratory experiments and the real system t ests show that the generator presented in this paper, which has the simple structur e, light weight and small volume, can completely meet the needs of the debugging of the servo system, and it is reliable and has the promising applicable prospect.
Key words digital sinusoidal signal generator; digital-to-synchro converters(DSC); position limiting work
在伺服系統(tǒng)的調(diào)試過程中,需要能夠準確發(fā)送各種測試信號的正弦機。但通常使用的機電正弦機具有難以克服的機械傳動空回、死區(qū)及波形失真和漂移、裝訂參數(shù)可重復性差等缺點。為了克服以上缺點,作者開發(fā)了8098數(shù)字正弦機。
1 硬件組成
8098數(shù)字正弦機采用MCS-96系列8098單片機[1,2](也可選用兼容的80C196單片機)和5VASZZ系列DSC模塊,以軟件方法產(chǎn)生階躍、等速、周期等速和正弦等信號,通過8255直接16位數(shù)字輸出,或分精粗各12位數(shù)字量分送兩個DSC轉(zhuǎn)化為三相模擬電壓雙通道輸出。在此過程中,利用8279顯示和控制正弦機的運行狀態(tài)。8098數(shù)字正弦機的硬件組成框圖如圖1。
圖1 8098數(shù)池正弦機硬件組成框圖