Plant factory environment space homogeneity real-time regulation method and system based on reduced-order flow field model

By combining a reduced-order flow field model and neural networks with Kalman filtering, the problem of uneven spatial distribution of environmental parameters in plant factories was solved, enabling real-time dynamic control, improving growth consistency and yield, reducing energy consumption, and enhancing the robustness of the equipment.

CN123137440APending Publication Date: 2026-11-20INST OF URBAN AGRI CHINESE ACADEMY OF AGRI SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611424166.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-15
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

The uneven spatial distribution of environmental parameters in plant factories leads to poor growth consistency. Traditional environmental control systems suffer from sparse sensing, mismatched control targets, and coarse actuator adjustments, making it impossible to achieve real-time dynamic quantitative decision-making. CFD is only used for offline design and cannot be embedded in second- to minute-level control loops.

Method used

A reduced-order flow field model is adopted, combined with neural networks and Kalman filtering. Sparse vectors are generated by collecting cultivation layer data for flow field prediction and fusion. Uniformity assessment and decision optimization are performed based on the full-field estimate. Dynamic control is achieved using actuators, and real-time monitoring and early warning are provided.

Benefits of technology

It significantly improves growth uniformity, increases yield and quality, reduces energy consumption, identifies equipment failures in a timely manner, and enhances growth uniformity and equipment robustness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123137440A_ABST
    Figure CN123137440A_ABST
Patent Text Reader

Abstract

The application provides a plant factory environment space uniformity real-time regulation method and system based on a reduced-order flow field model, relates to the technical field of intelligent control of facility agriculture environment, and comprises the following steps: collecting temperature, humidity data and carbon dioxide data of a cultivation layer, combining coordinates, temperature, humidity and carbon dioxide to generate measured sparse vectors; reducing the order of a flow field of a three-dimensional geometric model of a plant factory, and predicting the flow field after the order is reduced by using a neural network to obtain predicted sparse vectors; fusing the measured sparse vectors and the predicted sparse vectors by using Kalman filtering to obtain corrected full-field estimated values; performing uniformity evaluation and decision optimization based on the full-field estimated values; and performing work according to the optimized decision by an executor in the plant factory, and performing real-time monitoring and issuing a warning when data is abnormal. The scheme can solve the problem of uneven spatial distribution of environmental parameters in the closed three-dimensional cultivation environment of a plant factory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent environmental control technology in facility agriculture, and more specifically, to a method and system for real-time regulation of the spatial uniformity of plant factory environment based on a reduced-order flow field model. Background Technology

[0002] Plant factories employ closed, multi-layered, three-dimensional cultivation. The internal flow field is influenced by multiple coupled factors, including high-density cultivation racks, LED heat sources, crop transpiration / photosynthesis, and forced ventilation, creating a typical non-uniform, confined space. Existing environmental control systems suffer from the following fundamental defects: 1. Sparse sensing: Typically, only 1-3 sensors are deployed, relying on a single point or average value to represent the entire space. Actual measurements show that the temperature difference between floors can reach 3-5℃, and the humidity difference can exceed 15%RH. The difference is as high as 150-200 ppm, which cannot reflect the true spatial distribution.

[0003] 2. Mismatch of control objectives: Taking global mean achievement (such as PID or threshold) as the target while ignoring local microclimate deviations leads to some areas being in suboptimal ranges for a long time, affecting the uniformity of growth.

[0004] 3. Inefficient actuator regulation: Most circulating fans are operated manually or at a fixed speed, lacking dynamic quantitative decision-making based on spatial distribution; if the speed is too low, mixing will be insufficient, and if it is too high, energy consumption will increase and crops may be damaged.

[0005] 4. CFD is only used for offline design: Traditional CFD simulation takes several hours, cannot embed second- to minute-level control loops, and is difficult to respond to changes in operating status such as crop growth, filter clogging, and equipment aging. Summary of the Invention

[0006] The embodiments of this application provide a method and system for real-time control of the spatial uniformity of the plant factory environment based on a reduced-order flow field model, in order to solve the problem of uneven spatial distribution of environmental parameters in the closed three-dimensional cultivation environment of the plant factory.

[0007] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.

