- 3
- 0
- 约2.17万字
- 约 26页
- 2019-09-22 发布于湖北
- 举报
PAGE 25
C2000参赛项目报告(命题组)
题 目: 基于TMS320F2812的复合频率信号频率计
学 校: 合肥工业大学
基于TMS320F2812的复合频率信号频率计
刘翠???? 熊文军??? 郑文旭
(合肥工业大学电气与自动化工程学院? 邮编230009)
摘要:本设计基于TMS320F2812 DSP芯片,研制了复合频率信号频率计。利用外部信号源和设计的加法电路产生叠加信号。将周期图谱分析和频谱校正相结合,实现对主次信号频率、幅值宽范围、高精度的测量。采用先计算复数FFT再转化为实数FFT的算法,减少了数据存储空间,保证系统的实时性。提出二次采样和分段设置采样频率的方法,通过多次测量取平均值的方法得到最终结果,提高了系统的测量精度。采用C2000PWM模块和开关电容滤波器,准确重建主次信号。系统测试结果表明本设计是可行的。
关键词:复合频率计,复数FFT,频谱校正,DSP
????????
?
Frequency Counter for Complex Frequency Signal based on TMS320F2812
Liu Cui Xiong Wenjun Zheng Wenxu
(School of Electrical Engineering and Automation,Hefei University of Technology)
Abstract:Frequency counter for complex frequency signal is developed with TMS320-
F2812DSP in our project. The complex signal is produced by the external signal generat- or and self-designed added circuit. Combining the periodogram spectral analysis with the spectral correction, the wide range and high-precision measurements of the primary and secondary signal frequency and magnitude. The method that calculating complex FFT first and then converting to real FFT is adopted to save the storage and meet the real-time requirements of the system. In order to improve the measurement precision,a measurem- ent method is proposed using the twice sampling and different sample frequency accordi-
ng to frequency range,and the final results are obtained by averaging multi-time measur-
ements. Using the PWM output and switch capacitive filter, both primary and secondary signal are reconstructed accurately.The testing results show that our design is feasible.?
Key words:Complex frequency Counter, Complex FFT, Spectral Correction, DSP
目 录
TOC \o 1-2 \h \z \u \t 标题 3,3 1 引言 3
2 系统方案 3
2.1总体介绍 3
2.2信号频率及幅值测量原理 3
2.3采样频率设置 6
3 系统硬件设计 8
3.1信号产生与调理模块 8
3.2 DSP信号处理模块 9
3.3通讯显示模块 10
3.4电源管理模块 11
3.5信号重建模块 11
4 系统软件设计 14
4.1软件总体框图 14
4.2主监控程序和中断 14
4.3采样模块 16
4.4频谱分析模块 16
4.5串口通讯的软件设计 17
4.6看门狗模块 20
4.7 PWM模块 20
原创力文档

文档评论(0)