Indoor growth environment and energy-optimized control method and system

An AI-powered system using LSTM and DE algorithms optimizes indoor growth environments by predicting and adjusting parameters like temperature, humidity, and CO2, addressing inefficiencies in existing systems and reducing energy consumption.

WO2024177228A1PCT designated stage expired Publication Date: 2024-08-29IND ACADEMIC COOPERATION FOUND JEJU NAT UNIVERSTIY
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2023/018171
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-24
Filing Date
2023-11-13
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing systems face challenges in efficiently processing and analyzing vast amounts of real-time environmental data from indoor spaces, leading to delays in detecting power supply status and inadequate energy efficiency in creating optimal growth environments for plants and animals.

Method used

An AI-driven system utilizing machine learning algorithms like LSTM and DE, combined with a mathematical objective function, to predict and optimize indoor growth environment parameters, such as temperature, humidity, and CO2 levels, minimizing energy consumption through controlled actuators like heaters, humidifiers, and ventilators.

Benefits of technology

The system effectively reduces energy consumption by providing a predictive optimization mechanism that adjusts indoor growth conditions based on real-time data, improving energy efficiency and maintaining optimal environmental parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2023018171_29082024_PF_FP_ABST
    Figure KR2023018171_29082024_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to an indoor growth environment and an energy-optimized control method and system. The indoor growth environment and energy-optimized control system according to one embodiment of the present invention comprises: a sensor that collects indoor environmental data obtained by measuring a growth environment in an indoor space; an actuator that controls the environment so as to create a growth environment for an indoor plant; an IoT platform server comprising a prediction module that uses an artificial intelligence machine learning algorithm and a mathematical objective function to infer parameters for creating an indoor growth environment in the indoor space and minimizing energy consumption, and an optimization module that optimizes the inferred parameters; and an IoT device that predicts indoor growth environment parameters from indoor and outdoor growth environment parameters by using the prediction module provided, and controls the actuator on the basis of the indoor growth environment parameters by means of a control module.
Need to check novelty before this filing date? Find Prior Art

Description

Method and system for optimal control of indoor growing environment and energy

[0001] Cross-reference to related applications

[0002] This application claims the benefit of priority to Korean Patent Application No. 10-2023-0025342, filed February 24, 2023, the contents of which are incorporated herein by reference in their entirety.

[0003] The present invention relates to an indoor growing environment and energy optimal control method and system, and more particularly, to an indoor growing environment and energy optimal control method and system that provides a predictive optimization mechanism that can minimize energy consumption in an indoor growing environment such as an indoor space or a plant factory for effective plant growth by using an artificial intelligence machine learning algorithm and a mathematical objective function.

[0004] Efforts are underway to reduce energy consumption while fostering a healthy growing environment for plants and animals in indoor spaces. In particular, indoor space monitoring systems (GMS) are being used to remotely monitor and control indoor space devices in farms. Furthermore, implementing GMS in environments like indoor spaces, guided by scientific management methods, can increase yields, improve quality, and protect plants from atmospheric hazards. Therefore, several challenges lie ahead for effectively fostering a productive growing environment and improving energy efficiency. First, data interoperability is essential for the stable sharing of indoor growing environment data. The massive volume of data generated by real-time indoor environmental data collection devices makes it difficult for existing systems to process and analyze data locally. Furthermore, existing indoor space infrastructure does not support regular monitoring via remote sensing technology. Continuously collecting indoor growing environment data such as temperature, humidity, soil, and water levels, and monitoring power supply status can result in excessive delays.

[0005] Existing systems require recognition, analysis, and judgment of the growing environment situation through real-time environmental data collection in indoor space growing environment creation and energy efficiency scenarios, and optimal control through power consumption calculations to minimize energy consumption.

[0006] Therefore, a new optimal control solution is needed to solve the problems of creating a growing environment and improving energy efficiency in indoor spaces according to conventional technology.

[0007] [Prior Art Literature]

[0008] [Patent Document] Republic of Korea Patent Publication No. 10-2019-0009865 (January 30, 2019)

[0009] The present invention has been devised to solve the above-mentioned problem, and the method and system for optimal control of growth environment and energy in an indoor space according to the present invention provide a predictive optimization mechanism that aims to minimize energy consumption in an indoor growth environment such as a house or an indoor space for effective plant growth by using an artificial intelligence machine learning algorithm (e.g., LSTM (Long Short Term Memory) and DE (Differential Evolution)) and a mathematical objective function.

