A mushroom house air conditioning control and adjustment method and system
By establishing a room temperature prediction model and optimizing air-conditioning control with a cost function, the problem of incomplete factors in mushroom house air-conditioning regulation was solved, and precise temperature control and energy saving were achieved.
Patent Information
- Application Number
- CN202211393236.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-08
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2042-11-08
AI Technical Summary
The existing mushroom house air conditioning adjustment method fails to comprehensively consider the impact of indoor and outdoor factors on temperature, resulting in inaccurate temperature control and energy waste, and cannot effectively compensate for environmental changes.
A room temperature prediction model is established. Based on the physical parameters of air conditioning regulation and indoor and outdoor factors, a cost function is constructed. The air conditioning control sequence is optimized through model prediction and rolling feedback to ensure that the cooling capacity matches the cooling load and reduce excessive temperature adjustment.
It achieves precise temperature control and energy saving in the mushroom house, improves the adaptability and stability of the air-conditioning system, and reduces energy waste.
Smart Images

Figure CN115729093B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioning control and adjustment, and in particular to a mushroom house air conditioning control and adjustment method and system. Background Art
[0002] In the agricultural planting industry, large-scale indoor breeding and cultivation are usually involved, especially for the breeding of edible fungi, which have relatively high requirements for temperature environment.
[0003] Currently, automatic air conditioning control in mushroom production houses is mostly based on methods such as timing, PID (Proportional Integral Derivative) systems, and single-threshold upper and lower limits. Timing control often deviates significantly from the actual desired temperature; PID control suffers from large overshoot, slow adjustment speed, and poor stability, making it less adaptable to operating conditions and environmental changes; the single-threshold upper and lower limit control method sets a temperature range for the mushroom house. If the indoor temperature exceeds the upper limit, the air conditioner is turned on (or off); if it falls below the lower limit, the air conditioner is turned off (or on). While simple, this method fails to account for the hysteresis of the thermal environment in the mushroom house, and the indoor temperature often continues to rise (or fall) after the air conditioner is turned off. The main drawbacks of these three methods include: first, they fail to comprehensively consider the impact of various indoor and outdoor factors on the temperature inside the mushroom house; second, they ignore the thermal inertia of the mushroom house environment and fail to compensate for these influences in advance. This not only prevents precise temperature control but also results in significant energy waste. Summary of the Invention
[0004] The present invention provides a mushroom house air conditioning control and adjustment method and system, which are used to solve the defects of the existing technology for air conditioning adjustment in the mushroom house environment, such as incomplete consideration of factors, inability to set compensation amounts in advance, and inability to achieve precise control.
[0005] In a first aspect, the present invention provides a mushroom house air conditioning control and adjustment method, comprising:
[0006] Acquiring physical parameters of air conditioning regulation in the mushroom house, and establishing a room temperature prediction model based on the physical parameters of air conditioning regulation and the respiratory thermal parameters of the indoor mushrooms;
[0007] Determining an air conditioning control adjustment target, and constructing a cost function based on the air conditioning control adjustment target and the room temperature prediction model;
[0008] According to the cost function, a current control sequence of the air conditioner is obtained;
[0009] The actual temperature at the next moment corresponding to the current control sequence of the air conditioner is obtained, and the cost function is updated using the current control sequence of the air conditioner and the actual temperature at the next moment to obtain an updated control sequence of the air conditioner.
[0010] According to a mushroom house air conditioning control and adjustment method provided by the present invention, the step of obtaining the air conditioning adjustment physical parameters of the mushroom house includes:
[0011] A plurality of physical parameters of the air conditioner variable frequency compressor are obtained, and the compressor input frequency and output cooling capacity are determined based on the plurality of physical parameters.
[0012] According to a mushroom house air conditioning control and adjustment method provided by the present invention, the room temperature prediction model is established based on the air conditioning adjustment physical parameters, including:
[0013] Obtaining the predicted value of room temperature, compressor input frequency, and disturbance value at any time; wherein the disturbance value includes the outdoor temperature and solar radiation intensity as well as the disturbance value of indoor temperature caused by the respiration heat of indoor mushrooms;
[0014] Determining room temperature model parameters, frequency model parameters, and disturbance model parameters based on the air conditioning adjustment physical parameters;
[0015] The room temperature prediction model is obtained by performing weighted summation based on the room temperature prediction value, the room temperature model parameters, the compressor input frequency, the frequency model parameters, the disturbance value and the disturbance model parameters.
[0016] According to a mushroom house air conditioning control and adjustment method provided by the present invention, the determining of the air conditioning control and adjustment target, and constructing a cost function based on the air conditioning control and adjustment target and the room temperature prediction model, include:
[0017] Determine the predicted temperature and set temperature at any moment using the room temperature prediction model, determine the energy consumption control amount at any moment using the air conditioning control adjustment target, and determine the terminal state predicted value and terminal state actual value at any moment using a preset prediction time domain;
[0018] Determine the temperature error weight coefficient, energy consumption weight coefficient and terminal weight coefficient;
[0019] Determining a temperature adjustment function based on the difference between the predicted temperature and the set temperature at any moment and the temperature error weight coefficient, determining an energy consumption adjustment function based on the energy consumption control amount at any moment and the energy consumption weight coefficient, and determining a terminal state adjustment function based on the terminal state prediction value at any moment, the terminal state actual value, and the terminal weight coefficient;
[0020] The cost function is constructed based on the temperature adjustment function, the energy consumption adjustment function and the terminal state adjustment function.
[0021] According to a mushroom house air conditioning control and adjustment method provided by the present invention, after determining the air conditioning control and adjustment target and constructing the cost function based on the air conditioning control and adjustment target and the room temperature prediction model, the method further includes:
[0022] Determine the maximum value and minimum value of the compressor inverter control frequency;
[0023] The cost function is constrained based on the maximum value and the minimum value of the compressor inverter control frequency, and the cost function is minimized to output the current control sequence of the air conditioner.
[0024] According to a mushroom house air conditioning control and adjustment method provided by the present invention, the method of obtaining the actual temperature at the next moment corresponding to the current control sequence of the air conditioner, updating the cost function using the current control sequence of the air conditioner and the actual temperature at the next moment, and obtaining an updated air conditioner control sequence includes:
[0025] Obtaining the first temperature value in the current control sequence of the air conditioner and the actual temperature at the next moment;
[0026] Determining a correction error based on the difference between the actual temperature at the next moment and the first temperature value;
[0027] The cost function is updated based on the corrected error to obtain the air conditioning update control sequence.
[0028] In a second aspect, the present invention further provides a mushroom house air conditioning control and adjustment system, comprising:
[0029] The first processing module is used to obtain the air conditioning adjustment physical parameters of the mushroom house, and establish a room temperature prediction model based on the air conditioning adjustment physical parameters and the indoor mushroom respiratory thermal parameters;
[0030] A second processing module is configured to determine an air conditioning control adjustment target and construct a cost function based on the air conditioning control adjustment target and the room temperature prediction model;
[0031] A third processing module is used to obtain a current control sequence of the air conditioner according to the cost function;
[0032] The fourth processing module is used to obtain the actual temperature at the next moment corresponding to the current control sequence of the air conditioner, and update the cost function using the current control sequence of the air conditioner and the actual temperature at the next moment to obtain an updated control sequence of the air conditioner.
[0033] In a third aspect, the present invention further provides an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the mushroom house air conditioning control and adjustment method described above is implemented.
[0034] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described mushroom house air conditioning control and adjustment methods.
[0035] In a fifth aspect, the present invention further provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the above-mentioned mushroom house air conditioning control and adjustment methods.
[0036] The mushroom house air conditioning control and adjustment method and system provided by the present invention are aimed at the air conditioning control and adjustment in the mushroom house environment. By introducing the influence of various indoor and outdoor factors on the temperature in the mushroom house, the control amount can be adjusted in advance according to the changes in future outdoor climate factors and the changes in the respiratory heat production of indoor mushrooms, effectively ensuring that the cooling capacity at any time matches the indoor cooling load. At the same time, the current temperature is rolled back and optimized according to the predicted temperature, effectively avoiding the defect of excessive temperature adjustment. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0038] Figure 1 This is a flow chart of the mushroom house air conditioning control and adjustment method provided by the present invention;
[0039] Figure 2 This is a block diagram of the hardware composition of the mushroom house air conditioning control and adjustment method provided by the present invention;
[0040] Figure 3 It is a flow chart of the model predictive control strategy system provided by the present invention;
[0041] Figure 4 This is an operation flow chart of the mushroom house air conditioning control and adjustment method provided by the present invention;
[0042] Figure 5 This is a structural diagram of the mushroom house air conditioning control and regulation system provided by the present invention;
[0043] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0044] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0045] In response to the defects of the current factory-based edible fungus air-conditioning system, the present invention proposes an air-conditioning control and adjustment method and system for factory-based edible fungus production mushroom houses based on model predictive control, aiming to solve the problem of dynamic matching between the cooling load of the mushroom house and the cooling capacity of the air-conditioning.
[0046] Figure 1 This is a flow chart of the mushroom house air conditioning control and adjustment method provided by the present invention, as shown in FIG. Figure 1 Shown, including:
[0047] Step 100: Acquire physical parameters of air conditioning regulation in the mushroom house, and establish a room temperature prediction model based on the physical parameters of air conditioning regulation and indoor mushroom respiratory thermal parameters;
[0048] Step 200: determining an air conditioning control adjustment target, and constructing a cost function based on the air conditioning control adjustment target and the room temperature prediction model;
[0049] Step 300: Obtaining the current control sequence of the air conditioner according to the cost function;
[0050] Step 400: Obtain the actual temperature at the next moment corresponding to the current control sequence of the air conditioner, and update the cost function using the current control sequence of the air conditioner and the actual temperature at the next moment to obtain an updated control sequence of the air conditioner.
[0051] Specifically, the air-conditioning adjustment physical parameters of the edible fungus production mushroom house are obtained, and a room temperature prediction model is established based on the air-conditioning adjustment physical parameters, that is, the room temperature prediction model is established according to the physical properties of the edible fungus production mushroom house. The model can predict the indoor temperature of the mushroom house according to different influencing factors and air-conditioning cooling conditions in the future. On the basis of the prediction model, a cost function is established with the goal of improving control accuracy and saving energy consumption. Then, the rated range of the control quantity is added as a constraint of the cost function. The cost function is solved to obtain the air-conditioning control sequence at the future moment. The first quantity of the control sequence is used as the control quantity at the current moment for regulation. Finally, the actual room temperature at the current moment is obtained at the next moment, and the difference between the actual room temperature and the predicted room temperature at the previous moment is used for feedback correction. Subsequently, the process of solving the cost function is repeated cyclically to obtain a new round of air-conditioning control sequence.
[0052] In order to realize the above mushroom house air conditioning control and adjustment method, the hardware implementation module proposed in the present invention is as follows: Figure 2As shown, it includes an operation control module, a data acquisition module and an output control module.
[0053] The calculation and control module is composed of a microcontroller and a storage element. The microcontroller is used for optimizing the calculation and operation of the formulated model predictive control method; the storage element is used to store the calculation and various acquisition parameters;
[0054] The data acquisition module is mainly composed of indoor and outdoor temperature and humidity sensors, which collects indoor and outdoor temperature and humidity data in real time and transmits them to the control operation unit;
[0055] The output control module primarily consists of a dual-contact relay and a frequency converter. The microcontroller's I / O port controls the dual-contact relay's on / off state after two phase inversions through a Darlington diode, thereby switching the indoor and condenser fans on and off. The microcontroller uses the optimization results of each round of model predictive control to transmit the control variable via RS485 to the frequency converter, which then uses this control variable to perform variable-frequency control of the compressor.
[0056] The present invention aims at the air-conditioning control and regulation in the mushroom house environment. By introducing the influence of various indoor and outdoor factors on the temperature in the mushroom house, the control amount can be adjusted in advance according to the changes in future outdoor climate factors and the changes in the respiratory heat production of indoor mushrooms, effectively ensuring that the cooling capacity at any time matches the indoor cooling load. At the same time, the current temperature is rolled back and optimized according to the predicted temperature, effectively avoiding the defect of excessive temperature adjustment.
[0057] Based on the above embodiment, the step of obtaining the air conditioning adjustment physical parameters of the mushroom house includes:
[0058] A plurality of physical parameters of the air conditioner variable frequency compressor are obtained, and the compressor input frequency and output cooling capacity are determined based on the plurality of physical parameters.
[0059] The method of establishing a room temperature prediction model based on the air conditioning adjustment physical parameters and the indoor mushroom respiratory thermal parameters includes:
[0060] Obtaining the predicted value of room temperature, compressor input frequency, and disturbance value at any time; wherein the disturbance value includes the outdoor temperature and solar radiation intensity as well as the disturbance value of indoor temperature caused by the respiration heat of indoor mushrooms;
[0061] Determining room temperature model parameters, frequency model parameters, and disturbance model parameters based on the air conditioning adjustment physical parameters;
[0062] The room temperature prediction model is obtained by performing weighted summation based on the room temperature prediction value, the room temperature model parameters, the compressor input frequency, the frequency model parameters, the disturbance value and the disturbance model parameters.
[0063] Specifically, if Figure 3As shown, the physical parameters of the air conditioning adjustment of the edible mushroom house in the present invention are obtained based on the physical parameters of the air conditioning compressor to obtain the relationship between the compressor input frequency and the compressor output cooling capacity.
[0064] Furthermore, a mushroom house room temperature prediction model was established based on the physical characteristics of the edible fungus production mushroom house. The model can calculate the predicted temperature in the mushroom house at future moments under different cooling amounts and meteorological parameter forecast data.
[0065] y(k+1)=Ay(k)+Bu(k)+Cw(k)
[0066] Where y(k+1) is the predicted value of the room temperature at time k+1, A, B, and C are model parameters obtained by modeling the physical characteristics of the mushroom house, u(k) is the control variable at time k, namely the compressor operating frequency, and w(k) is the disturbance at time k, namely the load caused by outdoor temperature and radiation on indoor heat conduction and ventilation, as well as the load caused by indoor mushroom respiration and heat generation.
[0067] Based on the above embodiment, determining the air conditioning control adjustment target and constructing a cost function based on the air conditioning control adjustment target and the room temperature prediction model include:
[0068] Determine the predicted temperature and set temperature at any moment using the room temperature prediction model, determine the energy consumption control amount at any moment using the air conditioning control adjustment target, and determine the terminal state predicted value and terminal state actual value at any moment using a preset prediction time domain;
[0069] Determine the temperature error weight coefficient, energy consumption weight coefficient and terminal weight coefficient;
[0070] Determining a temperature adjustment function based on the difference between the predicted temperature and the set temperature at any moment and the temperature error weight coefficient, determining an energy consumption adjustment function based on the energy consumption control amount at any moment and the energy consumption weight coefficient, and determining a terminal state adjustment function based on the terminal state prediction value at any moment, the terminal state actual value, and the terminal weight coefficient;
[0071] The cost function is constructed based on the temperature adjustment function, the energy consumption adjustment function and the terminal state adjustment function.
[0072] Specifically, based on the construction of the room temperature prediction model, a cost function J(k) is established according to the control target of the mushroom house room temperature. The control target is to save energy consumption to the greatest extent while ensuring the accuracy of indoor temperature control. The cost function is constructed as follows:
[0073]
[0074] Among them, N is the prediction time domain that can be set by yourself, q is the temperature error weight coefficient, To predict the temperature, y set is the set temperature, r is the energy consumption weight coefficient, u is the control variable, and f is the terminal weight coefficient. The first term on the right side of the above equation represents the difference between the predicted and set temperatures, forcing the air conditioner's predicted output to be as close to the set value as possible. The second term forces the control variable to be minimized, reducing system energy consumption. The third term represents the final value. The ratio of the three error weight coefficients is adjusted to indicate the degree of emphasis on these three terms.
[0075] Based on the above embodiment, after determining the air conditioning control adjustment target and constructing the cost function based on the air conditioning control adjustment target and the room temperature prediction model, the method further includes:
[0076] Determine the maximum value and minimum value of the compressor inverter control frequency;
[0077] The cost function is constrained based on the maximum value and the minimum value of the compressor inverter control frequency, and the cost function is minimized to output the current control sequence of the air conditioner.
[0078] Optionally, in the process of optimizing the cost function, in order to prevent the control variable from exceeding the rated control value, a constraint should be added to the control variable. Here, the upper limit is the maximum value of the inverter control frequency, and the lower limit is the minimum value of the inverter control frequency, which is expressed as follows:
[0079] u min ≤u(k+i)≤u max i=0,1,2,…N-1
[0080] Finally, in each control cycle, the control sequence is solved by minimizing the following cost function, and the first u value of the control sequence is taken out as the control quantity of the current control time domain.
[0081]
[0082] Based on the above embodiment, the step of obtaining the actual temperature at the next moment corresponding to the current control sequence of the air conditioner, and updating the cost function using the current control sequence of the air conditioner and the actual temperature at the next moment to obtain an updated control sequence of the air conditioner includes:
[0083] Obtaining the first temperature value in the current control sequence of the air conditioner and the actual temperature at the next moment;
[0084] Determining a correction error based on the difference between the actual temperature at the next moment and the first temperature value;
[0085] The cost function is updated based on the corrected error to obtain the air conditioning update control sequence.
[0086] Specifically, starting from the next moment of the current air conditioning control sequence, the sensor will collect the current indoor temperature of the mushroom room, calculate the difference between it and the temperature predicted by the prediction model at the previous moment, and use the error between the two for feedback correction, that is, use the error to correct the predicted temperature. The corrected predicted temperature is then put into the cost function and the next round of solution is performed to obtain the updated air conditioning control sequence. This continuous rolling optimization can ensure the accuracy of the prediction results and enhance the stability of the control system. The error calculation formula here is:
[0087]
[0088] In the formula is the predicted temperature of the model at time k+1, y(k+1) is the actual temperature at time k+1, and e(k+1) is the error at time k+1.
[0089] Based on the above embodiments, Figure 4 As shown in the figure, when the mushroom house system starts up, the fans and compressor are activated simultaneously. The microcontroller then inputs the set indoor temperatures for N future moments, a real-time interference sequence, and the current actual indoor temperature. After optimization calculations, a control sequence and a predicted room temperature sequence are derived. The first step of the control sequence is then transmitted to the inverter, which controls the compressor to operate at that control frequency. At the next moment, the current room temperature is re-evaluated, and the error between it and the predicted room temperature at the previous moment is used for feedback correction. This results in a corrected predicted sequence. A new round of optimization calculations is then restarted, resulting in a new control sequence. The inverter then re-acquires the control frequency to control the compressor.
[0090] The present invention considers the actual impact of outdoor temperature and solar radiation as well as the respiratory heat production of indoor mushrooms on the indoor temperature of the mushroom house, and dynamically adjusts the output of the air-conditioning system accordingly, so that the air-conditioning output matches the indoor cooling load of the mushroom house, which can effectively improve the indoor temperature regulation accuracy of the mushroom house and bring energy savings.
[0091] The mushroom house air conditioning control and adjustment system provided by the present invention is described below. The mushroom house air conditioning control and adjustment system described below and the mushroom house air conditioning control and adjustment method described above can be referred to each other.
[0092] Figure 5 This is a structural diagram of the mushroom house air conditioning control and regulation system provided by the present invention. Figure 5 As shown, it includes: a first processing module 51, a second processing module 52, a third processing module 53 and a fourth processing module 54, wherein:
[0093] The first processing module 51 is used to obtain the air conditioning adjustment physical parameters of the mushroom house, and establish a room temperature prediction model based on the air conditioning adjustment physical parameters and the respiratory thermal parameters of the indoor mushrooms; the second processing module 52 is used to determine the air conditioning control adjustment target, and construct a cost function based on the air conditioning control adjustment target and the room temperature prediction model; the third processing module 53 is used to obtain the current air conditioning control sequence based on the cost function; the fourth processing module 54 is used to obtain the actual temperature at the next moment corresponding to the current air conditioning control sequence, and use the current air conditioning control sequence and the actual temperature at the next moment to update the cost function to obtain the updated air conditioning control sequence.
[0094] The present invention aims at the air-conditioning control and regulation in the mushroom house environment. By introducing the influence of various indoor and outdoor factors on the temperature in the mushroom house, the control amount can be adjusted in advance according to the changes in future outdoor climate factors and the changes in the respiratory heat production of indoor mushrooms, effectively ensuring that the cooling capacity at any time matches the indoor cooling load. At the same time, the current temperature is rolled back and optimized according to the predicted temperature, effectively avoiding the defect of excessive temperature adjustment.
[0095] Figure 6 An example of a physical structure diagram of an electronic device is shown below. Figure 6 As shown, the electronic device may include: a processor 610, a communications interface 620, a memory 630, and a communications bus 640. The processor 610, the communications interface 620, and the memory 630 communicate with each other via the communications bus 640. The processor 610 may invoke logic instructions in the memory 630 to execute a mushroom house air conditioning control and adjustment method. The method includes: obtaining physical parameters for air conditioning adjustment of the mushroom house, establishing a room temperature prediction model based on the physical parameters and the respiratory thermal parameters of the indoor mushrooms; determining an air conditioning control adjustment target, constructing a cost function based on the air conditioning control adjustment target and the room temperature prediction model; obtaining a current air conditioning control sequence based on the cost function; obtaining the actual temperature at the next moment corresponding to the current air conditioning control sequence, and updating the cost function using the current air conditioning control sequence and the actual temperature at the next moment to obtain an updated air conditioning control sequence.
[0096] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0097] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the mushroom house air conditioning control and adjustment method provided by the above methods, and the method includes: obtaining the air conditioning adjustment physical parameters of the mushroom house, and establishing a room temperature prediction model based on the air conditioning adjustment physical parameters and the indoor mushroom respiratory thermal parameters; determining the air conditioning control adjustment target, and constructing a cost function based on the air conditioning control adjustment target and the room temperature prediction model; obtaining the current air conditioning control sequence according to the cost function; obtaining the actual temperature at the next moment corresponding to the current air conditioning control sequence, and updating the cost function using the current air conditioning control sequence and the actual temperature at the next moment to obtain an updated air conditioning control sequence.
[0098] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the mushroom house air-conditioning control and adjustment method provided by the above-mentioned methods, the method comprising: obtaining the air-conditioning adjustment physical parameters of the mushroom house, and establishing a room temperature prediction model based on the air-conditioning adjustment physical parameters and the respiratory thermal parameters of the indoor mushrooms; determining the air-conditioning control adjustment target, and constructing a cost function based on the air-conditioning control adjustment target and the room temperature prediction model; obtaining the current air-conditioning control sequence according to the cost function; obtaining the actual temperature at the next moment corresponding to the current air-conditioning control sequence, and updating the cost function using the current air-conditioning control sequence and the actual temperature at the next moment to obtain an updated air-conditioning control sequence.
[0099] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0100] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0101] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A mushroom house air conditioning control and adjustment method, characterized in that: include: Acquiring physical parameters of air conditioning regulation in the mushroom house, and establishing a room temperature prediction model based on the physical parameters of air conditioning regulation and the respiratory thermal parameters of the indoor mushrooms; Determining an air conditioning control adjustment target, and constructing a cost function based on the air conditioning control adjustment target and the room temperature prediction model; According to the cost function, a current control sequence of the air conditioner is obtained; Obtaining the actual temperature at the next moment corresponding to the current control sequence of the air conditioner, and updating the cost function using the current control sequence of the air conditioner and the actual temperature at the next moment to obtain an updated control sequence of the air conditioner; The method of establishing a room temperature prediction model based on the air conditioning adjustment physical parameters and the indoor mushroom respiratory thermal parameters includes: Obtain the predicted room temperature, compressor input frequency and disturbance value at any moment; The disturbance value includes the disturbance value of the outdoor temperature and solar radiation intensity as well as the indoor temperature caused by the respiration heat of indoor mushrooms; Determining room temperature model parameters, frequency model parameters, and disturbance model parameters based on the air conditioning adjustment physical parameters; The room temperature prediction model is obtained by performing weighted summation based on the room temperature prediction value, the room temperature model parameters, the compressor input frequency, the frequency model parameters, the disturbance value and the disturbance model parameters.
2. The mushroom house air conditioning control and adjustment method according to claim 1, characterized in that: The method of obtaining the air conditioning adjustment physical parameters of the mushroom house includes: A plurality of physical parameters of the air conditioner variable frequency compressor are obtained, and the compressor input frequency and output cooling capacity are determined based on the plurality of physical parameters.
3. The mushroom house air conditioning control and adjustment method according to claim 1, characterized in that: The determining of the air conditioning control adjustment target and constructing a cost function based on the air conditioning control adjustment target and the room temperature prediction model include: Determine the predicted temperature and set temperature at any moment using the room temperature prediction model, determine the energy consumption control amount at any moment using the air conditioning control adjustment target, and determine the terminal state predicted value and terminal state actual value at any moment using a preset prediction time domain; Determine the temperature error weight coefficient, energy consumption weight coefficient and terminal weight coefficient; Determining a temperature adjustment function based on the difference between the predicted temperature and the set temperature at any moment and the temperature error weight coefficient, determining an energy consumption adjustment function based on the energy consumption control amount at any moment and the energy consumption weight coefficient, and determining a terminal state adjustment function based on the terminal state prediction value at any moment, the terminal state actual value, and the terminal weight coefficient; The cost function is constructed based on the temperature adjustment function, the energy consumption adjustment function and the terminal state adjustment function.
4. The mushroom house air conditioning control and adjustment method according to claim 1, characterized in that: After determining the air conditioning control adjustment target and constructing a cost function based on the air conditioning control adjustment target and the room temperature prediction model, the method further includes: Determine the maximum value and minimum value of the compressor inverter control frequency; The cost function is constrained based on the maximum value and the minimum value of the compressor inverter control frequency, and the cost function is minimized to output the current control sequence of the air conditioner.
5. The mushroom house air conditioning control and adjustment method according to claim 1, characterized in that: The step of obtaining the actual temperature at the next moment corresponding to the current control sequence of the air conditioner, and updating the cost function using the current control sequence of the air conditioner and the actual temperature at the next moment to obtain an updated control sequence of the air conditioner includes: Obtaining the first temperature value in the current control sequence of the air conditioner and the actual temperature at the next moment; Determining a correction error based on the difference between the actual temperature at the next moment and the first temperature value; The cost function is updated based on the corrected error to obtain the air conditioning update control sequence.
6. A mushroom house air conditioning control and adjustment system, characterized in that: include: The first processing module is used to obtain the air conditioning adjustment physical parameters of the mushroom house, and establish a room temperature prediction model based on the air conditioning adjustment physical parameters and the indoor mushroom respiratory thermal parameters; A second processing module is configured to determine an air conditioning control adjustment target and construct a cost function based on the air conditioning control adjustment target and the room temperature prediction model; A third processing module is used to obtain a current control sequence of the air conditioner according to the cost function; A fourth processing module is configured to obtain the actual temperature at the next moment corresponding to the current control sequence of the air conditioner, and update the cost function using the current control sequence of the air conditioner and the actual temperature at the next moment to obtain an updated control sequence of the air conditioner; The first processing module is specifically configured to: Obtaining the predicted value of room temperature, compressor input frequency, and disturbance value at any time; wherein the disturbance value includes the outdoor temperature and solar radiation intensity as well as the disturbance value of indoor temperature caused by the respiration heat of indoor mushrooms; Determining room temperature model parameters, frequency model parameters, and disturbance model parameters based on the air conditioning adjustment physical parameters; The room temperature prediction model is obtained by performing weighted summation based on the room temperature prediction value, the room temperature model parameters, the compressor input frequency, the frequency model parameters, the disturbance value and the disturbance model parameters.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the mushroom house air conditioning control and adjustment method according to any one of claims 1 to 5 is implemented.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the mushroom house air conditioning control and adjustment method according to any one of claims 1 to 5 is implemented.
9. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the mushroom house air conditioning control and adjustment method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
System and method for controlling environment of edible mushroom house
CN111296183A
Building indoor temperature regulation and control method and system based on model predictive control
CN114580254A