摘要
本文介绍了用PIC16F877A单片机作为控制器,进行SPWM波调制的方法。详细分析了面积等效法原理以及单片机产生SPWM波脉宽数据的过程,并通过逆变电路进行了相关验证。实验结果表明,采用PIC单片机作为正弦波逆变器的核心控制器件生成SPWM波,简单有效,性能可靠;逆变输出电压稳定,总谐波含量THD低,波形失真少。
This paper introduces the method of SPWM wave modulation by PIC16F877A MCU.The principle of the area equivalent and the process of generating SPWM wave pulse width data are analyzed in detail,and the relevant verification is carried out by the inverter circuit.Experimental results show that using PIC microcontroller as the core control device of sine wave inverter to generate SPWM wave is simple and reliable;the output voltage of inverter is stable,the total harmonic content of THD is low,and the waveform is practically undistorted.
引文
[1]杨茂荣,李凌锐,李安兵.基于PIC单片机的SPWM逆变器研究与实现[J].SOLAR ENERGY,2011,13:38.
[2]刘黎.用单片机产生SPWM及制作小功率UPS[J].中南民族大学学报,2002,21(1):48-49.
[3]陈晓萍,王念春,马玉龙.PIC单片机设计的SPWM控制技术[J].电源技术应用,2006,9(3):39-40.