(完整版)次声波发生器的制作毕业设计

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

毕业设计(论文)

设计(论文)题目:基于STC89C52单片机的次声信号发生器的设计

摘要

随着人类对次声了解的深入,次声在科学、军事、医学等领域中的应用也越来越广。为了能够方便的研究次声,就必须要有能够方便产生次声的装置。这就有了本文的研究背景。

本系统以STC89C52单片机为核心,辅以必要的模拟电路,构成了一个基于STC89C52单片机的次声信号发生器。其主要模块有单片机控制模块、频率输出模块、键盘控制模块及LCD显示模块,其中频率生成模块由单片机控制DAC0832生成,键盘控制模块采用5个按键来选择波形类型及调节频率、幅值,显示模块则采用LCD1602来显示波形类型、频率及幅值,输出的波形由示波器进行检查。

实验结果表明,由STC89C52单片机所产生的次声波频率精度较高,且具有操作简单、成本低廉、使用方便等特点,值得在实验室中进一步推广和扩充。

【关键词】STC89C52单片机DAC0832 LCD1602 键盘控制次声检测

ABSTRACT

With the depth understanding of infrasound by human being, infrasound in the scientific, military, medical and other applications in the field has become an increasingly widespread. In order to research the infrasound conveniently, we must have a device which can generate infrasound easily. This is the background of this article.

This system take the STC89C52 monolithic integrated circuit as a core, auxiliary by necessity analogous circuit, constituted one based on the STC89C52 monolithic integrated circuit and the phase-locked loop infrasound signal generating device.Its main module has the frequency output module,the phase-locked loop frequency multiplication and the LCD demonstration. And the frequency production module controls DAC0832 by the monolithic integrated circuit.The keyboard control module take five key-press to choose the type of the wave and to adjust the frequency and the amplitude,the square-wave can adjust the dutyfactor willfully, demonstrates the the frequency on LCD.

The results of experiment show that STC89C52CSM can generate the infrasound with high frequency accuracy, and has many features, such as simple, low-cost, easy to use. It is worth to further promote and expand in laboratory.

【Key words】Stc89C52mcu Dac0832 Lcd1602 keyboard control

Infrasound detection

目录

绪论............................................................................................ 错误!未定义书签。第一章次声发生器的概述 .. (1)

第一节次声 (1)

一、次声的概念 (1)

二、次声的危害 (2)

三、次声的应用 (2)

第二节次声发生器 (3)

一、次声发生器概念 (3)

二、次声发生器的研究动态 (4)

第三节本章小结 (5)

第二章系统设计方案 (6)

第一节电子式次声发生器的设计 (6)

一、此方案的总体设计 (6)

二、MATLAB中正弦信号的产生 .......................... 错误!未定义书签。

三、WA V文件的生成及播放................................... 错误!未定义书签。

四、次声信号的转换 ................................................ 错误!未定义书签。

五、次声的产生 ........................................................ 错误!未定义书签。

第二节基于STC89C52单片机次声发生器总体设计 (8)

一、此方案的总体设计 (8)

二、电路的设计 (8)

第三节两种方案的对比 (11)

第四节本章小结 (11)

第三章单片机的概述 (13)

第一节单片机的发展历史及趋势 (13)

第二节STC89C52单片机结构简介 (14)

一、STC89C52的基本特性 (14)

二、STC89C52单片机的外部引脚介绍 (15)

第三节本章小结 (19)

第四章系统硬件的设计 (20)

第一节总体框图 (20)

第二节单片机最小系统设计 (21)

第三节8位DA转换器DAC0832 (22)

一、DAC0832的引脚图及内部结构 (22)

二、DAC0832的工作方式 (24)

第四节系统显示功能设计 (25)

第五节系统按键功能设计 (29)

第六节本章小结 (30)

第五章系统软件设计 (31)

第一节系统软件总体设计 (31)

第二节子系统软件设计 (31)

一、外部中断0 (31)

二、外部中断1 (32)

三、定时器0 (33)

第三节本章小结 (34)

第六章调试的过程和出现的问题分析 (35)

结论 (41)

致谢 (41)

相关文档
最新文档