1、编号: 毕业设计说明明书 题 目: 基于单片机的基于单片机的 D D 类功放设计类功放设计 院 (系) : 专 业: 电子信息工程 学生姓名: 学 号: 指导教师: 职 称: 讲 师 题目类型:题目类型: 理论研究 实验研究 工程设计 工程技术研究 软件开发 2013 年 10 月 25 日 第 1 页 共 3 页 摘 要 数字功放由于其效率高、 易与数字音源对接等优点而在现实生活中具有越来越广泛 的应用。本设计基于单片机制作了一款 D 类功放。功放系统利用单片机的 AD 转换功能 将输入的音频信号转换为占空比随模拟信号电压变化的 PWM 信号, 经功率放大器放大随 输入音频变化的 PWM 信
2、号,再由低通滤波器把 PWM 波形中的声音信息解调出来。系统以 内带AD转换器的8051内核单片机STC12C5410AD为音频采集核心,由单片机内部算法转 换成 SPWM 信号。系统的放大部分采用功率型高速 MOSFETD 开关管组成推挽放大电路, 主要用来 PWM 信号放大,最后利用 LC 低通滤波器对脉冲信号进行平滑处理, 还原出声音 电信号,最后通过扬声器来转换输出放大了的声音信号。经试验验证,本文制作的 D 类 功放,具有功耗低、成本低、电路简单、音质较好等优点。 关键词:数字功放;STC12C5410AD;推挽放大; PWM;低通滤波器 第 2 页 共 3 页 Abstract D
3、igital power amplifier because of its advantages of high efficiency, easy to dock with the digital audio source and has more and more widely used in real life. This design based on single chip microcomputer made a class D power amplifier. Power amplifier system using MCU AD conversion function conve
4、rts input audio signal duty cycle change with analog signal voltage PWM signal, the PWM power amplifier amplification change with the input audio signal, and then by the low-pass filter demodulation of the PWM waveform sound information. System with the AD converter within 8051 kernel microcontrolle
5、r STC12C5410AD as the core audio collection, internal algorithm converts the SPWM signal by single-chip microcomputer. Amplification part of the system of using power type high-speed MOSFETD switching tube push-pull amplifier circuit, mainly used for PWM signal amplification, finally using LC low pa
6、ss filter to smooth the pulse signal, the reduction of noise signals, finally through the speaker to the transformation output amplified voice signal. Verified by test, this paper made of class D power amplifier, has low power consumption, low cost, simple circuit, good sound quality, etc. Key words: Digital power amplifier; STC12C5410AD; Push-pull amplifier; PWM. Low pass filter 第 3 页 共 3 页 目目 录录 1 绪论.1 1.1 课