太陽能電站嵌入式與監(jiān)控程序設計
發(fā)布時間:2019-01-12 12:02
【摘要】:本文首先簡述了太陽能發(fā)電技術及其太陽能電站監(jiān)控系統(tǒng)的研究現(xiàn)狀。根據(jù)系統(tǒng)要求的功能提出了所要設計的太陽能電站的監(jiān)控系統(tǒng)組成。根據(jù)監(jiān)控系統(tǒng)的功能簡要討論了太陽能電站監(jiān)控系統(tǒng)的組成結構,確定了系統(tǒng)方案,整個系統(tǒng)的設計依照系統(tǒng)方案完成。根據(jù)系統(tǒng)方案的實際需要,選取了飛思卡爾公司的S12X系列單片機作為下位機控制器,上位機使用意法半導體公司的嵌入式32位微控制器STM32F103作為主控芯片,同時還簡要地討論了硬件設計。本文最主要的內容是程序設計,由于下位機嵌入了實時操作系統(tǒng)μC/OS-Ⅱ,因此,還討論了嵌入式實時操作系統(tǒng)μC/OS-Ⅱ的移植問題。μC/OS-Ⅱ的移植主要包括對依賴于硬件的頭文件、匯編文件和C文件進行移植,在此基礎上討論了任務程序的結構和部分任務程序的設計。在用戶程序部分,分別討論了下位程序、上位機程序和監(jiān)控計算機上的程序的編寫。下位機程序主要涉及A/D轉換程序、ZigBee協(xié)議通信程序、EEPROM的讀/寫程序、溫濕度傳感器控制程序等的編寫;上位機主要涉及GPRS模塊程序;監(jiān)控計算機程序可以通過不同的窗口實現(xiàn)太陽能電站監(jiān)控數(shù)據(jù)實時顯示和控制。本系統(tǒng)已經在實驗室進行了應用測試,基本達到了預期目標。
[Abstract]:In this paper, the research status of solar power generation technology and solar power station monitoring system is introduced. According to the function required by the system, the composition of the monitoring system of solar power station is put forward. According to the function of the monitoring system, the structure of the solar power station monitoring system is briefly discussed, and the system scheme is determined. The design of the whole system is completed according to the system scheme. According to the practical needs of the system, the S12X series MCU of Freescale Company is selected as the lower computer controller, and the upper computer uses the embedded 32-bit microcontroller STM32F103 of Italy Semiconductor Company as the main control chip. At the same time, the hardware design is briefly discussed. The main content of this paper is programming. Because the lower computer has embedded the real-time operating system 渭 C / OS- 鈪,
本文編號:2407750
[Abstract]:In this paper, the research status of solar power generation technology and solar power station monitoring system is introduced. According to the function required by the system, the composition of the monitoring system of solar power station is put forward. According to the function of the monitoring system, the structure of the solar power station monitoring system is briefly discussed, and the system scheme is determined. The design of the whole system is completed according to the system scheme. According to the practical needs of the system, the S12X series MCU of Freescale Company is selected as the lower computer controller, and the upper computer uses the embedded 32-bit microcontroller STM32F103 of Italy Semiconductor Company as the main control chip. At the same time, the hardware design is briefly discussed. The main content of this paper is programming. Because the lower computer has embedded the real-time operating system 渭 C / OS- 鈪,
本文編號:2407750
本文鏈接:http://www.sikaile.net/kejilunwen/dianlilw/2407750.html
教材專著