需要金幣:1000 個金幣 | 資料包括:完整論文 | ||
轉換比率:金額 X 10=金幣數量, 例100元=1000金幣 | 論文字數:16188 | ||
折扣與優惠:團購最低可5折優惠 - 了解詳情 | 論文格式:Word格式(*.doc) |
摘要:正弦交流信號是一種應用極為廣泛的信號。在許多測試儀中需要用標準的正弦信號檢測一些物理量。正弦信號用作標準信號時,要求正弦信號必須有較高的精度、穩定度及較低的失真率。傳統的正弦信號發生器的頻率變動由機械驅動可變元件完成,當這種信號發生器用于低頻信號輸出往往需要的RC值很大,這樣不但參數準確度難以保證,而且體積和功耗都很大。而基于單片機技術和D/A轉換電路構成的正弦信號發生器就可以解決這些問題。 本文主要介紹了正弦波波形發生器的波形產生原理和單片機控制原理。本次設計以單片機技術為基礎,通過STC89C52芯片在一定時間內輸出一系列的離散數字樣點信號,然后通過D/A轉換器轉換成平滑的正弦波信號,最后通過運算放大器輸出。本次設計采用模塊化設計的方法,軟硬件相結合,硬件設計包括:D/A轉換正弦信號輸出電路、時鐘復位電路;軟件設計包括: D/A轉換程序以及數據計算處理程序。軟硬件設計完成后利用KeilμVision2集成開發環境編譯該系統的程序,利用Proteus仿真軟件設計該系統的電路原理圖,然后通過兩個工具的完美結合對該課題進行系統的軟件模擬仿真,依據正確的仿真結果設計好電路板并進行電路板元器件的焊接,布線的工作,最后再對系統總體功能進行調試,在示波器上顯示出正弦波形。本次設計的正弦波波形發生器的參數可調,輸出波形平滑規則、頻率穩定、有較強的實用性。 關鍵詞:正弦波波形發生器;DAC0832;單片機;正弦波
Abstract: Sine ac signal is a very extensive application of the signal. In many tester using standard need in the sine signal detection some physical quantities. Sine signals used as standard signal, sine signal requirements must be more precision, stability and low distortion rate. The traditional sine signal generator frequency change by mechanical driving variable components to complete, when this signal generator used for low frequency signal output often need RC value is very big, such not only hard to ensure accuracy parameters, and volume and power consumption are very big. And based on single chip microcomputer technology and D/A transformation circuit consists of the sine signal generator can solve these problems. This article mainly introduced the sine wave generator waveform principle and single-chip microcomputer control principle. The design on the single chip computer technology as the foundation, through the STC89C52 chip in a certain time output a series of discrete number "point signal, and then through the D/A converter converted into smooth sine signals, the last through the operational amplifier output. This design USES modular design method, combining software, hardware design including: D/A transformation sine signal output circuit, clocking reset circuit; The software design including: D/A conversion program and data processing program. After the completion of the hardware and software design using Keil μ Vision2 integrated development environment compile the system program, using the Proteus simulation software design the system of the circuit principle diagram, and then through the two tools for the perfect combination of the subject system software simulation, according to accurate simulation results of good circuit board design and circuit board components of welding, cabling work, and finally to the overall function of the system, debugging in oscilloscope showed on the sine wave. The design of the sine wave of the parameters of the waveform generator can be adjusted, the output waveform rules, frequency stability, smooth has good practicability. Key words:Sine wave generator;DAC0832;SCM;Sine wave |