Method, system and electronic device for mutual calibration of air conditioner temperature sensors
By obtaining the measurement correction value and calibration compensation value of the temperature sensor after the air conditioner is shut down, the problem of large measurement error of the air conditioner temperature sensor is solved, and more accurate air conditioning control and better energy saving effects are achieved.
Patent Information
- Application Number
- CN202211637236.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-16
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2042-12-16
AI Technical Summary
Due to manufacturing process reasons, the corresponding relationship between resistance and temperature of the air conditioning temperature sensor deviates, resulting in large temperature measurement errors and affecting the control accuracy of the air conditioning system.
By obtaining the measurement correction values of multiple temperature sensors when the conditions are met after the air conditioner is shut down, calculating the calibration compensation value, and performing linear correction and fitting at different temperature points, the measurement error between temperature sensors is reduced.
The control accuracy of the air-conditioning multi-split system is improved, the cooling or heating effect is enhanced, and better energy-saving effects are achieved.
Smart Images

Figure CN116164863B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of temperature sensors, and relates to an air-conditioning temperature sensor, and in particular to a mutual calibration method, system, and electronic device for air-conditioning temperature sensors. Background Art
[0002] Air conditioner temperature sensors typically use negative temperature coefficient thermistors, whose resistance decreases as temperature increases, and the relationship between resistance and temperature is proportional. Temperature can be measured by measuring the resistance of the temperature sensor. The electronic control systems of the air conditioner's indoor and outdoor units are equipped with multiple temperature sensors to monitor the ambient, coil, intake, and exhaust temperatures of the air conditioning system. These temperature measurements can be used to detect operating conditions and adjust the air conditioning system. However, due to manufacturing processes, the relationship between resistance and temperature often deviates, leading to errors in temperature measurements.
[0003] According to the product specifications of temperature sensors, both the nominal resistance and thermal sensitivity index have errors. For example, in the RT table of a certain temperature sensor, R25 is 5.0kΩ ± 1%, and B25 / 50 is 3470K ± 1%. R25 indicates that at a nominal temperature of 25°C, the thermistor's nominal resistance is 5.0kΩ, with a resistance error of 1%. The thermal sensitivity index (B) value from 25°C to 50°C is 3470K, with a B-value error of 1%. Converted into temperature measurement error, at 25°C, the temperature measurement error is ±0.5°C. At 50°C, the temperature measurement error increases to ±1.0°C after adding the B-value error. Furthermore, when the AD acquisition error is added, the temperature measurement error over the entire system operating range reaches as high as ±0.5 to ±1.5°C. However, in a multi-split air conditioning control system, whether it is indoor coil superheat control, outdoor intake air superheat control, or the difference control between the outdoor coil and the ambient temperature, the control target of the temperature difference is mostly around 0.5 to 5.0°C. It can be seen that the measurement error of the temperature sensor will have a significant impact on the control accuracy of the air conditioning system.
[0004] Existing air conditioner temperature sensor calibration methods generally do not require pre-shipment calibration. When calibration is required for certain special applications, the method generally involves placing the air conditioner temperature sensor in a constant temperature bath before shipment, waiting for the temperature to stabilize, and then calibrating it based on the constant temperature bath temperature. The disadvantage is that it is time-consuming and the steps are cumbersome. Summary of the Invention
[0005] The purpose of this application is to provide a mutual calibration method, system and electronic equipment for air conditioning temperature sensors, which are used to reduce the impact of temperature measurement errors of temperature sensors on the accuracy of temperature difference control algorithms.
[0006] In a first aspect, the present application provides a mutual calibration method for air-conditioning temperature sensors, comprising the following steps: when the current environment meets the calibration start conditions of the temperature sensors, obtaining measurement correction values of at least two temperature sensors at the current temperature point; obtaining the ambient temperature measurement value of the temperature sensor based on the measurement correction value; updating the calibration compensation value of each temperature sensor at the current temperature point based on the ambient temperature measurement value; obtaining the calibration compensation value of each temperature sensor at other temperature points based on the calibration compensation value of the current temperature point; and screening the calibration compensation values of all temperature points to control the temperature measurement error between each temperature sensor.
[0007] In this application, by using the corrected measured temperature value, the relative error of the temperature measurement values between the temperature sensors is reduced; the control of the air-conditioning multi-split system is made more precise, the cooling or heating effect is also better, and better energy-saving effects can be achieved.
[0008] In an implementation of the first aspect, obtaining measurement correction values of at least two temperature sensors at a current temperature point includes the following steps:
[0009] Obtain temperature measurement values from at least two temperature sensors under the same environment;
[0010] Obtaining calibration compensation values corresponding to the temperature measurement values respectively;
[0011] The sum of the temperature measurement value and the corresponding calibration compensation value is calculated to obtain a measurement correction value of each temperature sensor.
[0012] In an implementation of the first aspect, a calibration start condition for the temperature sensor includes simultaneously satisfying:
[0013] The air conditioner is shut down for longer than the preset time; and
[0014] The temperature measured by the temperature sensor does not change within the preset time period.
[0015] In an implementation of the first aspect, obtaining an ambient temperature measurement value of a temperature sensor based on the measurement correction value includes the following steps:
[0016] Calculate the arithmetic mean of the measurement correction values of all temperature sensors;
[0017] The arithmetic average result is used as the ambient temperature measurement value of the temperature sensor.
[0018] In an implementation of the first aspect, updating a calibration compensation value of each temperature sensor at a current temperature point based on the ambient temperature measurement value includes the following steps:
[0019] Calculating the difference between the ambient temperature measurement value and the temperature measurement value of each temperature sensor at the current moment;
[0020] Using the formula TC i (T n )(n+1)=TC i (T n )(n)*0.8+TC i (T n ) cur *0.2Calculate the calibration compensation value of each temperature sensor at the next moment; where T n is the integer part of the temperature measurement value of the i-th temperature sensor at the current time n, TC i (T n )(n) is the difference between n and T at the current moment n Corresponding calibration compensation value, TC i (T n )(n+1) is the time at the next moment (n+1) and T n Corresponding calibration compensation value, TC i (T n ) cur is the difference between the ambient temperature measurement value and the temperature measurement value of the i-th temperature sensor at the current time n;
[0021] Determine whether the current environment meets the calibration exit conditions of the temperature sensor;
[0022] If not, the next moment is taken as the current moment, the calibration compensation value is updated, and it is determined whether the current environment meets the calibration exit condition of the temperature sensor; otherwise, the calibration compensation value at the exit moment is taken as the calibration compensation value of the current temperature point, and the current temperature point is set to calibrated.
[0023] In an implementation of the first aspect, a calibration exit condition for the temperature sensor includes at least satisfying:
[0024] The air conditioner is in the on state; or
[0025] The temperature measurement value of the temperature sensor changes within a preset time period.
[0026] In an implementation of the first aspect, acquiring calibration compensation values of other temperature points based on the calibration compensation value of the current temperature point includes the following steps:
[0027] Determining whether all upper-level temperature points of the current temperature point are uncalibrated;
[0028] If so, the calibration compensation value of the current temperature point is extended to the upper uncalibrated temperature point; otherwise, it is further determined whether all the upper temperature points of the current temperature point have been calibrated;
[0029] If yes, exit the upper temperature point calibration; otherwise determine the calibrated upper temperature point closest to the current temperature point, and determine whether there is an uncalibrated temperature point between the current temperature point and the closest calibrated upper temperature point;
[0030] If so, linearly correct the calibration compensation value corresponding to the uncalibrated temperature point between the closest calibrated upper temperature point and the current temperature point;
[0031] Replace the upper-level temperature point in the above steps with the lower-level temperature point to determine the calibration compensation values of all lower-level temperature points.
[0032] In one implementation of the first aspect, screening calibration compensation values of all temperature points to control temperature measurement errors between temperature sensors includes the following steps:
[0033] Determine the maximum and minimum calibration compensation values at all temperature points;
[0034] Linearly fitting the remaining calibration compensation values except the maximum and minimum calibration compensation values to obtain the fitting compensation value;
[0035] comparing the differences between the maximum and minimum calibrated compensation values and the fitted compensation values;
[0036] The calibration compensation values of all temperature points are screened based on the comparison result.
[0037] In a second aspect, the present application provides a mutual calibration system for air-conditioning temperature sensors, including a first acquisition module configured to acquire measurement correction values of at least two temperature sensors at a current temperature point when the current environment satisfies the calibration start conditions for the temperature sensors;
[0038] a second acquisition module, configured to acquire an ambient temperature measurement value of a temperature sensor based on the measurement correction value;
[0039] An updating module, configured to update a calibration compensation value of each temperature sensor at a current temperature point based on the ambient temperature measurement value;
[0040] A third acquisition module is used to acquire the calibration compensation value of each temperature sensor at other temperature points based on the calibration compensation value of the current temperature point;
[0041] The screening module is used to screen the calibration compensation values of all temperature points to control the temperature measurement error between each temperature sensor.
[0042] In a third aspect, the present application provides an electronic device, comprising: a processor and a memory;
[0043] The memory is used to store computer programs;
[0044] The processor is used to execute the computer program stored in the memory, so that the electronic device executes the above-mentioned mutual calibration method of air-conditioning temperature sensors.
[0045] As described above, the air conditioner temperature sensor mutual calibration method, system, and electronic device described in this application have the following beneficial effects:
[0046] (1) By using the corrected measured temperature value, the relative error of the temperature measurement values between the temperature sensors is reduced;
[0047] (2) Make the control of the air-conditioning multi-split system more precise, the cooling or heating effect is better, and better energy-saving effect can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 Shown is a hardware application scenario diagram of the air-conditioning temperature sensor mutual calibration method described in an embodiment of the present application.
[0049] Figure 2 Shown is a flowchart of the mutual calibration method of air-conditioning temperature sensors described in an embodiment of the present application.
[0050] Figure 3 Shown is a flowchart of obtaining the calibration compensation value of the upper-level temperature point based on the calibration compensation value of the current temperature point in the mutual calibration method of the air-conditioning temperature sensors described in an embodiment of the present application.
[0051] Figure 4 Shown is a flowchart of obtaining the calibration compensation value of the lower-level temperature point based on the calibration compensation value of the current temperature point in the mutual calibration method of the air-conditioning temperature sensors described in an embodiment of the present application.
[0052] Figure 5 Shown is a structural schematic diagram of the air-conditioning temperature sensor mutual calibration system described in an embodiment of the present application.
[0053] Figure 6 Shown is a structural schematic diagram of an electronic device described in an embodiment of the present application.
[0054] Component number description
[0055] 1 Air conditioner body
[0056] 2 Temperature sensor calibration machine
[0057] 21 First Acquisition Module
[0058] 22 Second acquisition module
[0059] 23 Update Module
[0060] 24 Third acquisition module
[0061] 25 Filter Module
[0062] 31 processors
[0063] 32 Memory
[0064] S1~S5 method steps DETAILED DESCRIPTION
[0065] The following describes the embodiments of the present application through specific examples. Those skilled in the art can easily understand the other advantages and effects of the present application from the content disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments. The details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other unless they conflict.
[0066] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. Therefore, the illustrations only show components related to the present application and are not drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component can be changed at will, and the component layout type may also be more complicated.
[0067] In addition, the descriptions of "first", "second", etc. in this application are for descriptive purposes only and should not be understood as indicating or implying their relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but this must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0068] The following embodiments of the present application provide a mutual calibration method, system and electronic device for air-conditioning temperature sensors, which are applied to air-conditioning equipment that can calibrate temperature sensors, including but not limited to: Figure 1 The temperature sensor calibration machine shown.
[0069] The technical solutions in the embodiments of the present application will be described in detail below with reference to the accompanying drawings in the embodiments of the present application.
[0070] like Figure 2 As shown, this embodiment provides a mutual calibration method for air conditioner temperature sensors, including the following steps:
[0071] S1. When the current environment meets the calibration start condition of the temperature sensor, obtain measurement correction values of at least two temperature sensors at the current temperature point.
[0072] In one embodiment, the calibration start condition of the temperature sensor includes simultaneously satisfying: the air conditioner downtime exceeds a preset value and the temperature measurement value of the temperature sensor does not change within a preset time period.
[0073] When the air conditioner is shut down, it no longer cools or heats, meaning there's no heat exchange between the air conditioner and the surrounding environment. After the downtime exceeds a preset value, the temperature measurements collected by the multiple temperature sensors in the air conditioning system gradually align with the ambient temperature and remain constant for a preset period of time. For example, if the air conditioner is shut down for more than one hour and the measured temperatures of each temperature sensor in the same environment remain unchanged for 10 consecutive minutes, the temperature sensors are considered to have met the calibration start conditions.
[0074] In one embodiment, the temperature sensor calibration start condition further includes initializing the compensation value of each temperature point within the temperature range of each temperature sensor upon initial power-up. Specifically, the compensation value of each temperature point within the temperature range is cleared to 0, an uncalibrated flag is set for each temperature point, and the values are stored in an electrically erasable programmable read-only memory (EEPROM).
[0075] In one embodiment, obtaining measurement correction values of at least two temperature sensors at a current temperature point includes the following steps:
[0076] S11. Obtain temperature measurement values of at least two temperature sensors under the same environment.
[0077] In the same environment, the temperature measurement values collected by each temperature sensor should be consistent in theory. This feature can be used to calibrate the temperature sensors in the same environment.
[0078] Depending on the measurement parameters and installation location, air conditioner temperature sensors typically include indoor ambient temperature sensors, indoor coil temperature sensors, outdoor ambient temperature sensors, outdoor coil temperature sensors, and compressor exhaust temperature sensors. This embodiment does not limit the type of temperature sensors. The indoor and outdoor units of the air conditioning system are independently calibrated using their respective electronic control boards.
[0079] In one embodiment, after the temperature sensors meet the calibration start conditions, it is necessary to determine whether each temperature sensor has a hardware failure based on its temperature measurement value. Specifically, the temperature measurement values of each temperature sensor are compared to determine the difference between the maximum and minimum values. If the difference is excessive, for example, the difference between the maximum and minimum values is greater than 6°C, the temperature sensor is determined to have failed and an alarm is issued. Otherwise, the temperature sensor's measurement error is determined to be within the normal operating range, and subsequent steps are continued.
[0080] S12. Obtain calibration compensation values corresponding to the temperature measurement values.
[0081] In one embodiment, calibration compensation values corresponding to the temperature measurement values are obtained based on the temperature sensor's product specifications. For example, in the RT table of a temperature sensor, R25 is 5.0kΩ±1%, where R25 indicates that at a nominal temperature of 25°C, the thermistor has a nominal resistance of 5.0kΩ and a resistance error of 1%. Converted to a temperature measurement error, at 25°C, the calibration compensation value corresponding to 25°C is ±0.5°C.
[0082] S13. Calculate the sum of the temperature measurement value and the corresponding calibration compensation value to obtain a measurement correction value of each temperature sensor.
[0083] Specifically, the formula TA i (T n )=TM i +TC i (T n ) calculates the measurement correction value of each temperature sensor, where TM i is the temperature measurement value of the i-th temperature sensor; T n is the temperature measurement value TM of the i-th temperature sensor at the current time n i The integer part of TC i (T n ) is the temperature of the i-th temperature sensor at temperature T n Calibration compensation value at TA i (T n ) is the temperature of the i-th temperature sensor at temperature T n Similarly, the measurement correction value of the jth temperature sensor at temperature T can be obtained n The measurement correction value TA j (T n ).
[0084] S2. Acquire an ambient temperature measurement value of a temperature sensor based on the measurement correction value.
[0085] In one embodiment, obtaining the ambient temperature measurement value of the temperature sensor based on the measurement correction value includes the following steps:
[0086] Calculate the arithmetic average of the measurement correction values of all temperature sensors; and use the arithmetic average result as the ambient temperature measurement value of the temperature sensor.
[0087] Based on the above step S13, the measurement correction values of N temperature sensors can be obtained. For example, when N=2, the measurement correction values of N temperature sensors can be obtained. The formula calculates the arithmetic average of the measurement correction values of the two temperature sensors, where TA1 and TA2 are the measurement correction values of the first temperature sensor and the second temperature sensor respectively; and Tavg is the ambient temperature measurement value of the temperature sensor.
[0088] S3. Update the calibration compensation value of each temperature sensor at the current temperature point based on the ambient temperature measurement value.
[0089] In one embodiment, updating the calibration compensation value of each temperature sensor at the current temperature point based on the ambient temperature measurement value includes the following steps:
[0090] S31. Calculate the difference between the ambient temperature measurement value and the temperature measurement value of each temperature sensor at the current moment.
[0091] Specifically, using the formula TC i (T n ) cur =Tavg-TM i Calculate the difference between the ambient temperature measurement value of the temperature sensor and each temperature measurement value at the current time n, where Tavg is the ambient temperature measurement value of the temperature sensor; TM i is the temperature measurement value of the i-th temperature sensor; TC i (T n ) cur is the difference between the ambient temperature measurement value and the temperature measurement value of the i-th temperature sensor at the current time n.
[0092] S32, using formula TC i (T n )(n+1)=TC i (T n )(n)*0.8+TC i (T n ) cur *0.2 Calculate the calibration compensation value TC of each temperature sensor at the next moment i (T n )(n+1); where T nis the integer part of the temperature measurement value of the i-th temperature sensor at the current time n, TC i (T n )(n) is the difference between n and T at the current moment n Corresponding calibration compensation value, TC i (T n )(n+1) is the time at the next moment (n+1) and T n Corresponding calibration compensation value, TC i (T n ) cur is the difference between the ambient temperature measurement value and the temperature measurement value of the i-th temperature sensor at the current time n.
[0093] S33. Determine whether the current environment meets the calibration exit condition of the temperature sensor; if not, use the next moment as the current moment, update the calibration compensation value, and determine whether the current environment meets the calibration exit condition of the temperature sensor; otherwise, use the calibration compensation value at the exit moment as the calibration compensation value of the current temperature point, and set the current temperature point to calibrated.
[0094] In one embodiment, the calibration exit condition of the temperature sensor includes at least satisfying:
[0095] The air conditioner is in the on state or the temperature value measured by the temperature sensor changes within the preset time period.
[0096] When the air conditioner is turned on, it means that the air conditioner begins to cool or heat, that is, the air conditioner and the surrounding environment begin to exchange heat and cold. The temperature measurement values collected by multiple temperature sensors in the air conditioning system and the surrounding temperature will begin to change. At this time, it is determined that the surrounding environment no longer meets the calibration conditions of the temperature sensor.
[0097] It should be noted that the temperature sensor calibration exit condition judgment process is always ongoing, that is, regardless of whether the temperature point calibration process is completed at the current moment, once it is detected that the current environment meets the temperature sensor calibration exit condition, the temperature sensor calibration process will be exited immediately.
[0098] In one embodiment, the time interval between the current moment n and the next moment (n+1) is set to 10 minutes, that is, the calibration compensation value is updated every 10 minutes. Through continuous iterative updates, the measurement correction value of each temperature sensor and the current ambient temperature measurement value Tavg are gradually approximated, thereby reducing the relative error of the temperature measurement values between the temperature sensors. The iterative update process continues until the exit condition of the mutual calibration of the temperature sensors appears. Before exiting, each temperature sensor is calibrated at a temperature T n Compensation value TC i (T n )(n) is recorded in EEPROM and Tn The temperature point setting has been calibrated.
[0099] S4. Obtain calibration compensation values of each temperature sensor at other temperature points based on the calibration compensation value at the current temperature point.
[0100] like Figure 3 As shown, in one embodiment, obtaining calibration compensation values of other temperature points based on the calibration compensation value of the current temperature point includes the following steps:
[0101] Determining whether all upper-level temperature points of the current temperature point are uncalibrated;
[0102] If so, the calibration compensation value of the current temperature point is extended to the upper uncalibrated temperature point; otherwise, it is further determined whether all the upper temperature points of the current temperature point have been calibrated;
[0103] If yes, exit the upper temperature point calibration; otherwise determine the calibrated upper temperature point closest to the current temperature point, and determine whether there is an uncalibrated temperature point between the current temperature point and the closest calibrated upper temperature point;
[0104] If so, the calibration compensation value corresponding to the uncalibrated temperature point between the closest calibrated upper-level temperature point and the current temperature point is linearly corrected.
[0105] like Figure 4 As shown, the upper temperature point in the above steps is replaced by the lower temperature point to determine the calibration compensation value of all the lower temperature points. Specifically, determining the calibration compensation value of all the lower temperature points includes the following steps:
[0106] Determining whether all subordinate temperature points of the current temperature point are uncalibrated;
[0107] If so, the calibration compensation value of the current temperature point is extended to the uncalibrated temperature point of the lower level; otherwise, it is further determined whether all the lower level temperature points of the current temperature point or the temperature points within the lower level preset range have been calibrated;
[0108] If yes, exit the lower-level temperature point calibration; otherwise, determine the calibrated lower-level temperature point closest to the current temperature point, and determine whether there is an uncalibrated temperature point between the current temperature point and the closest calibrated lower-level temperature point;
[0109] If so, the calibration compensation value corresponding to the uncalibrated temperature point between the closest calibrated lower-level temperature point and the current temperature point is linearly corrected.
[0110] As shown in Table 1, the currently calibrated temperature point is 20°C, and the calibration compensation value for 20°C is 0.8°C. This 20°C temperature point is used as the first calibration temperature point. If all other temperature points above 20°C and below 20°C are uncalibrated, the compensation values for all other temperature points except 20°C are set to 0.8°C.
[0111] Table 1. Compensation values for each temperature point when all upper and lower temperature points are not calibrated
[0112] Temperature point <18℃ 18℃ 19℃ 20℃ 21℃ 22℃ >22℃ Calibration results Uncalibrated Uncalibrated Uncalibrated Calibrated Uncalibrated Uncalibrated Uncalibrated Calibration compensation value 0.8℃ 0.8℃ 0.8℃ 0.8℃ 0.8℃ 0.8℃ 0.8℃
[0113] As shown in Table 2, the currently calibrated temperature point is 20°C, and the calibration compensation value at 20°C is 0.8°C. This 20°C is used as the first calibration temperature point. If the second calibration temperature point is 25°C, and the calibration compensation value at 25°C is 1.0°C, then the compensation value for the temperature points above 25°C is changed to 1.0°C. Since there are uncalibrated temperature points between 20°C and 25°C, the compensation values for each temperature point are obtained using the linear correction method: 0.84°C, 0.88°C, 0.92°C, and 0.96°C, respectively.
[0114] Table 2. Compensation values for each temperature point when some of the upper temperature points are not calibrated
[0115] Temperature point 20℃ 21℃ 22℃ 23℃ 24℃ 25℃ >25℃ Calibration results Calibrated Uncalibrated Uncalibrated Uncalibrated Uncalibrated Calibrated Uncalibrated Calibration compensation value 0.8℃ 0.84℃ 0.84℃ 0.92℃ 0.96℃ 1.0℃ 1.0℃
[0116] S5. Filter the calibration compensation values of all temperature points to control the temperature measurement errors between the temperature sensors.
[0117] In one embodiment, screening calibration compensation values of all temperature points to control temperature measurement errors between temperature sensors includes the following steps:
[0118] Determine the maximum and minimum calibration compensation values among all temperature points; linearly fit the remaining calibration compensation values except the maximum and minimum calibration compensation values to obtain a fitted compensation value; compare the difference between the maximum and minimum calibration compensation values and the fitted compensation value; and filter the calibration compensation values of all temperature points based on the comparison result.
[0119] Although there is an error in the B value of the temperature sensor, the error of its B value should be relatively fixed for the same temperature sensor. Therefore, the temperature error of the same temperature sensor at different temperature points should also be close to a linear relationship. This feature can be used to screen out abnormal calibration compensation values and further reduce the interference of external accidental factors.
[0120] Specifically, after calibrating multiple temperature points, the maximum and minimum calibration compensation values can be selected first, and then the remaining multiple calibration compensation values can be linearly fitted using the least squares method; then the previously selected maximum and minimum calibration compensation values are compared with the generated fitting curve, and the difference value is obtained; if the difference value is small or within the preset range, the maximum and minimum calibration compensation values are restored, otherwise they are removed from the calibration compensation value list, and the calibration flag stored in the EEPROM is cleared.
[0121] In the hardware circuit of temperature measurement, the temperature measurement error caused by the resistance error of the voltage divider resistor is equivalent to the nominal value error of the temperature sensor. The temperature measurement error caused by the resistance error of the voltage divider resistor can also be reduced by the above-mentioned method of mutual calibration of temperature sensors.
[0122] It should be noted that the protection scope of the mutual calibration method of air-conditioning temperature sensors described in the embodiment of the present application is not limited to the execution order of the steps listed in this embodiment. All solutions implemented by adding, subtracting, or replacing steps in the existing technology based on the principles of the present application are included in the protection scope of the present application.
[0123] like Figure 5 As shown, this embodiment provides an air-conditioning temperature sensor mutual calibration system, which includes a first acquisition module 21, a second acquisition module 22, an update module 23, a third acquisition module 24 and a screening module 25.
[0124] The first acquisition module 21 is used to obtain the measurement correction values of at least two temperature sensors at the current temperature point when the current environment meets the calibration start conditions of the temperature sensor; the second acquisition module 22 is used to obtain the ambient temperature measurement value of the temperature sensor based on the measurement correction value; the update module 23 is used to update the calibration compensation value of each temperature sensor at the current temperature point based on the ambient temperature measurement value; the third acquisition module 24 is used to obtain the calibration compensation value of each temperature sensor at other temperature points based on the calibration compensation value of the current temperature point; the screening module 25 is used to screen the calibration compensation values of all temperature points to control the temperature measurement error between each temperature sensor.
[0125] It should be noted that the structures and principles of the first acquisition module 21, the second acquisition module 22, the update module 23, the third acquisition module 24 and the screening module 25 correspond one-to-one to the steps and embodiments in the above-mentioned air conditioning temperature sensor mutual calibration method, so they will not be repeated here.
[0126] The air-conditioning temperature sensor mutual calibration system provided in the embodiment of the present application can implement the air-conditioning temperature sensor mutual calibration method described in the present application, but the implementation device of the air-conditioning temperature sensor mutual calibration method described in the present application includes but is not limited to the structure of the air-conditioning temperature sensor mutual calibration system listed in this embodiment. All structural deformations and replacements of the existing technology made according to the principles of the present application are included in the protection scope of the present application.
[0127] like Figure 6 As shown, this embodiment provides an electronic device, including: a processor 31 and a memory 32.
[0128] The memory 32 is used to store computer programs.
[0129] The processor 31 is configured to execute the computer program stored in the memory, so as to enable the electronic device to execute any one of the above-mentioned methods for mutual calibration of air-conditioning temperature sensors.
[0130] Preferably, the processor 31 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0131] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices or methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules / units is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules or units, which can be electrical, mechanical or other forms.
[0132] The modules / units described as separate components may or may not be physically separate, and the components displayed as modules / units may or may not be physical modules, that is, they may be located in one place or distributed across multiple network elements. Some or all of the modules / units may be selected according to actual needs to achieve the purpose of the embodiments of the present application. For example, the functional modules / units in the various embodiments of the present application may be integrated into a processing module, or each module / unit may exist physically separately, or two or more modules / units may be integrated into a single module / unit.
[0133] Those skilled in the art should further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the composition and steps of each example according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0134] The embodiment of the present application also provides a computer-readable storage medium. Those skilled in the art will understand that all or part of the steps in the method for implementing the above embodiment can be completed by instructing the processor through a program, and the program can be stored in a computer-readable storage medium, and the storage medium is a non-transitory medium, such as a random access memory, a read-only memory, a flash memory, a hard disk, a solid-state drive, a magnetic tape, a floppy disk, an optical disc, and any combination thereof. The above storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid-state drive (SSD)), etc.
[0135] The embodiment of the present application may also provide a computer program product, the computer program product including one or more computer instructions. When the computer instructions are loaded and executed on a computing device, the process or function described in the embodiment of the present application is generated in whole or in part. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer or data center to another website, computer or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method.
[0136] When the computer program product is executed by a computer, the computer executes the method described in the above method embodiment. The computer program product can be a software installation package. When the above method is needed, the computer program product can be downloaded and executed on the computer.
[0137] The descriptions of the processes or structures corresponding to the above figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.
[0138] To sum up, the mutual calibration method, system and electronic device of the air-conditioning temperature sensors of the present application reduce the relative error of the temperature measurement values between temperature sensors by using the corrected measured temperature value; make the control of the air-conditioning multi-split system more precise, and the cooling or heating effect better, and can achieve better energy-saving effects, and effectively reduce the influence of the temperature measurement error of the temperature sensor on the accuracy of the temperature difference control algorithm.
[0139] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Anyone skilled in the art may modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by one of ordinary skill in the art without departing from the spirit and technical concepts disclosed in this application shall be covered by the claims of this application.
Claims
1. A mutual calibration method for air-conditioning temperature sensors, characterized in that: The following steps are involved: When the current environment meets the calibration start condition of the temperature sensor, obtaining measurement correction values of at least two temperature sensors at the current temperature point; obtaining an ambient temperature measurement value of a temperature sensor based on the measurement correction value; updating the calibration compensation value of each temperature sensor at the current temperature point based on the ambient temperature measurement value; Obtaining calibration compensation values of each temperature sensor at other temperature points based on the calibration compensation value of the current temperature point; Screen the calibration compensation values of all temperature points to control the temperature measurement error between each temperature sensor; Updating the calibration compensation value of each temperature sensor at the current temperature point based on the ambient temperature measurement value includes the following steps: Calculating the difference between the ambient temperature measurement value and the temperature measurement value of each temperature sensor at the current moment; Using the formula TC i (T n )(n+1)=TC i (T n )(n)*0.8+TC i (T n ) cur *0.2 Calculate the calibration compensation value TC of each temperature sensor at the next moment i (T n )(n+1); where T n is the integer part of the temperature measurement value of the i-th temperature sensor at the current time n, TC i (T n )(n) is the difference between n and T at the current moment n Corresponding calibration compensation value, TC i (T n )(n+1) is the time at the next moment (n+1) and T n Corresponding calibration compensation value, TC i (T n ) cur is the difference between the ambient temperature measurement value and the temperature measurement value of the i-th temperature sensor at the current time n; Determine whether the current environment meets the calibration exit conditions of the temperature sensor; If not, the next moment is taken as the current moment, the calibration compensation value is updated, and it is determined whether the current environment meets the calibration exit condition of the temperature sensor; otherwise, the calibration compensation value at the exit moment is taken as the calibration compensation value of the current temperature point, and the current temperature point is set to calibrated.
2. The mutual calibration method of air conditioner temperature sensors according to claim 1, characterized in that: Obtaining measurement correction values of at least two temperature sensors at a current temperature point includes the following steps: Obtain temperature measurement values from at least two temperature sensors under the same environment; Obtaining calibration compensation values corresponding to the temperature measurement values respectively; The sum of the temperature measurement value and the corresponding calibration compensation value is calculated to obtain a measurement correction value of each temperature sensor.
3. The mutual calibration method of air conditioner temperature sensors according to claim 1, characterized in that: The calibration start conditions of the temperature sensor include simultaneously meeting the following: The air conditioner is shut down for longer than the preset time; and The temperature measured by the temperature sensor does not change within the preset time period.
4. The mutual calibration method of air conditioner temperature sensors according to claim 1, characterized in that: Acquiring the ambient temperature measurement value of the temperature sensor based on the measurement correction value comprises the following steps: Calculate the arithmetic average of the measurement correction values of all temperature sensors; The arithmetic average result is used as the ambient temperature measurement value of the temperature sensor.
5. The mutual calibration method of air conditioner temperature sensors according to claim 1, characterized in that: The calibration exit condition of the temperature sensor includes at least meeting: The air conditioner is in the on state; or The temperature measurement value of the temperature sensor changes within a preset time period.
6. The mutual calibration method of air conditioner temperature sensors according to claim 1, characterized in that: Acquiring calibration compensation values of other temperature points based on the calibration compensation value of the current temperature point includes the following steps: Determining whether all upper-level temperature points of the current temperature point are uncalibrated; If so, the calibration compensation value of the current temperature point is extended to the upper uncalibrated temperature point; otherwise, it is further determined whether all the upper temperature points of the current temperature point have been calibrated; If yes, exit the upper temperature point calibration; otherwise determine the calibrated upper temperature point closest to the current temperature point, and determine whether there is an uncalibrated temperature point between the current temperature point and the closest calibrated upper temperature point; If so, linearly correct the calibration compensation value corresponding to the uncalibrated temperature point between the closest calibrated upper temperature point and the current temperature point; Replace the upper-level temperature point in the above steps with the lower-level temperature point to determine the calibration compensation values of all lower-level temperature points.
7. The mutual calibration method of air conditioner temperature sensors according to claim 1, characterized in that: Screening the calibration compensation values of all temperature points to control the temperature measurement error between each temperature sensor includes the following steps: Determine the maximum and minimum calibration compensation values at all temperature points; Linearly fitting the remaining calibration compensation values except the maximum and minimum calibration compensation values to obtain the fitting compensation value; comparing the differences between the maximum and minimum calibrated compensation values and the fitted compensation values; Filter the calibration compensation values for all temperature points based on the comparison results.
8. An air conditioning temperature sensor mutual calibration system, characterized in that: The system comprises: A first acquisition module is used to acquire measurement correction values of at least two temperature sensors at a current temperature point when the current environment meets the calibration start condition of the temperature sensor; a second acquisition module, configured to acquire an ambient temperature measurement value of a temperature sensor based on the measurement correction value; An updating module, configured to update a calibration compensation value of each temperature sensor at a current temperature point based on the ambient temperature measurement value; A third acquisition module is used to acquire the calibration compensation value of each temperature sensor at other temperature points based on the calibration compensation value of the current temperature point; A screening module is used to screen the calibration compensation values of all temperature points to control the temperature measurement error between each temperature sensor; Updating the calibration compensation value of each temperature sensor at the current temperature point based on the ambient temperature measurement value includes the following steps: Calculating the difference between the ambient temperature measurement value and the temperature measurement value of each temperature sensor at the current moment; Using the formula TC i (T n )(n+1)=TC i (T n )(n)*0.8+TC i (T n ) cur *0.2 Calculate the calibration compensation value TC of each temperature sensor at the next moment i (T n )(n+1); where T n is the integer part of the temperature measurement value of the i-th temperature sensor at the current time n, TC i (T n )(n) is the difference between n and T at the current moment n Corresponding calibration compensation value, TC i (T n )(n+1) is the time at the next moment (n+1) and T n Corresponding calibration compensation value, TC i (T n ) cur is the difference between the ambient temperature measurement value and the temperature measurement value of the i-th temperature sensor at the current time n; Determine whether the current environment meets the calibration exit conditions of the temperature sensor; If not, the next moment is taken as the current moment, the calibration compensation value is updated, and it is determined whether the current environment meets the calibration exit condition of the temperature sensor; otherwise, the calibration compensation value at the exit moment is taken as the calibration compensation value of the current temperature point, and the current temperature point is set to calibrated.
9. An electronic device, characterized in that: include: processor and memory; The memory is used to store computer programs; The processor is configured to execute the computer program stored in the memory, so that the electronic device executes the mutual calibration method for air-conditioning temperature sensors according to any one of claims 1 to 7.
Citation Information
Patent Citations
Environment temperature acquisition method, device and equipment and storage medium
CN114878027A