[0010] According to an embodiment of the present invention for solving the above-described problem, an indoor growing environment and energy optimal control system comprises: a sensor for collecting indoor environmental data measuring a growing environment in an indoor space; an actuator for controlling an environment to create a growing environment for indoor plants; an IoT platform server including a prediction module for inferring parameters for creating an indoor growing environment in the indoor space and minimizing energy consumption using an artificial intelligence machine learning algorithm and a mathematical objective function, and configuring an optimization module for optimizing the inferred parameters; and an IoT device for predicting indoor growing environment parameters from indoor and outdoor growing environment parameters using the provided prediction module, and controlling the actuator (such as a heater, a humidifier, a CO2 generator, a cooler, or a ventilator) based on the indoor growing environment parameters in the control module.

[0011] According to another embodiment of the present invention, the IoT device may further include an IoT server that provides the predicted optimal indoor growing environment parameters, and the IoT platform server may further include an IoT client that stores the optimal indoor growing environment parameters in a database.

[0012] According to another embodiment of the present invention, the IoT platform server receives outdoor parameters from a weather server of the Korea Meteorological Administration (KMA) and stores them in the database, machine-learns the range of the outdoor growth environment parameters set by the user, the range of the indoor growth environment parameters, the outdoor growth environment parameters, and the indoor growth environment parameters using an artificial intelligence machine learning algorithm, and configures the prediction module based on the artificial intelligence machine learning algorithm using the indoor growth environment parameters, and the artificial intelligence machine learning algorithm may be configured as LSTM (Long Short Term Memory) or DE (Differential Evolution).

[0013] According to another embodiment of the present invention, the present invention may further include a smartphone that sets the outdoor growth environment parameters and the indoor growth environment parameters preferred by the user and receives the environmental conditions within the indoor space.

[0014] According to another embodiment of the present invention, the optimization module predicts indoor and outdoor growth environment parameters based on the predicted indoor growth environment parameters set by the user to create the optimal indoor growth environment, and applies a mathematical objective function to the predicted indoor and outdoor growth environment parameters to calculate and optimize optimal indoor growth environment parameters that optimize energy consumption.

[0015] According to one embodiment of the present invention, a method for optimally controlling an indoor growing environment and energy may include: a first step in which a sensor collects indoor growing environment parameters measured by an indoor space environment; a third step in which an IoT platform server configures a prediction module that infers parameters for creating an indoor growing environment of the indoor space and minimizing energy consumption using an artificial intelligence machine learning algorithm and a mathematical objective function, and configures an optimization module that optimizes the inferred parameters; and a third step in which an IoT device predicts optimal indoor growing environment parameters from the indoor growing environment parameters using the prediction module provided, and optimizes the predicted indoor growing environment parameters; and a fourth step in which an actuator is controlled based on the optimized indoor growing environment parameters.

[0016] According to another embodiment of the present invention, in the third step, the optimization module predicts the indoor and outdoor growth environment parameters based on the predicted indoor growth environment parameters set by the user to create the optimal indoor growth environment, and applies a mathematical objective function to the predicted indoor and outdoor growth environment parameters to calculate and optimize the optimal indoor growth environment parameters that optimize energy consumption.

[0017] According to another embodiment of the present invention, in the step 4, the IoT platform server receives outdoor parameters from the Korea Meteorological Administration (KMA) weather server and stores them in the database, machine-learns the range of the outdoor growth environment parameters set by the user, the range of the indoor growth environment parameters, the outdoor growth environment parameters, and the indoor growth environment parameters using an artificial intelligence machine learning algorithm, and configures the prediction module based on the artificial intelligence machine learning algorithm using the indoor growth environment parameters, and the artificial intelligence machine learning algorithm may be configured as LSTM (Long Short Term Memory) or DE (Differential Evolution).

[0018] The method and system for optimal control of an indoor growing environment and energy according to the present invention can provide a predictive optimization mechanism and control solution that aims to minimize energy consumption in an indoor growing environment (temperature, humidity, CO2, etc.) in an indoor space to effectively create a growing environment for plants by using an artificial intelligence machine learning algorithm (LSTM (Long Short Term Memory) and DE (Differential Evolution)) and a mathematical objective function.

[0019] FIG. 1 is a drawing for explaining the concept of optimal control of an indoor growing environment and energy according to one embodiment of the present invention.

[0020] FIG. 2 is a drawing illustrating an indoor growing environment and energy optimal control system according to one embodiment of the present invention.

[0021] FIG. 3 is a drawing for explaining an indoor growing environment and energy optimal control system and method according to one embodiment of the present invention.

[0022] Figure 4 is a flowchart for explaining an indoor growing environment and energy optimal control method according to one embodiment of the present invention.

[0023] FIG. 5 is a diagram for explaining fuzzy control for controlling an actuator (e.g., heater, humidifier, CO2 generator, chiller, ventilation, etc.) according to one embodiment of the present invention.