[0008] According to a first aspect of the embodiments of this application, a method for real-time control of the spatial uniformity of a plant factory environment based on a reduced-order flow field model is provided, comprising: Temperature and humidity data of each grid point in the cultivation layer, as well as carbon dioxide data of the center and two opposite corners of each cultivation layer, are collected. Combined with coordinates, temperature, humidity and carbon dioxide, a measured sparse vector is generated. The flow field of the three-dimensional geometric model of the plant factory is reduced in order, and the reduced flow field is predicted by a neural network to obtain the predicted sparse vector. Kalman filtering is used to fuse the measured sparse vectors with the predicted sparse vectors to obtain the corrected full-field estimate. Based on the overall field estimate, a uniformity assessment is performed and decision optimization is carried out; The actuators inside the plant factory operate based on optimized decisions and monitor temperature, humidity, and carbon dioxide data in real time, issuing warnings when the data is abnormal.

[0009] In some embodiments of this application, based on the aforementioned scheme, the process of reducing the order of the flow field in the three-dimensional geometric model of the plant factory and using a neural network to predict the reduced flow field to obtain a predicted sparse vector includes: CFD software was used to perform multiple steady-state simulations of the three-dimensional geometric model of the plant factory under different boundary conditions. The physical quantities of the entire field were extracted to form a high-dimensional state vector, and then all working condition snapshots were combined into a high-dimensional matrix. Singular value decomposition is performed on the high-dimensional matrix to obtain the POD mode matrix, and the high-dimensional states are compressed into low-dimensional coefficients; A neural network is trained to map boundary conditions, and the neural network is used to predict and output a three-dimensional sparse vector.

[0010] In some embodiments of this application, based on the foregoing scheme, the boundary conditions include, but are not limited to: fan speed, guide vane angle, air supply parameters, and carbon dioxide replenishment volume.

[0011] In some embodiments of this application, based on the foregoing scheme, the physical quantities include, but are not limited to: temperature, humidity, velocity component, and carbon dioxide concentration.

[0012] In some embodiments of this application, based on the aforementioned scheme, during steady-state simulation, the CFD steady-state equations are projected onto the subspace of the POD mode matrix to generate an r-dimensional nonlinear equation system, where r represents the dimension of the POD mode matrix.

[0013] In some embodiments of this application, based on the foregoing scheme, the step of fusing the measured sparse vector and the predicted sparse vector using Kalman filtering to obtain the corrected full-field estimate includes: The POD reduction coefficients are used as state vectors to establish a state-space model; The Kalman gain is calculated using measured sparse vectors and observation equations to update the predictions. Covariance This yields the corrected overall estimate and its uncertainty; in, ; ; This represents the prediction of the POD coefficient at time K; This represents the POD coefficient after correction at time K-1; This represents the state prediction covariance matrix at time K; Let represent the posterior covariance matrix of the previous time k-1, with dimension r×r; Q represents the process noise covariance matrix, with dimension r×r.

[0014] In some embodiments of this application, based on the foregoing scheme, the step of performing uniformity assessment and decision optimization based on the overall field estimate includes: Extract the full-field grid values ​​from the full-field estimates, calculate the spatial variation coefficients of temperature, humidity, and carbon dioxide, and construct a comprehensive non-uniformity index. Modeling optimization problems includes: determining decision variables and constraints, and determining the objective function based on a comprehensive non-uniformity index; The optimization problem is solved using particle swarm optimization or gradient descent to obtain a decision. The decision includes: Uniformity priority: When the overall non-uniformity index is greater than the first threshold, minimize the overall non-uniformity index as much as possible and ignore energy consumption; Energy consumption priority: When the comprehensive non-uniformity index is less than the second threshold, minimize the total power consumption of the wind turbine while ensuring that the comprehensive non-uniformity index is less than or equal to the second threshold. The first threshold is greater than the second threshold.

[0015] In some embodiments of this application, based on the aforementioned scheme, the calculation formula for the comprehensive non-uniformity index is as follows: ; in, This represents the comprehensive unevenness index. This represents the standard deviation / mean of temperature. Weights are the standard deviation of temperature / mean. This represents the standard deviation / mean of humidity. The weights representing the standard deviation / mean of humidity This represents the standard deviation / mean of carbon dioxide. The weight representing the standard deviation / mean of carbon dioxide.

