A sensor drift detection method, apparatus, device, and storage medium
By calculating the temperature difference rate between sensors under stable conditions and dynamically adjusting the temperature difference threshold, the problem of unstable operation of the refrigeration equipment caused by temperature sensor drift is solved, achieving higher detection reliability and accuracy.
Patent Information
- Application Number
- CN202511478728.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-16
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2045-10-16
AI Technical Summary
Temperature sensors in refrigeration equipment may drift due to material aging or other reasons, resulting in inaccurate temperature sampling and affecting the normal operation of the refrigeration equipment.
When the refrigeration equipment is in a stable state, the temperature sequences of multiple temperature sensors are acquired, the temperature pull rate difference between the sensors is calculated, and the sensor drift detection result is determined based on the temperature difference threshold. The temperature difference threshold is dynamically adjusted to improve the detection reliability.
By dynamically adjusting the temperature difference threshold, the influence of changes in the actual ambient temperature is avoided, improving the reliability and accuracy of sensor drift detection and ensuring the stable operation of the refrigeration equipment.
Smart Images

Figure CN120970852B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of refrigeration equipment technology, and in particular to a sensor drift detection method, apparatus, device and storage medium. Background Technology
[0002] Temperature sensors are installed inside refrigeration equipment, such as refrigerators, freezers, and wine cabinets, to collect the temperature inside the storage compartments and control the refrigeration process based on the collected temperature data. However, after prolonged use, temperature sensors may drift due to material aging and other reasons, resulting in inaccurate temperature readings and affecting the normal operation of the refrigeration equipment.
[0003] In related technologies, temperature sensor drift is detected and compensated for to ensure the normal operation of refrigeration equipment. Therefore, accurate detection of temperature sensor drift is necessary. Summary of the Invention
[0004] This disclosure provides a sensor drift detection method, apparatus, device, and storage medium; which can improve the reliability of sensor drift detection.
[0005] The technical solution disclosed herein is implemented as follows:
[0006] In a first aspect, this disclosure provides a sensor drift detection method applied to a refrigeration device, the method comprising:
[0007] When the refrigeration equipment is in a stable state, the temperature sequence of multiple temperature sensors at continuous sampling time is acquired respectively;
[0008] The temperature pull rate difference between each of the temperature sensors is determined based on the temperature sequence of each of the temperature sensors.
[0009] The sensor drift detection result is determined based on the temperature difference rate between each of the temperature sensors and the temperature difference threshold.
[0010] Secondly, this disclosure provides a sensor drift detection device for use in refrigeration equipment, the device comprising:
[0011] The data acquisition module is used to acquire the temperature sequence of multiple temperature sensors at continuous sampling times when the refrigeration equipment is in a stable state.
[0012] The first determining module is used to determine the temperature pull rate difference between the temperature sensors based on the temperature sequence of each temperature sensor.
[0013] The second determining module is used to determine the sensor drift detection result based on the temperature pull rate difference between each of the temperature sensors and the temperature difference threshold.
[0014] Thirdly, this disclosure provides a computer device, including:
[0015] Memory, used to store executable instructions;
[0016] The processor, when executing executable instructions stored in the memory, implements the sensor drift detection method as described in the first aspect above.
[0017] Fourthly, this disclosure provides a computer storage medium storing executable instructions for implementing the sensor drift detection method as described in the first aspect above when executed by a processor.
[0018] This disclosure provides a sensor drift detection method applied to a refrigeration device, comprising: acquiring temperature sequences from multiple temperature sensors at continuous sampling times when the refrigeration device is in a stable state; determining the temperature pull-up rate difference between the temperature sensors based on the temperature sequences of each temperature sensor; determining a temperature difference threshold based on a target running time; and determining the sensor drift detection result based on the temperature pull-up rate difference between the multiple temperature sensors and the temperature difference threshold. Determining the sensor drift detection result based on the temperature pull-up rate difference between the temperature sensors can avoid the influence of changes in the actual ambient temperature on sensor drift detection, thereby improving the reliability of sensor drift detection. Attached Figure Description
[0019] Figure 1 This is a schematic diagram of the composition of a refrigeration device provided in an embodiment of this disclosure.
[0020] Figure 2 This is a schematic diagram of the implementation process of a sensor drift detection method provided in an embodiment of this disclosure. Figure 1 .
[0021] Figure 3 This is a schematic diagram of the implementation process of a sensor drift detection method provided in an embodiment of this disclosure. Figure 2 .
[0022] Figure 4 This is a schematic diagram of the implementation process of a sensor drift detection method provided in an embodiment of this disclosure. Figure 3 .
[0023] Figure 5 This is a schematic diagram of a sensor drift detection device provided in an embodiment of the present disclosure.
[0024] Figure 6 A schematic diagram of the hardware entity of a computer device provided in an embodiment of this disclosure. Detailed Implementation
[0025] To enable those skilled in the art to better understand the technical solutions in the embodiments of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art should fall within the protection scope of this disclosure.
[0026] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of this disclosure. The singular forms “a,” “the,” and “the” as used in this disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0027] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0028] Furthermore, in the embodiments of this disclosure, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0029] To facilitate understanding of the technical solutions of the embodiments of this disclosure, the related technologies of the embodiments of this disclosure are described below. The following related technologies are optional solutions and can be combined with the technical solutions of the embodiments of this disclosure in any way, and they all fall within the protection scope of the embodiments of this disclosure.
[0030] Temperature sensors are installed inside refrigeration equipment, such as refrigerators, freezers, and wine cabinets, to collect the temperature within the storage compartments and control the refrigeration process based on the collected temperature data. Over time, temperature sensors may drift due to material aging and other reasons, resulting in inaccurate temperature readings and affecting the normal operation of the refrigeration equipment. Related technologies detect and compensate for this temperature sensor drift to ensure the proper functioning of the refrigeration equipment. Therefore, it is essential to accurately detect temperature sensor drift.
[0031] Figure 1This is a schematic diagram of the composition of a refrigeration device provided in an embodiment of this disclosure. The refrigeration device 1 involved in this disclosure may include a refrigerator, freezer, or other device capable of storing items in a refrigerated or frozen state. Figure 1 As shown, the refrigeration device 1 includes a main body 10 with a front opening, a compartment 11 formed in the main body 10 for storing items, a door 12 for opening or closing the front opening of the main body 10, and a refrigeration system 13 for cooling the temperature inside the compartment 11.
[0032] The main body 10 defines the appearance of the refrigeration device 1. Exemplarily, the main body 10 includes an inner housing 101 for forming a compartment and an outer housing 102 coupled to the outside of the inner housing 101. An insulating material is filled between the inner housing 101 and the outer housing 102 to prevent cold air from leaking from the compartment 11.
[0033] For example, compartment 11 can be implemented as a refrigerator compartment for storing items in a refrigerated state, storing items at a temperature above zero degrees Celsius. For instance, in a refrigerated state, the temperature of compartment 11 can be maintained in the range of approximately 1 to 5 degrees Celsius. Furthermore, compartment 11 can also be implemented as a freezer compartment for storing items in a frozen state, storing items at a temperature below zero degrees Celsius. For instance, in a frozen state, the temperature of compartment 11 can be maintained in the temperature range of approximately -13 to -20 degrees Celsius.
[0034] The compartment 11 can be opened or closed through the door 12. After the door 12 is closed, when the temperature inside the compartment 11, which is implemented as a refrigerator compartment, is higher than the temperature range corresponding to the refrigeration state, or when the temperature inside the compartment 11, which is implemented as a freezer compartment, is higher than the temperature range corresponding to the freezing state, the refrigeration system 13 will be activated to lower the temperature inside the compartment 11.
[0035] For example, the refrigeration system 13 includes a compressor 131, a condenser 132, an expansion valve 133, and an evaporator 134. Specifically, the compressor 131 and the condenser 132 may be arranged in the machine room at the lower rear of the main body 10. Figure 1 (Not shown). The expansion valve 133 and the evaporator 134 can be installed in the pipes (not shown) inside the main body 10. Figure 1 (Not shown)
[0036] For example, in conjunction with the components included in the above-described refrigeration system 13, during the process of lowering the temperature inside the compartment 11 to a temperature range corresponding to the refrigeration or freezing state (i.e., the refrigeration process or the temperature-raising process), the operation mode of the refrigeration system 13 includes:
[0037] First, compressor 131 compresses the low-pressure gaseous refrigerant to form a high-pressure gaseous refrigerant, and then transmits the high-pressure gaseous refrigerant to condenser 132 through refrigerant pipeline 15 under high pressure.
[0038] Subsequently, the high-pressure gaseous refrigerant is condensed into a high-pressure liquid refrigerant by condenser 132, and during this condensation process, the refrigerant releases latent heat. In some examples, condenser 132 is heated by the latent heat released from the refrigerant; therefore, a cooling fan can be provided. Figure 1 (Not shown in the image) to cool condenser 132.
[0039] Next, the expansion valve 133 reduces the pressure of the high-pressure liquid refrigerant, and the expansion valve 133 can also adjust the amount of refrigerant so that the refrigerant can absorb enough heat energy from the evaporator 134.
[0040] Finally, the evaporator 134 evaporates the depressurized liquid refrigerant, and during the evaporation process, the refrigerant absorbs latent heat from the evaporator 134 to cool the air surrounding the evaporator 134. In some examples, the refrigeration device 1 also includes a fan 16 that directs the air cooled by the evaporator 134 through the air outlet 17 into the compartment 11 to lower the temperature inside the compartment 11, and returns the flowing air to the vicinity of the evaporator 134 through the return air outlet 18.
[0041] After the evaporation process is complete, the low-pressure gaseous refrigerant formed by the evaporation of the depressurized liquid refrigerant returns to the compressor 131, thus repeating the above refrigeration cycle until the temperature in compartment 11 drops to the temperature range corresponding to the refrigeration or freezing state. In some examples, the pressure generated by the compressor 131 causes the refrigerant to circulate along the condenser 132, expansion valve 133, and evaporator 134.
[0042] As can be seen from the above-described operation mode of the refrigeration process, the start and stop of the refrigeration process both depend on the temperature inside the compartment 11 for triggering. The temperature inside the compartment 11 is collected by a temperature sensor installed inside the compartment 11. Therefore, when the temperature sensor inside the compartment 11 drifts, it will cause the refrigeration process to be started or stopped too early or too late, affecting the normal operation of the refrigeration equipment.
[0043] To accurately detect whether temperature sensor drift exists, see [link / reference]. Figure 2 The document illustrates the implementation flow of a sensor drift detection method provided in this disclosure, which can be applied to the aforementioned refrigeration device 1.
[0044] The specific implementation of the embodiments of this disclosure is described below with reference to the accompanying drawings.
[0045] See Figure 2 , Figure 2 This is a schematic diagram of the implementation process of a sensor drift detection method provided in an embodiment of this disclosure. Figure 1 The sensor drift detection method provided in this disclosure, applied to a refrigeration device, may include the following steps:
[0046] Step S201: When the refrigeration equipment is in a stable state, acquire the temperature sequence of multiple temperature sensors at continuous sampling time.
[0047] Multiple temperature sensors can be placed in the same area or different areas of the refrigeration equipment.
[0048] Refrigeration equipment includes air conditioners, refrigerators, freezers, etc. Taking a refrigerator as an example, multiple temperature sensors can be installed at the return air vent or air outlet, etc., and this disclosure does not make any special limitations on this.
[0049] Temperature sensors can convert physical temperature into measurable signals (such as electrical or digital signals), allowing refrigeration systems equipped with temperature sensors to monitor temperature changes in real time using these measurable signals.
[0050] A stable state refers to the temperature inside the refrigerator compartment reaching a set value and maintaining it within a relatively balanced range. For example, in the temperature range corresponding to the refrigeration state, the temperature set value is set to 3 degrees Celsius. Thus, when the refrigerator is in a stable state, the temperature inside the refrigerator compartment is maintained between 1 and 5 degrees Celsius. In the temperature range corresponding to the freezing state, the temperature set value is set to -17 degrees Celsius. When the refrigerator is in a stable state, the temperature inside the refrigerator compartment is maintained between -13 and -20 degrees Celsius, and the refrigeration equipment is in a state of periodic operation (e.g., running for 10 minutes and then stopping for 5 minutes).
[0051] In some cases, the refrigeration equipment may be in an unstable state. For example, opening the refrigerator door can cause cold air to escape and hot air to rush in, causing the temperature inside the refrigerator compartment to deviate from the set value, thus placing the refrigerator in an unstable state. When the refrigerator is in an unstable state, it often takes 20 to 40 minutes for the temperature inside the refrigerator compartment to return to near the set value, even as the refrigerator gradually returns to a stable state. It should be noted that the aforementioned time for the refrigerator compartment to return from an unstable state to a stable state is a preset time. In this disclosure, the preset time can be exemplarily set to 30 minutes. This setting is because the temperature fluctuations inside the refrigerator compartment caused by door opening disturbances typically decay to within 30 minutes. Within the range of degrees Celsius, performing sensor drift detection after 30 minutes can improve the stability of the detection results and shield transient interference. For other types of refrigeration equipment, the above preset time can also be set to the time it takes for other types of refrigeration equipment to return to a stable state after opening or stopping. The preset time may be the same as or different from that of the refrigerator. Therefore, the preset time corresponding to the refrigeration equipment can be set according to the type of refrigeration equipment and actual needs.
[0052] In some possible implementations, formula (1) can be used as a criterion for determining whether the refrigerator is in a stable state:
[0053] (1);
[0054] in, The temperature threshold for determining a steady state can be 0.5, 0.2, or other values determined according to actual needs. Indicates continuous duration, This represents the time threshold for determining a steady state; it can be 30 seconds, or other values determined based on actual needs. This indicates the actual temperature inside the refrigerator compartment. This indicates the temperature setting value for the refrigerator compartment. It is 0.5. Taking 30 as an example, according to formula (1), if the absolute difference between the actual temperature inside the refrigerator compartment and the set temperature of the refrigerator compartment does not exceed 0.5℃ within 30 consecutive minutes, the refrigerator can be considered to be in a stable state.
[0055] Continuous sampling time refers to a series of sampling time points within one or more time windows. A time window can also be understood as a period of time, typically ranging from 1 to 20 minutes. In this disclosure, a time window can be exemplarily set to 5 minutes. Accordingly, within 5 minutes, the temperature inside the refrigerator compartment can be sampled by a temperature sensor at multiple consecutive sampling time points to obtain a temperature sequence corresponding to a time window. Alternatively, each time window can be considered a sampling period. In each sampling period, the temperature sensor can collect the temperature sequence corresponding to the consecutive sampling time points within that period, thereby obtaining the temperature sequence of the temperature sensor at the continuous sampling time. It should be noted that the starting time of the continuous sampling time can be any time selected when the refrigeration equipment is in a stable state; it can also be the moment when the door of the refrigeration equipment is detected to be continuously closed for a preset duration, where the door of the refrigeration equipment is the door that can be opened or closed in the refrigerator compartment. It should be noted that within a time window, the time intervals between each sampling time point can be the same or different. For example, a sampling time point can be set every 10 seconds, for a total of n sampling time points (that is, temperature sampling is performed once every 10 seconds, for a total of n samplings), or n consecutive temperature samplings can be performed arbitrarily.
[0056] For example, if the time elapsed after an event causing the refrigeration equipment to be in an unstable state (such as opening the refrigerator door) exceeds a preset duration (30 minutes), the temperature sequences of multiple temperature sensors at consecutive sampling times can be acquired separately to facilitate sensor drift detection based on the temperature sequences of each temperature sensor corresponding to the consecutive sampling times. According to an optional implementation, acquiring the temperature sequences of multiple temperature sensors at consecutive sampling times may include: acquiring the temperature sequences corresponding to consecutive sampling time points within one or more time windows for each of the multiple temperature sensors. Further, each temperature sensor sampling the refrigerator compartment temperature at consecutive sampling time points within a time window can obtain a temperature sequence corresponding to that time window.
[0057] Before acquiring the temperature sequence from the temperature sensor, determining whether the refrigeration equipment is in a stable state can prevent interference with sensor drift detection caused by events such as opening and closing doors, which could result in the refrigeration equipment being in an unstable state. This improves the reliability of sensor drift detection.
[0058] Step S202: Determine the temperature pull rate difference between each temperature sensor based on the temperature sequence of each temperature sensor.
[0059] The difference in temperature pull-down rate refers to the difference in the rate of temperature decrease (i.e., the pull-down rate) between two temperature sensors within the same time window. This difference in pull-down rate reflects the deviation in the temperature measurement accuracy of the two sensors, and can be used to determine whether drift exists in each temperature sensor.
[0060] For example, taking two temperature sensors out of a plurality of temperature sensors as an example, the temperature sequences collected by the two temperature sensors within a time window are respectively and Taking i=1,2,...,n as an example, the difference in temperature pulling rate between the two temperature sensors can be calculated using formula (2):
[0061] (2);
[0062] in, This indicates the difference in the pull-out rate between the two temperature sensors. and These represent the temperature value collected by temperature sensor 1 at the current sampling time point and the temperature value collected by temperature sensor 1 at the previous sampling time point, respectively. and These represent the temperature value collected by temperature sensor 2 at the current sampling time point and the temperature value collected by temperature sensor 2 at the previous sampling time point, respectively. This indicates the duration of a time window, as described in this disclosure. For example, it could be 5 minutes. n represents... The number of sampling time points included, that is, the number of sampling time points contained in a time window, n can be a positive integer greater than or equal to 2 according to the needs of the actual application.
[0063] According to one alternative implementation, two temperature sensors can be installed at the same or different locations in the refrigerator compartment to measure the temperature of the refrigerator compartment. For example, one can be installed at the return air vent (cold air circulation inlet) and the other can be installed in the evaporator coil; or both can be installed at the return air vent.
[0064] Step S203: Determine the sensor drift detection result based on the temperature difference rate and temperature difference threshold between each temperature sensor.
[0065] The temperature difference threshold is a boundary threshold used to define whether a temperature sensor exhibits drift. Sensor drift detection results can indicate that at least one temperature sensor exhibits drift or that multiple temperature sensors do not exhibit drift. Optionally, the temperature difference threshold can be a pre-set fixed value, such as one set based on actual needs or experience; or it can be dynamically calculated based on the operating time of the refrigeration equipment.
[0066] In some embodiments of this disclosure, the difference in temperature pulling rate between each temperature sensor and the temperature difference threshold can be compared. If the difference in temperature pulling rate between two temperature sensors is greater than the temperature difference threshold, it can be considered that at least one of the two temperature sensors is drifting. In this case, the sensor drift detection result indicates that at least one temperature sensor is drifting. If the difference in temperature pulling rate between each temperature sensor is not greater than the temperature difference threshold, it can be considered that none of the temperature sensors are drifting. In this case, the sensor drift detection result indicates that none of the temperature sensors are drifting.
[0067] In the above embodiments, the sensor drift detection result is determined based on the difference in the pulling rate between each temperature sensor, which can avoid the influence of changes in the actual ambient temperature on the sensor drift detection, thereby improving the reliability of sensor drift detection.
[0068] See Figure 3 , Figure 3 This is a schematic diagram of the implementation process of a sensor drift detection method provided in an embodiment of this disclosure. Figure 2 In some embodiments of this disclosure, step S203 may include the following steps:
[0069] Step S301: Obtain the duration when the temperature difference is greater than the temperature difference threshold.
[0070] The duration of the temperature difference exceeding the temperature threshold refers to the duration during which the temperature difference exceeds the temperature threshold.
[0071] For example, if the difference in the pulling rate between two temperature sensors is greater than a temperature difference threshold, the duration of this period can be accumulated. In this disclosure, the duration of a time window can be set to 5 minutes. If the difference in the pulling rate calculated based on the temperature sequence corresponding to the previous time window is greater than the temperature difference threshold, and the difference in the pulling rate calculated based on the temperature sequence corresponding to the current time window is also greater than the temperature difference threshold, then the durations of the previous time window and the current time window are accumulated to obtain 10 minutes.
[0072] Step S302: If the temperature difference rate is not greater than the temperature difference threshold, reset the duration.
[0073] For example, if the difference in the pulling rate between two temperature sensors is not greater than a temperature difference threshold, the duration of the period when the difference in the pulling rate between the two temperature sensors is greater than the temperature difference threshold can be reset to zero, so that the duration of the period when the difference in the pulling rate between the two temperature sensors is greater than the temperature difference threshold can be re-determined subsequently. In this disclosure, the duration of a time window can be set to 5 minutes, for example. If the difference in the pulling rate calculated based on the temperature sequences corresponding to the previous two consecutive time windows is greater than the temperature difference threshold, while the difference in the pulling rate calculated based on the temperature sequence corresponding to the current time window is less than the temperature difference threshold, then the duration (10 minutes) accumulated based on the previous two time windows can be reset to zero.
[0074] Step S303: If the duration is not less than the duration threshold, the sensor drift detection result indicates that at least one temperature sensor is drifting.
[0075] The duration threshold refers to the time boundary value used to determine whether the temperature sensor has drift. The duration threshold can be set to 30 minutes, or it can be set to other durations such as 20 minutes or 40 minutes, or it can be set to other durations according to the type of refrigeration equipment and actual needs. This embodiment does not impose any special limitation on the duration threshold.
[0076] For example, taking a duration threshold of 30 minutes as an example, if the duration of the temperature pull rate difference between two temperature sensors being greater than the temperature difference threshold is not less than 30 minutes, the sensor drift detection result indicates that at least one temperature sensor between the two temperature sensors is drifting. In this disclosure, the duration of a time window can be set to 5 minutes, for example. If the temperature pull rate difference calculated based on the temperature sequence corresponding to the previous five consecutive time windows is greater than the temperature difference threshold, and the temperature pull rate difference calculated based on the temperature sequence corresponding to the current time window is also greater than the temperature difference threshold, then the duration of the current time window (5 minutes) is added again to the duration accumulated from the previous five time windows (25 minutes), and the resulting duration (30 minutes) is not less than the duration threshold of 30 minutes. At this time, the sensor drift detection result indicates that at least one temperature sensor is drifting.
[0077] According to one optional implementation, the duration threshold can be set based on the compressor start-stop cycle. The duration threshold can be set to any integer multiple of the compressor start-stop cycle, such as 1 or 2 times, depending on the specific needs of the application; this disclosure does not limit this setting. Since sensor drift caused by refrigerant leakage often requires continuous influence to be accurately determined, for example, if the compressor start-stop cycle is 15 minutes, the duration threshold can be set to 30 minutes, thus covering at least two complete refrigeration cycles.
[0078] In some possible implementations, if the sensor drift detection results indicate that at least one of the two temperature sensors is drifting, the temperature pull rate difference between the two temperature sensors and other temperature sensors can be determined based on the temperature sequences of the two temperature sensors, so as to finally identify the temperature sensor that is drifting.
[0079] In the above embodiments, at least one temperature sensor is considered to have drifted only if the temperature difference is greater than the temperature difference threshold for 30 minutes or more. This avoids the situation where the temperature difference is large due to the start-up and shutdown of the refrigeration equipment, which would reduce the reliability of the sensor drift detection results, thereby improving the reliability of the sensor drift detection results.
[0080] In some embodiments of this disclosure, the temperature difference threshold can be obtained based on the current operating time of the compressor of the refrigeration equipment during the most recent start-stop cycle.
[0081] The current operating time of the compressor in the refrigeration equipment within the most recent start-stop cycle refers to the operating time of the compressor in the most recent complete start-stop cycle. Here, a complete start-stop cycle refers to the entire process from the compressor starting up, through continuous operation, stopping, and then starting up again.
[0082] In the above embodiments, the temperature difference threshold is obtained based on the current running time of the compressor in the most recent start-stop cycle of the refrigeration equipment. This can adapt to fluctuations in operating conditions such as compressor start-stop and refrigeration equipment door opening and closing, and realize dynamic adjustment of the temperature difference threshold over time. This avoids problems such as high false alarm rate and poor dynamic adaptability caused by using a fixed threshold, thereby further improving the reliability of sensor drift detection.
[0083] See Figure 4 , Figure 4 This is a schematic diagram of the implementation process of a sensor drift detection method provided in an embodiment of this disclosure. Figure 3 In some embodiments of this disclosure, obtaining the temperature difference threshold based on the current operating time of the compressor of the refrigeration equipment during the most recent start-stop cycle may include the following steps:
[0084] Step S401: Determine the current reference operating time based on the current operating time and the first reference operating time of the compressor in the historical operation process.
[0085] The first reference operating time of the compressor in the historical operation process refers to the reference operating time used in the historical operation process, such as the reference operating time used in the previous sensor drift detection process.
[0086] According to one optional implementation, different weights can be set for the current running time and the first baseline running time based on actual needs; the current running time and the first baseline running time are weighted and summed to obtain the current baseline running time.
[0087] Step S402: Determine the temperature difference threshold based on the current running time and the current baseline running time.
[0088] In some embodiments of this disclosure, a reference temperature difference threshold can be obtained based on the current running time and the current baseline running time; the temperature difference threshold is then determined from the reference temperature difference threshold and the upper limit of the temperature difference threshold. The upper limit of the temperature difference threshold refers to the maximum value determined from various temperature difference thresholds within a historical time period.
[0089] According to one optional implementation, obtaining the baseline temperature difference threshold based on the current running time and the current baseline running time may include: performing a square root operation based on the current running time and the current baseline running time to obtain the baseline temperature difference threshold. According to another optional implementation, a linear operation may be performed based on the current running time and the current baseline running time to obtain the baseline temperature difference threshold. According to yet another optional implementation, a logarithmic operation may be performed based on the current running time and the current baseline running time to obtain the baseline temperature difference threshold. It should be noted that using the square root operation can better avoid the problem of the temperature difference threshold increasing too quickly or too slowly, effectively reducing the false alarm rate and false negative rate of drift detection results.
[0090] For example, the temperature difference threshold can be determined by formula (3):
[0091] (3);
[0092] in, Indicates the temperature difference threshold. This represents the current running time, or the time corresponding to the current time window. Indicates the current baseline running time. This represents an adjustment factor, which can be 0.3 or other numbers set according to actual needs. This represents another adjustment factor, which can be 0.5 or other values set according to actual needs. This represents the baseline temperature difference threshold, which characterizes the temperature difference threshold under stable conditions for the refrigeration equipment. It can be 0.5 or other values set according to actual needs. The result represents the reference temperature difference threshold. This represents the upper limit of the temperature difference threshold, which can be 1.2 or other values set according to actual needs. By setting the upper limit of the temperature difference threshold, the phenomenon of threshold runaway in extreme working conditions can be prevented. Used to quantify runtime offset, which refers to the deviation between the current running time and the current baseline running time, reflecting the decrease in operating efficiency caused by insufficient refrigerant in the refrigeration equipment. It is understandable that the above... , and The values can be set based on empirical values. The adjustment coefficients a and b can also be optimized using methods such as gradient descent. The optimization goal is to make the product between the false alarm rate and the false negative rate of the drift detection results smaller.
[0093] In this disclosure, the adjustment coefficient b can be exemplarily 0.5 (i.e., the square root). This allows the rate of increase in the temperature difference threshold to decrease with the operating time of the refrigeration equipment, preventing oversensitivity under high-load operating conditions. For example, when refrigerant is insufficient, the current operating time exceeds the baseline operating time, and the temperature difference threshold increases with the square root of the offset, thus preventing frequent false alarms under high-load conditions. Optionally, the adjustment coefficient b can also be set to a linear coefficient of 1 or other non-linear functions (such as logarithms), which can be set according to the specific needs of the application.
[0094] In related technologies, sensor drift detection results are determined based on a fixed temperature difference threshold. However, prolonged operation of refrigeration equipment can cause temperature fluctuations under high load conditions. A fixed temperature difference threshold cannot accurately distinguish between normal temperature fluctuations and temperature fluctuations caused by drift under such high load conditions, thus reducing the reliability of sensor drift detection results. In the above embodiment, the temperature difference threshold is determined based on the current operating time, allowing for dynamic adjustment. This avoids the impact of prolonged operation or start-stop of the refrigeration equipment on sensor drift detection. Furthermore, by determining the temperature difference threshold using square root calculations based on adjustment coefficients of 0.3 and 0.5, nonlinear compensation can be used to adjust the temperature difference threshold's offset over operating time, suppressing excessively rapid increases in the temperature difference threshold caused by prolonged, high-load operation of the refrigeration equipment. This further avoids the impact of prolonged operation of the refrigeration equipment on sensor drift detection, improving the sensitivity and fault tolerance of sensor drift detection, thereby enhancing the reliability of sensor drift detection results.
[0095] In some embodiments of this disclosure, determining the current reference operating time based on the current operating time and the first reference operating time of the compressor during its historical operation includes: weighting and summing the first reference operating time and the current operating time according to a first weight and a second weight to obtain the current reference operating time; the first weight is greater than the second weight.
[0096] For example, the current baseline runtime can be determined using formula (4):
[0097] (4);
[0098] in, Indicates the current baseline running time. Indicates the first baseline running time. Indicates the current running time. This indicates the first weight, which can be 0.8 or other numbers set according to actual needs. This indicates the second weight, which can be 0.2 or other numbers set according to actual needs.
[0099] In the above embodiments, the first weight corresponding to the first reference running time is greater than the second weight corresponding to the current running time. This can reduce the short-term interference of the current operating state of the refrigeration equipment on the current running time, so that the current reference running time can better reflect the long-term characteristics of the operating state of the refrigeration equipment, thereby improving the long-term stability of the temperature difference threshold. Furthermore, the setting of the second weight corresponding to the current running time is lower than the first weight corresponding to the first reference running time, which can reduce the impact of the instantaneous disturbances that may be included in the current running time, improve the stability of the current reference running time, and thus improve the reliability of the temperature difference threshold determined subsequently based on the current reference running time.
[0100] In some embodiments of this disclosure, a drift fault alarm can be triggered when the sensor drift detection results indicate that at least one temperature sensor is drifting.
[0101] Drift fault alarms can be displayed visually or through audio prompts.
[0102] For example, when sensor drift detection results indicate that at least one temperature sensor is drifting, relevant information about the drift fault can be displayed through a human-machine interface, or a drift fault alarm can be issued through audio broadcasting. Alternatively, corresponding alarm prompts can be generated based on the drift fault alarm and sent to relevant personnel via email or SMS to remind them to promptly investigate and handle the fault. Furthermore, the drift fault alarm, along with its corresponding timestamp, fault cause, and other information, can be recorded in the refrigeration equipment's operation and maintenance log for easy subsequent querying and tracing.
[0103] In the above embodiments, a drift fault alarm is triggered when at least one temperature sensor exhibits drift, so that technicians can promptly detect and address the drift phenomenon, thereby improving the operational stability of the refrigeration equipment.
[0104] See Figure 5 , Figure 5 This is a schematic diagram of a sensor drift detection device 500 provided in an embodiment of this disclosure. The sensor drift detection device 500 of this embodiment is applied to a refrigeration device and includes the following modules:
[0105] The data acquisition module 501 is used to acquire the temperature sequence of multiple temperature sensors at continuous sampling times when the refrigeration equipment is in a stable state.
[0106] The first determining module 502 is used to determine the temperature pulling rate difference between each temperature sensor based on the temperature sequence of each temperature sensor.
[0107] The second determining module 503 is used to determine the sensor drift detection result based on the temperature difference rate and temperature difference threshold between each temperature sensor.
[0108] In some embodiments of this disclosure, the second determining module 503 is specifically used to: obtain the duration when the temperature difference is greater than the temperature difference threshold; reset the duration when the temperature difference is not greater than the temperature difference threshold; and, when the duration is not less than the duration threshold, indicate that at least one temperature sensor has a drift phenomenon based on the sensor drift detection result.
[0109] In some embodiments of this disclosure, the second determining module 503 is specifically used to: obtain a temperature difference threshold based on the current running time of the compressor of the refrigeration equipment during the most recent start-stop cycle.
[0110] In some embodiments of this disclosure, the second determining module 503 is specifically used to: determine the current reference operating time based on the target current operating time and the historical reference first reference operating time of the compressor in the historical operating process; and determine the temperature difference threshold based on the target current operating time and the current reference operating time.
[0111] In some embodiments of this disclosure, the second determining module 503 is specifically used to: perform a square root operation based on the current running time and the reference running time to obtain a reference temperature difference threshold; and determine the temperature difference threshold from the reference temperature difference threshold and the upper limit of the temperature difference threshold.
[0112] In some embodiments of this disclosure, the second determining module 503 is specifically used to: perform a weighted summation of the first baseline running time and the current running time according to the first weight and the second weight to obtain the baseline running time; the first weight is greater than the second weight.
[0113] In some embodiments of this disclosure, the second determining module 503 is specifically used to: issue a drift fault alarm when the sensor drift detection result indicates that at least one temperature sensor has a drift phenomenon.
[0114] The sensor drift detection device of this disclosure is used to implement the corresponding sensor drift detection method in the foregoing embodiments and has the beneficial effects of the corresponding method embodiments, which will not be repeated here. Furthermore, the functional implementation of each module in the sensor drift detection device of this disclosure can be referred to the description of the corresponding part in the foregoing method embodiments, which will also not be repeated here.
[0115] See Figure 6 This illustration shows a schematic diagram of the hardware entity of the computer device provided in an embodiment of this disclosure. In some examples, the computing device 60 can be at least one of devices such as a smartphone, smartwatch, desktop computer, laptop, virtual reality terminal, augmented reality terminal, wireless terminal, and laptop computer. The computing device 60 has communication functions and can access wired or wireless networks. The computing device 60 can refer to one of multiple terminals, and those skilled in the art will understand that the number of such terminals can be more or less. In some examples, the computing device 60 can receive data such as temperature values from a temperature sensor based on the accessed wired or wireless network. It is understood that the computing device 60 undertakes the calculation and processing work of the technical solution of this disclosure, and this disclosure does not limit it in this respect.
[0116] like Figure 6 As shown, the computer device in this disclosure may include one or more of the following components: processor 610 and memory 620.
[0117] Optionally, the processor 610 connects various parts within the computing device using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 620, and by calling data stored in the memory 620. Optionally, the processor 610 can be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 610 can integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), Neural-network Processing Unit (NPU), and baseband chip. Among them, the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required to be displayed on the touch screen; the NPU is used to implement artificial intelligence (AI) functions; and the baseband chip is used to handle wireless communication. It is understandable that the aforementioned baseband chip may not be integrated into the processor 610, but may be implemented using a separate chip.
[0118] The memory 620 may include random access memory (RAM) or read-only memory (ROM). Optionally, the memory 620 may include a non-transitory computer-readable storage medium. The memory 620 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 620 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the various method embodiments described above, etc.; the data storage area may store data created according to the use of the computing device, etc.
[0119] In addition, those skilled in the art will understand that the structure of the computing device shown in the above figures does not constitute a limitation on the computing device. The computing device may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the computing device may also include a display screen, camera assembly, microphone, speaker, radio frequency circuit, input unit, sensors (such as accelerometer, angular velocity sensor, light sensor, etc.), audio circuit, WiFi module, power supply, Bluetooth module, etc., which will not be described in detail here.
[0120] This disclosure also provides a computer storage medium storing one or more programs that can be executed by one or more processors to implement the steps of the sensor drift detection method as described in any of the above embodiments.
[0121] It should be noted that the descriptions of the storage medium and device embodiments above are similar to those of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the storage medium and device embodiments of this disclosure, please refer to the descriptions of the method embodiments of this disclosure for understanding.
[0122] This disclosure also provides a computer program including computer-readable code, wherein, when the computer-readable code is executed in a computer device, a processor in the computer device performs some or all of the steps in the above-described method.
[0123] This disclosure also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, it implements some or all of the steps in the above-described method. This computer program product can be implemented specifically through hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium; in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.
[0124] It should be noted that the descriptions of the various embodiments above tend to emphasize the differences between them, while their similarities or commonalities can be referred to interchangeably. The descriptions of the computer program and computer program product embodiments above are similar to the descriptions of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the computer program and computer program product embodiments of this disclosure, please refer to the descriptions of the method embodiments of this disclosure for understanding.
[0125] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0126] In the several embodiments provided in this disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple modules or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or modules can be electrical, mechanical, or other forms.
[0127] The modules described above as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules. They may be located in one place or distributed across multiple network units. Some or all of the modules may be selected to achieve the purpose of this embodiment according to actual needs.
[0128] In addition, each functional module in the various embodiments of this disclosure can be integrated into one processing unit, or each module can be a separate unit, or two or more modules can be integrated into one unit; the integrated modules can be implemented in hardware or in the form of hardware plus software functional units.
[0129] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0130] Those skilled in the art will recognize that the functions described in this disclosure in one or more of the examples above can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.
[0131] It should be noted that the technical solutions described in this disclosure can be combined arbitrarily as long as they do not conflict.
[0132] The above description is merely a specific embodiment of this disclosure, but the scope of protection of this disclosure is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A sensor drift detection method, characterized by, The method is applied to a refrigeration device, and the method comprises: In a case where the refrigeration device is in a stable state, temperature sequences of a plurality of temperature sensors at continuous sampling time points are respectively acquired; A temperature difference rate difference between each of the temperature sensors is determined based on the temperature sequence of each of the temperature sensors; A temperature difference threshold is acquired according to a current running time of a compressor of the refrigeration device in a latest start-stop cycle; A sensor drift detection result is determined according to the temperature difference rate difference between each of the temperature sensors and the temperature difference threshold; The temperature difference threshold is acquired according to the current running time of the compressor of the refrigeration device in the latest start-stop cycle, and the temperature difference threshold comprises: A current reference running time is determined based on the current running time and a first reference running time of the compressor in a historical running process; The temperature difference threshold is determined based on the current running time and the current reference running time.
2. The sensor drift detection method of claim 1, wherein, The sensor drift detection result is determined according to the temperature difference rate difference between each of the temperature sensors and the temperature difference threshold, and the sensor drift detection result comprises: A time length of a case where the temperature difference rate difference is greater than the temperature difference threshold is acquired; In a case where the temperature difference rate difference is not greater than the temperature difference threshold, the time length is reset; In a case where the time length is not less than a time length threshold, the sensor drift detection result represents that at least one of the temperature sensors has a drift phenomenon.
3. The sensor drift detection method of claim 1, wherein, The temperature difference threshold is determined based on the current running time and the current reference running time, and the temperature difference threshold comprises: Square root operation is performed based on the current running time and the current reference running time to obtain a reference temperature difference threshold; The temperature difference threshold is determined from the reference temperature difference threshold and an upper limit value of the temperature difference threshold.
4. The sensor drift detection method of claim 1, wherein, The current reference running time is determined based on the current running time and the first reference running time of the compressor in the historical running process, and the current reference running time comprises: The first reference running time and the current running time are respectively weighted and summed according to a first weight and a second weight to obtain the current reference running time; the first weight is greater than the second weight.
5. The sensor drift detection method according to any one of claims 1 to 4, characterized in that, The method further comprises: In a case where the sensor drift detection result represents that at least one of the temperature sensors has a drift phenomenon, a drift fault alarm is performed.
6. A sensor drift detection apparatus, characterized by, The device is applied to a refrigeration device, and the device comprises: A data acquisition module is configured to acquire temperature sequences of a plurality of temperature sensors at continuous sampling time points in a case where the refrigeration device is in a stable state; A first determination module is configured to determine a temperature difference rate difference between each of the temperature sensors based on the temperature sequence of each of the temperature sensors, and to acquire a temperature difference threshold according to a current running time of a compressor of the refrigeration device in a latest start-stop cycle; A second determination module is configured to determine a sensor drift detection result according to the temperature difference rate difference between each of the temperature sensors and the temperature difference threshold; The first determination module is further configured to determine a current reference running time based on the current running time and a first reference running time of the compressor in a historical running process, and to determine the temperature difference threshold based on the current running time and the current reference running time.
7. A computer device, comprising: The device comprises: A memory is configured to store executable instructions; A processor configured to implement the sensor drift detection method of any one of claims 1 to 5 when executing executable instructions stored in the memory.
8. A computer-readable storage medium, characterized in that, A memory storing executable instructions configured to implement the sensor drift detection method of any one of claims 1 to 5 when executed by a processor. A memory storing executable instructions configured to implement the sensor drift detection method of any one of claims 1 to 5 when executed by a processor.
Citation Information
Patent Citations
Failure detection method and device of temperature sensor, energy storage system and electronic equipment
CN117647330A
Online fault identification method for gas turbine exhaust temperature sensor
CN118913484A