实验科学与技术2025,Vol.23Issue(6):17-26,42,11.DOI:10.12179/1672-4550.20240304
多种失真信号产生及失真度测量装置的实现
A Device for Generating and Measuring Multiple Distorted Signals
摘要
Abstract
To address the issue of signal distortion caused by nonlinear components in circuits,a device capable of generating and measuring multiple types of distorted signals was designed and implemented.The hardware structure of the device consisted of signal generation,signal selection,MCU control,local display and interaction,wireless transmission,and other auxiliary circuits.In the software,a MCU timer was used to control the ADC for signal voltage acquisition,and a DMA channel was enabled to improve data transfer speed.A DSP library was deployed to perform a fast Fourier transform(FFT)on the signal,after which the total harmonic distortion(THD)value was calculated by measuring the amplitudes of the first five harmonics.Test results indicated that for an input signal with a peak-to-peak voltage ranging from 20 mV to 3 V and a fundamental frequency between 1 kHz and 100 kHz,the device could control the output of five types of signals:top distortion,bottom distortion,bidirectional distortion,crossover distortion,and no obvious distortion through local interaction and mobile app.The mean absolute error in THD measurement for all five signal types,across various distortion levels,was found to be less than 0.008.The device has a fast response speed,supports human-machine interaction,data storage and traceability,providing a visual teaching tool for understanding the signal distortion mechanism and THD measurement,and offering a technical reference for the development of novel signal processing devices.关键词
总谐波失真/非线性失真/信号发生器/快速傅里叶变换/远程控制Key words
total harmonic distortion/nonlinear distortion/signal generator/fast Fourier transform/remote control分类
电子信息工程引用本文复制引用
吕军,罗均毅,吴子山..多种失真信号产生及失真度测量装置的实现[J].实验科学与技术,2025,23(6):17-26,42,11.基金项目
浙江省高校实验室工作研究项目(ZD202306). (ZD202306)