[0024] FIG. 6 is a diagram for explaining the implementation and flow of data between an IoT device, an IoT platform, and a prediction module according to one embodiment of the present invention.

[0025] FIG. 7 is a diagram illustrating prediction results of LSTM and DNN for temperature, humidity, CO2, and energy according to one embodiment of the present invention.

[0026] FIG. 8 is a drawing illustrating an interface of a smartphone according to one embodiment of the present invention.

[0027] FIG. 9 is a diagram illustrating energy consumption depending on whether optimization is performed according to an embodiment of the present invention.

[0028] Figure 10 is a diagram for comparing indoor temperature, outdoor temperature, and optimal temperature according to one embodiment of the present invention.

[0029] Figure 11 is a diagram for comparing indoor humidity, outdoor humidity, and optimal humidity according to one embodiment of the present invention.

[0030] Figure 12 is a drawing for comparing indoor CO2 and optimal CO2 according to one embodiment of the present invention.

[0031] FIG. 13 is a diagram for comparing energy consumed to set an optimal temperature according to one embodiment of the present invention.

[0032] FIG. 14 is a diagram for comparing energy consumed to set the optimal humidity according to one embodiment of the present invention.

[0033] FIG. 15 is a diagram for comparing energy consumed to set optimal CO2 according to one embodiment of the present invention.

[0034] FIG. 16 is a diagram for comparing energy consumption according to an optimized configuration for each actuator according to an embodiment of the present invention.

[0035] The present invention is susceptible to various modifications and embodiments. Specific embodiments are illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the present invention to specific embodiments, but rather to encompass all modifications, equivalents, and alternatives falling within the spirit and technical scope of the present invention.

[0036] However, when describing embodiments, if a detailed description of a related known function or configuration is judged to unnecessarily obscure the gist of the present invention, a detailed description thereof will be omitted. Furthermore, the sizes of each component in the drawings may be exaggerated for illustrative purposes and do not necessarily represent the sizes actually applied.

[0037] Additionally, throughout the specification, when a component is referred to as being "connected" or "connected" to another component, it should be understood that the component may be directly connected or connected to the other component, but may also be connected or connected via another component in between, unless otherwise specifically stated. Additionally, throughout the specification, when it is said that a part "includes" a component, this does not exclude other components, but rather includes other components, unless otherwise specifically stated.

[0038] FIG. 1 is a drawing for explaining the concept of optimal control of an indoor growing environment and energy according to one embodiment of the present invention.

[0039] The IoT network according to the present invention comprises multiple devices and can transmit data to an intelligent platform within the environment. IoT devices can form an AI-based platform that processes and makes decisions based on the situation. These devices use various sensors to recognize environmental parameters. Because IoT devices lack fast processing capabilities, they either send data to a central platform or deploy trained prediction modules to make predictions.

[0040] In the present invention, the trained prediction module intelligently predicts growth environment parameters and is deployed to an IoT device for optimization, thereby transmitting data to an IoT platform server.

[0041] First, data is collected from sensors and a predictive model is trained on the collected data to predict growth environmental parameters. The collected data is transmitted to the IoT platform server via a request-response mechanism between the client and server.

[0042] The IoT platform server, an Open Connectivity Foundation (OCF) platform, uses OCF standards to return optimized growth environment parameters to IoT devices. This optimization is performed based on user preferences to minimize energy consumption.

[0043] Prediction modules based on machine learning (e.g., LSTM) are deployed on IoT devices to acquire temperature, humidity, and CO2 values. LSTM and DNN can be applied to predict growth environmental parameters. Because LSTM demonstrates better prediction results than DNN, it is converted to a tf-lite model and deployed on IoT devices. Indoor spatial history data is used to train the ML model. Four models for temperature, humidity, CO2, and energy prediction are trained and converted to tf-lite. These tf-lite models are deployed on IoT devices (raspberry-pi).

[0044] As illustrated in Figure 2, three sensors are connected to the IoT device to obtain current humidity and CO2 values ​​for growth environment parameters. The ML model uses the time (t) value to predict parameters for time (t+1). Energy consumption is also predicted based on future growth environment parameters. Finally, the IoT device sends data to the IoT client using the OCF IoTivity standard. The IoT client then uses JDBC to store the data in a database for use in the optimization module.

[0045] When a client requests data, the prediction module transmits data to the IoT platform server. The IoT client initiates the process by requesting growth environment parameters. The IoT server on the IoT device is always ready to respond with the growth environment parameters upon receiving the request. Simultaneously, the Flask server running on the IoT device provides a prediction service using the trained tf-lite model.

