- 4
- 0
- 约2.07万字
- 约 27页
- 2018-02-28 发布于贵州
- 举报
基于MCS一51单片机的谐波检测仪的研究论文
河北农业大学现代科技学院
本科毕业论文
题 目:
学 :
专业班级: 学 号:
学生姓名:
指导教师:
指导教师:
二O年 月日
FFT算法的基础上,对谐波检测的对象进行数据分析,为系统的设计提供参考数据。本文完成了系统硬件电路的设计和仿真。硬件电路以MCS一51单片机为核心,配以适当的外围接口电路来完成各项功能。主要包括A/D采样电路、数据处理电路(单片机)、D/A转换器。软件设计以快速傅立叶变换(FFT)为主要部分,通过对所采集的数据来测量电参数。进行了相关软件算法的设计,完成每周期256点的离散采样,由单片机进行基2一FFT运算,运算结果可用于63次以下的谐波分析。系统程序采用模块化的设计思想,在软件设计中对每个模块都完成了框图设计和相关的编码设计。
关键字:单片机;谐波检测;FFT
Abstract
This paper first introduced the harmonic analysis algorithm theory basis. In the extensive use of FFT algorithm, on the basis of the object of harmonic detection of data analysis, for the design of the system with reference data. We completed a hardware circuit and the design of system simulation. Hardware circuit to 51 single-chip microcomputer is a MCS, match with appropriate interface circuit to the periphery of the complete all the function. Mainly includes A/D sampling circuit, data processing circuits (SCM), D/A converter. The software design with fast Fourier transform (FFT) as the main part, from all the data to measure electric parameters. Some software algorithm design, complete each cycle of discrete sampling 256 points, by MCU and 2 a FFT calculation, the operation result can be used for 63 times of the harmonic analysis. System programming the modularized design thought, in the software design of each module completed the block diagram design and relevant code design.
Key word: single chip microcomputer;the harmonic detection; FFT
目 录
1前言 1
1.1目的意义 1
1.2 谐波检测的现状 1
1.3 本文研究内容 2
1.3.1 谐波检测的仿真设计思路 2
1.3.2课题的主要任务 2
2系统整体设计 2
2.1硬件系统设计 2
2.1.1数据采集模块 3
2.1.2 D/A转换器与51的接口模块 4
2.1.3显示模块 6
2.1.4系统整体结构 7
2.2系统软件设计 7
2.2.1数据采集软件模块 9
2.2.2算法实现 9
2.2.3.开方在单片机中的原理 10
3.系统仿真 12
4.结论 14
参考文献 15
附录: 16
1前言
谐波的危害十分严重。谐波使电能的生产、传输和利用的效率降低,使电气设备过热、产生振动和噪声,并使绝缘老化,使用寿命缩短,甚至发生故障或烧毁。谐波可引起电力系统局部并联谐振或串联谐振,使放大,造成电容器等设备烧毁。谐波还会引起继电保护和自动装置误动作,使电能计量出现混乱。对于电力系统外部,谐波对通信设备和电子设备会产生严重干扰首先,它可以提高企业设备的供电质量,提高设备运行的可靠性,减少因设备误动作而造成的经济损失;其次,可以减少谐波电流在
原创力文档

文档评论(0)