毕业论文:《基于AT89S52单片机信号发生器的设计》.doc

毕业论文:《基于AT89S52单片机信号发生器的设计》.doc

  1. 1、本文档共56页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
PAGE 基于AT89S52单片机信号发生器的设计 摘要 采用直接频率信号合成器(DDS)与单片机(MCU)相结合的方法,介绍ADI 公司出品的AD9850 芯片,给出芯片的引脚图和功能。并以单片机AT89S52为控制核心设计了一个串行控制方式的正弦信号发生器的可行性方案,给出了单片机AT89S52与AD9850连接电路图和调试通过的源程序以供参考。该电路设计方案正确可行,频率容易控制,操作简单灵活,且具有广阔的应用前景。详细介绍了DDS基本原理、系统方案构成、硬件电路设计和软件设计。通过严格的实测数据分析表明该设计是可运行的。 关键词: AT89S52 AD9850 直接频率合成技术 信号发生器 Abstract The way is used which combines the Direct Digital Synthesizer(DDS) and Main Computati0nal Unit(MCU) to design afunction signalgenerator.AD9850 which is produced by ADI Company is int roduced ,then the pins diagram and function are given. And the control of a serial control sinusoidal signal generator by the core of single chip AT89S52 is designed ,at the same time ,the circuit connect diagram between AD9850 and AT89S52 ,and feasibility of the program for reference are proposed. This circuit design project is correct and feasible, it is easy to control the frequency, simple and flexible to work, it also has broad application prospect’s . The principle and system components of DDS is introduced. It also introduces the methods which design the hardware circuit and software .It shows a success design by the data which come from the strict experiments. Keywords : AT89S52 ,AD9850 ,DDS ,signal generator 目录 TOC \o 1-4 \h \u }; unsigned char code LcdBuf2[]= { TEL; //请直接改成您的电话号码即可。 double Con_Word_1 = 0x00; double Con_Word_2 = 0x00; long uint ConTrol_Word = 0x00; //根据设置的频率换算成将要送入AD9850中的整数量; long uint Frequency_Out; uchar a,b,c,d,e,f,g,h; uchar AnJianCiShuBiangLiang = 0x00; longuint SheZhiZhongYaoXianShiDeShuJu = 0x00; uchar dingshiqilideshijianbianliang = 0x00; ucharlianjiabiaozhi=0x00; lianjianbiaozhi = 0x00; long uint Out_Signal_Max =//设置子程序中的上限值 uint Light_Bian_Liang = 0x00; sbit Light = P1^0; //程序状态指示灯,它与单片机对9850控制无关,只是调程序的时候使用! sbit P3_4 = P3^4; sbit P3_6 = P3^6; sbit P3_7 = P3^7; sbit P3_3 = P3^3; sbit P3_5 = P3^5; //declare for keys uchar j = 0,dat = 0; uchar keyzhi = 0x00; void lcd_init(void); void display_

文档评论(0)

老刘忙 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档