[0046] Figure 3 illustrates the flow of such requests. The IoT client first initiates a request using CoAP to search for the IoT server. The request is received by a service running on the IoT device. The request includes the number of growth environment parameters and resource information, and can be a GET or POST request. For real-time growth environment parameters, the IoT device detects data from sensors and sends it to the Flask library running on the same device. The trained prediction module predicts the next growth environment parameter and the energy consumption for these predicted parameters. All four parameters are returned to the IoT server as a JSON object. Finally, the IoT server returns the growth environment parameters to the IoT client, which then stores the data in a database using JDBC.

[0047] Figure 3 illustrates data being transmitted from Flask and received by an IoT device. The data is in JSON format, which is easily decompressed on the IoT client side, and the request size is in bytes, demonstrating fast communication between all three modules.

[0048] Indoor growth environment parameters are detected by sensors, and outdoor parameters are retrieved from the Korea Meteorological Administration (KMA) weather API. The KMA weather API returns outdoor temperature and humidity values. The outdoor parameters are stored in a central database for the optimization module. Indoor and outdoor growth environment parameters (i.e., temperature, humidity, and CO2) are used in the optimization function to minimize energy consumption. The energy returned from the tf lite model is used for comparison with the energy after optimization. Indoor and outdoor parameters are also visualized to the indoor space owner via a smartphone. Indoor space owners can set their preferred growth environment parameters on their smartphones and also check the current indoor growth environment status of their indoor space. The smartphone initiates an HTTP request using the Volley library to connect to the central database. The default parameters are stored in the database and later used as upper and lower bounds for the optimization module.

[0049] Today, most electric companies still use the Flat Rate Pricing (FPR) model for their electricity pricing mechanism. FPR uses traditional electromechanical meters, resulting in a fixed price at all times. Some companies are replacing FPR with Real-Time Pricing (RTP). In RTP, electricity prices change at various times based on end-user demand. Energy prices rise during periods of high energy demand, while they fall at other times. In the model described herein, smart meters are used to obtain real-time energy prices, and parameters are selected based on the energy price at a specific time (t).

[0050] Figure 4 is a flowchart illustrating a method for optimizing growth environment parameters according to the present invention. Initially, essential parameters are extracted from a central database, including indoor parameters at times t and (t+1), outdoor parameters (temperature and humidity) at (t+1), user preference ranges and operating conditions, and indoor spatial attributes, including zone size and natural ventilation areas. These parameters are applied to a cost function provided by a machine learning algorithm (e.g., Differential Evolution (DE)) to minimize energy consumption. Based on the DE (Differential Evolution) cost function, energy consumption is minimized and optimal parameters are selected. Parameters are selected based on energy cost. Real-time energy costs at a specific time are provided by a smart meter. Energy prices are stored in a database and retrieved along with other parameters during the optimization process. Energy consumption varies depending on outdoor parameters, indoor relative temperature, humidity, CO2, and actuator status. Once the algorithm achieves a global optimum, these growth environment parameters are passed to the control module.

[0051] [Table 1]

[0052]

[0053] Table 1 shows variables of a mathematical formula according to one embodiment of the present invention.

[0054] Indoor temperature can also be affected by outdoor temperature and the condition of indoor actuators.

[0055] [Mathematical Formula 1]

[0056]

[0057] Equation 1 shows that the indoor temperature at time t can be influenced by the temperature at time (t-1) and the size (volume) of zone z, which has 1) parameters of heat transferred from heating and cooling pipes, 2) parameters of heat loss through natural and forced ventilation and walls, and 3) parameters of heat generated by CO2 generators and dehumidifiers.

[0058] The temperature of each zone varies depending on several parameters, as shown in Equation 2 below.

[0059] [Equation 2]

[0060] When heating,

[0061]

[0062] When cooling,

[0063]

[0064] Equation 2 shows that the internal temperature at time t is changed by 1) the temperature of the refrigerant pipe at time (t-1), 2) the cooling (heating) absorbed from the operation of the cooling (heating) system, and 3) the heat transferred from the pipe to the indoor space environment.

[0065] The internal temperature must be within the given user preference range.

[0066]

[0067] Therefore, the relative temperature at time t must be within the user's preferences.

[0068]

[0069] The relative humidity of an indoor space can be calculated from "G. van Straten, G. van Willigenburg, E. van Henten, and R. van Ooteghem, Optimal Control of Greenhouse Cultivation. CRC Press, 2010."

[0070]

[0071] All scenarios frame the problem as a mixed-integer linear programming (MILP) problem. The humidity within an indoor space is based on the mass balance principle.

[0072] [Equation 3]

[0073]

[0074] Equation 3 shows that indoor humidity can be affected by several parameters including the area of ​​the indoor space, the air flow rate of the ventilation fan, the outdoor humidity, and the state of the two actuators mapped to the humidity of a specific area.

[0075] Relative humidity must be within the user preference range.

[0076]

