摘要信号发生器又称信号源,主要给被测电路提供所需要的各种波形的确定信号,其波形、频率、幅值等参数可以通过键盘进行选择或输入。本文首先调研了信号发生器的研究 背景及现状,在对信号发生器工作原理的研究基础上,设计了基于单片机的简易信号发生 器。该信号发生器由主控模块,显示模块,信号发生模块,程控放大模块,负压产生模块 等模块组成,以 STC12C5A60S2 单片机作为主控芯片,辅以 DAC0832 等器件设计了各模块 的硬件电路,编制了相应的控制软件,可以产生正弦波、锯齿波、三角波和占空比可调的 方波。 69379

毕业论文关键词  信号发生器  单片机  STC12C5A60S2 DAC0832

毕 业 设 计 说 明 书 外 文 摘 要

Title    The design of signal generator based on MCU                

Abstract

Signal generator is also called signal source, and mainly provides certain signals of various waves for the circuit-under-test, and the parameter of the certain signals such as wave form, frequency and amplitude can be chosen or input by the keyboard. This paper researched the background and situation firstly, and designed a simple signal generator based on the MCU and the researeh of the principle of the signal generator. The signal generator consists of five modules, namely, the master control module, the display module, the signal producing module, the programmable amplifier module, and the producing module. The signal generator used STC12C5A60S2 as main control chip, supplemented by DAC0832 and other devices, with the controlling software being programmed, can produce sine wave, sawtooth wave, triangle wave and square wave of adjustable duty cycle. 

Keywords  Signal generator  MCU  STC12C5A60S2 DAC0832

本科毕业设计说明书 第 I 页

目次

1  绪论 .. 1 

1.1  综述 . 1 

1.2 信号发生器分类及主要性能 . 2 

1.3 信号发生器的应用背景 .. 2 

1.4 主要研究内容 . 4 

系统设计方案  5 

2.1 系统整体设计概述  5 

2.2 主控模块 .. 6 

2.3 显示模块 .. 6 

2.4 信号产生模块 . 6 

2.5 程控放大模块 . 7 

2.6 负压产生模块 . 7 

3  系统硬件电路设计 .. 8 

3.1 主控模块设计 . 8 

3.2 LCD 液晶显示器 . 13 

3.3 键盘模块设计  15 

3.4 信号产生模块设计 .. 15 

3.5 程控放大模块设计 .. 16 

3.6 负压转换电路模块设计 . 17 

4  系统软件部分设计 . 19 

4.1 系统软件整体框图 .. 19 

4.2 各功能程序设计 . 20 

5  系统调试与仿真  22 

5.1 系统硬件调试  22 

5.2 系统软件调试  23 

结  论 .. 25 

致  谢 .. 26 

参 考 文 献  27 

第 II  页 本科毕业设计说明书

1 绪论

在进行各种测量工作时,经常要使用各种频率和各种波形的电压或电流信号。为了适应 各种使用场合的需要,这些信号通常是由一种能够自动地将直流电能转变为周期性变化的交 流电能输出的电路或设备产生的,这种电路或设备称为交变信号发生器。[1]信号发生器用途广 泛,尤其是在电子工程、通信工程、测控仪器、仪表和计算机领域,往往须要生成不同波形 的信号发生器,它能达到测试系统的各种要求,是系统中非常重要的一部分。 

上一篇:STC89C52单片机嵌入式家庭防盗报警系统设计+程序+电路图
下一篇:MSP430物联网的智能农业数据采集节点设计与实现

STC89C52单片机的温度控制系统设计+电路图

STM32单片机数字回转库控制系统设计+PCB电路图

AT89C51单片机电力电缆温度...

STM32单片机的电力系统数字频率计设计+流程图

STC90C51RD+单片机的纺织机械...

单片机的纺织机械电机保护系统设计任务书

STC89C52单片机超声波和红外...

网络语言“XX体”研究

老年2型糖尿病患者运动疗...

ASP.net+sqlserver企业设备管理系统设计与开发

我国风险投资的发展现状问题及对策分析

麦秸秆还田和沼液灌溉对...

互联网教育”变革路径研究进展【7972字】

安康汉江网讯

新課改下小學语文洧效阅...

张洁小说《无字》中的女性意识

LiMn1-xFexPO4正极材料合成及充放电性能研究