【正文】
the input voltage is too high, the inverter is stopped to prevent damage to the chip. Has the input antireverse 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 protection 目錄 摘要 ............................................................................................................................................ I ABSTRACT .............................................................................................................................II 第一章 緒論 ............................................................................................................................. 1 系統(tǒng)研究的背景 ............................................................................................................. 1 系統(tǒng)研 究的意義 ............................................................................................................. 2 第二章 系統(tǒng)的工作原理與結構 ............................................................................................. 3 系統(tǒng)的工作原理 ............................................................................................................. 3 系統(tǒng)的硬件結構 ............................................................................................................. 6 系統(tǒng)的軟件設計 ............................................................................................................. 7 第三章 系統(tǒng)的硬件設計 ......................................................................................................... 8 主控制器 ......................................................................................................................... 8 DCDC 模塊 .................................................................................................................... 9 PWM 脈沖產(chǎn)生電路 ................................................................................................ 9 變壓器的設計 ........................................................................................................ 10 輸出整流電路的設計 ............................................................................................ 12 DCAC 模塊 .................................................................................................................. 12 波驅動隔離 ................................................................................................ 13 開關電路的設計 .................................................................................................... 14 LC 濾波電路設計 .................................................................................................. 15 保護模塊 ....................................................................................................................... 16 溫度保護 ................................................................................................................ 16 輸入保護 ................................................................................................................ 16 輸出保護 ................................................................................................................ 17 直流 5V電路設計 ........................................................................................................ 18 顯示與報警模 塊 ....................................................................................................... 18 液晶顯示 ................................................................................................................ 18 蜂鳴器報警 ............................................................................................................ 20 第四章 系統(tǒng)的軟件設計 ....................................................................................................... 21 開發(fā)環(huán)境介紹 ............................................................................................................... 21 SPWM 程序設計 ........................................................................................................... 23 液晶驅動程序設計 ....................................................................................................... 28 第五章 結束語 ....................................................................................................................... 32 參考文獻 ................................................................................................................................. 33 致謝 ......................................................................................................................................... 34 附錄一系統(tǒng)原理圖 ................................................................................................................. 35 附錄二系統(tǒng)源程序 ................................................................................................................. 36 基于單片機的正弦波逆變電源設計 1 第一章 緒論 系統(tǒng)研究的背景 逆變電源是指將直流電源轉換為交流電源的的裝置。 輸出的交流電為標準的正弦波,而不是方波或修正波,可以實現(xiàn)更寬范圍的帶負載能力。 采用一對發(fā)光二極管來指示工作狀態(tài)。擁有輸入防反接功能,當輸入正負極接錯時, 關斷輸入與后級電路的連接, 不會燒壞芯片或蓄電池。 當輸入 U 過低時, 逆變現(xiàn)象停止 , 這樣 可以防止蓄電池 的損壞。包含 了可以 根據(jù)溫度來控制散熱風扇的開啟 。額定輸出功率為 300W。 本科生畢業(yè)設計說明書 論文題目: 基于單片機的正弦波逆變電源設計 年 月 日 I 摘要 本 次 設計是基于單片機 STC 而設計的純正弦波逆變電源。額定輸入 U=12V 的直流電,輸出為 50Hz,220V 的交流電。設計了全方位的保護電路 。實現(xiàn)了 輸入低壓、過壓的關斷功能 。 當輸入 U 過高時,停止 逆變,可以防止 損壞芯片。采用了一個液晶屏來顯示輸出的電壓, 輸出 頻率等信息。采用了一個蜂鳴器,當產(chǎn)生錯誤時,發(fā)出蜂鳴報警。根據(jù) 實驗分析 , 最終 轉換效率 達到 85%以上,輸出 結果 穩(wěn)定,達到了理想 的