[0077] All plants require a certain level of CO2 and sunlight for photosynthesis. Plants consume CO2 during the day, so CO2 concentrations are low. Therefore, optimal CO2 control is necessary to maintain a high level of photosynthesis. CO2 levels vary depending on the type of plants in the indoor space. User preference ranges for CO2 can be given as follows:

[0078]

[0079] The desired CO2 level is between the minimum and maximum CO2 levels. The CO2 concentration in an indoor space can be modeled as follows:

[0080] The desired CO2 level is between the minimum and maximum CO2 levels. The CO2 concentration in an indoor space can be modeled as follows:

[0081] [Equation 4]

[0082]

[0083] At this time, is the desired temperature, is the desired humidity and is the desired CO2, and the optimal temperature is given as follows.

[0084]

[0085] The optimal condition of indoor space is

[0086]

[0087] temperature represents the difference between the current temperature and the minimum and maximum temperatures. A larger difference indicates higher energy consumption, as the difference can be treated as the Euclidean distance between the current and the desired parameter range.

[0088] Unit energy consumption to raise the temperature by 1 degree (Excluding external factors), the minimum energy required to set the temperature within the user's preferences is:

[0089] [Equation 5]

[0090]

[0091] Temperature can be affected by external humidity, similar to external temperature, and CO2 is affected by both external humidity and CO2. Including external factors in Equation 5 above yields Equation 6 below.

[0092] Different actuators affect different ranges of parameter values.

[0093] [Equation 6]

[0094]

[0095] According to the mathematical equation 6 above, the following mathematical equation 7 is obtained.

[0096] [Equation 7]

[0097]

[0098] The goal is to minimize the energy consumed to set growth environmental parameters within a desired range, taking into account outdoor temperature and humidity. The objective function is convex and has a single global optimum point.

[0099] Optimization problems typically include a penalty function that forces the optimization algorithm to move toward a global optimum. Machine learning (e.g., Differential Evolution (DE)) uses a cost function as an optimization function to minimize it. Differential Evolution (DE) is a real-valued, multidimensional, population-based function that designs a search space by retaining candidate solutions from a population (M. Georgioudakis and V. Plevris, "A Comparative Study of Differential Evolution Variants in Constrained Structural Optimization," Front. Built Environ., vol. 6, p. 102, July 2020, doi: 10.3389 / fbuil.2020.00102.). Constraints restrict solutions within a specific range.

[0100] Combining the above mathematical equations yields the objective function of the following mathematical equation 8.

[0101] [Equation 8]

[0102]

[0103] At this time,

[0104]

[0105] am.

[0106] The energy consumed by each actuator in each zone must be minimized.

[0107] Operating constraints are also included to prevent both types of actuators from operating simultaneously. Control of forced ventilation and air ventilation depends on outdoor parameter values. Air ventilation and forced ventilation operate when the outdoor temperature or humidity is within the desired optimum range. Furthermore, dehumidification and fogging systems must not operate simultaneously, and heating and cooling must not be applied simultaneously to the indoor environment.

[0108]

[0109] Optimized values ​​are transmitted from the IoT platform server to IoT devices to control actuators (e.g., heaters, humidifiers, CO2 generators, chillers, ventilation, etc.). Actuators are first planned and selected based on a combination of optimal growth environment parameters.

[0110] Figure 5 illustrates a fuzzy logic-based control structure for controlling actuators (e.g., heater, humidifier, CO2 generator, chiller, ventilation, etc.).

[0111] Coolers and heaters are used to lower or raise the temperature, respectively. Similarly, dehumidifiers, fog systems, CO2 generators, and forced ventilation are used to control humidity and CO2 levels in indoor spaces. T c < T d When the back heater operates and the outdoor temperature helps to raise the temperature, the air ventilation system turns on. The air ventilation system and the forced ventilation system both operate and turn on when the temperature and humidity agree to inject the outdoor growing environment into the indoor space, that is, when the outdoor temperature and humidity help to achieve the desired values. Similarly, T c > T d and T c >> T dIn this case, the cooler turns on, and air ventilation and forced ventilation operate to inject outdoor temperature into the indoor space depending on the outdoor environmental conditions. For humidity, a fog system is used to increase indoor humidity, and a dehumidifier is used to lower indoor humidity. Outdoor humidity is also considered to use less power actuators such as air ventilation and forced ventilation (e.g., heaters, humidifiers, CO2 generators, chillers, ventilation, etc.). For CO2, the outdoor environment is not considered because the carbon content of natural air is 0.04%. Outdoor CO2 always helps to lower indoor CO2 levels. Forced ventilation systems are used to lower CO2 levels, and CO2 generators are used to inject carbon into indoor spaces. Plants also inject carbon into the environment, so CO2 levels in indoor spaces are generally high.

