文档详情

基于单片机的正弦波逆变电源设计.doc

发布:2017-05-18约1.88万字共49页下载文档
文本预览下载声明
目录 摘要 I Abstract II 第一章 绪论 1 1.1系统研究的背景 1 1.2 系统研究的意义 2 第二章 系统的工作原理与结构 3 2.1系统的工作原理 3 2.2系统的硬件结构 6 2.3系统的软件设计 7 第三章 系统的硬件设计 8 3.1主控制器 8 3.2 DC-DC模块 9 3.2.1 PWM脉冲产生电路 9 3.2.2变压器的设计 10 3.3.3输出整流电路的设计 12 3.3 DC-AC模块 12 3.3.1SPWM波驱动隔离 13 3.3.2 开关电路的设计 14 3.3.3 LC滤波电路设计 15 3.4 保护模块 16 3.4.1 温度保护 16 3.4.2输入保护 16 3.4.3输出保护 17 3.5直流5V电路设计 18 3.6显示与报警模块 18 3.6.1液晶显示 18 3.6.2蜂鸣器报警 20 第四章 系统的软件设计 21 4.1开发环境介绍 21 4.2 SPWM程序设计 23 4.3液晶驱动程序设计 28 第五章 结束语 32 参考文献 33 致谢 34 附录一系统原理图 35 附录二系统源程序 36 摘要本设计是基于单片机STC而设计的纯正弦波逆变电源。额定输入12V的直流电,输出为50Hz,220V的交流电。额定输出功率为300W。设计了全方位的保护电路包含根据温度来控制散热风扇的开启输入低压、过压的关断功能当输入过低时,,可以防止蓄电池当输入过高时,停止损坏芯片。拥有输入防反接功能,当输入正负极接错时,不会烧坏芯片或蓄电池。采用了一个液晶屏来显示输出的电压,频率等信息。输出的交流电为标准的正弦波,而不是方波或修正波,可以实现更宽范围的带负载能力。根据,转换效率85%以上,输出稳定,达到了的实验效果。 单片机,逆变电源,正弦波,反接保护 Abstract The design is based on STC microcontroller designed for pure sine wave inverter. Rated input voltage of 12V DC, output is 50Hz, 220V AC. Rated output power of 300W. I designed a full range of protection circuits. It can be included to control the temperature on the cooling fan. Achieve a input voltage, overvoltage shutdown function. When the input voltage is too low, the inverter is stopped, to prevent damage to the battery, when the input voltage is too high, the inverter is stopped to prevent damage to the chip. Has the input anti-reverse function when the input is negative then the wrong time, and after the shutdown input stage circuit connections will not burn chips or batteries. It uses a liquid crystal screen to display the output voltage, output frequency and other information. It uses two light emitting diodes to indicate the operating status. It uses a buzzer when an error occurs, the alarm beeps. The standard AC output sine wave, rather than a square wave or modified wave, a wider range can be achieved with a load capacity. According to the test, the conversion efficiency of more than 85%, stable output, to achieve a good experimental result. Key Words MCU, Inverter, Sine wave, reverse polarity protec
显示全部
相似文档