基于單片機的快速掃頻信號發(fā)生器設計.doc
基于單片機的快速掃頻信號發(fā)生器設計,有電路圖 程序摘要:信號發(fā)生器又稱信號源或振蕩器,是一種非常重要的儀器,在通信、測控、醫(yī)療、教學領域、實踐應用領域及科技領域中都有著廣泛的應用,由于實際應用需要不同頻率的波形,因此設計一個頻率可調(diào)的信號發(fā)生器具有一定的實際意義。 本文設計的信號發(fā)生裝置是以stc89c52rc單片機為主...


內(nèi)容介紹
此文檔由會員 pandacp 發(fā)布基于單片機的快速掃頻信號發(fā)生器設計
有電路圖 程序
摘要:信號發(fā)生器又稱信號源或振蕩器,是一種非常重要的儀器,在通信、測控、醫(yī)療、教學領域、實踐應用領域及科技領域中都有著廣泛的應用,由于實際應用需要不同頻率的波形,因此設計一個頻率可調(diào)的信號發(fā)生器具有一定的實際意義。
本文設計的信號發(fā)生裝置是以STC89C52RC單片機為主控制器,由復位電路、晶振電路、信號產(chǎn)生電路、LED顯示電路、濾波電路等構成硬件電路,采用C語言進行編程,通過DDS技術,根據(jù)采樣定理并通過單片機控制AD9850芯片,產(chǎn)生頻率在0~50MHZ的連續(xù)可調(diào)正弦波。
本文詳細介紹了STC89C52RC 單片機的基本原理,分析了STC89C52RC 各個管腳的功能及它在設計電路中的作用,介紹了芯片AD9850的基本結構及工作原理。最后結合此設計的硬件原理和軟件原理,給出了實驗結果,并在產(chǎn)生正弦波的基礎上又實現(xiàn)了快速掃頻功能。
關鍵字:信號發(fā)生器;DDS技術;AD9850;快速掃頻
中圖分類號:TK514
The design of quick sweep frequency signal generator
Abstract:Also known as signal source or signal generator oscillator, is a very important instrument in the areas of communication, control, medical, teaching, practice and has a wide range of applications in the fields of science and technology in the field, as the actual application requires a different frequency of the wave, so design a frequency signal generator with adjustable has a certain relevance.
Design of signal generator in this article is mainly to STC89C52RC single-chip controller, reset circuit, and oscillator circuits, signal generator, LED display circuit, filter circuit, and so constitute a hardware circuit, using the c programming language, by DDS technologies, according to the sampling theorem and the AD9850 by single-chip computer control chip, adjustable sine wave of frequency 0~50MHZ.
This article details the STC89C52RC single-chip microcomputer principle and analysis STC89C52RC function of each pin and its role in circuit design, describes the basic structure and working principle of chip AD9850. Last principle of binding principles of the design of hardware and software, gives the results, and also enables fast sweep, on the basis of the sine wave function.
Keywords: signal generator ; DDS technologies; AD9850; fast sweep
目 次
摘要 I
目 次 III
1引言 4
1.1 發(fā)展背景 4
1.2 研究思路 4
1.3 研究意義 5
2 波形發(fā)生器硬件設計 7
2.1 STC89RC52單片機簡介 7
2.2 DDS正弦波產(chǎn)生電路 10
2.3低通濾波器的設計 13
2.4 鍵盤輸入顯示電路 14
3 軟件設計部分 17
3.1系統(tǒng)程序流程 17
3.2 AD9850程序 19
3.3 4×4矩陣鍵盤子程序設計 21
3.4 數(shù)碼管顯示程序設計 24
3.5 鍵盤顯示轉(zhuǎn)換程序 25
4 系統(tǒng)調(diào)試結果及性能分析 29
5 總結 32