[0112] According to the present invention, root mean square error (RMSE), mean absolute error (MAE), and r2 are used as evaluation metrics to select the most appropriate model for predicting the next growth environment parameter based on the current value in LSTM and DNN. The energy consumption of the optimization module is compared when optimizing and not optimizing each parameter (i.e., temperature, humidity, and CO2).

[0113] RMSE is the square of the difference between the actual and predicted values, while MAE is the absolute value of the difference between the actual and predicted values. The R2 coefficient indicates the accuracy of the predictions, rather than the error. A higher R2 value indicates better model performance. All three of these metrics are used to evaluate model performance, and the best model is deployed on IoT devices to infer the following parameters.

[0114] [Equation 9]

[0115]

[0116] Connections between IoT devices and IoT platform servers are established using the Open Connectivity Foundation (OCF) standard. The Campus as a Mashups Platform for IoT Experiments (CAMPIE) research project proposed a framework for deploying IoT across a wide area. CAMPIE Service Discovery (CSD), based on OCF IoTivity, is a multi-purpose service discovery architecture.

[0117] Figure 6 demonstrates a connection between an IoT device and an IoT platform server using the OCF standard. The IoT client searches for an IoT server within the same network and requests growth environment parameters. When the IoT server receives a request from the IoT client, it requests the growth environment parameters from a simulator running on the same device (the IoT device). Figure 6 illustrates a CoAP request sent by the IoT client to coap: / 192.168.0.2:58284 (IP address and port) and received by the server. The IoT server sends an HTTP request to the simulator, which retrieves values ​​from the trained model. The simulator returns a JOSN object to the server, and the IoT server sends the data back to the IoT client. Finally, the IoT client sends the data to a database for the optimization module.

[0118] The dataset is collected from sensors, including temperature, humidity, and CO2 sensors. This data is used to train DNN and LSTM models to predict future growth environmental parameters and energy consumption. Energy consumption varies with temperature and changes with temperature, humidity, and CO2 values.

[0119] [Table 2]

[0120]

[0121] Table 2 presents the prediction results in terms of RMSE, MAE, and R2 coefficients for LSTM and DNN. The purpose of the comparison is to select the most suitable model for IoT devices that provides the best growth environment parameters based on the current parameter values. Table 2 shows the test and training results for LSTM and DNN. Referring to Table 2, it is clear that LSTM results are better than DNN. The R2 coefficient demonstrates the model's accurate predictions, while RMSE and MAE indicate the error rate. The LSTM model has a lower error rate for both the training and testing phases, and the R2 scores for prediction and prediction are higher than those of the DNN model.

[0122] Migrating ML techniques to the edge allows for a faster prediction process. To migrate models to IoT devices, LSTMs are converted to tflite models and deployed to IoT devices for subsequent predictions. Three models for temperature, humidity, and CO2 prediction, as well as a model for energy prediction based on these three predicted growth parameters, are deployed at the edge. For humidity, the model achieves an R2 score of 99% in training and 98% in testing. The holdout technique is used to train the models. Six months of sensor historical data were used to train the models, and the energy consumption for these characteristics was used to predict energy consumption.

[0123] Figure 7 illustrates prediction results of LSTM and DNN for temperature, humidity, CO2, and energy according to one embodiment of the present invention.

[0124] Figures 7a and 7b show the hourly temperature prediction results. The results indicate that LSTM outperforms DNN in prediction. Similarly, LSTM outperforms humidity in Figures 7c and d, and CO2 in Figures 7e and 7f. Temperature is set to 18-21°C, the normal temperature for all plants in an indoor space, and humidity is set to 50-70%, the normal indoor humidity. User preferences are also considered, and the values ​​of these growth environment parameters can be adjusted with the advice of indoor space experts. CO2 is measured in ppm, and the CO2 level is selected from 400-650 ppm for indoor space parameters. Furthermore, CO2 is supplied to the indoor environment by plants. Indoor CO2 levels are typically higher in the evening and lower during the day.

[0125] After predicting all growth environment parameters, energy consumption is calculated using the trained model. Figures 7g and 7h show the results of the trained LSTM and DNN models. Figures 7g and 7h show that the LSTM model outperforms the DNN model. The LSTM model is deployed at the edges to predict energy consumption for the predicted parameters. Energy consumption is predicted in kW / h. The predicted energy is treated as non-optimal energy consumption. After predicting the growth environment parameters and energy consumption, the values ​​are passed to the OCF platform to optimize energy consumption.

