摘要
针对基于DC-AC可编程交流电源频率与相位调节分辨率较低、高次谐波叠加困难、输出波形畸变等问题,提出了应用处理器STM32F103ZET6内置的两路12 bit DAC来拟合波形作输出的方案。CPU计算出所需的波形点,经DAC拟合输出、功率放大、滤波、变压器运放等环节处理并结合反馈信号应用数字PID算法,使最终输出信号快速且稳定地达到预设值。经测试,应用此方案设计的可编程交流电源,其频率与相位的分辨率显著提高,方便叠加各次谐波,且输出波形质量明显得到改善。
A new method of using two inbuilt 12 bit DAC of processor STM32F103ZET6 to fit the waveforms for output program was proposed, to deal with the problems of DC- AC based programmable AC power, such as low frequency and phase adjustment resolution, high harmonic superposition difficulties, the output waveform distortion and so on. CPU calculates the desired waveform points, through fitting output by DAC, power amplifier, filters, transformers and other aspects of processing and then adopt the digi-tal PID algorithm combining feedback signals, so that the final output signals can rapidly and stably reach the preset value. Veri-fied by testing, by applying this design to programmable AC powers, the resolution of frequency and phase adjustment significantly improved, each harmonic can be superimposed conveniently, and the output waveform quality significantly improved.
出处
《电子技术应用》
北大核心
2016年第2期125-128,共4页
Application of Electronic Technique
基金
国家自然科学基金(51177039)