摘要
该文以增强型51单片机STC15W4K32S4系列单片机为控制器,对增强型51单片机进行C语言编程输出SPWM信号,经过IR2110驱动芯片放大SPWM信号后,控制全桥逆变电路中的全控型器件MOSFET,从而实现正弦逆变输出。使用6N137光电耦合器将以单片机为主的控制电路与IR2110及全桥逆变等组成的功率电路进行隔离,避免功率电路影响控制器正常运行和损坏控制器。并通过按键设置正弦波频率在LCD1602液晶屏显示,达到变频输出的效果。最后完成硬件电路的实物验证,得到了不同频率的输出正弦电压波形,试验结果表明,输出电压正弦度良好。
In this paper,the single chip microcomputer of the enhanced 51 single chip microcomputer STC15 W4 K32 S4 is designed as the controller,and the output SPWM signal of the enhanced 51 single chip computer is carried out in C programming. After amplifying the SPWM signal with the IR2110 drive chip,the all-control device MOSFET in the full bridge inverter circuit is controlled,and the sine invert output is realized. The 6 N137 optical coupler is used to isolate the power circuit,which is composed of single chip microcontroller and IR2110 and full bridge inverter,to avoid interference and damage caused by the power circuit to the controller. It can be used to set the sine wave frequency in LCD1602 LCD screen to achieve the effect of variable frequency output. Finally,the physical verification of the hardware circuit is completed,and the output sine voltage waveform of different frequencies is obtained. The experimental results show that the output voltage is good.
出处
《自动化与仪表》
2018年第2期90-93,共4页
Automation & Instrumentation
关键词
SPWM
全桥逆变
单片机
光耦隔离
SPWM
full bridge inverter
single chip microcomputer
optocoupler isolation