Opening degree control method and device of air conditioning system, air conditioning system and storage medium
By establishing a mathematical model of opening degree control based on the principle of energy conservation and combining a preset control algorithm, the hysteresis problem of air conditioning systems in response to step signals is solved, and faster response speed and higher temperature control accuracy are achieved. , reducing system complexity and energy consumption.
Patent Information
- Application Number
- CN202411464770.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-02-11
AI Technical Summary
The air conditioning system has a hysteresis in response to step signals, resulting in unstable temperature control and excessive energy consumption. The prior art reduces lag by using faster sensors and actuators or complex neural network control algorithms, but these methods increase cost or computational complexity.
By obtaining the adjustment time from the time the air conditioning system receives the step signal to reaching steady state, establish a mathematical model of opening control based on the principle of energy conservation, calculate the opening control parameters, and combine the output value of the preset control algorithm to determine the target opening control parameters to optimize the response speed of the air conditioning system.
More refined opening control is achieved, allowing the air conditioning system to respond to step signals faster, shorten the time to reach steady state, reduce the complexity and computing burden of the system, and improve the accuracy and energy efficiency of temperature control.
Smart Images

Figure CN119412782A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of air-conditioning control technology, and in particular, to an opening control method and device for an air-conditioning system, an air-conditioning system, and a storage medium. Background Art
[0002] In engineering and control system theory, hysteresis refers to the time delay between the response of a control system or component to an external stimulus and the occurrence of that stimulus. Hysteresis can be caused by a variety of factors, such as the natural time constant of the physical process, mechanical inertia, and the response time of electrical components. The magnitude of hysteresis directly affects the dynamic performance and stability of the system. In the field of air-conditioning control technology, hysteresis is also a key issue. The response speed of the air-conditioning system to changes in ambient temperature will directly affect the indoor temperature adjustment accuracy and energy efficiency. Especially in large areas or environments with frequent load fluctuations, the accumulation of hysteresis may lead to problems such as unstable temperature control and excessive energy consumption.
[0003] In order to reduce the negative impact of hysteresis, in the process of realizing this application, the inventor found that there are at least the following technical problems in the prior art: First, hysteresis can be reduced by using sensors and actuators with faster response speeds, but this will increase the cost. Second, neural networks are combined with model predictive control to deal with the nonlinear characteristics and complex dynamics of the system, but this control algorithm is computationally complex and relies heavily on the accuracy of the model. If the model is inaccurate, it may lead to poor control effects. Summary of the invention
[0004] Based on the above problems, the embodiments of the present application provide an opening control method, device, equipment and storage medium for an air-conditioning system, the purpose of which is to reduce the hysteresis of the air-conditioning system in response to a step signal.
[0005] In a first aspect, an embodiment of the present application provides a method for controlling the opening degree of an air conditioning system, wherein the air conditioning system is provided with a control device, and the method comprises:
[0006] Obtaining the adjustment time from when the air conditioning system receives a step signal to when the air conditioning system reaches a steady state;
[0007] Establishing a mathematical model for opening control based on the energy conservation principle and the adjustment time;
[0008] Calculating the adjustment time based on the opening control mathematical model to obtain at least one opening control parameter;
[0009] Obtaining a first opening value corresponding to the control device output by a preset control algorithm of the air conditioning system in each calculation cycle;
[0010] Determining a target opening control parameter corresponding to the first opening value according to a correspondence between the preset first opening value and the opening control parameter;
[0011] A second opening value for each calculation cycle is obtained according to the first opening value and the target opening control parameter, so that the air conditioning system controls the actual opening of the control device according to the second opening value.
[0012] In one embodiment, the establishment of the opening control mathematical model based on the energy conservation principle and the adjustment time includes:
[0013] Calculating a hysteresis parameter of the air conditioning system according to the adjustment time;
[0014] Based on the energy conservation principle and the hysteresis parameter, a mathematical model for opening control is established.
[0015] In one embodiment, the calculating the hysteresis parameter of the air conditioning system according to the adjustment time includes:
[0016] The hysteresis parameter of the air conditioning system is obtained using the following formula:
[0017] α=e bτ
[0018] Wherein, α is the hysteresis parameter of the air-conditioning system, b is an empirical constant, and τ is the adjustment time of the air-conditioning system.
[0019] In one embodiment, the adjustment time includes the delay time from when the air conditioning system receives the step signal to when the air conditioning system generates a step response; the mathematical model of opening control is established based on the energy conservation principle and the hysteresis parameter, including:
[0020] The opening control mathematical model is established using the following formula:
[0021]
[0022] Wherein, n is the delay time of the air conditioning system, and function f X (n) characterizes the change of the opening control parameter with the delay time, α is the hysteresis parameter of the air conditioning system; γ = -q*α, q is an empirical constant; based on the principle of energy conservation, the value of c in the opening control mathematical model satisfies the following conditions:
[0023] In one embodiment, before determining the target opening control parameter corresponding to the first opening value according to the preset correspondence relationship between the first opening value and the opening control parameter, the method further includes:
[0024] Using a first array of fixed-length space to store a first opening value corresponding to the control device output by a preset control algorithm of the air-conditioning system in each calculation cycle, and using a second array of fixed-length space to store the opening control parameter;
[0025] Constructing a correspondence between the index value of each of the first opening values in the first array and the index value of each of the opening control parameters in the second array;
[0026] The determining, according to the correspondence between the preset first opening value and the opening control parameter, the target opening control parameter corresponding to the first opening value comprises:
[0027] According to a preset correspondence between the first opening value and the opening control parameter, a target opening control parameter corresponding to the index value of the first opening value in the first array is determined in the second array.
[0028] In one embodiment, the first array is represented as data_H[n]={H[1], H[2], ..., H[n]};
[0029] The second array is represented as data_QH[n]={f x (1), f x (2),......,f x (n)};
[0030] The length of the first array data_H[n] and the length of the second array data_QH[n] are set based on the ratio between the delay time of the air-conditioning system and the calculation period.
[0031] In one embodiment, the step of obtaining the second opening value in each calculation cycle according to the first opening value and the target opening control parameter includes:
[0032] The second opening value in each calculation cycle is obtained using the following formula:
[0033]
[0034] Where data_H[n] T is the transpose of the first array data_H[n], and data_QH[n] is the second array.
[0035] In a second aspect, the embodiment of the present application further provides an opening control device for an air conditioning system, comprising:
[0036] an acquisition unit, used to acquire the adjustment time from when the air-conditioning system receives the step signal to when the air-conditioning system reaches a steady state;
[0037] A model building unit, used for building a mathematical model of opening control based on the energy conservation principle and the adjustment time;
[0038] A processing unit, configured to calculate the adjustment time based on the opening control mathematical model to obtain at least one opening control parameter;
[0039] The acquisition unit is further used to acquire a first opening value corresponding to the control device output by a preset control algorithm of the air-conditioning system in each calculation cycle;
[0040] The processing unit is further used to determine a target opening control parameter corresponding to the first opening value according to a correspondence between the preset first opening value and the opening control parameter;
[0041] The processing unit is further used to obtain a second opening value for each calculation cycle according to the first opening value and the target opening control parameter, so that the air-conditioning system controls the actual opening of the control device according to the second opening value.
[0042] In a third aspect, the embodiment of the present application further provides an air conditioning system, including:
[0043] CPU, memory, input and output interfaces;
[0044] The memory is a short-term storage memory or a persistent storage memory;
[0045] The central processing unit is configured to communicate with the memory and execute instruction operations in the memory to perform any one of the above-mentioned methods for controlling the opening degree of the air-conditioning system.
[0046] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is run on a computer, any one of the above-mentioned methods for controlling the degree of opening of the air-conditioning system is executed.
[0047] It can be seen from the above technical solutions that the embodiments of the present application have at least the following advantages:
[0048] The present application obtains the opening control parameters by establishing a mathematical model of opening control in combination with the energy conservation principle and the adjustment time, and obtains the first opening value output by the preset control algorithm in each calculation cycle, and obtains the second opening value in combination with the target opening control parameter to control the actual opening of the air-conditioning system control device. By acting on the control device with the second opening value, more precise control can be achieved, so that the air-conditioning system can respond to the step signal more quickly, thereby shortening the time it takes for the air-conditioning system to reach a steady state. Compared with traditional complex control algorithms such as parameter setting and complex neural network model prediction, the embodiments of the present application can more lightly realize the anti-hysteresis of control systems or devices such as air-conditioning systems, reducing the complexity and computational burden of the air-conditioning system. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0050] Figure 1 A schematic diagram of a non-hysteresis step response of an air conditioning system provided in an embodiment of the present application;
[0051] Figure 2 A schematic flow chart of a method for controlling the degree of opening of an air-conditioning system provided in an embodiment of the present application;
[0052] Figure 3 A schematic diagram of a delayed step response of an air conditioning system provided in an embodiment of the present application;
[0053] Figure 4 A schematic diagram for comparing step responses of electric heating provided in an embodiment of the present application;
[0054] Figure 5 A schematic diagram of a curve showing changes in a hysteresis parameter of an air conditioning system with adjustment time provided in an embodiment of the present application;
[0055] Figure 6 A schematic diagram of a curve showing changes in an opening control parameter of an air conditioning system with a delay time provided in an embodiment of the present application;
[0056] Figure 7 A schematic flow chart of a method for controlling the degree of opening of an air-conditioning system provided in an embodiment of the present application;
[0057] Figure 8 A schematic diagram of the structure of an opening control device for an air conditioning system provided in an embodiment of the present application;
[0058] Fig. 9A schematic diagram of the structure of an air conditioning system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0059] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0060] In engineering and automation control system theory, hysteresis refers to the time delay between the response of a control system or component to an external stimulus and the occurrence of that stimulus, while step response refers to the reaction of a system to a sudden input change (such as a step signal). Taking the air conditioning system in the control system as an example, assuming that the air conditioning system has no hysteresis, the step response of the air conditioning system to an external stimulus can be referred to Figure 1 , Figure 1 It is a schematic diagram of a non-hysteresis step response of an air conditioning system. Figure 1 The horizontal axis represents time t, and the vertical axis represents the heating amount or heating power H. Figure 1 It can be seen that the step signal suddenly increases from zero to a non-zero value at time t0 (such as Figure 1δT shown), and then remain unchanged. In the ideal case without hysteresis, the output of the air conditioning system will also jump from the initial value H0 to H0+δH immediately at time t0, and remain at this new level (H0+δH). However, in practical applications, it is difficult to achieve a completely hysteresis-free control system, and most physical control systems have a certain degree of hysteresis. Hysteresis may be caused by many factors, such as the natural time constant of the physical process, mechanical inertia, and the response time of electrical components. The magnitude of hysteresis directly affects the dynamic performance and stability of the system. In the air conditioning system, the impact of hysteresis on the air conditioning system is mainly reflected in the feedback control mechanism. Feedback control relies on real-time or near real-time system status information to adjust the control strategy of the air conditioning system. The response speed of the air conditioning system to changes in ambient temperature will directly affect the adjustment accuracy and energy efficiency of the indoor temperature. Especially in large areas or environments with frequent load fluctuations, the accumulation of hysteresis may lead to problems such as unstable temperature control and excessive energy consumption. If the system has a large hysteresis, the status information received by the controller will lag behind the actual system status changes, which will lead to untimely implementation of control actions and affect the system's ability to accurately track set points or maintain desired dynamic characteristics. Specifically, if the air conditioner responds slowly to changes in ambient temperature, the indoor temperature may not be adjusted to the target temperature in time, resulting in large fluctuations in the room temperature, affecting the air conditioning system's precise control of temperature. The response speed of the air conditioning system will also affect the efficiency of energy use. If the system responds slowly, it will take longer or more energy to return to the ideal temperature, which may result in energy waste and reduce the overall energy efficiency of the air conditioning system. In addition, whether the temperature can be adjusted in time is directly related to the comfort of the indoor environment. If the air conditioning system is slow to respond to step signals, users may feel that the temperature changes too slowly, thus affecting the comfort experience of the indoor environment.
[0061] In order to reduce the negative impact of hysteresis, two strategies can be adopted: one is to use sensors and actuators with faster response speed, but this will increase the cost; the other is to apply control algorithms, such as parameter tuning of PID controllers, model predictive control using neural networks, or feedforward control technology to predict and compensate for hysteresis. However, these control algorithm methods are computationally complex and rely heavily on the accuracy of the model. If the model is inaccurate, it may lead to poor control results.
[0062] Based on this, in each embodiment of the present application, by establishing a mathematical model of opening, the control parameters are adjusted in real time in the original control algorithm, which can reduce the lag time of the air-conditioning system, improve the control accuracy, and thus optimize the response speed and stability of the air-conditioning system.
[0063] The various embodiments of the present application are described in further detail below in conjunction with the accompanying drawings.
[0064] The present application embodiment provides a method for controlling the opening degree of an air conditioning system. Figure 2 As shown, the method includes steps S201-S206.
[0065] S201: Obtaining the adjustment time from when the air-conditioning system receives a step signal to when the air-conditioning system reaches a steady state.
[0066] In the field of automatic control, the system step response curve is generally used to express the performance characteristics of the system. Figure 3 , Figure 3 The horizontal axis represents time t, the vertical axis H represents the heating amount or heating power, and the vertical axis T represents the temperature. Figure 3 Taking the electric heating temperature control scenario as an example, it is shown that in the presence of hysteresis, if a sudden change in the opening degree is applied to the air conditioning system, the output of the system will not jump to the new value immediately, but there will be a certain delay. Figure 3 It can be seen that the temperature starts from the initial stable value T0, receives a step signal at time t0, and after the delay time ts, the temperature begins to rise, and continues to rise after time t1 until it reaches a new stable value H0+δH at time t2. The following data can be obtained from the diagram: delay time ts=t1-t0, adjustment time τ=t2-t0. In the air-conditioning system, the electric heating opening will be adjusted in each calculation cycle according to the original control algorithm of the air-conditioning system. Due to the hysteresis of temperature changes, when the temperature reading finally approaches the set expected value, the actual electric heating opening may have exceeded the required level. If the opening is reduced at this time, the reaction to the temperature drop will also be delayed, resulting in inaccurate temperature control, affecting the stability and efficiency of the control effect of the system.
[0067] Therefore, by obtaining the adjustment time from when the air-conditioning system receives the step signal to when the air-conditioning system reaches a steady state, the embodiment of the present application can understand the dynamic response characteristics of the control system to the step signal, understand the reaction speed of the control system to the step response change, and thus better formulate a suitable opening control method according to the adjustment time of the air-conditioning system. It should be understood that in the embodiment of the present application, the adjustment time includes the delay time from when the air-conditioning system receives the step signal to when the air-conditioning system generates a step response and the response time from when the air-conditioning system generates a step response to when the air-conditioning system reaches a steady state (see Figure 3 The time period from time t1 to time t2 in the graph).
[0068] S202: Establishing a mathematical model for opening control based on the energy conservation principle and adjustment time.
[0069] The mathematical model established based on the principle of energy conservation can ensure that the energy input to the system is balanced with the output energy during the control process, thereby preventing the system from becoming unstable due to energy imbalance. On this basis, the adjustment time obtained in the previous step is introduced. The adjustment time can reflect the length of time required for the air-conditioning system to reach a steady state, which helps to identify and compensate for the hysteresis effect of the system, thereby reducing its adverse effects on control accuracy and response speed, and thus more accurately calculate the response changes of the air-conditioning system within a specific time.
[0070] S203: Calculate the adjustment time based on the opening control mathematical model to obtain at least one opening control parameter.
[0071] Using the established opening control mathematical model, with the adjustment time as input, the different moments within the adjustment time are calculated and multiple opening control parameters are output. For example, if the adjustment time is 3 seconds, the 1st second, 2nd second, and 3rd second can be input into the opening control mathematical model to obtain multiple opening control parameters. The opening control parameters are used to guide the adjustment of the control components to optimize the response speed of the air-conditioning system, ensure that the air-conditioning system can correctly respond to external changes or excitation signals, reduce the hysteresis effect of the system, and thus improve the working efficiency of the air-conditioning system.
[0072] S204: Obtaining a first opening value corresponding to the control device output by a preset control algorithm of the air-conditioning system in each calculation cycle.
[0073] Here, the preset control algorithm refers to the control algorithm that is pre-configured during the design phase of the air-conditioning system, such as proportional-integral-derivative control (PID), field-oriented control (FOC), direct torque control (DTC), sliding mode control (SMC), model predictive control (MPC), etc., which are used to realize the start, operation, stop, and precise control of speed and position of the air-conditioning system. The control devices in the air-conditioning system may include components such as compressors, electronic expansion valves, fans, and electric heaters. The opening value of the control device refers to the degree of opening or adjustment of a certain parameter of the control device in the equipment or system, such as motor speed frequency, valve opening and closing degree, current / voltage size, elastic wave (P wave) frequency, etc.
[0074] It should be understood that the opening control method provided in the embodiment of the present application can actually be understood as an auxiliary control method based on the original control algorithm. By performing auxiliary control based on the original control algorithm, it can be more easily integrated into the existing control system, and it is also convenient for subsequent expansion and upgrading. Therefore, it is necessary to obtain the first opening value of the corresponding control device output by the original control algorithm on the air-conditioning system in each calculation cycle, and further adjust it according to the first opening value output by the original control algorithm.
[0075] S205: Determine a target opening control parameter corresponding to the first opening value according to a preset correspondence relationship between the first opening value and the opening control parameter.
[0076] By presetting the correspondence between the first opening value and the opening control parameter, each first opening value can find its corresponding opening control parameter. Specifically, the correspondence can be set in the form of a mapping table, exponential / logarithmic correspondence or fuzzy logic correspondence, which is not limited in the embodiments of the present application.
[0077] S206: deriving a second opening value for each calculation cycle according to the first opening value and the target opening control parameter, so that the air-conditioning system controls the actual opening of the control device according to the second opening value.
[0078] Please refer to Figure 4 , Figure 4 A comparative schematic diagram of electric heating step response. Figure 4 The horizontal axis represents time t, the vertical axis H represents the heating amount or heating power, and the vertical axis T represents the temperature. Figure 4 The left side is a traditional step response without using the opening control method provided in the embodiment of the present application. Figure 4 The right side shows the step response when the opening control method provided in the embodiment of the present application is adopted. Figure 4 The traditional step response on the left (H0→H0+δH) usually presents a gradual and relatively smooth rising process. Figure 4 The step response (H0→H0+βH, βH→δH) shown on the right shows that in the initial stage of the step amplitude increase, the temperature change slope of the system increases significantly, which means that the temperature rises faster. Subsequently, as the opening of the control device decreases appropriately, the temperature change slope gradually slows down. This allows the temperature to reach the same temperature value more quickly, the system delay time will also be shortened, and the overall response speed will be improved.
[0079] It is worth noting that although the step final value H0+βH of the electric heating opening is greater than H0+δH, the opening increment of each calculation cycle (i.e., each moment) is obtained through a mathematical model based on the principle of energy conservation. Therefore, the step final value of the electric heating opening will be smaller than the original H0+δH due to energy conservation, which means that in a sufficiently long time, if there is no further input change, the temperature may gradually fall back, as shown by the red dotted line. However, in actual operation, since the control device will continuously adjust the first opening value output by the preset control algorithm in each calculation cycle to obtain the second opening value, the temperature decline trend will be covered by the adjustment action caused by the new second opening value, and ensure that the system can continue to track the set target temperature.
[0080] The present application obtains the opening control parameter by combining the energy conservation principle and the adjustment time to establish the opening control mathematical model, and obtains the first opening value output by the preset control algorithm in each calculation cycle, and obtains the second opening value in combination with the target opening control parameter to control the actual opening of the air-conditioning system control device. The second opening value acts on the control device to achieve more precise opening control, so that the air-conditioning system can respond to the step signal more quickly, thereby shortening the time for the air-conditioning system to reach a steady state. In addition, the opening control method provided in the embodiment of the present application is intended to be used as an auxiliary control method for the original control algorithm of the system, and optimizes the control performance of the air-conditioning system by obtaining the opening increment output by the preset control algorithm in each calculation cycle, that is, the first opening value. Compared with complex control algorithms such as traditional parameter setting, complex neural network model prediction or feedforward control technology, the opening control algorithm provided in the embodiment of the present application can more lightly realize the anti-hysteresis of control systems or devices such as air-conditioning systems, reduce the complexity and calculation burden of the system, and reduce the demand for computing resources. At the same time, it also provides an efficient, economical and easy-to-implement method for control systems such as air-conditioning systems. On the basis of the original control algorithm, it can improve the anti-lag performance of the original algorithm, reduce the steady-state amplitude of the control system (that is, the peak value of periodic oscillation or response after the system or process reaches a stable state), and improve the response speed of the system.
[0081] In one embodiment, a mathematical model for opening control is established based on the energy conservation principle and the adjustment time, including: calculating the hysteresis parameter of the air-conditioning system according to the adjustment time; and establishing the mathematical model for opening control based on the energy conservation principle and the hysteresis parameter.
[0082] Using the measured adjustment time, the hysteresis parameter of the control system is first calculated. The hysteresis parameter is a quantitative indicator that describes the delay characteristics of the system response. In practical applications, it can also be a time constant, a delay factor, or other related parameters, etc., which are not limited in the embodiments of the present application. After determining the hysteresis parameter, the opening mathematical model of the opening control can be established in combination with the principle of conservation of energy. The opening mathematical model can help design and adjust the output control parameters to reduce hysteresis and improve control accuracy.
[0083] In one embodiment, calculating the hysteresis parameter of the air conditioning system according to the adjustment time includes: obtaining the hysteresis parameter of the air conditioning system using the following formula:
[0084] α=e bτ
[0085] Among them, α is the hysteresis parameter of the air-conditioning system, b is the empirical constant, and τ is the adjustment time of the air-conditioning system.
[0086] Where b = 0.0006, the value of b is selected based on experience and historical data to ensure the accuracy and practicality of the model. The system's adjustment time τ and delay time ts are obtained through step testing. Here, step testing means giving the system a sudden change (such as a sudden increase in voltage or current) and then observing the changes in the system output (such as motor speed or control device position) to obtain the system's adjustment time and delay time. Please refer to Figure 5 , Figure 5 A curve diagram of a hysteresis parameter of an air-conditioning system changing with adjustment time is provided in an embodiment of the present application, wherein the horizontal axis represents the adjustment time of the air-conditioning system, and the vertical axis represents the hysteresis parameter of the air-conditioning system. The curve diagram corresponds to the above-mentioned formula for calculating the hysteresis parameter. In a feasible embodiment, a sliding window of the same length can be designed according to the delay time ts. For example, if the delay time is 5 seconds, the length n of the sliding window is also 5. The sliding window is used to store and process data of the system during the delay period in order to better understand and predict the state changes of the system. Among them, the value range of n is: n>1. By accurately calculating the hysteresis parameters and using the sliding window to process the data, the hysteresis effect of the system can be more accurately predicted and compensated, thereby improving the control accuracy.
[0087] In one embodiment, the adjustment time includes the delay time from when the air conditioning system receives the step signal to when the air conditioning system generates a step response; based on the energy conservation principle and the hysteresis parameter, the opening control mathematical model is established, including: using the following formula to establish the opening control mathematical model:
[0088]
[0089] Where n is the delay time of the air conditioning system, and function fX (n) represents the change of the opening control parameter with the delay time, α is the hysteresis parameter of the air conditioning system; γ = -q*α, q is an empirical constant; based on the principle of energy conservation, the value of c in the opening control mathematical model meets the following conditions:
[0090] Please refer to Figure 6 , Figure 6 The curve diagram of the air conditioning system opening control parameter changing with the delay time, where the ordinate X is the opening control parameter and the ordinate N is the time. In fact, the piecewise function f X (n) can also be understood as a function representation of the opening control parameter. Piecewise function f X (n) is a function used to describe the change of the opening control parameter with the delay time n of the air conditioning system. It is defined in sections: when n = 1, the function value (i.e., the "opening control parameter") is α, α is the hysteresis parameter of the system, indicating the opening control parameter at the first moment of the delay time. When n>1, the function value (i.e., the "opening control parameter") is γe -c (n -1 ) is given by an exponential decay function, which is used to simulate the decay of the opening control parameter over time. The γ coefficient is defined by γ = -q*α, where q is an empirical constant, and here q is taken as 0.9. The γ coefficient affects the initial amplitude of the decay of the opening control parameter over time.
[0091] c is a decay coefficient, which is used to control the rate at which the opening control parameter decays over time. At the first moment, α≥1, which means that the hysteresis parameter α mainly plays an amplifying role. Therefore, according to the principle of energy conservation, the total energy (or total effect) of the opening control parameter over time should remain constant, so it is necessary to pass the integral condition To limit the value of the attenuation coefficient.
[0092] In one embodiment, before determining the target opening control parameter corresponding to the first opening value according to the preset correspondence between the first opening value and the opening control parameter, the method also includes: using a first array of fixed-length space to store the first opening value of the corresponding control device output by a preset control algorithm of the air-conditioning system in each calculation cycle, and using a second array of fixed-length space to store the opening control parameters; constructing a correspondence between the index value of each first opening value in the first array and the index value of each opening control parameter in the second array; determining the target opening control parameter corresponding to the first opening value according to the preset correspondence between the first opening value and the opening control parameter, including: determining in the second array the target opening control parameter corresponding to the index value of the first opening value in the first array according to the preset correspondence between the first opening value and the opening control parameter.
[0093] The first array is used to store the first opening value of the corresponding control device output by the preset control algorithm in each calculation cycle, and each first opening value in the first array is used as the input of the opening control mathematical model. The second array is used to store the opening control parameters, which are calculated according to the opening control mathematical model and are used to further optimize the first opening values in the first array. It can be understood that each opening value in the first array has a unique index value. Similarly, the opening control parameter in the second array also has a unique index value. The system will find the corresponding index according to the first opening value (element in the first array), and then use this index to find the corresponding opening control parameter in the second array. In other words, the index (position) of each opening value in the first array can be mapped to the control parameter at the same position in the second array. In this way, the system can quickly determine the target opening control parameter corresponding to a certain first opening value through index search, thereby improving the search efficiency.
[0094] In one embodiment, the first array is represented by data_H[n]={H[1], H[2], . . . , H[n]}; the second array is represented by data_QH[n]={f x (1), f x (2),......,f x (n)}; The length of the first array data_H[n] and the length of the second array data_QH[n] are set based on the ratio between the delay time and the calculation period of the air-conditioning system.
[0095] The lengths of the first array and the second array are set based on the ratio between the delay time and the calculation cycle of the air-conditioning system. The length of the array is closely related to the system response characteristics (such as the delay time) and the calculation cycle of the preset control algorithm to ensure that the array can cover all the time points required for the system to respond from receiving input to responding. For example, taking the electric heating temperature control scenario as an example, the temperature sampling cycle and the calculation cycle in the automatic control process are both 1s, and the test data of the step test can obtain an adjustment time of 12s and a delay time of 5s. Therefore, the ratio between the delay time and the calculation cycle of the air-conditioning system is 5, so the length of the first array and the second array is also 5. Of course, in another feasible embodiment, the lengths of the first array and the second array can also be set based only on the delay time of the air-conditioning system, that is, the delay time of the air-conditioning system is numerically 5, then the lengths of the first array and the second array are also 5.
[0096] It should be understood that the first array uses a sliding queue or head insertion method to write and update data. Assume that the first array Arr[3] = {0, 0, 0}, and its length is 3. Each time a new element is inserted, the elements in the first array are shifted to the right once, the rightmost element is removed, and the new element is inserted to the leftmost position. The specific shift process can be referred to as follows:
[0097] First insertion: Arr elements are shifted right once, dh1 is inserted into the first element position of Arr, and the array is updated to Arr[3]={dh1,0,0}.
[0098] Second insertion: Arr elements are shifted right once, dh2 is inserted into the first element position of Arr, and Arr is updated to Arr[3]={dh2, dh1, 0}.
[0099] The third insertion: Arr elements are shifted right once; dh3 is inserted into the first element position of Arr, and Arr is updated to Arr[3] = {dh3, dh2, dh1}.
[0100] Fourth insertion: Arr elements are shifted right once; dh4 is inserted into the first element position of Arr, and Arr is updated to Arr[3]={dh4, dh3, dh2}.
[0101] Through this sliding queue method, the first array always retains the three most recent data values, the newly inserted data is located at the first position of the first array, and the old data is gradually moved to the right and deleted.
[0102] In one embodiment, obtaining the second opening value in each calculation cycle according to the first opening value and the target opening control parameter includes: obtaining the second opening value in each calculation cycle using the following formula:
[0103]
[0104] Where data_H[n] T is the transpose of the first array data_H[n], and data_QH[n] is the second array.
[0105] For example, assuming that the preset control algorithm in the automatic adjustment process originally outputs the electric heating opening increment dh at the current moment, after superimposing and applying the above formula, the original increment dh should become
[0106] Please refer to Figure 7For example, assuming that the delay time is 3s, the calculation cycle and the temperature sampling time are both 1s, the first array data_H[3]={0, 0, 0}, and its length is 3. The second array data_QH[3]={5, -10, -5}, and its length is also 3.
[0107] The specific process of calculating the second opening value is as follows (sampling time 1, sampling time 2, etc. can be understood as different moments):
[0108] Sampling time 1: After receiving the first opening value dh1=50 output by the preset algorithm, the data_H[n] element is shifted right once, 50 is inserted into the first position of Arr, and the array is updated to data_H[3]={50, 0, 0}. Calculate the second opening value Dh, Dh = 50*5 + 0*(-10) + 0*(-5) = 250;
[0109] Sampling time 2: After receiving the first opening value dh2=100 output by the preset algorithm, the Arr element is shifted right once; 100 is inserted into the first element position of Arr, and Arr is updated to data_H[3]={100, 50, 0}. Calculate the second opening value Dh, Dh = 100*5 + 50*(-10) + 0*(-5) = 0;
[0110] Sampling time 3: The first opening value dh3=200 output by the preset algorithm is received, and the Arr element is shifted to the right once; 200 is inserted into the first element position of Arr, and Arr is updated to data_H[3]={200, 100, 50}. Calculate the second opening value Dh, Dh = 200*5 + 100*(-10) + 50*(-5) = -250;
[0111] Sampling time 4: After receiving the first opening value dh1=250 output by the preset algorithm, the Arr element is shifted right once; 250 is inserted into the first element position of Arr, and Arr is updated to data_H[3]={250, 200, 100}. The second opening value Dh is calculated, Dh=250*5+200*(-10)+100*(-5)=-1250.
[0112] It should be understood that since the delay time ts is less than Figure 4 At the moment when the red dotted line appears (i.e., the moment when the system temperature is expected to drop below the initial stable level), combined with the update of the first array data_H[n] in each calculation cycle, it can be effectively avoided Figure 4The temperature drop phenomenon shown by the red dotted line in the figure. Specifically, before the system reaches the temperature drop stage indicated by the red dotted line, the air conditioning system has received and processed the control input (i.e., the first opening value) of the next calculation cycle according to the previously preset control algorithm, and based on this new first opening value, the opening control method provided in the embodiment of the present application is applied to calculate the second opening value, thereby providing the necessary excitation signal to the air conditioning system in a timely manner. In this way, the air conditioning system can continuously obtain the appropriate opening value at different times, thereby maintaining a stable temperature level and avoiding the occurrence of temperature drop.
[0113] In order to implement the opening control method of the air conditioning system in the embodiment of the present application, the embodiment of the present application also provides an opening control device of the air conditioning system, such as Figure 8 As shown, the device comprises:
[0114] An acquisition unit 801 is used to acquire the adjustment time from when the air conditioning system receives a step signal to when the air conditioning system reaches a steady state;
[0115] A model building unit 802, used to build a mathematical model of opening control based on the energy conservation principle and the adjustment time;
[0116] A processing unit 803 is used to calculate the adjustment time based on the opening control mathematical model to obtain at least one opening control parameter;
[0117] The acquisition unit 801 is further used to acquire the first opening value corresponding to the control device output by the preset control algorithm of the air-conditioning system in each calculation cycle;
[0118] The processing unit 803 is further configured to determine a target opening control parameter corresponding to the first opening value according to a preset correspondence relationship between the first opening value and the opening control parameter;
[0119] The processing unit 803 is further configured to obtain a second opening value for each calculation cycle according to the first opening value and the target opening control parameter, so that the air-conditioning system controls the actual opening of the control device according to the second opening value.
[0120] In one embodiment, the processing unit 803 is further used to calculate the hysteresis parameter of the air-conditioning system according to the adjustment time; the model building unit 802 is further used to build an opening control mathematical model based on the energy conservation principle and the hysteresis parameter.
[0121] In one embodiment, the processing unit 803 is further configured to obtain the hysteresis parameter of the air conditioning system by using the following formula:
[0122] α=e bτ
[0123] Wherein, α is the hysteresis parameter of the air-conditioning system, b is an empirical constant, and τ is the adjustment time of the air-conditioning system.
[0124] In one embodiment, the model building unit 802 is further used to build the opening control mathematical model using the following formula:
[0125]
[0126] Wherein, n is the delay time of the air conditioning system, and function f X (n) characterizes the change of the opening control parameter with the delay time, α is the hysteresis parameter of the air conditioning system; γ = -q*α, q is an empirical constant; based on the principle of energy conservation, the value of c in the opening control mathematical model satisfies the following conditions:
[0127] In one embodiment, the processing unit 803 is also used to use a first array of fixed-length space to store the first opening value corresponding to the control device output by a preset control algorithm of the air-conditioning system in each calculation cycle, and to use a second array of fixed-length space to store the opening control parameters; the processing unit 803 is also used to construct a correspondence between the index value of each first opening value in the first array and the index value of each opening control parameter in the second array; the processing unit 803 is also used to determine in the second array the target opening control parameter corresponding to the index value of the first opening value in the first array according to the preset correspondence between the first opening value and the opening control parameter.
[0128] In one embodiment, the first array is represented by data_H[n]={H[1], H[2], ..., H[n]}; the second array is represented by data_QH[n]={f x (1), f x (2),......,f x (n)}; The length of the first array data_H[n] and the length of the second array data_QH[n] are set based on the ratio between the delay time of the air-conditioning system and the calculation period.
[0129] In one embodiment, the second opening value in each calculation cycle is obtained using the following formula:
[0130]
[0131] Where data_H[n] T is the transpose of the first array data_H[n], and data_QH[n] is the second array.
[0132] It should be noted that: the above embodiment provides an opening control device for an air-conditioning system, and when performing the opening control of the air-conditioning system, only the division of the above program modules is used as an example. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the opening control device for an air-conditioning system provided in the above embodiment and the opening control method embodiment of an air-conditioning system belong to the same concept. The specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0133] Based on the hardware implementation of the above program modules, and in order to implement an opening control method of an air conditioning system provided in an embodiment of the present application, the embodiment of the present application also provides an air conditioning system, such as Fig. 9 As shown, the air conditioning system 900 includes:
[0134] CPU 901, memory 902 and input / output interface 903;
[0135] The memory 902 is a temporary storage memory or a permanent storage memory;
[0136] The central processor 901 is configured to communicate with the memory 902 and execute instructions in the memory 902 to perform any one of the above-mentioned methods for controlling the degree of opening of the air-conditioning system.
[0137] Of course, in actual application, the various components in the air conditioning system 900 are coupled together through the bus system 904. It can be understood that the bus system 904 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 904 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Fig. 9 Various buses are labeled as bus system 904.
[0138] The memory 902 in the embodiment of the present application is used to store various types of data to support the operation of the air conditioning system 900. Examples of such data include: any computer program used to operate on the air conditioning system 900.
[0139] The embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program is run on a computer, any one of the above-mentioned methods for controlling the degree of opening of an air-conditioning system is executed.
[0140] The embodiment of the present application also provides a computer program product, on which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, it is used to implement any of the above-mentioned air-conditioning system opening control methods.
[0141] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0142] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0143] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0144] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0145] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or 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, including several instructions for enabling the air-conditioning system to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
Claims
1. A method for controlling the opening degree of an air conditioning system, characterized in that: The air conditioning system is provided with a control device, and the method comprises: Obtaining the adjustment time from when the air conditioning system receives a step signal to when the air conditioning system reaches a steady state; Establishing a mathematical model for opening control based on the energy conservation principle and the adjustment time; Calculating the adjustment time based on the opening control mathematical model to obtain at least one opening control parameter; Obtaining a first opening value corresponding to the control device output by a preset control algorithm of the air conditioning system in each calculation cycle; Determining a target opening control parameter corresponding to the first opening value according to a correspondence between the preset first opening value and the opening control parameter; A second opening value for each calculation cycle is obtained according to the first opening value and the target opening control parameter, so that the air conditioning system controls the actual opening of the control device according to the second opening value.
2. The method for controlling the opening degree of the air conditioning system according to claim 1, characterized in that: The mathematical model of opening control is established based on the energy conservation principle and the adjustment time, including: Calculating a hysteresis parameter of the air conditioning system according to the adjustment time; Based on the energy conservation principle and the hysteresis parameter, a mathematical model for opening control is established.
3. The method for controlling the opening degree of the air conditioning system according to claim 2, characterized in that: The calculating the hysteresis parameter of the air conditioning system according to the adjustment time includes: The hysteresis parameter of the air conditioning system is obtained using the following formula: α=e bτ Wherein, α is the hysteresis parameter of the air-conditioning system, b is an empirical constant, and τ is the adjustment time of the air-conditioning system.
4. The method for controlling the opening degree of the air conditioning system according to claim 3, characterized in that: The adjustment time includes the delay time from when the air conditioning system receives the step signal to when the air conditioning system generates a step response; the opening control mathematical model is established based on the energy conservation principle and the hysteresis parameter, including: The opening control mathematical model is established using the following formula: Wherein, n is the delay time of the air conditioning system, and function f X (n) characterizes the change of the opening control parameter with the delay time, α is the hysteresis parameter of the air conditioning system; γ = -q*α, q is an empirical constant; based on the principle of energy conservation, the value of c in the opening control mathematical model satisfies the following conditions:
5. The method for controlling the opening degree of the air conditioning system according to claim 1, characterized in that: Before determining the target opening control parameter corresponding to the first opening value according to the preset correspondence relationship between the first opening value and the opening control parameter, the method further includes: Using a first array of fixed-length space to store a first opening value corresponding to the control device output by a preset control algorithm of the air-conditioning system in each calculation cycle, and using a second array of fixed-length space to store the opening control parameter; Constructing a correspondence between the index value of each of the first opening values in the first array and the index value of each of the opening control parameters in the second array; The determining, according to the correspondence between the preset first opening value and the opening control parameter, the target opening control parameter corresponding to the first opening value comprises: According to a preset correspondence between the first opening value and the opening control parameter, a target opening control parameter corresponding to the index value of the first opening value in the first array is determined in the second array.
6. The method for controlling the opening degree of the air conditioning system according to claim 5, characterized in that: The first array is represented as data_H[n]={H[1], H[2], ..., H[n]}; The second array is represented as data_QH[n]={f x (1), f x (2),......,f x (n)}; The length of the first array data_H[n] and the length of the second array data_QH[n] are set based on the ratio between the delay time of the air-conditioning system and the calculation period.
7. The method for controlling the opening degree of the air conditioning system according to claim 6, characterized in that: The step of obtaining the second opening value in each calculation cycle according to the first opening value and the target opening control parameter corresponding to the first opening value includes: The second opening value in each calculation cycle is obtained using the following formula: Where data_H[n] T is the transpose of the first array data_H[n], and data_QH[n] is the second array.
8. An opening control device for an air conditioning system, characterized in that: include: an acquisition unit, used to acquire the adjustment time from when the air-conditioning system receives the step signal to when the air-conditioning system reaches a steady state; A model building unit, used for building a mathematical model of opening control based on the energy conservation principle and the adjustment time; A processing unit, configured to calculate the adjustment time based on the opening control mathematical model to obtain at least one opening control parameter; The acquisition unit is further used to acquire a first opening value corresponding to the control device output by a preset control algorithm of the air-conditioning system in each calculation cycle; The processing unit is further used to determine a target opening control parameter corresponding to the first opening value according to a correspondence between the preset first opening value and the opening control parameter; The processing unit is further used to obtain a second opening value for each calculation cycle according to the first opening value and the target opening control parameter, so that the air-conditioning system controls the actual opening of the control device according to the second opening value.
9. An air conditioning system, characterized in that: include: CPU, memory and input / output interface; The memory is a short-term storage memory or a persistent storage memory; The central processing unit is configured to communicate with the memory and execute instruction operations in the memory to perform the opening control method of the air-conditioning system according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed on a computer, the opening control method of the air-conditioning system according to any one of claims 1 to 7 is executed.
Citation Information
Cited By
Early warning method and system for ventilation equipment of smart laboratory
CN121140142A
A method and system for early warning of ventilation equipment in a smart laboratory
CN121140142B