[0126] The optimization function attempts to select optimal parameters within a user-preferred range. The goal of the optimization function is to achieve minimum energy consumption within specified constraints. As illustrated in Figure 8, the smartphone application can be configured with user preferences for temperature, humidity, and CO2. The user provides upper and lower parameters, and the optimal values ​​within the bounds are selected based on minimum energy consumption. Indoor space owners can compare indoor and outdoor temperature and humidity. Indoor parameters are always within the user-preferred range. Current growth environment parameter values ​​are also displayed on the application's main screen.

[0127] An LSTM model is used to predict energy consumption based on predicted growth environment parameters. An optimization function then selects optimal parameters, taking into account outdoor parameters. Energy consumption for the optimal parameters is compared with the predicted energy.

[0128] Figure 9 shows a comparison of energy consumption with and without optimization. The results are based on hourly energy consumption over a month. By minimizing the cost function by selecting optimal parameters using machine learning (e.g., Differential Evolution (DE)), we can see that energy consumption is minimized. Furthermore, energy costs obtained directly from smart meters are also reduced.

[0129] The objective function minimizes energy consumption by considering outdoor temperature and humidity, as well as the status of other actuators in the indoor space. Broccoli is grown indoors, and user preferences are set based on plant type.

[0130] Figure 10 illustrates a comparison of indoor and outdoor temperatures with the optimal temperature. For each instance, different current and outdoor temperatures are selected, and an optimization algorithm is applied to obtain optimal growth parameters based on energy prices obtained from a smart meter. The outdoor temperature does not always contribute to achieving the optimal temperature, and sometimes it interferes with achieving it. The current temperature is also important, as the actuator must increase or decrease the temperature based on the current to the optimal value obtained from the optimization function. The difference between the current and the user's default setting is directly proportional to energy consumption.

[0131] As shown in Figure 11, to achieve optimal humidity within an indoor space, current and outdoor humidity are considered. A fog system is used to increase indoor humidity, and a dehumidifier is used to lower the humidity level. The KMA API provides outdoor humidity levels in percentages, and a humidity sensor detects indoor humidity in the same units. Various indoor and outdoor humidity levels are used to determine the optimal humidity, consistent with temperature. The optimal humidity is always within the user-defined range while minimizing energy consumption. For the experiment, the user-defined temperature range is set at 17-22°C, and the humidity range is set at 55-70%.

[0132] Figure 12 illustrates a comparison of indoor and optimal CO2 levels. CO2 concentration is important for all plant types. Depending on the plant type, CO2 is injected into the environment at different times. CO2 levels may increase in the evening, so the level must be optimized. Selecting the optimal CO2 within the user-defined range minimizes energy consumption. Outdoor CO2 is not considered optimal because the carbon content of natural air is too low. For broccoli, the CO2 level is selected between 400 and 450 ppm.

[0133] The optimal temperature is selected by considering the outdoor and current indoor temperatures. Heaters and coolers are used to achieve the desired temperature and the optimal environmental temperature.

[0134] Figure 13 shows the energy consumption of the heater and cooler. Due to fluctuations in outdoor temperature, daily energy savings are not consistent. Operating the ventilation fan or air ventilator to achieve the optimal temperature reduces energy consumption. The optimization function selects the optimal temperature, and then fuzzy control selects the optimal actuators (e.g., heater, humidifier, CO2 generator, chiller, ventilation, etc.) based on the values ​​of indoor and outdoor growth environment parameters. Since outdoor temperatures in Jeju Island typically range from 15 to 25°C during the summer, forced and natural ventilation can achieve the optimal temperature for broccoli, resulting in low energy consumption. Humidity levels are typically high due to the high rainfall in the experimental area. A dehumidifier is used to achieve the desired humidity level within the indoor fog system. Due to the high outdoor humidity, the dehumidifier consumes more energy than the fog system. Figure 14 shows the energy consumption for the humidification and dehumidification processes over a one-month period (30 days). Figure 14 shows that the optimization results in relatively low energy consumption. Outdoor humidity allows for air ventilation, which reduces energy consumption. Broccoli requires lower humidity because it consumes more energy during the dehumidification process.

[0135] Many plants contribute varying levels of CO2 to the environment. Forced ventilation and CO2 generators are used to increase or decrease CO2 levels in indoor spaces. Forced ventilation introduces fresh outdoor air into the indoor space to maintain temperature and humidity. Figure 15 compares the energy consumption of CO2 under optimized and non-optimized conditions. It is clear that the energy consumption for optimal CO2 is lower than that for non-optimized conditions.

[0136] Figure 16 illustrates the energy consumption of each actuator. Six actuators, including a cooler, heater, fog system (humidifier), dehumidifier, CO2 generator, and forced ventilation, are used to control the environment of a smart indoor space. Each actuator consumes different amounts of energy at different levels. Dehumidifiers and forced ventilation consume more energy than other actuators. Fuzzy control selects the optimal actuator (e.g., heater, humidifier, CO2 generator, chiller, ventilation, etc.) based on the indoor growing environment. As shown in Figure 16, when controlling actuators (e.g., heater, humidifier, CO2 generator, chiller, ventilation, etc.) without optimization, energy consumption is very high, while when optimized, energy consumption is low.

