基于STM32的信号发生器设计

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

摘要I摘要信号发生器是一种能产生多个函数信号的的仪器,常见的有正弦波、方波、三角波等。在电子技术飞速发展的今天,信号发生器作为各种信号源无论在实验室还是在设备检测中已经具有十分广泛的用途。传统的信号发生器大多是基于模拟电子技术设计制作的,这种信号源制作简单,成本低廉,但是它的缺点也很多,比如不便于存储,频率稳定度差,失真度高等。DDS是以全数字技术,从相位概念出发直接合成所需波形的一种新的合成原理。本设计采用DDS和单片机技术相结合,以STM32F103RBT6芯片及AD9834为核心设计了一种幅度、相位、频率都可调节的信号发生器,它不仅能克服传统的正弦波信号发生器的缺点,而且由模拟乘法器产生调幅电路、采用数字键控的方法实现二进制PSK、ASK信号,且频带较宽、频率稳定度高,波形良好。该信号发生器具有更强的市场竞争力,在跳频技术、无线电通信技术方面具有比较广阔的发展前景。关键字:信号发生器,STM32F103RBT6,DDS,AD9834ABSTRACTIIABSTRACTSignalgeneratorcangeneratemultiplefunctionsisasignaloftheinstrument,commonhaveasinewave,squarewave,trianglewave,etc.Intoday'srapiddevelopmentofelectronictechnology,signalgeneratorasavarietyofsignalsourceinthelaboratoryorintheequipmenttestinghasaverywiderangeofUSES.Mostofthetraditionalsinewavesignalgeneratorisdesignedbasedonanalogelectronictechnology,thisissimpleandlowcostproductionsource,butithasmanyshortcomings,suchasitisnoteasytostore,itsfrequencystabilityispoor,highdistortionandsoon.DDSisanewsyntheticprinciplewhichbasedontheall-digitaltechnology,startingfromtheconceptofphasedirectsynthesisofwaveformsrequired.ThisdesignusesDDSandmicrocontrollertechnology,theAD9850DDSchiptothecore,designasinewavesignalgenerator,whosemagnitude,phase,frequencycanberegulated.It’snotonlycanovercomethetraditionalshortcomingsofthesinewavesignalgenerator,andtheamplitudecircuitisproducedbytheanalogmultiplier,thedigitalkeyingisusedtoachievebinaryPSK,ASKsignal,andithaswideband,highfrequencystability,wavegood.Thesignalgeneratorhasastrongermarketcompetitiveness,inthefrequencyhopping,radiocommunicationtechnologyhasrelativelybroadprospectsfordevelopment.Keywords:signalgenerator,STM32F103RBT6,DDS,AD9834目录III目录第1章引言······················································································11.1选题背景························································································11.2研究目标和意义···············································································21.3研究思路························································································2第2章方案论证················································································32.1主控制器························································································32.2信号发生源·····················································································42.3系统稳压模块··················································································52.4DDS稳压模块··················································································52.5频率控制模块··················································································52.6串口模块························································································62.7显示模块························································································6第3章硬件模块详解··········································································83.1STM32F103RBT6简介·······································································83.1.1综述···························································································83.1.2结构概览·····················································································83.1.3特性···························································································93.1.4芯片引脚排列说明·······································································103.2信号发生模块················································································123.2.1综述·························································································123.2.2特点和优势················································································123.2.3芯片引脚排列及功能····································································133.3正弦调制信号的产生······································································153.4三角波调制信号的产生···································································163.5LCD显示器···················································································173.5.1综述·························································································173.5.2基本特征···················································································173.5.3控制器接口信号说明····································································18目录IV第4章硬件电路设计········································································204.1STM32主控电路及液晶显示电路·······················································204.2AD9834信号源模块········································································224.3系统电源模块及DDS电源·······························································234.4控制模块······················································································244.5串口模块······················································································24第5章系统软件设计及调试······························································265.1Keil软件的介绍·············································································265.2系统软件设计················································································275.2.1

1 / 55
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功