[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110686352A - Temperature detection value compensation method and device, storage medium and air conditioner - Google Patents

Temperature detection value compensation method and device, storage medium and air conditioner Download PDF

Info

Publication number
CN110686352A
CN110686352A CN201910917824.8A CN201910917824A CN110686352A CN 110686352 A CN110686352 A CN 110686352A CN 201910917824 A CN201910917824 A CN 201910917824A CN 110686352 A CN110686352 A CN 110686352A
Authority
CN
China
Prior art keywords
value
temperature
compensation
difference
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910917824.8A
Other languages
Chinese (zh)
Other versions
CN110686352B (en
Inventor
王光基
李涛
韦国全
陈海卫
龙程程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910917824.8A priority Critical patent/CN110686352B/en
Publication of CN110686352A publication Critical patent/CN110686352A/en
Application granted granted Critical
Publication of CN110686352B publication Critical patent/CN110686352B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/10Temperature

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention provides a compensation method and device of a temperature detection value, a storage medium and an air conditioner, wherein the method comprises the following steps: acquiring a first temperature change curve of a preset environment temperature changing along with time; generating a second temperature change curve of the environmental temperature changing along with time according to the detected environmental temperature value; comparing the first temperature change curve with the second temperature change curve to determine a compensation value of a current environment temperature detection value; and compensating the current environment temperature detection value according to the determined compensation value to obtain a compensated current environment temperature value. The scheme provided by the invention can enable the detected environmental temperature value to be more accurate.

Description

Temperature detection value compensation method and device, storage medium and air conditioner
Technical Field
The invention relates to the field of control, in particular to a compensation method and device of a temperature detection value, a storage medium and an air conditioner.
Background
At present, most of temperature detection methods used in the market apply a temperature acquisition circuit, data acquired by AD has certain errors with actual data, and a general method is to acquire required data and perform fixed value compensation on the detected data in a software program mode through comparison with a temperature detector with higher precision. The method is single, the temperature detection precision is low, and a method capable of improving the temperature detection precision is provided.
Disclosure of Invention
The present invention is directed to overcome the above-mentioned drawbacks of the prior art, and provides a method and an apparatus for compensating a temperature detection value, a storage medium, and an air conditioner, so as to solve the problem of low accuracy in compensating a detected temperature value by a fixed value in the prior art.
One aspect of the present invention provides a method for compensating a temperature detection value, including: acquiring a first temperature change curve of a preset environment temperature changing along with time; generating a second temperature change curve of the environmental temperature changing along with time according to the detected environmental temperature value; comparing the first temperature change curve with the second temperature change curve to determine a compensation value of a current environment temperature detection value; and compensating the current environment temperature detection value according to the determined compensation value to obtain a compensated current environment temperature value.
Optionally, comparing the first temperature variation curve with the second temperature variation curve to determine a compensation value of the detected ambient temperature value, including: comparing whether the absolute value of the difference between the temperature values of the first temperature change curve and the second temperature change curve at the current moment is within a preset range or not; if the absolute value of the difference of the temperature values is within a preset range, determining the compensation value of the environment temperature detection value as a preset compensation value; and/or determining a compensation value of the corresponding environment temperature detection value according to the absolute value of the difference of the temperature values if the absolute value of the difference of the temperature values is not in a preset range.
Optionally, determining a compensation value of the detected ambient temperature value according to an absolute value of a difference between the temperature values at the current time includes: and determining a compensation value corresponding to the absolute value of the difference between the temperature values at the current moment according to the preset corresponding relationship between the absolute value of the difference between different temperature values and the compensation value.
Optionally, the method further comprises: and comparing the difference value of the environmental temperature value detected at the current moment with the environmental temperature value detected at the last detection moment, and determining the compensation direction for compensating the current environmental temperature value.
Another aspect of the present invention provides a compensation apparatus for a temperature detection value, including: the device comprises an acquisition unit, a control unit and a processing unit, wherein the acquisition unit is used for acquiring a first temperature change curve of a preset environment temperature along with time change; the generating unit is used for generating a second temperature change curve of the environmental temperature along with the time change according to the detected environmental temperature value; the determining unit is used for comparing the first temperature change curve with the second temperature change curve to determine a compensation value of the current environment temperature detection value; and the compensation unit is used for compensating the current environment temperature detection value according to the compensation value determined by the determination unit so as to obtain a compensated current environment temperature value.
Optionally, the determining unit, for comparing the first temperature variation curve with the second temperature variation curve to determine a compensation value of the detected ambient temperature value, includes: comparing whether the absolute value of the difference between the temperature values of the first temperature change curve and the second temperature change curve at the current moment is within a preset range or not; if the absolute value of the difference of the temperature values is within a preset range, determining the compensation value of the environment temperature detection value as a preset compensation value; and/or determining a compensation value of the corresponding environment temperature detection value according to the absolute value of the difference of the temperature values if the absolute value of the difference of the temperature values is not in a preset range.
Optionally, the determining unit determines the compensation value of the detected ambient temperature value according to an absolute value of a difference between the temperature values at the current time, and includes: and determining a compensation value corresponding to the absolute value of the difference between the temperature values at the current moment according to the preset corresponding relationship between the absolute value of the difference between different temperature values and the compensation value.
Optionally, the determining unit determines the compensation value of the detected ambient temperature value according to an absolute value of a difference between the temperature values at the current time, and further includes: and comparing the difference value of the environmental temperature value detected at the current moment with the environmental temperature value detected at the last detection moment, and determining the compensation direction for compensating the current environmental temperature value.
A further aspect of the invention provides a storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of any of the methods described above.
Yet another aspect of the present invention provides an air conditioner comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, wherein the processor implements the steps of any of the methods described above when executing the program.
In another aspect, the invention provides an air conditioner comprising any one of the compensation devices for temperature detection values.
According to the technical scheme of the invention, the compensation value of the ambient temperature detection value is determined by comparing the first temperature change curve of the pre-configured ambient temperature changing along with time with the second temperature change curve of the ambient temperature changing along with time generated according to the detected ambient temperature value, so that the detected ambient temperature value is more accurate; and the larger the absolute value of the difference between the temperature values of the first temperature change curve and the second temperature change curve at the current moment is, the smaller the compensation value of the corresponding ambient temperature detection value is, so that the change rate of the ambient temperature value obtained by detection can be reduced, and when the temperature sensor is applied to a unit controlled according to the ambient temperature, the temperature which is gradually and suddenly increased can be realized, the detection accuracy is improved, and the unit can stably operate.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic diagram illustrating a method for compensating a temperature detection value according to an embodiment of the present invention;
FIG. 2a is an exemplary graph of temperature versus time;
FIG. 2b is another exemplary graph of temperature versus time;
FIG. 2c is yet another exemplary graph of temperature versus time;
fig. 3 is a block diagram of a compensation apparatus for temperature detection values according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention provides a compensation method for a temperature detection value. The method can be used for the electric appliances needing temperature detection. Such as an air conditioner.
Fig. 1 is a schematic method diagram of an embodiment of a method for compensating a temperature detection value according to the present invention.
As shown in fig. 1, according to an embodiment of the present invention, the method for compensating the temperature detection value at least includes step S110, step S120 and step S130.
Step S110, a first temperature variation curve of the pre-configured ambient temperature with time is obtained.
Specifically, a first temperature variation curve of the current area, which is changed along with the time of the ambient temperature in one day within a preset time period before the current time (within a period of the preset time period), is obtained in advance through big data analysis, or a first temperature variation curve of the current area, which is changed along with the time of the ambient temperature in one day within a preset time period before the current time, is detected in advance through temperature detection equipment.
The environmental temperature has different trends with time in different seasons, and the preset time period may be N days before the current time, for example, 20 days. For example, the environmental temperatures of the current area at different times of each day within 20 days before the current time are obtained through big data, then a first temperature change curve of the environmental temperature changing with time in one day is drawn according to the obtained average value of the environmental temperatures at different times of each day within 20 days before the current time, or the environmental temperatures of the current area at different times of each day within 20 days before the current time and detected by a temperature detection device are obtained, and then the first temperature change curve of the environmental temperature changing with time in one day is drawn according to the obtained average value of the environmental temperatures at different times of each day within 20 days before the current time.
And step S120, generating a second temperature change curve of the environmental temperature changing along with time according to the detected environmental temperature.
Specifically, the detected ambient temperature value includes a temperature value obtained by compensating an actual ambient temperature detection value. Alternatively, the compensation value used for compensation may be the compensation value used for last compensation or the preset compensation value.
More specifically, the second temperature change curve is generated according to an ambient temperature value (a temperature value obtained by compensating an actual ambient temperature detection value) detected within a preset time before the current time. For example, the current time is 12:00, and generating a second temperature change curve of the change of the environmental temperature along with the time according to the environmental temperature value detected in three hours before the current time (namely from 10:00 to 12: 00). Or generating the second temperature change curve according to an environmental temperature value (a temperature value obtained by compensating an actual environmental temperature detection value) detected from a preset time to a current time. For example, the preset time is 0:00, and the current time is 12:00, generating a second temperature change curve of the change of the environmental temperature along with the time according to the environmental temperature value detected between 00:00 and 12: 00.
For example, referring to FIG. 2a, a temperature variation curve of a certain area from 0:00 to 24:00 a day (i.e., 0:00 the next day) is shown. The curve 1 is a first temperature variation curve of the environmental temperature changing with time, which is configured in advance, and the curve 2 is a second temperature variation curve of the environmental temperature changing with time, which is generated according to the detected environmental temperature.
Step S130, comparing the first temperature variation curve with the second temperature variation curve to determine a compensation value of the current ambient temperature detection value.
In one embodiment, comparing whether the absolute value of the difference between the temperature values of the first temperature change curve and the second temperature change curve at the current moment is within a preset range; if the absolute value of the difference of the temperature values is within a preset range, determining the compensation value of the environment temperature detection value as a preset compensation value; and/or determining a compensation value of the corresponding environment temperature detection value according to the absolute value of the difference of the temperature values at the current moment if the absolute value of the difference of the temperature values is not in a preset range. That is, if the absolute value of the difference between the temperature values is within a preset range, normally compensating the current ambient temperature detection value according to a preset compensation value; and if the absolute value of the difference of the temperature values is not in the preset range, correcting and compensating the current environment temperature detection value according to the absolute value of the difference of the temperature values at the current moment.
Specifically, determining the compensation value of the detected ambient temperature value according to the absolute value of the difference between the temperature values at the current time includes: and determining a compensation value corresponding to the absolute value of the difference between the temperature values at the current moment according to the preset corresponding relationship between the absolute value of the difference between different temperature values and the compensation value. For example, if the absolute value of the difference between the temperature values is 3 ℃, the corresponding compensation value is 1 ℃, if the absolute value of the difference between the temperature values is 4 ℃, the corresponding compensation value is 0.5 ℃, and if the absolute value of the difference between the temperature values is 5 ℃, the corresponding compensation value is 0 ℃. That is, the larger the absolute value of the difference between the temperature values at the present time of the first temperature change curve and the second temperature change curve is, the smaller the compensation value of the corresponding ambient temperature detection value is. Therefore, the temperature change rate can be reduced, and the detection precision can be improved. When the temperature control device is applied to a unit (such as an air conditioning unit) controlled according to the ambient temperature, the temperature can be gradually and suddenly increased, so that the unit can stably operate.
Optionally, determining a compensation value of the detected ambient temperature value according to an absolute value of a difference between the temperature values at the current time, further includes: and comparing the environmental temperature value detected at the current moment with the environmental temperature value detected at the last detection moment, and determining the compensation direction for compensating the current environmental temperature value. Optionally, the ambient temperature value detected at the current moment is compared with the ambient temperature value detected at the last detection moment according to the second temperature curve. The environment temperature value detected at the current moment comprises a temperature value obtained by compensating the actual environment temperature detection value at the current moment. Alternatively, the compensation value used for compensation may be the compensation value used for last compensation or the preset compensation value. The environmental temperature value detected at the last detection moment comprises a temperature value obtained by compensating the actual environmental temperature detection value at the last detection moment.
Specifically, if the ambient temperature value detected at the current time is greater than the ambient temperature value detected at the previous detection time, the compensation direction is positive compensation, that is, the compensation temperature value is a positive value, and if the ambient temperature value detected at the current time is less than the ambient temperature value detected at the previous detection time, the compensation direction is negative compensation, that is, the compensation temperature value is a negative value. That is, in the case of a sudden increase in temperature, the compensation direction is positive compensation, and in the case of a sudden decrease in temperature, the compensation direction is negative compensation.
For example, if the absolute value of the difference between the temperature values of the first temperature variation curve and the second temperature variation curve at the current time is 3 ℃, the corresponding compensation value is 1 ℃, and the ambient temperature value detected at the current time is greater than the ambient temperature value detected at the last detection time, and then the compensation value is +1 ℃.
And step S140, compensating the current environment temperature detection value according to the determined compensation value to obtain a compensated current environment temperature value.
Specifically, the current ambient temperature detection value is added to the determined compensation value to obtain a compensated current ambient temperature value. For example, if the current ambient temperature detection value is 26 ℃, the determined compensation value is +0.5 ℃, and the compensated current ambient temperature value is 26.5 ℃.
The method of the present invention will be described below with a specific example, in which the predetermined compensation value is set to 1 ℃ and the range allowed by the absolute value of the difference between the predetermined temperature values is set to [0 ℃, 2 ℃), and 0 ℃ to △ T to 2 ℃.
If the temperature change curve of the day obtained by big data analysis in advance is the curve 1 shown in fig. 2b, the temperature change curve obtained in the actual temperature detection process is the curve 2 shown in fig. 2b, the temperature at 12:00 in the curve 1 is 24 ℃, the temperature at 12:00 in the curve 2 (the temperature is the compensated temperature, the actual ambient temperature detection value is 24 ℃ after compensation, the adopted compensation value can be the compensation value determined when the compensation value is determined last time or the preset compensation value) is 24 ℃, the difference between the two is 0 ℃ and is within the preset range [0 ℃ and 2 ℃), therefore, the compensation value is determined to be the preset compensation value 2 ℃, namely, normal compensation is adopted, and the compensated ambient temperature detection value at 12:00 is 24 ℃.
If the temperature change curve of the day obtained by big data analysis in advance is a curve 1 as shown in fig. 2c, the temperature change curve obtained in the actual temperature detection process is a curve 2 as shown in fig. 2c, the temperature change curve obtained in the actual temperature detection process is as shown in fig. 2c, at the time of 12:00, the temperature at the time of 12:00 in the curve 1 is 24 ℃, the temperature at the time of 12:00 in the curve 2 (the temperature is the compensated temperature, the actual ambient temperature detection value is 25 ℃, the temperature is 27 ℃ after compensation is performed according to the preset compensation value 1 ℃, the adopted compensation value can be the compensation value determined when the compensation value is determined last time or the preset compensation value) is 27 ℃, the difference between the two values is 3 ℃ and is not within the preset range [0 ℃ and 2 ℃), and the temperature at the time of 12:00 is larger than the ambient temperature value detected at the last detection time according to the curve 2, then the compensation value of the environment temperature detection value detected by the temperature detection device is +0.5 ℃, and the current environment temperature value is 25.5 ℃ after the environment temperature detection value is compensated according to the compensation value.
The invention also provides a compensation device for the temperature detection value. The device can be used for the electric appliances needing temperature detection. Such as an air conditioner.
Fig. 3 is a block diagram of a compensation apparatus for temperature detection values according to an embodiment of the present invention. As shown in fig. 3, the compensation device 100 for the temperature detection value includes: an acquisition unit 110, a generation unit 120, a determination unit 130 and a compensation unit 140.
The acquiring unit 110 is configured to acquire a first temperature variation curve of a pre-configured ambient temperature along with time variation; the generating unit 120 is configured to generate a second temperature variation curve of the ambient temperature along with time according to the detected ambient temperature value; the determining unit 130 is configured to compare the first temperature variation curve with the second temperature variation curve to determine a compensation value of the current ambient temperature detection value; the compensation unit 140 is configured to compensate the current ambient temperature detection value according to the compensation value determined by the determination unit 130, so as to obtain a compensated current ambient temperature value.
The acquisition unit 110 acquires a first temperature change curve of a pre-configured ambient temperature change with time. Specifically, a first temperature variation curve of the current area, which is changed along with the time of the ambient temperature in one day within a preset time period before the current time (within a period of the preset time period), is obtained in advance through big data analysis, or a first temperature variation curve of the current area, which is changed along with the time of the ambient temperature in one day within a preset time period before the current time, is detected in advance through temperature detection equipment.
The environmental temperature has different trends with time in different seasons, and the preset time period may be N days before the current time, for example, 20 days. For example, the environmental temperatures of the current area at different times of each day within 20 days before the current time are obtained through big data, then a first temperature change curve of the environmental temperature changing with time in one day is drawn according to the obtained average value of the environmental temperatures at different times of each day within 20 days before the current time, or the environmental temperatures of the current area at different times of each day within 20 days before the current time and detected by a temperature detection device are obtained, and then the first temperature change curve of the environmental temperature changing with time in one day is drawn according to the obtained average value of the environmental temperatures at different times of each day within 20 days before the current time.
The generation unit 120 generates a second temperature change curve of the change of the ambient temperature with time based on the detected ambient temperature. Specifically, the detected ambient temperature value includes a temperature value obtained by compensating an actual ambient temperature detection value. Alternatively, the compensation value used for compensation may be the compensation value used for last compensation or the preset compensation value.
More specifically, the generation unit 120 generates the second temperature change curve according to an ambient temperature value (a temperature value obtained by compensating an actual ambient temperature detection value) detected within a preset time before the current time. For example, the current time is 12:00, and generating a second temperature change curve of the change of the environmental temperature along with the time according to the environmental temperature value detected in three hours before the current time (namely from 10:00 to 12: 00). Or generating the second temperature change curve according to an environmental temperature value (a temperature value obtained by compensating an actual environmental temperature detection value) detected from a preset time to a current time. For example, the preset time is 0:00, and the current time is 12:00, generating a second temperature change curve of the change of the environmental temperature along with the time according to the environmental temperature value detected between 00:00 and 12: 00.
For example, referring to FIG. 2a, a temperature variation curve of a certain area from 0:00 to 24:00 a day (i.e., 0:00 the next day) is shown. The curve 1 is a first temperature variation curve of the environmental temperature changing with time, which is configured in advance, and the curve 2 is a second temperature variation curve of the environmental temperature changing with time, which is generated according to the detected environmental temperature.
The determining unit 120 compares the first temperature variation curve with the second temperature variation curve to determine a compensation value of the current ambient temperature detection value.
In one embodiment, comparing whether the absolute value of the difference between the temperature values of the first temperature change curve and the second temperature change curve at the current moment is within a preset range; if the absolute value of the difference of the temperature values is within a preset range, determining the compensation value of the environment temperature detection value as a preset compensation value; and/or determining a compensation value of the corresponding environment temperature detection value according to the absolute value of the difference of the temperature values at the current moment if the absolute value of the difference of the temperature values is not in a preset range. That is, if the absolute value of the difference between the temperature values is within a preset range, normally compensating the current ambient temperature detection value according to a preset compensation value; and if the absolute value of the difference of the temperature values is not in the preset range, correcting and compensating the current environment temperature detection value according to the absolute value of the difference of the temperature values at the current moment.
Specifically, the determining unit 120 determines the compensation value of the ambient temperature detection value according to the absolute value of the difference between the temperature values at the current time, including: and determining a compensation value corresponding to the absolute value of the difference between the temperature values at the current moment according to the preset corresponding relationship between the absolute value of the difference between different temperature values and the compensation value. For example, if the absolute value of the difference between the temperature values is 3 ℃, the corresponding compensation value is 1 ℃, if the absolute value of the difference between the temperature values is 4 ℃, the corresponding compensation value is 0.5 ℃, and if the absolute value of the difference between the temperature values is 5 ℃, the corresponding compensation value is 0 ℃. That is, the larger the absolute value of the difference between the temperature values at the present time of the first temperature change curve and the second temperature change curve is, the smaller the compensation value of the corresponding ambient temperature detection value is. Therefore, the temperature change rate can be reduced, and the detection precision can be improved. When the temperature control device is applied to a unit (such as an air conditioning unit) controlled according to the ambient temperature, the temperature can be gradually and suddenly increased, so that the unit can stably operate.
Optionally, the determining unit 120 determines the compensation value of the detected ambient temperature value according to the absolute value of the difference between the temperature values at the current time, and further includes: and comparing the environmental temperature value detected at the current moment with the environmental temperature value detected at the last detection moment, and determining the compensation direction for compensating the current environmental temperature value. Optionally, the ambient temperature value detected at the current moment is compared with the ambient temperature value detected at the last detection moment according to the second temperature curve. The environment temperature value detected at the current moment comprises a temperature value obtained by compensating the actual environment temperature detection value at the current moment. Alternatively, the compensation value used for compensation may be the compensation value used for last compensation or the preset compensation value. The environmental temperature value detected at the last detection moment comprises a temperature value obtained by compensating the actual environmental temperature detection value at the last detection moment.
Specifically, if the ambient temperature value detected at the current time is greater than the ambient temperature value detected at the previous detection time, the compensation direction is positive compensation, that is, the compensation temperature value is a positive value, and if the ambient temperature value detected at the current time is less than the ambient temperature value detected at the previous detection time, the compensation direction is negative compensation, that is, the compensation temperature value is a negative value. That is, in the case of a sudden increase in temperature, the compensation direction is positive compensation, and in the case of a sudden decrease in temperature, the compensation direction is negative compensation.
For example, if the absolute value of the difference between the temperature values of the first temperature variation curve and the second temperature variation curve at the current time is 3 ℃, the corresponding compensation value is 1 ℃, and the ambient temperature value detected at the current time is greater than the ambient temperature value detected at the last detection time, and then the compensation value is +1 ℃.
The compensation unit 140 compensates the current ambient temperature detection value according to the determined compensation value to obtain a compensated current ambient temperature value.
Specifically, the compensation unit 140 adds the current ambient temperature detection value to the determined compensation value to obtain a compensated current ambient temperature value. For example, if the current ambient temperature detection value is 26 ℃, the determined compensation value is +0.5 ℃, and the compensated current ambient temperature value is 26.5 ℃.
The invention also provides a storage medium corresponding to the compensation method of the temperature detection value, and a computer program is stored on the storage medium, and when the computer program is executed by a processor, the computer program realizes the steps of any one of the methods.
The invention also provides an air conditioner corresponding to the compensation method of the temperature detection value, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the steps of any one of the methods when executing the program.
The invention also provides an air conditioner corresponding to the compensation device of the temperature detection value, which comprises any one of the compensation devices of the temperature detection value.
According to the scheme provided by the invention, the compensation value of the ambient temperature detection value is determined by comparing the first temperature change curve of the pre-configured ambient temperature changing along with the time with the second temperature change curve of the ambient temperature changing along with the time generated by the detected ambient temperature value, so that the detected ambient temperature value is more accurate; and the larger the absolute value of the difference between the temperature values of the first temperature change curve and the second temperature change curve at the current moment is, the smaller the compensation value of the corresponding ambient temperature detection value is, so that the change rate of the ambient temperature value obtained by detection can be reduced, and when the temperature sensor is applied to a unit controlled according to the ambient temperature, the temperature which is gradually and suddenly increased can be realized, the detection accuracy is improved, and the unit can stably operate.
The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the invention and the following claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or a combination of any of these. In addition, each functional unit may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and the parts serving as the control device may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (10)

1. A method for compensating a temperature detection value, comprising:
acquiring a first temperature change curve of a preset environment temperature changing along with time;
generating a second temperature change curve of the environmental temperature changing along with time according to the detected environmental temperature value;
comparing the first temperature change curve with the second temperature change curve to determine a compensation value of a current environment temperature detection value;
and compensating the current environment temperature detection value according to the determined compensation value to obtain a compensated current environment temperature value.
2. The method of claim 1, wherein comparing the first temperature profile to the second temperature profile to determine a compensation value for a detected ambient temperature value comprises:
comparing whether the absolute value of the difference between the temperature values of the first temperature change curve and the second temperature change curve at the current moment is within a preset range or not;
if the absolute value of the difference of the temperature values is within a preset range, determining the compensation value of the environment temperature detection value as a preset compensation value; and/or the presence of a gas in the gas,
and if the absolute value of the difference of the temperature values is not in a preset range, determining a compensation value of the corresponding environment temperature detection value according to the absolute value of the difference of the temperature values.
3. The method of claim 2, wherein determining the compensation value for the ambient temperature detection value based on the absolute value of the difference between the temperature values at the current time comprises:
and determining a compensation value corresponding to the absolute value of the difference between the temperature values at the current moment according to the preset corresponding relationship between the absolute value of the difference between different temperature values and the compensation value.
4. The method of claim 3, further comprising:
and comparing the difference value of the environmental temperature value detected at the current moment with the environmental temperature value detected at the last detection moment, and determining the compensation direction for compensating the current environmental temperature value.
5. An apparatus for compensating a temperature detection value, comprising:
the device comprises an acquisition unit, a control unit and a processing unit, wherein the acquisition unit is used for acquiring a first temperature change curve of a preset environment temperature along with time change;
the generating unit is used for generating a second temperature change curve of the environmental temperature along with the time change according to the detected environmental temperature value;
the determining unit is used for comparing the first temperature change curve with the second temperature change curve to determine a compensation value of the current environment temperature detection value;
and the compensation unit is used for compensating the current environment temperature detection value according to the compensation value determined by the determination unit so as to obtain a compensated current environment temperature value.
6. The apparatus of claim 5, wherein the determining unit compares the first temperature variation curve with the second temperature variation curve to determine a compensation value for the detected ambient temperature value, comprising:
comparing whether the absolute value of the difference between the temperature values of the first temperature change curve and the second temperature change curve at the current moment is within a preset range or not;
if the absolute value of the difference of the temperature values is within a preset range, determining the compensation value of the environment temperature detection value as a preset compensation value; and/or the presence of a gas in the gas,
and if the absolute value of the difference of the temperature values is not in a preset range, determining a compensation value of the corresponding environment temperature detection value according to the absolute value of the difference of the temperature values.
7. The apparatus according to claim 6, wherein the determining unit determines the compensation value of the ambient temperature detection value based on an absolute value of a difference between the temperature values at the present time, includes:
and determining a compensation value corresponding to the absolute value of the difference between the temperature values at the current moment according to the preset corresponding relationship between the absolute value of the difference between different temperature values and the compensation value.
8. The apparatus according to claim 7, wherein the determining unit determines the compensation value of the ambient temperature detection value based on an absolute value of a difference between the temperature values at the present time, further comprising:
and comparing the difference value of the environmental temperature value detected at the current moment with the environmental temperature value detected at the last detection moment, and determining the compensation direction for compensating the current environmental temperature value.
9. A storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
10. An air conditioner comprising a processor, a memory, and a computer program stored in the memory and operable on the processor, wherein the processor executes the program to perform the steps of the method of any one of claims 1 to 4, or to include the means for compensating the temperature detection value according to any one of claims 5 to 8.
CN201910917824.8A 2019-09-26 2019-09-26 Temperature detection value compensation method and device, storage medium and air conditioner Active CN110686352B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910917824.8A CN110686352B (en) 2019-09-26 2019-09-26 Temperature detection value compensation method and device, storage medium and air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910917824.8A CN110686352B (en) 2019-09-26 2019-09-26 Temperature detection value compensation method and device, storage medium and air conditioner

Publications (2)

Publication Number Publication Date
CN110686352A true CN110686352A (en) 2020-01-14
CN110686352B CN110686352B (en) 2021-01-22

Family

ID=69110331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910917824.8A Active CN110686352B (en) 2019-09-26 2019-09-26 Temperature detection value compensation method and device, storage medium and air conditioner

Country Status (1)

Country Link
CN (1) CN110686352B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111693150A (en) * 2020-07-13 2020-09-22 山东科技大学 Temperature measurement method, cloud server and temperature measurement instrument
CN112815496A (en) * 2021-01-11 2021-05-18 珠海格力电器股份有限公司 Air conditioner and operation mode switching method and device thereof, storage medium and processor
CN113009235A (en) * 2021-03-01 2021-06-22 北京市腾河智慧能源科技有限公司 Method, system, equipment and medium for calculating real-time accurate value of line impedance of transformer area
CN113849011A (en) * 2021-09-03 2021-12-28 北京三快在线科技有限公司 Temperature control method and device, storage medium and electronic equipment
CN114158791A (en) * 2020-09-10 2022-03-11 常州市派腾电子技术服务有限公司 Product temperature measuring method and device
CN114296493A (en) * 2022-03-11 2022-04-08 杭州长川智能制造有限公司 Chip temperature adjusting method
CN115164343A (en) * 2022-07-20 2022-10-11 珠海格力电器股份有限公司 PM value compensation method and device and air purification equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1200462A (en) * 1997-05-23 1998-12-02 三星电子株式会社 Air conditoner temp. control apparatus
JP2013096668A (en) * 2011-11-04 2013-05-20 Hitachi Appliances Inc Air conditioner
CN104566760A (en) * 2013-10-10 2015-04-29 美的集团股份有限公司 Temperature control method and device
CN104729002A (en) * 2013-12-24 2015-06-24 广东美的制冷设备有限公司 Air conditioner and temperature adjustment method and temperature adjustment system thereof
CN105135592A (en) * 2015-07-06 2015-12-09 Tcl集团股份有限公司 Self-adaptation adjusting method and system for air conditioner
CN109143185A (en) * 2018-07-13 2019-01-04 中国船舶重工集团公司第七〇九研究所 A kind of temperature-compensation method, power detection device and radar system
CN109612034A (en) * 2018-11-30 2019-04-12 广东美的制冷设备有限公司 Temprature control method, device and storage medium
CN110030691A (en) * 2019-04-01 2019-07-19 珠海格力电器股份有限公司 Temperature detection method and device of manual operator
CN110173849A (en) * 2019-05-09 2019-08-27 珠海格力电器股份有限公司 Temperature compensation control method, computer device, and computer-readable storage medium
US20190277525A1 (en) * 2015-02-06 2019-09-12 Johnson Controls Technology Company Systems and methods for heat rise compensation

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1200462A (en) * 1997-05-23 1998-12-02 三星电子株式会社 Air conditoner temp. control apparatus
JP2013096668A (en) * 2011-11-04 2013-05-20 Hitachi Appliances Inc Air conditioner
CN104566760A (en) * 2013-10-10 2015-04-29 美的集团股份有限公司 Temperature control method and device
CN104729002A (en) * 2013-12-24 2015-06-24 广东美的制冷设备有限公司 Air conditioner and temperature adjustment method and temperature adjustment system thereof
US20190277525A1 (en) * 2015-02-06 2019-09-12 Johnson Controls Technology Company Systems and methods for heat rise compensation
CN105135592A (en) * 2015-07-06 2015-12-09 Tcl集团股份有限公司 Self-adaptation adjusting method and system for air conditioner
CN109143185A (en) * 2018-07-13 2019-01-04 中国船舶重工集团公司第七〇九研究所 A kind of temperature-compensation method, power detection device and radar system
CN109612034A (en) * 2018-11-30 2019-04-12 广东美的制冷设备有限公司 Temprature control method, device and storage medium
CN110030691A (en) * 2019-04-01 2019-07-19 珠海格力电器股份有限公司 Temperature detection method and device of manual operator
CN110173849A (en) * 2019-05-09 2019-08-27 珠海格力电器股份有限公司 Temperature compensation control method, computer device, and computer-readable storage medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111693150A (en) * 2020-07-13 2020-09-22 山东科技大学 Temperature measurement method, cloud server and temperature measurement instrument
CN111693150B (en) * 2020-07-13 2021-05-04 山东科技大学 Temperature measurement method, cloud server and temperature measurement instrument
CN114158791A (en) * 2020-09-10 2022-03-11 常州市派腾电子技术服务有限公司 Product temperature measuring method and device
CN112815496A (en) * 2021-01-11 2021-05-18 珠海格力电器股份有限公司 Air conditioner and operation mode switching method and device thereof, storage medium and processor
CN113009235A (en) * 2021-03-01 2021-06-22 北京市腾河智慧能源科技有限公司 Method, system, equipment and medium for calculating real-time accurate value of line impedance of transformer area
CN113009235B (en) * 2021-03-01 2023-02-28 北京市腾河智慧能源科技有限公司 Method, system, equipment and medium for calculating real-time accurate value of line impedance of transformer area
CN113849011A (en) * 2021-09-03 2021-12-28 北京三快在线科技有限公司 Temperature control method and device, storage medium and electronic equipment
CN114296493A (en) * 2022-03-11 2022-04-08 杭州长川智能制造有限公司 Chip temperature adjusting method
CN114296493B (en) * 2022-03-11 2022-08-09 杭州长川智能制造有限公司 Chip temperature adjusting method
CN115164343A (en) * 2022-07-20 2022-10-11 珠海格力电器股份有限公司 PM value compensation method and device and air purification equipment
CN115164343B (en) * 2022-07-20 2023-11-21 珠海格力电器股份有限公司 PM value compensation method and device and air purification equipment

Also Published As

Publication number Publication date
CN110686352B (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN110686352B (en) Temperature detection value compensation method and device, storage medium and air conditioner
CN107544619B (en) Time synchronization method and device
CN109539503B (en) Heating temperature compensation control method based on room heat load, air conditioner and computer readable storage medium
CN108345953B (en) Temperature prediction method and device
CN112367345B (en) Data processing method, server device and computer readable storage medium
CN106289833B (en) Fault detection method and device for heat storage body
CN110726230B (en) Method and device for controlling air conditioning equipment
CN108594896B (en) Oven temperature control method and device and computer readable storage medium
CN112130491B (en) Device state control method and device, storage medium and electronic device
CN113280471A (en) Dry-burning fault judgment method and device for air conditioner electric heater and air conditioner
CN111258854A (en) Model training method, alarm method based on prediction model and related device
CN110635812A (en) Transmitter output power control method and device and transmitter
CN110726214A (en) Method and device for controlling air conditioner
CN111812445B (en) Intelligent capacitor error correction method and device, computer equipment and storage medium
US20130080401A1 (en) System for hierarchical information collection
JP7514172B2 (en) Anomaly detection system and air conditioner
TWI484142B (en) A multi-sensing element correction system, a correction method and a recording medium
CN112413841B (en) Air conditioner control method and device, storage medium and air conditioner
CN112810396B (en) Parking air conditioner, and method, device and storage medium for determining use parameters of parking air conditioner
CN110337594B (en) Improved characterization of future functional operational prognosis of an operating electrochemical device
CN117268594B (en) Intelligent terminal NTC function test method, system and medium
CN112416587A (en) Temperature control method of on-chip structure and layout method of on-chip structure
CN107094297B (en) Equipment identification method and device
CN115127270B (en) Method and device for determining bandwidth of current loop of compressor and electronic equipment
CN116649999B (en) Temperature control method and system for detector

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant