摘要: | 隨著科技發展伴隨用電量的增加,人們環保意識抬頭,近年來有越來越多關於能源分配的議題,政府也提出多項關於節約能源的計畫。有鑑於物聯網技術(Internet of Things)的快速發展,日常生活中的物品可以透過網路連線進行溝通,例如智慧農場、智慧家庭、智慧電錶,這些例子透過物聯網技術監測環境的變化,不僅達到節約能源的效果,也降低了人力與時間成本。在本碩士論文研究中,我們模擬智慧農場的能源管理情境,並結合賽局理論與物聯網技術,設計了一套能源分配調光系統。為了使調光系統更加準確並增加智慧農場節約能源的效率,此系統另外導入並整合低功耗通訊技術傳輸、合作賽局理論Shapley value、能源監控裝置等。 在本論文的實驗中,首先我們在設備端透過多種物聯網感測器(如色彩感測器、電子計量器)感測環境濕度與光源的變化,再經由閘道器透過IBM的訊息佇列遙測傳輸(MQTT)將感測數據上傳至物聯網平台Node-RED,進行資料的建立與儲存並將數據視覺化,建立使用者介面存取所需的資訊並能讓使用者遠端操控進行控制與管理。我們也導入了賽局理論中的合作賽局模型Shapley value,透過資源分配的概念讓區域內的人工光源相互制衡,除了讓區域內的光源達到穩定輸出,也能偵測室內光與室外自然光,達到與太陽光互補的狀態,進而節省能源的消耗。我們可以設置環境所需要的光照區間,透過色彩感測器週期性的偵測環境光源,系統將自動判斷當下是否需要進行調光,再經由賽局理論模型,計算出各區域最適合的PWM調光值,達到調光的即時性、人工光源的穩定性以及能源消耗的最佳化三者之間的平衡。 本論文基於物聯網技術的實驗設計,我們希望能讓管理者隨時隨地監控實驗環境,並讓系統即時偵測室內外部環境光源,同時達到給予植物所需光照及節約能源,實現最低成本能源消耗的理想。在未來的研究,我們期許能在智慧農場中,將本實驗結合能源管理系統(HEMS)實現在真實場域,同時給予植物與作物足夠光照並減少場域的照明設備功耗。;With the development of science and technology and the increase in electricity consumption, people′s awareness of environmental protection has risen. In recent years, there have been more and more issues about energy distribution, and the government has also put forward a number of energy conservation plans. In view of the rapid development of the Internet of Things technology, devices and objects in daily life can be communicated through Internet connections, such as smart farms, smart homes, and smart electricity meters. These examples use the Internet of Things technology to monitor changes in the environment. To achieve the effect of saving energy, it also reduces labor and time costs. In this thesis study, we simulate the energy management situation of the smart farm, and combine the game theory and the Internet of Things technology to design an energy distribution and dimming system. In order to make the dimming system more accurate and increase the energy saving efficiency of smart farms, this system additionally introduces and integrates low-power communication technology transmission, cooperative game theory Shapley value, energy monitoring devices, etc. In the experiment of this thesis study, first we use a variety of IoT sensors such as color sensors and electronic meters on the device side to sense changes in environmental humidity and light sources, and then pass information through the gateway using Message Queue Telemetry Transmission (MQTT) for uploading the sensed data to the Node-RED IoT platform. The IoT management server creates and stores the data and visualizes the data, creates the information needed for user interface access and allows users to remotely control and manage IoT devices and sensors. We also import the Shapley value of the cooperative game model in game theory, through the concept of resource allocation to allow the artificial light sources in the area to check and balance each other. In addition to allowing the light sources in the area to achieve a stable output, it can also detect indoor light and outdoor natural light. To achieve a state of complementarity with sunlight, thereby saving energy consumption. We can set the lighting interval required by the environment, and periodically detect the ambient light source through the color sensor. The system will automatically determine whether dimming is needed at the moment, and then use the theoretical model of the game to calculate the most suitable PWM adjustment for each area. The light value achieves a balance between the immediacy of dimming, the stability of artificial light sources and the optimization of energy consumption. This thesis study is based on the experimental design of the Internet of Things technology. We hope to allow managers to monitor the experimental environment anytime and anywhere, and allow the system to detect indoor and outdoor environmental light sources in real time, and at the same time achieve the required light for plants and save energy to achieve an ideal use case of the lowest energy consumption and cost. In future research, we hope to combine this experiment with an energy management system in a smart farm to implement it in a real field, while giving plants and crops enough light and reducing the power consumption of lighting equipment in the field. |