Temperature control method and device, electronic equipment and storage medium
By using a PID controller and temperature sensor in the refrigeration equipment to adjust the opening angle of the damper in real time, the problem of lag in temperature response in low-temperature storage spaces is solved, achieving fast and accurate temperature control and improving the preservation performance of the refrigeration equipment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- XIAOMI TECH (WUHAN) CO LTD
- Filing Date
- 2026-04-30
- Publication Date
- 2026-06-09
Smart Images

Figure CN122170606A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of refrigeration equipment technology, and more specifically, to a temperature control method, apparatus, electronic device, and storage medium. Background Technology
[0002] During operation, the food preservation effect of refrigeration equipment is affected by a variety of factors, among which temperature is one of the most direct. Due to the significant lag in temperature control and the different temperature requirements of different areas within the refrigeration equipment, as well as the variations in control parameters and set conditions, high demands are placed on temperature control in each area of the low-temperature storage space.
[0003] Currently, temperature control in the low-temperature storage space of household refrigeration equipment largely relies on adjusting the compressor speed, damper opening, and fan speed. However, in scenarios involving damper control, the opening and closing of the damper is driven by a motor, and each action requires a certain amount of time to complete, making it impossible to reach the target position instantaneously. If only the compressor speed is relied upon for adjustment, the temperature response within the low-temperature storage space will be untimely, making it difficult to cope with sudden situations such as rapid changes in ambient temperature. Summary of the Invention
[0004] This disclosure provides a temperature control method, apparatus, electronic device, and storage medium, which can solve the technical problem in related technologies where the opening and closing of dampers has a hysteresis effect, resulting in untimely temperature response in low-temperature storage spaces and difficulty in coping with sudden temperature changes. The technical solution provided by this disclosure is as follows: According to a first aspect of the present disclosure, a temperature control method is provided, the method comprising: Determine the actual temperature of the low-temperature storage space in the refrigeration equipment; The actual temperature and the preset temperature of the low-temperature storage space of the refrigeration equipment are input into the PID controller to obtain the target position of the air damper of the low-temperature storage space of the refrigeration equipment. Adjust the opening angle of the damper in the low-temperature storage space of the refrigeration equipment based on the target location.
[0005] As an optional implementation, the low-temperature storage space of the refrigeration equipment is equipped with a temperature sensor; determining the actual temperature of the low-temperature storage space of the refrigeration equipment includes: Determine the temperature sampling period, and determine the sampling time point based on the temperature sampling period; The actual temperature of the low-temperature storage space of the refrigeration equipment is determined based on the temperature sensor readings at the sampling time points.
[0006] As an optional implementation, the step of inputting the actual temperature and the preset temperature of the low-temperature storage space of the refrigeration equipment into the PID controller to obtain the target position of the air damper of the low-temperature storage space of the refrigeration equipment includes: Determine the difference between the actual temperature and the preset temperature at each sampling time; input the difference into the PID controller to obtain the results of the proportional term, integral term and derivative term of the PID controller respectively; Based on the results of the proportional term, the integral term, and the differential term, the target position of the air door of the low-temperature storage space is determined at each sampling time.
[0007] As an optional implementation, the scaling term includes a target scaling factor, which is determined in the following way: The proportional coefficient is gradually increased from a first value to a second value to obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment when the proportional coefficient takes different values; the proportional coefficient corresponding to the minimum overshoot in the temperature change curve is taken as the target proportional coefficient.
[0008] As an optional implementation, the integration term includes a target integration coefficient, which is determined in the following way: With the proportional coefficient as the target proportional coefficient, the integral coefficient is gradually reduced from the third value to the fourth value to obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment when the integral coefficient takes different values; the integral coefficient corresponding to the minimum static error in the temperature change curve is taken as the target integral coefficient.
[0009] As an optional implementation, the differential term includes a target differential coefficient, which is determined in the following way: With the proportional coefficient and integral coefficient set to the target proportional coefficient and integral coefficient respectively, the differential coefficient is gradually increased from zero to obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment with different values of the differential coefficient. The differential coefficient corresponding to the maximum slope of the temperature change curve is taken as the target differential coefficient.
[0010] As an optional implementation, adjusting the opening angle of the damper in the low-temperature storage space of the refrigeration equipment based on the target location includes: Based on the target position of the cold storage space damper at each sampling time, determine the control signal of the cold storage space damper at the sampling time; The opening angle of the damper in the low-temperature storage space of the refrigeration equipment is adjusted according to the control signal.
[0011] According to a second aspect of the present disclosure, a temperature control device is provided, the device comprising: The first processing module is used to determine the actual temperature of the low-temperature storage space of the refrigeration equipment. The second processing module is used to input the actual temperature and the preset temperature of the low-temperature storage space of the refrigeration equipment into the PID controller to obtain the target position of the air damper of the low-temperature storage space of the refrigeration equipment. The third processing module is used to adjust the opening angle of the damper of the low-temperature storage space of the refrigeration equipment based on the target position.
[0012] As an optional implementation, the low-temperature storage space of the refrigeration equipment is equipped with a temperature sensor; the device further includes: The fourth processing module is used to determine the temperature sampling period and determine the sampling time point based on the temperature sampling period; The actual temperature of the low-temperature storage space of the refrigeration equipment is determined based on the temperature sensor readings at the sampling time points.
[0013] As an optional implementation, the device further includes: The fifth processing module is used to determine the difference between the actual temperature and the preset temperature at each sampling time; the difference is input into the PID controller to obtain the results of the proportional term, integral term and derivative term of the PID controller respectively; The sixth processing module is used to determine the target position of the low-temperature storage space air door at each sampling time based on the results of the proportional term, the integral term, and the differential term.
[0014] As an optional implementation, the scaling term includes a target scaling factor, and the device further includes: The seventh processing module is used to gradually increase the proportional coefficient from a first value to a second value, and obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment when the proportional coefficient takes different values; and take the proportional coefficient corresponding to the minimum overshoot in the temperature change curve as the target proportional coefficient.
[0015] As an optional implementation, the integration term includes a target integration coefficient, and the apparatus further includes: The eighth processing module is used to gradually reduce the integral coefficient from the third value to the fourth value when the proportional coefficient is the target proportional coefficient, thereby obtaining the temperature change curve of the low-temperature storage space of the refrigeration equipment when the integral coefficient takes different values; and to take the integral coefficient corresponding to the minimum static error in the temperature change curve as the target integral coefficient.
[0016] As an optional implementation, the differential term includes a target differential coefficient, and the device further includes: The ninth processing module is used to, when the proportional coefficient is the target proportional coefficient and the integral coefficient is the target integral coefficient, gradually increase the differential coefficient from zero to obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment when the differential coefficient has different values, and take the differential coefficient corresponding to the maximum slope of the temperature change curve as the target differential coefficient.
[0017] As an optional implementation, the device further includes: The tenth processing module is used to determine the control signal of the low-temperature storage space damper at each sampling time based on the target position of the damper at each sampling time. The opening angle of the damper in the low-temperature storage space of the refrigeration equipment is adjusted according to the control signal.
[0018] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to implement the method described in any one of the first aspects.
[0019] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the method as described in any one of the first aspects.
[0020] The beneficial effects of the technical solutions provided in this disclosure are: This disclosure provides a temperature control method, apparatus, electronic device, and storage medium. By inputting the actual temperature and the preset temperature of the low-temperature storage space of the refrigeration equipment into a PID controller, the PID controller directly controls the damper opening angle, effectively avoiding adjustment deviations caused by damper hysteresis and improving the accuracy and response speed of temperature control in the low-temperature storage space. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments of this disclosure will be briefly introduced below.
[0022] Figure 1 A schematic flowchart of a temperature control method provided in an embodiment of this disclosure; Figure 2 A schematic diagram of the working principle of a PID controller provided in an embodiment of this disclosure; Figure 3 This is a schematic diagram of the structure of a temperature control device provided in an embodiment of the present disclosure; Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0023] The embodiments of this disclosure are described below with reference to the accompanying drawings. It should be understood that the embodiments described below with reference to the accompanying drawings are exemplary descriptions for explaining the technical solutions of the embodiments of this disclosure, and do not constitute a limitation on the technical solutions of the embodiments of this disclosure.
[0024] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the terms “comprising” and “including” as used in embodiments of this disclosure mean that the corresponding feature can be implemented as the presented feature, information, data, step, operation, element, and / or component, but do not exclude implementation as other features, information, data, step, operation, element, component, and / or combinations thereof supported by the art. It should be understood that when we say that an element is “connected” or “coupled” to another element, the one element can be directly connected or coupled to the other element, or it can mean that the one element and the other element are connected through an intermediate element. Furthermore, “connected” or “coupled” as used herein can include wireless connection or wireless coupling. The term “and / or” as used herein indicates at least one of the items defined by the term, for example, “A and / or B” or “A, B” indicates implementation as “A,” or implementation as “B,” or implementation as “A and B.”
[0025] To make the objectives, technical solutions, and advantages of this disclosure clearer, the embodiments of this disclosure will be described in further detail below with reference to the accompanying drawings.
[0026] During operation, the food preservation effect of refrigeration equipment is affected by a variety of factors, among which temperature is one of the most direct. Due to the significant lag in temperature control and the different temperature requirements of different areas within the refrigeration equipment, as well as the variations in control parameters and set conditions, high demands are placed on temperature control in each area of the low-temperature storage space.
[0027] Currently, temperature control in the cryogenic storage space of refrigeration equipment largely relies on adjusting the compressor speed, damper opening, and fan speed. However, in scenarios involving damper control, the opening and closing of the damper is driven by a motor, and each action requires a certain amount of time to complete, making it impossible to reach the target position instantaneously. If only the compressor speed is relied upon for adjustment, the temperature response within the cryogenic storage space will be untimely, making it difficult to cope with sudden situations such as rapid changes in ambient temperature.
[0028] The technical solutions of this application and their effects are described below through several exemplary embodiments. It should be noted that the following embodiments can be referenced, borrowed from, or combined with each other. Identical terms, similar features, and similar implementation steps in different embodiments will not be repeated.
[0029] Figure 1 This is a schematic flowchart of a temperature control method provided in an embodiment of the present disclosure; as shown below. Figure 1 As shown, the method includes: S101. Determine the actual temperature of the low-temperature storage space of the refrigeration equipment.
[0030] S102. Input the actual temperature and the preset temperature of the low-temperature storage space of the refrigeration equipment into the PID controller to obtain the target position of the air damper of the low-temperature storage space of the refrigeration equipment.
[0031] S103. Adjust the opening angle of the damper of the low-temperature storage space of the refrigeration equipment based on the target position.
[0032] Specifically, in this embodiment of the present disclosure, a temperature sensor is built into the low-temperature storage space of the refrigeration equipment; the temperature inside the low-temperature storage space can be collected by the temperature sensor built into the low-temperature storage space, and the collected temperature is used as the actual temperature of the low-temperature storage space of the refrigeration equipment.
[0033] Specifically, in this embodiment of the present disclosure, the preset temperature of the low-temperature storage space of the refrigeration equipment can be set via an operation panel. For example, the operation panel is located above the door of the refrigeration equipment or on a display screen inside the low-temperature storage space, and the user can set the preset temperature of the low-temperature storage space of the refrigeration equipment via touch buttons on the operation panel.
[0034] Specifically, in this embodiment, a temperature sensor inside the low-temperature storage space of the refrigeration equipment collects the actual temperature data of the low-temperature storage space in real time, and simultaneously reads the preset temperature data set by the user through the operation panel. After preliminary verification and processing of these two sets of key data, they are sent to the PID controller. The PID controller receives the collected actual temperature and preset temperature, calculates the temperature deviation between the two, and then performs precise calculation on the temperature deviation according to a preset proportional (P), integral (I), and derivative (D) control algorithm, outputs the target position of the damper, and feeds back the target position to the microcontroller (MCU). The microcontroller (MCU) generates a control signal corresponding to the target position and controls the opening angle of the damper based on the control signal. When the actual temperature of the low-temperature storage space is higher than the preset temperature, the opening angle of the damper is increased to increase the cold input and quickly reduce the temperature of the low-temperature storage space; when the actual temperature of the low-temperature storage space is close to or reaches the preset temperature, the opening angle of the damper is decreased to reduce the cold input and prevent the temperature of the low-temperature storage space from becoming too low.
[0035] Specifically, in this embodiment of the disclosure, the refrigeration equipment includes, but is not limited to, refrigerators, freezers, wine cabinets, crisper cabinets, horizontal freezers, vertical freezers, and built-in refrigeration cabinets, etc., which have refrigeration and storage functions. In some embodiments, the low-temperature storage space varies depending on the type of refrigeration equipment. For example, the low-temperature storage space of a refrigerator includes a refrigerator compartment and a freezer compartment; the low-temperature storage space of a freezer includes a deep-freeze storage compartment; and the low-temperature storage space of a wine cabinet includes a constant-temperature wine storage compartment.
[0036] In this embodiment, by inputting the actual temperature and the preset temperature of the low-temperature storage space of the refrigeration equipment into the PID controller, the PID controller directly controls the opening angle of the damper, effectively avoiding the adjustment deviation caused by damper lag, and improving the accuracy and response speed of the temperature control of the low-temperature storage space.
[0037] Based on the above embodiments, as an optional embodiment, the low-temperature storage space of the refrigeration equipment is equipped with a temperature sensor; determining the actual temperature of the low-temperature storage space of the refrigeration equipment includes: Determine the temperature sampling period, and determine the sampling time point based on the temperature sampling period; The actual temperature of the low-temperature storage space of the refrigeration equipment is determined based on the temperature sensor readings at the sampling time points.
[0038] Specifically, in this embodiment of the disclosure, since the microcontroller MCU is a digital controller, it cannot directly run the continuous form of PID control algorithm. Therefore, it is necessary to convert the continuous PID control algorithm into a discrete PID control algorithm to adapt to the digital operation and timing sampling control mechanism of the microcontroller MCU.
[0039] For example, the sampling period is 5 minutes, that is, sampling is performed once every 5 minutes; assuming the first sampling time is 2 pm, the second sampling time is 2:05 pm, the third sampling time is 2:10 pm, and so on.
[0040] In this embodiment of the disclosure, the actual temperature of the low-temperature storage space of the refrigeration equipment is obtained by sampling the temperature sensor. The continuous PID control algorithm is converted into a discrete PID control algorithm, which is adapted to the digital control characteristics of the microcontroller. This avoids the problem of calculation error or inability to execute the continuous control algorithm in the digital system, and effectively improves the calculation accuracy of temperature control.
[0041] Based on the above embodiments, as an optional embodiment, the step of inputting the actual temperature and the preset temperature of the low-temperature storage space of the refrigeration equipment into the PID controller to obtain the target position of the air damper of the low-temperature storage space of the refrigeration equipment includes: Determine the difference between the actual temperature and the preset temperature at each sampling time; input the difference into the PID controller to obtain the results of the proportional term, integral term and derivative term of the PID controller respectively; Based on the results of the proportional term, the integral term, and the differential term, the target position of the air door of the low-temperature storage space is determined at each sampling time.
[0042] Figure 2 This is a schematic diagram of the working principle of a PID controller provided in an embodiment of the present disclosure; as shown below. Figure 2 As shown, the set temperature of the low-temperature storage space of the refrigeration equipment is Ts, and the actual temperature of the low-temperature storage space is Tr; the deviation signal is obtained by calculating the deviation between the set temperature and the actual temperature. ,Will The input is fed into the PID controller to obtain the control output of the damper in the low-temperature storage space of the refrigeration equipment. ,according to The temperature of the low-temperature storage space of the refrigeration equipment is adjusted by controlling the damper angle of the damper.
[0043] It should be noted that during actual operation, the temperature of the low-temperature storage space in refrigeration equipment is easily affected by external disturbances and can fluctuate drastically. For example, frequent opening or closing of the refrigeration equipment door, or the placement of hot food by the user, can all cause significant temperature changes in the low-temperature storage space. Therefore, it is necessary to obtain the actual temperature of the low-temperature storage space in real time at each sampling point in order to make timely and accurate adjustments to the temperature of the low-temperature storage space.
[0044] Specifically, in this embodiment of the disclosure, the continuous PID expression is as shown in formula (1):
[0045] Where u(t) is the control output; e(t) is the deviation signal; Ti is the integral time constant; and Td is the derivative time constant. This is the proportionality coefficient; The integral coefficient; is the differential coefficient.
[0046] In some embodiments, satisfy ; satisfy .
[0047] Specifically, in this embodiment of the disclosure, since the microcontroller MCU is sampled control, the control quantity can only be calculated based on the deviation value at the sampling time point. Therefore, the formula (1) is discretized, with the sampling time point kT (k=0, 1, 2, ..., n; T is the temperature sampling period) replacing the continuous time t, the sum replacing the integral, and the increment replacing the derivative. The formula for the above approximate transformation can be found in formula (2):
[0048] Where T is the sampling period, k is the sampling number, and k = (0, 1, 2, ..., n).
[0049] Specifically, in this embodiment of the disclosure, formula (2) is substituted into formula (1) to obtain the discrete PID expression, which is shown in formula (3):
[0050] Where u(k) is the discrete control output; e(k) is the discrete deviation signal; Kp-discrete is the proportional coefficient in the discrete domain; Ki-discrete is the integral coefficient in the discrete domain; and Kd-discrete is the differential coefficient in the discrete domain.
[0051] In some embodiments, Kp-discrete = Kp; Ki-discrete == KpT / Ti; Kd-discrete = KpTd / T, where T is the temperature sampling period.
[0052] Specifically, in this embodiment, after obtaining the actual temperature of the low-temperature storage space of the refrigeration device at the k-th sampling time, the deviation between the preset temperature and the actual temperature at the k-th sampling time is calculated to obtain the discrete deviation signal e(k) at the k-th sampling time. The discrete deviation signal e(k) at the k-th sampling time and the discrete deviation signal e(k-1) at the (k-1)-th sampling time are substituted into formula (3) to obtain the discrete control output at the k-th sampling time. That is, the target position of the damper.
[0053] In this embodiment, the PID controller dynamically adjusts the opening angle of the damper based on the temperature feedback deviation. The damper can precisely adjust the air volume according to the cooling demand at any opening degree, so that the temperature of the low-temperature storage space approaches the preset temperature more quickly and stably, reducing the temperature fluctuation range, improving the temperature control accuracy and system stability, and ensuring the preservation effect and operational reliability of the low-temperature storage space of the refrigeration equipment.
[0054] Based on the above embodiments, as an optional embodiment, the scaling term includes a target scaling factor, which is determined in the following way: The proportional coefficient is gradually increased from a first value to a second value to obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment when the proportional coefficient takes different values; the proportional coefficient corresponding to the minimum overshoot in the temperature change curve is taken as the target proportional coefficient.
[0055] Specifically, in this embodiment, the initial value of the proportional coefficient is set to a first value, and the final value is set to a second value. The first value is the minimum proportional coefficient threshold required to meet the basic cooling needs of the refrigeration equipment, and the second value is the maximum proportional coefficient threshold to avoid overcooling or excessive system load. After determining the first and second values, the proportional coefficient is gradually increased from the first value to the second value according to a preset adjustment step size. After each adjustment of the proportional coefficient, other temperature control parameters of the refrigeration equipment remain unchanged to maintain stable operation. Temperature data from different areas of the low-temperature storage space (such as the middle layer, upper layer, near the air outlet, and away from the air outlet) are collected in real time using the temperature sensor built into the refrigeration equipment. The collection period is set according to the temperature control response speed, and the collection duration must ensure that the complete process of temperature change from adjustment to stabilization is captured. Finally, a complete temperature change curve of each area of the low-temperature storage space of the refrigeration equipment over time is obtained when the proportional coefficient takes different values.
[0056] Specifically, in this embodiment, data analysis is performed on the collected temperature change curves, focusing on calculating the temperature overshoot corresponding to each curve; that is, the maximum difference between the actual temperature and the set target temperature during the temperature change process. The smaller the overshoot, the more stable the temperature control effect corresponding to the proportional coefficient, and the better it can avoid problems such as reduced food preservation effect and increased energy consumption caused by excessive temperature fluctuations in the low-temperature storage space. The proportional coefficient corresponding to the smallest overshoot in the temperature change curve is selected as the target proportional coefficient.
[0057] For example: the first value is 1, the second value is 10, and the proportional coefficient is gradually increased from 1 to 10 (increasing by 1 each time) to determine the temperature change curve of the low temperature storage space of the refrigeration equipment; when the proportional coefficient is 3, the temperature overshoot is the smallest; therefore, the proportional coefficient is taken as 3 as the target proportional coefficient, that is, the proportional coefficient of the discrete domain in formula (3) is 3.
[0058] In this embodiment of the disclosure, the proportional coefficient enables the temperature of the low-temperature storage space of the refrigeration equipment to quickly stabilize after adjustment, with minimal temperature fluctuation, thus balancing temperature control accuracy and the operating efficiency of the refrigeration equipment.
[0059] Based on the above embodiments, as an optional embodiment, the integration term includes a target integration coefficient, which is determined in the following way: With the proportional coefficient as the target proportional coefficient, the integral coefficient is gradually reduced from the third value to the fourth value to obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment when the integral coefficient takes different values; the integral coefficient corresponding to the minimum static error in the temperature change curve is taken as the target integral coefficient.
[0060] Specifically, in this embodiment, the proportional coefficient is kept constant at the target proportional coefficient determined above, and the initial value of the integral coefficient is set to a third value, and the final value to a fourth value. The third value is the maximum integral coefficient threshold that can effectively offset the static temperature error, and the fourth value is the minimum integral coefficient threshold that avoids excessive integration leading to increased temperature fluctuations. Subsequently, according to a preset adjustment step size, the integral coefficient is gradually reduced from the third value to the fourth value. After each adjustment of the integral coefficient, other temperature control parameters of the refrigeration equipment are kept constant to maintain the refrigeration equipment in a stable operating state. Temperature data from different areas of the low-temperature storage space is collected in real time using the temperature sensor built into the refrigeration equipment. The collection period and duration are consistent with those when the target proportional coefficient is determined to ensure the accuracy and comparability of the temperature data. Finally, complete temperature change curves of each area of the low-temperature storage space of the refrigeration equipment over time are obtained when the integral coefficient takes different values. Finally, comprehensive data analysis is performed on all collected temperature change curves, focusing on calculating the temperature overshoot and static error corresponding to each curve.
[0061] Specifically, in this embodiment, the static error is the difference between the actual temperature and the set target temperature after the temperature tends to stabilize. The smaller the static error, the higher the temperature control accuracy and the better it can meet the temperature requirements for long-term preservation of food. The integral coefficient corresponding to the smallest static error among all temperature change curves is selected and used as the target integral coefficient, that is, the integral coefficient of the discrete domain in formula (3).
[0062] For example: take the proportional coefficient as 3, and gradually reduce the integral coefficient from 5 to 1 (each time by 1) to determine the temperature change curve of the low temperature storage space of the refrigeration equipment; when the integral coefficient is 1.5, the static error is the smallest, so the integral coefficient 1.5 is determined as the target integral coefficient, that is, the integral coefficient of the discrete domain in formula (3) is 1.5.
[0063] In this embodiment of the disclosure, the integral coefficient can effectively offset the static temperature error while ensuring temperature control stability, thereby achieving precise temperature control of the low-temperature storage space of the refrigeration equipment.
[0064] Based on the above embodiments, as an optional embodiment, the differential term includes a target differential coefficient, which is determined in the following way: With the proportional coefficient and integral coefficient set to the target proportional coefficient and integral coefficient respectively, the differential coefficient is gradually increased from zero to obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment with different values of the differential coefficient. The differential coefficient corresponding to the maximum slope of the temperature change curve is taken as the target differential coefficient.
[0065] Specifically, in this embodiment, the proportional coefficient and integral coefficient are ensured to be the target proportional coefficient and integral coefficient, respectively. Under this premise, the starting point for adjusting the derivative coefficient is set to zero. Then, following a preset uniform adjustment step size, the derivative coefficient is gradually increased from zero. After each adjustment of the derivative coefficient, all other temperature-related parameters of the refrigeration equipment, such as the set temperature and refrigeration power, remain unchanged, allowing the refrigeration equipment to maintain stable operation under the new derivative coefficient. Simultaneously, temperature data from various areas of the low-temperature storage space is continuously and in real-time collected using the temperature sensor built into the refrigeration equipment. The collection period is consistent with the determination of the proportional and integral coefficients, and the collection duration covers the complete response process from temperature adjustment to stabilization, ensuring that a complete and accurate temperature change curve of the low-temperature storage space temperature over time can be obtained when the derivative coefficient takes different values. The collected temperature change curves are analyzed, and the derivative coefficient corresponding to the maximum slope in the temperature change curve is selected as the target derivative coefficient.
[0066] For example: take the proportional coefficient as 3 and the integration time as 1.5, and gradually increase the differential coefficient from 0 to determine the temperature change curve of the low temperature storage space of the refrigeration equipment; when the differential coefficient is 0.5, the slope of the temperature change curve is the largest, so the differential coefficient of 0.5 is determined as the target differential coefficient, that is, the differential coefficient of the discrete domain in formula (3) is determined to be 0.5.
[0067] In this embodiment, the differential coefficient can maximize the response sensitivity of the temperature of the low-temperature storage space of the refrigeration equipment, and work in synergy with the proportional coefficient and integral coefficient to achieve rapid, stable and precise control of the temperature of the low-temperature storage space of the refrigeration equipment.
[0068] Based on the above embodiments, as an optional embodiment, adjusting the opening angle of the low-temperature storage space damper of the refrigeration equipment based on the target position includes: Based on the target position of the cold storage space damper at each sampling time, determine the control signal of the cold storage space damper at the sampling time; The opening angle of the damper in the low-temperature storage space of the refrigeration equipment is adjusted according to the control signal.
[0069] Specifically, in this embodiment of the disclosure, the target position is the ideal position that the damper needs to reach under different temperature deviations. The microcontroller (MCU) generates a damper control signal based on the target position. This control signal is used to adjust the opening angle of the damper in the low-temperature storage space of the refrigeration equipment.
[0070] Specifically, in this embodiment of the disclosure, the microcontroller (MCU) sends a control signal to the damper drive module. After receiving the control signal, the damper drive module drives the damper actuator (such as a damper drive motor) to adjust the opening angle of the damper according to the signal instruction until the damper reaches the target position.
[0071] In this embodiment of the disclosure, a control signal is generated based on the target position corresponding to different sampling time points, thereby adjusting the opening angle of the damper. This can flexibly cope with the dynamic fluctuations in temperature of the low-temperature storage space and avoid the defect that fixed angle adjustment cannot accurately adapt to temperature changes.
[0072] Figure 3 This is a schematic diagram of the structure of a temperature control device provided in an embodiment of the present disclosure, as shown below. Figure 3 As shown, the device includes: a first processing module 3001, a second processing module 3002, and a third processing module 3003; wherein: The first processing module 3001 is used to determine the actual temperature of the low-temperature storage space of the refrigeration equipment. The second processing module 3002 is used to input the actual temperature and the preset temperature of the low-temperature storage space of the refrigeration equipment into the PID controller to obtain the target position of the air damper of the low-temperature storage space of the refrigeration equipment. The third processing module 3003 is used to adjust the opening angle of the air damper of the low-temperature storage space of the refrigeration equipment based on the target position.
[0073] The temperature control device provided in this disclosure can execute the temperature control method provided in this disclosure. The implementation principles are similar. The actions performed by each module in the temperature control device provided in each embodiment of this disclosure correspond to the steps in the temperature control method provided in each embodiment of this disclosure. For detailed functional descriptions of each module in the temperature control device provided in this disclosure, please refer to the descriptions in the corresponding methods shown above. They will not be repeated here.
[0074] This embodiment of the present disclosure inputs the actual temperature and the preset temperature of the low-temperature storage space of the refrigeration equipment into a PID controller, which directly controls the opening angle of the damper. This effectively avoids the adjustment deviation caused by damper lag and improves the accuracy and response speed of the temperature control of the low-temperature storage space.
[0075] In some optional embodiments, the low-temperature storage space of the refrigeration equipment is equipped with a temperature sensor; the device further includes: The fourth processing module is used to determine the temperature sampling period and determine the sampling time point based on the temperature sampling period; The actual temperature of the low-temperature storage space of the refrigeration equipment is determined based on the temperature sensor readings at the sampling time points.
[0076] In some alternative embodiments, the apparatus further includes: The fifth processing module is used to determine the difference between the actual temperature and the preset temperature at each sampling time; the difference is input into the PID controller to obtain the results of the proportional term, integral term and derivative term of the PID controller respectively; The sixth processing module is used to determine the target position of the low-temperature storage space air door at each sampling time based on the results of the proportional term, the integral term, and the differential term.
[0077] In some optional embodiments, the scaling term includes a target scaling factor, and the apparatus further includes: The seventh processing module is used to gradually increase the proportional coefficient from a first value to a second value, and obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment when the proportional coefficient takes different values; and take the proportional coefficient corresponding to the minimum overshoot in the temperature change curve as the target proportional coefficient.
[0078] In some alternative embodiments, the integration term includes a target integration coefficient, and the apparatus further includes: The eighth processing module is used to gradually reduce the integral coefficient from the third value to the fourth value when the proportional coefficient is the target proportional coefficient, thereby obtaining the temperature change curve of the low-temperature storage space of the refrigeration equipment when the integral coefficient takes different values; and to take the integral coefficient corresponding to the minimum static error in the temperature change curve as the target integral coefficient.
[0079] In some alternative embodiments, the differential term includes a target differential coefficient, and the apparatus further includes: The ninth processing module is used to, when the proportional coefficient is the target proportional coefficient and the integral coefficient is the target integral coefficient, gradually increase the differential coefficient from zero to obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment when the differential coefficient has different values, and take the differential coefficient corresponding to the maximum slope of the temperature change curve as the target differential coefficient.
[0080] In some alternative embodiments, the apparatus further includes: The tenth processing module is used to determine the control signal of the low-temperature storage space damper at each sampling time based on the target position of the damper at each sampling time. The opening angle of the damper in the low-temperature storage space of the refrigeration equipment is adjusted according to the control signal.
[0081] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure, such as... Figure 4 As shown, the electronic device 4000 includes a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, for example, via a bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 4004 is not limited to one type, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of this disclosure.
[0082] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with this disclosure. Processor 4001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
[0083] Bus 4002 may include a pathway for transmitting information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 4002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0084] The memory 4003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium capable of carrying or storing computer programs and capable of being read by a computer, without limitation herein.
[0085] The memory 4003 is used to store computer programs that execute embodiments of the present disclosure, and is controlled by the processor 4001 to execute them. The processor 4001 is used to execute the computer programs stored in the memory 4003 to implement the steps shown in the foregoing method embodiments.
[0086] The electronic device package may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 4 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.
[0087] This disclosure provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can implement the steps and corresponding content of the aforementioned method embodiments.
[0088] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium, a computer-readable medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0089] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, can implement the steps and corresponding content of the aforementioned method embodiments. Compared with the prior art, it can achieve: The terms “first,” “second,” “third,” “fourth,” “1,” “2,” etc. (if present) in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in a sequence other than that shown in the figures or text.
[0090] It should be understood that although arrows indicate various operation steps in the flowcharts of the embodiments of this disclosure, the order in which these steps are implemented is not limited to the order indicated by the arrows. Unless explicitly stated herein, in some implementation scenarios of the embodiments of this disclosure, the implementation steps in each flowchart can be executed in other orders as required. Furthermore, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on the actual implementation scenario. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage can also be executed at different times. In scenarios where execution times differ, the execution order of these sub-steps or stages can be flexibly configured as required, and the embodiments of this disclosure do not limit this.
[0091] The above are merely optional implementation methods for some implementation scenarios of this disclosure. It should be noted that for those skilled in the art, other similar implementation methods based on the technical concept of this disclosure, without departing from the technical concept of this disclosure, also fall within the protection scope of the embodiments of this disclosure.
Claims
1. A temperature control method, characterized in that, The method includes: Determine the actual temperature of the low-temperature storage space in the refrigeration equipment; The actual temperature and the preset temperature of the low-temperature storage space of the refrigeration equipment are input into the PID controller to obtain the target position of the air damper of the low-temperature storage space of the refrigeration equipment. Adjust the opening angle of the damper in the low-temperature storage space of the refrigeration equipment based on the target location.
2. The temperature control method according to claim 1, characterized in that, The low-temperature storage space of the refrigeration equipment is equipped with a temperature sensor; determining the actual temperature of the low-temperature storage space of the refrigeration equipment includes: Determine the temperature sampling period, and determine the sampling time point based on the temperature sampling period; The actual temperature of the low-temperature storage space of the refrigeration equipment is determined based on the temperature sensor readings at the sampling time points.
3. The temperature control method according to claim 2, characterized in that, The step of inputting the actual temperature and the preset temperature of the low-temperature storage space of the refrigeration equipment into the PID controller to obtain the target position of the air damper of the low-temperature storage space of the refrigeration equipment includes: Determine the difference between the actual temperature and the preset temperature at each sampling time; input the difference into the PID controller to obtain the results of the proportional term, integral term and derivative term of the PID controller respectively; Based on the results of the proportional term, the integral term, and the differential term, the target position of the air door of the low-temperature storage space is determined at each sampling time.
4. The temperature control method according to claim 3, characterized in that, The proportion term includes a target proportion coefficient, which is determined in the following way: The proportional coefficient is gradually increased from a first value to a second value to obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment when the proportional coefficient takes different values; the proportional coefficient corresponding to the minimum overshoot in the temperature change curve is taken as the target proportional coefficient.
5. The temperature control method according to claim 3, characterized in that, The integral term includes a target integral coefficient, which is determined in the following way: With the proportional coefficient as the target proportional coefficient, the integral coefficient is gradually reduced from the third value to the fourth value to obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment when the integral coefficient takes different values; the integral coefficient corresponding to the minimum static error in the temperature change curve is taken as the target integral coefficient.
6. The temperature control method according to claim 3, characterized in that, The differential term includes a target differential coefficient, which is determined in the following way: With the proportional coefficient and integral coefficient set to the target proportional coefficient and integral coefficient respectively, the differential coefficient is gradually increased from zero to obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment with different values of the differential coefficient. The differential coefficient corresponding to the maximum slope of the temperature change curve is taken as the target differential coefficient.
7. The temperature control method according to any one of claims 3 to 6, characterized in that, The adjustment of the opening angle of the low-temperature storage space damper of the refrigeration equipment based on the target location includes: Based on the target position of the cold storage space damper at each sampling time, determine the control signal of the cold storage space damper at the sampling time; The opening angle of the damper in the low-temperature storage space of the refrigeration equipment is adjusted according to the control signal.
8. A temperature control device, characterized in that, The device includes: The first processing module is used to determine the actual temperature of the low-temperature storage space of the refrigeration equipment. The second processing module is used to input the actual temperature and the preset temperature of the low-temperature storage space of the refrigeration equipment into the PID controller to obtain the target position of the air damper of the low-temperature storage space of the refrigeration equipment. The third processing module is used to adjust the opening angle of the damper of the low-temperature storage space of the refrigeration equipment based on the target position.
9. The temperature control device according to claim 8, characterized in that, The refrigeration equipment's low-temperature storage space is equipped with a temperature sensor; the device also includes: The fourth processing module is used to determine the temperature sampling period and determine the sampling time point according to the temperature sampling period; and to determine the actual temperature of the low-temperature storage space of the refrigeration equipment according to the value of the temperature sensor at the sampling time point.
10. The temperature control device according to claim 9, characterized in that, The device further includes: The fifth processing module is used to determine the difference between the actual temperature and the preset temperature at each sampling time; the difference is input into the PID controller to obtain the results of the proportional term, integral term and derivative term of the PID controller respectively; The sixth processing module is used to determine the target position of the low-temperature storage space air door at each sampling time based on the results of the proportional term, the integral term, and the differential term.
11. The temperature control device according to claim 10, characterized in that, The scaling term includes a target scaling factor, and the device further includes: The seventh processing module is used to gradually increase the proportional coefficient from a first value to a second value, and obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment when the proportional coefficient takes different values; and take the proportional coefficient corresponding to the minimum overshoot in the temperature change curve as the target proportional coefficient.
12. The temperature control device according to claim 10, characterized in that, The integral term includes a target integral coefficient, and the device further includes: The eighth processing module is used to gradually reduce the integral coefficient from the third value to the fourth value when the proportional coefficient is the target proportional coefficient, thereby obtaining the temperature change curve of the low-temperature storage space of the refrigeration equipment when the integral coefficient takes different values; and to take the integral coefficient corresponding to the minimum static error in the temperature change curve as the target integral coefficient.
13. The temperature control device according to claim 10, characterized in that, The differential term includes the target differential coefficient, and the device further includes: The ninth processing module is used to, when the proportional coefficient is the target proportional coefficient and the integral coefficient is the target integral coefficient, gradually increase the differential coefficient from zero to obtain the temperature change curve of the low-temperature storage space of the refrigeration equipment when the differential coefficient has different values, and take the differential coefficient corresponding to the maximum slope of the temperature change curve as the target differential coefficient.
14. The temperature control device according to any one of claims 10 to 13, characterized in that, The device further includes: The tenth processing module is used to determine the control signal of the low-temperature storage space damper at each sampling time based on the target position of the damper at each sampling time. The opening angle of the damper in the low-temperature storage space of the refrigeration equipment is adjusted according to the control signal.
15. An electronic device, characterized in that, include: processor; A memory for storing processor-executable instructions; wherein the processor is configured to implement the method of any one of claims 1 to 7.
16. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the computer program instructions are executed by the processor, they implement the method of any one of claims 1 to 7.