[0016] In some embodiments of this application, based on the foregoing scheme, the decision variables include: the rotational speed of each fan, the angle of the guide vane, and the opening degree of the local air supply valve; The objective function is min J(μ), and an energy consumption penalty term λ can be added. ; Wherein, J(μ) is the comprehensive non-uniformity index; λ represents the total power consumption; λ represents the energy consumption penalty weight; the constraints include: rotational speed / angle range, rate of change limit, maximum wind speed ≤ 1.0 m / s, and global mean maintained within the suitable range for crops.

[0017] According to a second aspect of the embodiments of this application, a real-time control system for the spatial uniformity of a plant factory environment based on a reduced-order flow field model is provided, comprising: The data acquisition module is used to collect temperature and humidity data of each grid point in the cultivation layer, as well as carbon dioxide data of the center and two opposite corners of each cultivation layer, and to generate a measured sparse vector by combining coordinates, temperature, humidity and carbon dioxide. The flow field order reduction prediction module is used to reduce the flow field of the three-dimensional geometric model of the plant factory and use a neural network to predict the reduced flow field to obtain the predicted sparse vector. The data fusion module is used to fuse the measured sparse vectors and the predicted sparse vectors using Kalman filtering to obtain the corrected full-field estimate. The uniformity assessment and optimization decision module is used to perform uniformity assessment and decision optimization based on the overall field estimate. The execution module is used to enable the actuators within the plant factory to operate based on optimized decisions; The early warning module is used to monitor temperature, humidity, and carbon dioxide data in the plant factory in real time and issue an early warning when the data is abnormal.

[0018] The technical solution of this application has the following beneficial effects: 1. Significantly improved growth uniformity: It is expected to reduce the coefficient of variation of plant height and fresh weight in the same batch by 40%-60%, thereby increasing the commercialization rate.

[0019] 2. Increased yield and quality: Elimination of local inhibition zones improves overall photosynthetic efficiency, with an estimated yield increase of 5%-10%.

[0020] 3. Energy saving and consumption reduction: Dynamic and on-demand control avoids blind global ventilation, reducing fan energy consumption by 10%-20%.

[0021] 4. Robust maintenance: The anomaly detection function can detect hidden faults such as filter blockage and fan aging at an early stage, reducing unplanned downtime.

[0022] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0023] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings: Figure 1 A flowchart illustrating a method for real-time control of environmental spatial uniformity in a plant factory based on a reduced-order flow field model, according to an embodiment of this application, is shown. Figure 2 A block diagram of a real-time control system for the spatial uniformity of a plant factory environment based on a reduced-order flow field model, according to an embodiment of this application, is shown. Detailed Implementation

[0024] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.

[0025] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.

[0026] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0027] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0028] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0029] The following detailed description of some embodiments of this application will be provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0030] See Figure 1 The diagram shows a flowchart of a method for real-time control of the spatial uniformity of a plant factory environment based on a reduced-order flow field model, according to an embodiment of this application.

[0031] like Figure 1 As shown, a method for real-time control of the spatial uniformity of a plant factory environment based on a reduced-order flow field model is presented, specifically including steps S100 to S500.

[0032] refer to Figure 1 In step S100, temperature and humidity data of each grid point in the cultivation layer, and carbon dioxide data of the center and two opposite corners of each cultivation layer are collected. The measured sparse vector is generated by combining the coordinates, temperature, humidity and carbon dioxide.

[0033] It should be noted that in this embodiment, in order to ensure that temperature and humidity data of each network point are collected, temperature and humidity sensors are arranged in a grid pattern on each cultivation layer (at least 3×3 points / layer), with a response time ≤8s and an accuracy of ±0.2℃ / ±1.5%RH.

[0034] It should be noted that in this embodiment, carbon dioxide data is sampled using multi-channel switching, that is, the carbon dioxide in the center and two opposite corners of each layer of the cultivation layer is sampled in a switching manner, with a sampling period of 10-30 seconds, which matches the control period.

