现代电子技术
現代電子技術
현대전자기술
Modern Electronics Technique
2015年
23期
41-43,46
,共4页
DSP%谐波检测%改进DFT%加窗插值%FFT
DSP%諧波檢測%改進DFT%加窗插值%FFT
DSP%해파검측%개진DFT%가창삽치%FFT
DSP%harmonic detection%improved DFT%windowing interpolation%FFT
DFT/FFT是进行谐波检测的有效方法,其算法简单,易于实现。在改进DFT算法的基础上,利用CCS仿真与硬件DSP相结合的方式验证算法,通过将加窗插值FFT算法与改进DFT算法进行对比对数据进行分析,比较各次谐波幅值、相位以及频率的误差。利用信号发生器产生三角波进行DSP硬件测试,分析两种算法在通过数据采集、A/D转换后受到的精度影响,验证算法的实时性、准确性和稳定性。最终分析出在非同步采样时,改进DFT算法具有较高的检测精度,而加窗插值FFT算法实时性比较好。
DFT/FFT是進行諧波檢測的有效方法,其算法簡單,易于實現。在改進DFT算法的基礎上,利用CCS倣真與硬件DSP相結閤的方式驗證算法,通過將加窗插值FFT算法與改進DFT算法進行對比對數據進行分析,比較各次諧波幅值、相位以及頻率的誤差。利用信號髮生器產生三角波進行DSP硬件測試,分析兩種算法在通過數據採集、A/D轉換後受到的精度影響,驗證算法的實時性、準確性和穩定性。最終分析齣在非同步採樣時,改進DFT算法具有較高的檢測精度,而加窗插值FFT算法實時性比較好。
DFT/FFT시진행해파검측적유효방법,기산법간단,역우실현。재개진DFT산법적기출상,이용CCS방진여경건DSP상결합적방식험증산법,통과장가창삽치FFT산법여개진DFT산법진행대비대수거진행분석,비교각차해파폭치、상위이급빈솔적오차。이용신호발생기산생삼각파진행DSP경건측시,분석량충산법재통과수거채집、A/D전환후수도적정도영향,험증산법적실시성、준학성화은정성。최종분석출재비동보채양시,개진DFT산법구유교고적검측정도,이가창삽치FFT산법실시성비교호。
DFT/FFT is an effective method to detect the harmonic,its algorithm is simple and easy to implement. On the basis of the improved DFT algorithm,the algorithm is verified by combining CCS simulation with hardware DSP. The data is ana?lyzed by comparising the windowing interpolation FFT algorithm with the improved DFT algorithm,and the errors of each har?monic amplitude,phase and frequency are compared. The DSP hardware is tested by triangular wave generating from the signal generator,and the two algorithms after data collection and A/D conversion influencing on the precision is analyzed. The real?time performance,accuracy and stability of the algorithm were verified. The final analysis shows that,at the nonsynchronous sampling,the improved DFT algorithm has higher detection precision,and the windowing interpolation FFT algorithm has better real?time performance.