基于單片機(jī)的快速掃頻信號(hào)發(fā)生器設(shè)計(jì).doc
基于單片機(jī)的快速掃頻信號(hào)發(fā)生器設(shè)計(jì),有電路圖 程序摘要:信號(hào)發(fā)生器又稱信號(hào)源或振蕩器,是一種非常重要的儀器,在通信、測控、醫(yī)療、教學(xué)領(lǐng)域、實(shí)踐應(yīng)用領(lǐng)域及科技領(lǐng)域中都有著廣泛的應(yīng)用,由于實(shí)際應(yīng)用需要不同頻率的波形,因此設(shè)計(jì)一個(gè)頻率可調(diào)的信號(hào)發(fā)生器具有一定的實(shí)際意義。 本文設(shè)計(jì)的信號(hào)發(fā)生裝置是以stc89c52rc單片機(jī)為主...
內(nèi)容介紹
此文檔由會(huì)員 pandacp 發(fā)布基于單片機(jī)的快速掃頻信號(hào)發(fā)生器設(shè)計(jì)
有電路圖 程序
摘要:信號(hào)發(fā)生器又稱信號(hào)源或振蕩器,是一種非常重要的儀器,在通信、測控、醫(yī)療、教學(xué)領(lǐng)域、實(shí)踐應(yīng)用領(lǐng)域及科技領(lǐng)域中都有著廣泛的應(yīng)用,由于實(shí)際應(yīng)用需要不同頻率的波形,因此設(shè)計(jì)一個(gè)頻率可調(diào)的信號(hào)發(fā)生器具有一定的實(shí)際意義。
本文設(shè)計(jì)的信號(hào)發(fā)生裝置是以STC89C52RC單片機(jī)為主控制器,由復(fù)位電路、晶振電路、信號(hào)產(chǎn)生電路、LED顯示電路、濾波電路等構(gòu)成硬件電路,采用C語言進(jìn)行編程,通過DDS技術(shù),根據(jù)采樣定理并通過單片機(jī)控制AD9850芯片,產(chǎn)生頻率在0~50MHZ的連續(xù)可調(diào)正弦波。
本文詳細(xì)介紹了STC89C52RC 單片機(jī)的基本原理,分析了STC89C52RC 各個(gè)管腳的功能及它在設(shè)計(jì)電路中的作用,介紹了芯片AD9850的基本結(jié)構(gòu)及工作原理。最后結(jié)合此設(shè)計(jì)的硬件原理和軟件原理,給出了實(shí)驗(yàn)結(jié)果,并在產(chǎn)生正弦波的基礎(chǔ)上又實(shí)現(xiàn)了快速掃頻功能。
關(guān)鍵字:信號(hào)發(fā)生器;DDS技術(shù);AD9850;快速掃頻
中圖分類號(hào):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ā)生器硬件設(shè)計(jì) 7
2.1 STC89RC52單片機(jī)簡介 7
2.2 DDS正弦波產(chǎn)生電路 10
2.3低通濾波器的設(shè)計(jì) 13
2.4 鍵盤輸入顯示電路 14
3 軟件設(shè)計(jì)部分 17
3.1系統(tǒng)程序流程 17
3.2 AD9850程序 19
3.3 4×4矩陣鍵盤子程序設(shè)計(jì) 21
3.4 數(shù)碼管顯示程序設(shè)計(jì) 24
3.5 鍵盤顯示轉(zhuǎn)換程序 25
4 系統(tǒng)調(diào)試結(jié)果及性能分析 29
5 總結(jié) 32