[0035] The data collected from each sampling point is ultimately output as a four-dimensional vector [T, RH, ... [coordinates] constitute the measured sparse vector. Where T represents temperature and RH represents humidity. It represents carbon dioxide.

[0036] Continue to refer to Figure 1 In step S200, the flow field of the three-dimensional geometric model of the plant factory is reduced in order, and the reduced flow field is predicted by a neural network to obtain a predicted sparse vector.

[0037] In some feasible embodiments, based on the aforementioned scheme, the process of reducing the order of the flow field in the three-dimensional geometric model of the plant factory and using a neural network to predict the reduced flow field to obtain a predicted sparse vector includes: CFD software was used to perform multiple steady-state simulations of the three-dimensional geometric model of the plant factory under different boundary conditions. The physical quantities of the entire field were extracted to form a high-dimensional state vector, and then all working condition snapshots were combined into a high-dimensional matrix. Singular value decomposition is performed on the high-dimensional matrix to obtain the POD mode matrix, and the high-dimensional states are compressed into low-dimensional coefficients; A neural network is trained to map boundary conditions, and the neural network is used to predict and output a three-dimensional sparse vector.

[0038] In some feasible embodiments, based on the aforementioned scheme, during the steady-state simulation process, the CFD steady-state equations are projected onto the subspace of the POD mode matrix to generate an r-dimensional nonlinear equation system, where r represents the dimension of the POD mode matrix.

[0039] For example, the specific steps are as follows: Offline snapshot generation: On the 3D geometric model of the plant factory, CFD software is used to perform multiple steady-state simulations under different boundary conditions, and high-dimensional state vectors are extracted from all physical quantities in the field. A matrix composed of snapshots of all operating conditions Where R represents the set of real numbers; N is the total dimension of a single CFD simulation snapshot, which is the total number of all physical quantities of all grid points in the entire field under a single working condition; K is the total number of working condition samples (number of snapshots) in the offline CFD steady-state simulation.

[0040] The boundary conditions include: fan speed, guide vane angle, air supply parameters, CO2 replenishment volume, etc.; the physical quantities of the entire field include: temperature, humidity, velocity component, CO2 concentration, etc.

[0041] SVD dimensionality reduction: for matrices Singular value decomposition is performed to obtain the POD mode matrix. (r≤20, energy percentage≥99%), where r is the order of preservation of the POD mode (the dimension of the subspace after order reduction), compressing high-dimensional states into low-dimensional coefficients. .

[0042] Galerkin projection: This method compresses the massive original CFD steady-state equations into a low-dimensional space composed of POD modes through mathematical projection transformation, resulting in an r-dimensional nonlinear equation system with online given boundary conditions. At this time, only the small-scale system of equations needs to be solved (Newton's method, which takes milliseconds to seconds), without having to recalculate the original CFD.

[0043] Training a 3D U-Net or fully connected network to directly map boundary conditions. →Full-field state x, inference time < 0.05 seconds, suitable for high-frequency control scenarios.

[0044] Online prediction: In each control cycle, the current status of the actuators (including the fan inverter, guide vane stepper motor, air supply solenoid valve, etc.) is input (speed, guide angle, air supply parameters, etc.), and the model outputs a three-dimensional prediction field. (Including temperature, humidity, (Wind speed).

[0045] Continue to refer to Figure 1 In step S300, Kalman filtering is used to fuse the measured sparse vector with the predicted sparse vector to obtain the corrected full-field estimate.

[0046] It should be noted that, due to model errors and dynamic changes in boundary conditions such as crop transpiration, sparse measured data are needed to correct the prediction field.

[0047] In some feasible embodiments, based on the aforementioned scheme, the step of fusing the measured sparse vector and the predicted sparse vector using Kalman filtering to obtain the corrected full-field estimate includes: The POD reduction coefficients are used as state vectors to establish a state-space model; The Kalman gain is calculated using measured sparse vectors and observation equations to update the predictions. Covariance This yields the corrected overall estimate and its uncertainty; in, ; ; This represents the prediction (prior) of the POD coefficient at time K. Its physical meaning is: time prediction step. Assuming that the flow field state changes smoothly between control cycles, the POD coefficient after sensor correction in the previous cycle is directly used as the initial prediction value for the current cycle. This represents the corrected POD coefficient (posterior estimate) at time K-1. It represents the optimal POD coefficient obtained in the previous cycle after fusing sensor measurement data using Kalman filtering.

[0048] This represents the state prediction covariance matrix (prior covariance) at time K. Dimension: r×r matrix. Physical meaning: describes... How much uncertainty is there in this predicted value? The diagonal elements represent the variance of each POD coefficient, and the off-diagonal elements represent the correlation between the coefficients.

[0049] Let represent the posterior covariance matrix of the previous time step k-1, with dimension r×r, representing the uncertainty of the POD coefficient estimation results after the previous round of filtering.

[0050] Q: Process noise covariance matrix, r×r, process noise: represents the disturbances of the system itself, such as crop transpiration changes, light changes, filter clogging, equipment drift and other unmodelable dynamic disturbances; formula During the prediction phase, system disturbance noise is superimposed on the uncertainty from the previous moment, increasing the uncertainty further. This embodiment uses a simplified form; the complete standard Kalman spectroscopy is... In this embodiment, state transition A is taken as an identity matrix, which simplifies to... .

[0051] Continue to refer to Figure 1 Step S400: Based on the overall field estimate, perform a uniformity assessment and optimize the decision.

[0052] In some feasible embodiments, based on the foregoing scheme, the step of performing uniformity assessment and decision optimization based on the overall field estimate includes: Extract the full-field grid values ​​from the full-field estimates, calculate the spatial variation coefficients of temperature, humidity, and carbon dioxide, and construct a comprehensive non-uniformity index. Modeling optimization problems includes: determining decision variables and constraints, and determining the objective function based on a comprehensive non-uniformity index; The optimization problem is solved using particle swarm optimization or gradient descent to obtain a decision. The decision includes: Uniformity priority: When the overall non-uniformity index is greater than the first threshold, minimize the overall non-uniformity index as much as possible and ignore energy consumption; Energy consumption priority: When the comprehensive non-uniformity index is less than the second threshold, minimize the total power consumption of the wind turbine while ensuring that the comprehensive non-uniformity index is less than or equal to the second threshold. The first threshold is greater than the second threshold.

[0053] It should be noted that in this embodiment, the first threshold can be 0.1 and the second threshold can be 0.03.

[0054] It is understood that in this embodiment, when using the particle swarm optimization algorithm to solve the optimization problem, the population is 20-30 and the iteration is 30-50 generations; when using gradient descent to solve the optimization problem, a neural network model is used.

[0055] For example, in this embodiment, the formula for calculating the comprehensive non-uniformity index is as follows: ; in, This represents the comprehensive unevenness index. This represents the standard deviation / mean of temperature. Weights are the standard deviation of temperature / mean. This represents the standard deviation / mean of humidity. The weights representing the standard deviation / mean of humidity This represents the standard deviation / mean of carbon dioxide. The weight representing the standard deviation / mean of carbon dioxide.

[0056] It should be noted that, , , These weights are set based on crop sensitivity (e.g., leafy vegetables). =0.5, =0.3, =0.2).

[0057] For example, in this embodiment, the modeling optimization problem includes: Decision variable u = [fan speed, guide vane angle, local air supply valve opening] .

[0058] Let the objective function be min J(μ), and an energy consumption penalty term λ can be added. ; Wherein, J(μ) is the comprehensive non-uniformity index, which is the comprehensive non-uniformity of the internal environment of the plant factory when the actuator is set to μ.

[0059] Total power consumption: When the actuator makes decision μ, the total power consumption of all equipment such as fans and air supply valves.

[0060] λ: Energy consumption penalty weight. λ > 0 is a penalty coefficient set manually. The larger λ is, the more sensitive it is to energy consumption, and it will strongly suppress high-power schemes during optimization, tending to consume less power; the smaller λ is, the weaker the energy consumption constraint, and it will prioritize ensuring spatial uniformity; λ = 0 is equivalent to not adding an energy consumption penalty term, which degenerates into simply minimizing the non-uniformity min J(μ).

[0061] The complete objective function with the penalty term is: minJ(μ) + λ· The physical meaning is: simultaneously addressing two issues: reducing environmental spatial non-uniformity and suppressing total equipment energy consumption. This is a weighted multi-objective approach: minimizing the sum of "non-uniformity loss" and "electrical energy consumption loss".

[0062] Constraints: Rotation speed / angle range, rate of change limit, maximum wind speed ≤ 1.0 m / s, global mean maintained within the suitable range for crops.

[0063] Continue to refer to Figure 1 In step S500, the actuators in the plant factory work according to the optimized decision and monitor the temperature, humidity and carbon dioxide data in the plant factory in real time, and issue an early warning when the data is abnormal.

[0064] It should be noted that in this embodiment, after obtaining the optimized decision, the optimal setpoint is sent to the wind turbine inverter, the guide vane stepper motor, and the air supply solenoid valve via the Modbus / CAN bus. Then, the degree of deviation of each measuring point from the mean is continuously monitored. If the deviation exceeds the limit for three consecutive cycles... If the regional wind speed remains below 0.1 m / s, an early warning will be triggered, prompting maintenance. This represents the standard deviation of the environmental parameters at the measurement point (standard deviation of temperature, humidity, or carbon dioxide concentration).

[0065] In summary, the method provided in this application has the following advantages: 1. Control paradigm innovation: For the first time, the "spatial variation coefficient (CV)" is used as the direct controlled target of environmental control in plant factories, upgrading from mean value achievement to spatial uniformity control.

[0066] 2. Breakthrough in Online CFD: Breaking the industry's technical prejudice that CFD is only used for offline design, by using POD order reduction or neural network proxy, the computation time is compressed from hours to seconds / milliseconds, realizing the engineering application of CFD in real-time control loops.

[0067] 3. Sparse-Dense Fusion Mechanism: The unique Kalman filter assimilation framework, which combines "a prior full field provided by the reduced-order model + real-time correction by sparse sensors", balances cost and accuracy and resolves the contradiction between model error and measured sparsity.

[0068] 4. Multi-objective optimization and control: Construct a mathematical optimization problem that includes uniformity, energy consumption and multiple constraints, and design a dual-mode switching strategy to achieve intelligent decision-making, which is different from traditional manual experience or single-objective PID.

[0069] The following describes an embodiment of the apparatus described in this application, which can be used to execute a method for real-time control of the spatial uniformity of a plant factory environment based on a reduced-order flow field model, as described in the above embodiments of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in the above applications.

[0070] Reference Figure 2 As shown, a real-time control system 200 for the environmental spatial uniformity of a plant factory based on a reduced-order flow field model, according to an embodiment of this application, includes: The data acquisition module 201 is used to collect temperature and humidity data of each grid point in the cultivation layer, carbon dioxide data of the center and two opposite corners of each cultivation layer, and generate a measured sparse vector by combining coordinates, temperature, humidity and carbon dioxide. The flow field order reduction prediction module 202 is used to reduce the flow field of the three-dimensional geometric model of the plant factory and use a neural network to predict the reduced flow field to obtain the predicted sparse vector. The data fusion module 203 is used to fuse the measured sparse vector and the predicted sparse vector using Kalman filtering to obtain the corrected full-field estimate. The homogeneity assessment and optimization decision module 204 is used to perform homogeneity assessment and decision optimization based on the overall field estimate. Execution module 205 is used to enable the actuators in the plant factory to work based on optimized decisions; The early warning module 206 is used to monitor the temperature, humidity and carbon dioxide data in the plant factory in real time and issue an early warning when the data is abnormal.

[0071] Other embodiments of this application will readily conceive of by those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. It should be understood that this application is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method for real-time control of the spatial uniformity of a plant factory environment based on a reduced-order flow field model, characterized in that, include: Temperature and humidity data of each grid point in the cultivation layer, as well as carbon dioxide data of the center and two opposite corners of each cultivation layer, are collected. Combined with coordinates, temperature, humidity and carbon dioxide, a measured sparse vector is generated. The flow field of the three-dimensional geometric model of the plant factory is reduced in order, and the reduced flow field is predicted by a neural network to obtain the predicted sparse vector. Kalman filtering is used to fuse the measured sparse vectors with the predicted sparse vectors to obtain the corrected full-field estimate. Based on the overall field estimate, a uniformity assessment is performed and decision optimization is carried out; The actuators inside the plant factory operate based on optimized decisions and monitor temperature, humidity, and carbon dioxide data in real time, issuing warnings when the data is abnormal.

2. The method according to claim 1, characterized in that, The process of reducing the order of the flow field in the three-dimensional geometric model of the plant factory and using a neural network to predict the reduced flow field to obtain a predicted sparse vector includes: CFD software was used to perform multiple steady-state simulations of the three-dimensional geometric model of the plant factory under different boundary conditions. The physical quantities of the entire field were extracted to form a high-dimensional state vector, and then all working condition snapshots were combined into a high-dimensional matrix. Singular value decomposition is performed on the high-dimensional matrix to obtain the POD mode matrix, and the high-dimensional states are compressed into low-dimensional coefficients; A neural network is trained to map boundary conditions, and the neural network is used to predict and output a three-dimensional sparse vector.

3. The method according to claim 2, characterized in that, The boundary conditions include, but are not limited to: fan speed, guide vane angle, air supply parameters, and carbon dioxide replenishment volume.

4. The method according to claim 2, characterized in that, The physical quantities include, but are not limited to: temperature, humidity, velocity component, and carbon dioxide concentration.

5. The method according to claim 2, characterized in that, During steady-state simulation, the CFD steady-state equations are projected onto the subspace of the POD mode matrix to generate an r-dimensional nonlinear equation system, where r represents the dimension of the POD mode matrix.

6. The method according to claim 2, characterized in that, The process of fusing the measured sparse vectors and the predicted sparse vectors using Kalman filtering to obtain the corrected full-field estimate includes: The POD reduction coefficients are used as state vectors to establish a state-space model; The Kalman gain is calculated using measured sparse vectors and observation equations to update the predictions. Covariance This yields the corrected overall estimate and its uncertainty; in, ; ; This represents the prediction of the POD coefficient at time K; This represents the POD coefficient after correction at time K-1; This represents the state prediction covariance matrix at time K; Let represent the posterior covariance matrix of the previous time k-1, with dimension r×r; Q represents the process noise covariance matrix, with dimension r×r.

7. The method according to claim 6, characterized in that, The process of evaluating uniformity and optimizing decisions based on the overall field estimate includes: Extract the full-field grid values ​​from the full-field estimates, calculate the spatial variation coefficients of temperature, humidity, and carbon dioxide, and construct a comprehensive non-uniformity index. Modeling optimization problems includes: determining decision variables and constraints, and determining the objective function based on a comprehensive non-uniformity index; The optimization problem is solved using particle swarm optimization or gradient descent to obtain a decision. The decision includes: Uniformity priority: When the overall non-uniformity index is greater than the first threshold, minimize the overall non-uniformity index as much as possible and ignore energy consumption; Energy consumption priority: When the comprehensive non-uniformity index is less than the second threshold, minimize the total power consumption of the wind turbine while ensuring that the comprehensive non-uniformity index is less than or equal to the second threshold. The first threshold is greater than the second threshold.

8. The method according to claim 7, characterized in that, The formula for calculating the comprehensive unevenness index is as follows: ; in, This represents the comprehensive unevenness index. This represents the standard deviation / mean of temperature. Weights are the standard deviation of temperature / mean. This represents the standard deviation / mean of humidity. The weights representing the standard deviation / mean of humidity. This represents the standard deviation / mean of carbon dioxide. The weighting represents the standard deviation / mean of carbon dioxide.

9. The method according to claim 7, characterized in that, The decision variables include: the speed of each fan, the angle of the guide vane, and the opening of the local air supply valve; The objective function is min J(μ), and an energy consumption penalty term λ can be added. ; Wherein, J(μ) is the comprehensive non-uniformity index; λ represents the total power consumption; λ is the energy consumption penalty weight. The constraints include: rotational speed / angle range, rate of change limit, maximum wind speed ≤ 1.0 m / s, and global average value maintained within the suitable range for crops.

10. A real-time control system for the spatial uniformity of a plant factory environment based on a reduced-order flow field model, characterized in that, include: The data acquisition module is used to collect temperature and humidity data of each grid point in the cultivation layer, as well as carbon dioxide data of the center and two opposite corners of each cultivation layer, and to generate a measured sparse vector by combining coordinates, temperature, humidity and carbon dioxide. The flow field order reduction prediction module is used to reduce the flow field of the three-dimensional geometric model of the plant factory and use a neural network to predict the reduced flow field to obtain the predicted sparse vector. The data fusion module is used to fuse the measured sparse vectors and the predicted sparse vectors using Kalman filtering to obtain the corrected full-field estimate. The uniformity assessment and optimization decision module is used to perform uniformity assessment and decision optimization based on the overall field estimate. The execution module is used to enable the actuators within the plant factory to operate based on optimized decisions; The early warning module is used to monitor temperature, humidity, and carbon dioxide data in the plant factory in real time and issue an early warning when the data is abnormal.