[0137] The detailed description of the present invention, as described above, has described specific embodiments. However, various modifications are possible without departing from the scope of the present invention. The technical spirit of the present invention should not be limited to the aforementioned embodiments, but should be defined not only by the claims but also by equivalents thereof.

Claims

1. A sensor that collects indoor environmental data by measuring the growing environment in an indoor space; An actuator that controls the environment to create a growing environment for the indoor plants; An IoT platform server comprising a prediction module that infers parameters for creating an indoor growing environment of the indoor space and minimizing energy consumption using an artificial intelligence machine learning algorithm and a mathematical objective function, and an optimization module that optimizes the inferred parameters; and An IoT device that predicts indoor growth environment parameters from indoor and outdoor growth environment parameters using the provided prediction module, and controls the actuator by the indoor growth environment parameters in the control module; An indoor growing environment and energy optimal control system characterized by including:

2. In claim 1, The above IoT device, An IoT server providing the predicted optimal indoor growing environment parameters; Including more, The above IoT platform server, An IoT client that stores the above optimal indoor growing environment parameters in a database; An indoor growing environment and energy optimal control system characterized by further including:

3. In claim 2, The above IoT platform server, Receive outdoor parameters from the Korea Meteorological Administration (KMA) weather server and store them in the database, machine-learn the range of the outdoor growth environment parameters set by the user, the range of the indoor growth environment parameters, the outdoor growth environment parameters, and the indoor growth environment parameters using an artificial intelligence machine learning algorithm, and configure the prediction module based on the artificial intelligence machine learning algorithm using the indoor growth environment parameters. The above artificial intelligence machine learning algorithm, An indoor growing environment and energy optimal control system characterized by LSTM (Long Short Term Memory) or DE (Differential Evolution).

4. In claim 3, A smartphone that sets the user's preferred outdoor growth environment parameters and the indoor growth environment parameters and receives the environmental conditions within the indoor space; An indoor growing environment and energy optimal control system characterized by further including:

5. In claim 4, The above optimization module, An indoor growth environment and energy optimal control system characterized in that the indoor and outdoor growth environment parameters are predicted based on the predicted indoor growth environment parameters set by the user to create the above optimal indoor growth environment, and the optimal indoor growth environment parameters that optimize energy consumption are calculated and optimized by applying a mathematical objective function to the predicted indoor and outdoor growth environment parameters.

6. The first step is to collect indoor growth environment parameters measured by sensors within the indoor space; A third step in which an IoT platform server configures a prediction module that infers parameters for creating an indoor growing environment in the indoor space and minimizing the energy required using an artificial intelligence machine learning algorithm and a mathematical objective function, and configures an optimization module that optimizes the inferred parameters; and A third step of predicting optimal indoor growth environment parameters from the indoor growth environment parameters using the prediction module provided by the IoT device, and optimizing the predicted indoor growth environment parameters; A fourth step of controlling the actuator based on the above optimized indoor growing environment parameters; An indoor growing environment and energy optimal control method characterized by including .

7. In claim 6, In the above 3 steps, An indoor growing environment and energy optimal control method characterized in that the optimization module predicts the indoor and outdoor growing environment parameters based on the predicted indoor growing environment parameters set by the user to create the optimal indoor growing environment, and applies a mathematical objective function to the predicted indoor and outdoor growing environment parameters to derive and optimize the optimal indoor growing environment parameters that optimize energy consumption.

8. In claim 6, In the above 4 steps, A method for optimally controlling an indoor growing environment and energy, characterized in that the IoT platform server receives outdoor parameters from a weather server of the Korea Meteorological Administration (KMA) and stores them in the database, machine-learns the range of the outdoor growing environment parameters set by the user, the range of the indoor growing environment parameters, the outdoor growing environment parameters, and the indoor growing environment parameters using an artificial intelligence machine learning algorithm, and configures the prediction module based on the artificial intelligence machine learning algorithm using the indoor growing environment parameters, and the artificial intelligence machine learning algorithm is LSTM (Long Short Term Memory) or DE (Differential Evolution).

Citation Information

Patent Citations

  • Plant factory intelligent management system based on digital twinning

    CN115270642A

  • Semiconductor device

    KR1020230133174A

  • Cover of a container for storing food, etc., in which ultraviolet and far-infrared lamps are installed

    KR1020230138841A

  • Burn-in socket

    KR1020240045515A

  • Energy saving type smart heating system and method

    KR102497383B1