CN113339970A - Method and device for detecting indoor temperature and intelligent air conditioner - Google Patents

Method and device for detecting indoor temperature and intelligent air conditioner Download PDF

Info

Publication number
CN113339970A
CN113339970A CN202110580573.6A CN202110580573A CN113339970A CN 113339970 A CN113339970 A CN 113339970A CN 202110580573 A CN202110580573 A CN 202110580573A CN 113339970 A CN113339970 A CN 113339970A
Authority
CN
China
Prior art keywords
temperature
detected
alternative
detection
determining
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
CN202110580573.6A
Other languages
Chinese (zh)
Other versions
CN113339970B (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.)
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
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 Qingdao Haier Air Conditioner Gen Corp Ltd, Qingdao Haier Air Conditioning Electric Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Air Conditioner Gen Corp Ltd
Priority to CN202110580573.6A priority Critical patent/CN113339970B/en
Publication of CN113339970A publication Critical patent/CN113339970A/en
Priority to PCT/CN2022/074020 priority patent/WO2022247333A1/en
Application granted granted Critical
Publication of CN113339970B publication Critical patent/CN113339970B/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/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
    • F24F11/00Control or safety arrangements
    • F24F11/89Arrangement or mounting of control or safety devices
    • 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

Abstract

The application relates to the technical field of intelligent air conditioners and discloses a method for detecting indoor temperature. The method for detecting the indoor temperature comprises the following steps: the method comprises the steps of obtaining an average value of first weights of first detected temperatures of a plurality of third temperature sensors adjacent to a first temperature sensor and obtaining an average value of second weights of second detected temperatures of a plurality of fourth temperature sensors adjacent to a second temperature sensor, determining an alternative detected temperature of one failed temperature sensor according to a detected temperature corresponding to a larger weight average value, determining an alternative detected temperature of the other failed temperature sensor, and determining the indoor temperature according to the two alternative detected temperatures and the detected temperature of the normally working temperature sensor. By adopting the method for detecting the indoor temperature, more accurate indoor temperature can be obtained. The application also discloses a device and intelligent air conditioner for detecting indoor temperature.

Description

Method and device for detecting indoor temperature and intelligent air conditioner
Technical Field
The present application relates to the field of intelligent air-conditioning technology, and for example, to a method and an apparatus for detecting indoor temperature, and an intelligent air-conditioner.
Background
At present, an air conditioner detects an indoor temperature through a temperature sensor, and performs heating or cooling according to the indoor temperature and a set temperature. As the air conditioner ages, the temperature sensor may fail, resulting in a detected temperature that is not accurate enough or even unable to detect the temperature. In the prior art, a temperature range is usually set, if the temperature detected by the temperature sensor exceeds the temperature range, it is determined that the temperature sensor fails, in the process, the temperature range is the temperature "which the temperature sensor should" detect, and if the temperature sensor fails, a temperature can be selected from the temperature range to replace the temperature currently detected by the temperature sensor, so that the air conditioner can temporarily cool or heat, and a user has a better use experience.
With the development of air conditioner intellectualization, the indoor temperature can be detected through a plurality of temperature sensors, and then the air conditioner carries out refrigeration or heating according to the indoor temperature. In a scene that the indoor temperature is detected by a plurality of temperature sensors, a reference temperature is determined by a plurality of indoor temperatures detected by the plurality of temperature sensors, wherein the reference temperature is the temperature which the temperature sensor should detect, if the temperature detected by one temperature sensor is too different from the reference temperature, the temperature sensor is determined to be in fault, and further, the reference temperature can be temporarily substituted for the temperature detected by the fault temperature sensor to continue to cool or heat the air conditioner.
In a scenario where the indoor temperature is detected by the plurality of temperature sensors, the reference temperature is determined by the indoor temperatures detected by the plurality of temperature sensors, and is applicable to a scenario of one temperature sensor; if both temperature sensors fail, the temperature detected by the second failed temperature sensor is used to calculate a reference temperature instead of the temperature detected by the first failed temperature sensor, and likewise, the temperature detected by the first failed temperature sensor is used to calculate a reference temperature instead of the temperature detected by the second failed temperature sensor; alternatively, a reference temperature is calculated by the normally operating temperature sensors, and the reference temperature is used in place of the temperature detected by the first malfunctioning temperature sensor and the temperature detected by the second malfunctioning temperature sensor.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
under the condition that the two temperature sensors have faults, the reference temperatures obtained through the two modes are not accurate enough, and the temperatures detected by the temperature sensors with the faults cannot be accurately replaced, so that the air conditioner under temporary control cannot be well cooled or heated, and the use experience of a user is reduced.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method and a device for detecting indoor temperature and an intelligent air conditioner, and aims to solve the technical problem that the air conditioner cannot well refrigerate or heat when two temperature sensors break down.
In some embodiments, the method for detecting temperature includes:
when detecting an indoor temperature by a temperature sensor array disposed indoors, if a first temperature sensor and a second temperature sensor adjacent in the temperature sensor array fail, obtaining first detected temperatures of a plurality of third temperature sensors adjacent to the first temperature sensor, and obtaining second detected temperatures of a plurality of fourth temperature sensors adjacent to the second temperature sensor; the temperature sensor array comprises a plurality of temperature sensors which are arranged in a vertical and horizontal mode;
obtaining a first weight for each of the first detected temperatures and a second weight for each of the second detected temperatures; wherein the first weight is positively correlated with the degree of aggregation of the first detected temperature at the detected temperatures of all the temperature sensors, and the second weight is positively correlated with the degree of aggregation of the second detected temperature at the detected temperatures of all the temperature sensors;
if the average value of the plurality of first weights is larger than the average value of the plurality of second weights, determining a first alternative detection temperature of the first temperature sensor according to the plurality of first detection temperatures, and determining a second alternative detection temperature of the second temperature sensor according to the first alternative detection temperature and the plurality of second detection temperatures;
if the average value of the plurality of first weights is smaller than the average value of the plurality of second weights, determining a second alternative detection temperature of the second temperature sensor according to the plurality of second detection temperatures, and determining a first alternative detection temperature of the first temperature sensor according to the second alternative detection temperature and the plurality of first detection temperatures;
and determining the indoor temperature according to the first alternative detection temperature, the second alternative detection temperature and the detection temperature of the temperature sensor which normally works in the temperature sensor array.
Optionally, obtaining a first weight for each of the first detected temperatures and a second weight for each of the second detected temperatures comprises:
acquiring the detection temperature of each normally working temperature sensor in the temperature sensor array;
determining a first temperature partition in which the detection temperature of each normally working temperature sensor is located in a first preset temperature partition;
obtaining the number of the detection temperatures of the normally working temperature sensors in each first temperature partition;
determining the weight of each first temperature subarea according to the number of the detected temperatures of the normally working temperature sensors;
determining a first weight of each of the first detected temperatures according to a weight of a first temperature zone in which each of the first detected temperatures is located, and determining a second weight of each of the second detected temperatures according to a weight of a first temperature zone in which each of the second detected temperatures is located.
Optionally, determining a first alternative detected temperature of the first temperature sensor from a plurality of the first detected temperatures comprises: determining a first average of the plurality of first detected temperatures as the first alternative detected temperature.
Optionally, determining a first alternative detected temperature of the first temperature sensor from a plurality of the first detected temperatures comprises: and obtaining a first product or a first sum of a first average value of the plurality of first detection temperatures and a first preset coefficient, and determining the first product or the first sum as the first alternative detection temperature.
Optionally, determining a second alternative detected temperature of the second temperature sensor according to the first alternative detected temperature and a plurality of the second detected temperatures includes: determining a second average of the first alternative detected temperature and the plurality of second detected temperatures as the second alternative detected temperature.
Optionally, determining a second alternative detected temperature of the second temperature sensor according to the first alternative detected temperature and a plurality of the second detected temperatures includes: and obtaining a second product or a second sum of a second average value of the first alternative detection temperature and the plurality of second detection temperatures and a second preset coefficient, and determining the second product or the second sum as the second alternative detection temperature.
Optionally, determining a second alternative detected temperature of the second temperature sensor from a plurality of the second detected temperatures comprises: determining a third average of the plurality of second detected temperatures as the second alternative detected temperature.
Optionally, determining a second alternative detected temperature of the second temperature sensor from a plurality of the second detected temperatures comprises: and obtaining a third product or a third sum of a third average value of the plurality of second detection temperatures and a third preset coefficient, and determining the third product or the third sum as the second alternative detection temperature.
Optionally, determining a first alternative detected temperature of the first temperature sensor according to the second alternative detected temperature and the plurality of first detected temperatures includes: determining a fourth average of the alternative detected temperature and the plurality of first detected temperatures as the first alternative detected temperature.
Optionally, determining a first alternative detected temperature of the first temperature sensor according to the second alternative detected temperature and the plurality of first detected temperatures includes: and obtaining a fourth product or a fourth sum of a fourth average value of the second alternative detection temperature and the plurality of first detection temperatures and a fourth preset coefficient, and determining the fourth product or the fourth sum as the first alternative detection temperature.
Optionally, determining the indoor temperature according to the first alternative detected temperature, the second alternative detected temperature, and a detected temperature of a temperature sensor in the temperature sensor array, which normally operates, includes:
in a second preset temperature zone, determining a second temperature zone in which the first alternative detection temperature, the second alternative detection temperature and the detection temperature of the normally working temperature sensor are located;
obtaining the total number of the first alternative detected temperature, the second alternative detected temperature and the detected temperature of the normally operating temperature sensor in each second temperature partition;
determining a weight for each second temperature partition based on the total number of the first replacement detected temperatures, the second replacement detected temperatures, and the detected temperatures of the normally operating temperature sensors in the second temperature partition;
determining the weights of the first alternative detection temperature, the second alternative detection temperature and the detection temperature of the normally operating temperature sensor according to the weights of the first alternative detection temperature, the second alternative detection temperature and a second temperature zone in which the detection temperature of the normally operating temperature sensor is located;
determining a weighted average of the first alternative detected temperature, the second alternative detected temperature, and the detected temperature of the normally operating temperature sensor based on the weights of the first alternative detected temperature, the second alternative detected temperature, and the detected temperature of the normally operating temperature sensor;
and determining the indoor temperature according to the weighted average value.
Optionally, determining the indoor temperature according to the weighted average includes: determining the weighted average as the indoor temperature.
Optionally, determining the indoor temperature according to the weighted average includes: and obtaining a fifth product or a fifth sum of the weighted average value and a fifth preset coefficient, and determining the fifth product or the fifth sum as the indoor temperature.
In some embodiments, an apparatus for detecting an indoor temperature includes a processor and a memory storing program instructions, the processor being configured to, when executing the program instructions, perform the method for detecting an indoor temperature provided by the foregoing embodiments.
In some embodiments, the smart air conditioner includes the device for detecting indoor temperature provided by the foregoing embodiments.
The method and the device for detecting the indoor temperature and the intelligent air conditioner provided by the embodiment of the disclosure can realize the following technical effects:
on the premise that the higher the aggregation degree of the detection temperatures of one temperature sensor is, the more space in the indoor space is at the detection temperature of the one temperature sensor, and the more representative the detection temperature of the one temperature sensor is to the temperature of the indoor space, if the average value of the first weights of the plurality of first detection temperatures is smaller than the average value of the second weights of the plurality of second detection temperatures, the more representative the first substitute detection temperature of the first temperature sensor relative to the first detection temperature is, and the more representative the second detection temperature is to the second substitute detection temperature of the second temperature sensor is, the more accurate the second substitute detection temperature can be determined, and the more accurate first substitute detection temperature of the first temperature sensor can be determined; correspondingly, if the average value of the first weights of the plurality of first detected temperatures is greater than the average value of the second weights of the plurality of second detected temperatures, the more accurate first alternative detected temperature can be determined, and the more accurate second alternative detected temperature of the second temperature sensor can be further determined. Finally, more accurate indoor temperature can be obtained, so that the air conditioner under temporary control can better refrigerate or heat, and the use experience of a user is improved.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated in drawings corresponding to, and not limiting to, embodiments in which elements having the same reference number designation are identified as similar elements, and in which:
FIG. 1 is a schematic diagram of an implementation environment for detecting indoor temperature provided by an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a method for detecting indoor temperature provided by an embodiment of the present disclosure;
FIG. 3 is a partial schematic view of a temperature sensor array provided by embodiments of the present disclosure;
FIG. 4 is a schematic diagram of a process for determining indoor temperature provided by an embodiment of the present disclosure;
fig. 5 is a schematic diagram of an apparatus for detecting an indoor temperature according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
Fig. 1 is a schematic diagram of an implementation environment for detecting an indoor temperature according to an embodiment of the present disclosure. Referring to fig. 1, the implementation environment is a room, the temperature sensor array includes a plurality of temperature sensors 11, the plurality of temperature sensors 11 are arranged in a vertical and horizontal direction, the temperature sensor array can cover one side wall 12 of the room and can also cover a part of the wall (not shown in fig. 1) of the room, and the greater the distance between adjacent temperature sensors 11, the lower the accuracy of the temperature distribution of the room detected by the temperature sensor array is, but the easier the arrangement and application are; the smaller the distance between the adjacent temperature sensors 11 is, the higher the accuracy of the temperature sensor array detecting the indoor temperature distribution is, but the more difficult it is to arrange and apply, and a person skilled in the art can appropriately adjust the distance between the adjacent temperature sensors according to the accuracy requirement and the requirement of the arrangement and use difficulty.
After each temperature sensor 11 detects the temperature, the temperature detected by each temperature sensor 11 may be processed in the temperature sensor array, the temperature detected by each temperature sensor 11 may be transmitted to the smart air conditioner, the temperature detected by each temperature sensor 11 may be processed by the smart air conditioner, the temperature detected by each temperature sensor 11 may also be transmitted to the home cloud platform, the temperature detected by each temperature sensor 11 may be processed by the home cloud platform, and finally an indoor temperature may be obtained, or an indoor temperature distribution map may be finally obtained, and then the smart air conditioner installed indoors may be controlled according to the indoor temperature or the indoor temperature distribution map.
The smart air conditioner may be disposed at the area a1, and may be disposed at the area a 2.
Fig. 2 is a schematic diagram of a method for detecting an indoor temperature according to an embodiment of the present disclosure. The method for detecting the indoor temperature can be executed by a temperature sensor array, can be executed by a control terminal of an intelligent air conditioner or an intelligent home system, can also be executed by a family cloud platform, and can also be executed by the intelligent air conditioner.
Referring to fig. 2, the method for detecting the indoor temperature includes:
s201, when the indoor temperature is detected through a temperature sensor array arranged indoors, if a first temperature sensor and a second temperature sensor which are adjacent in the temperature sensor array have faults, first detection temperatures of a plurality of third temperature sensors adjacent to the first temperature sensor are obtained, and second detection temperatures of a plurality of fourth temperature sensors adjacent to the second temperature sensor are obtained.
The temperature sensor array comprises a plurality of temperature sensors which are arranged in a criss-cross mode.
The third temperature sensor and the fourth temperature sensor in the embodiments of the present disclosure are temperature sensors that can function normally.
In some application scenarios, the first temperature sensor is at a non-edge of the temperature sensor array, and then 7 normally operating temperature sensors are adjacent to the first temperature sensor, where the distance between 3 temperature sensors and the first temperature sensor is a first distance, the distance between 4 temperature sensors and the first temperature sensor is a second distance, and the first distance is smaller than the second distance. In this scenario, the first detected temperatures of the normally operating 3 third temperature sensors at the first distance from the first temperature sensor are obtained, or the first detected temperatures of the normally operating 7 third temperature sensors adjacent to the first temperature sensor are obtained.
In some application scenarios, the first temperature sensor is located at an edge and not a corner of the temperature sensor array, and 5 temperature sensors are adjacent to the first temperature sensor, where the distance between 3 temperature sensors and the first temperature sensor is a first distance, and the distance between the other 2 temperature sensors and the first temperature sensor is a second distance, where the first distance is smaller than the second distance. In this scenario, the first detection temperatures of the 5 normally operating third temperature sensors are obtained; or, the first detection temperatures of 3 third temperature sensors at the first distance from the first temperature sensor are obtained.
In some application scenarios, the first temperature sensor is located at a corner of the temperature sensor array, and then 3 temperature sensors are adjacent to the first temperature sensor, where a distance between 2 temperature sensors and the first temperature sensor is a first distance, and a distance between 1 other temperature sensor and the first temperature sensor is a second distance, where the first distance is smaller than the second distance. In this scenario, first detection temperatures of 5 third temperature sensors are obtained; or, the first detection temperatures of 2 third temperature sensors at the first distance from the first temperature sensor are obtained.
In some application scenarios, the second temperature sensor is located at a non-edge of the temperature sensor array, and the 7 normally operating temperature sensors are adjacent to the second temperature sensor, wherein a distance between the 3 temperature sensors and the second temperature sensor is a first distance, a distance between the 4 temperature sensors and the second temperature sensor is a second distance, and the first distance is smaller than the second distance. In this scenario, the second detected temperatures of the normally operating 3 fourth temperature sensors at the first distance from the second temperature sensor are obtained, or the second detected temperatures of the normally operating 7 fourth temperature sensors adjacent to the second temperature sensor are obtained.
In some application scenarios, the second temperature sensor is located at an edge and not a corner of the temperature sensor array, and 5 temperature sensors are adjacent to the second temperature sensor, where the distance between 3 temperature sensors and the second temperature sensor is a first distance, and the distance between the other 2 temperature sensors and the second temperature sensor is a second distance, where the first distance is smaller than the second distance. In this scenario, the second detection temperatures of the 5 normally operating fourth temperature sensors are obtained; alternatively, the second detected temperatures of 3 fourth temperature sensors at the first distance from the second temperature sensor are obtained.
In some application scenarios, the second temperature sensor is located at a corner of the temperature sensor array, and then 3 temperature sensors are adjacent to the second temperature sensor, where the distance between 2 temperature sensors and the second temperature sensor is a first distance, and the distance between 1 other temperature sensor and the second temperature sensor is a second distance, where the first distance is smaller than the second distance. In this scenario, second detected temperatures of 5 fourth temperature sensors are obtained; alternatively, the second detected temperatures of 2 fourth temperature sensors at the first distance from the second temperature sensor are obtained.
In some application scenarios, if the first detected temperatures of the plurality of third temperature sensors normally operating at the first distance from the first temperature sensor are obtained when the first detected temperatures are obtained, the second detected temperatures of the plurality of fourth temperature sensors normally operating at the first distance from the second temperature sensor are obtained when the second detected temperatures are obtained; if the first detected temperatures of the plurality of third temperature sensors normally operating within the second distance from the first temperature sensor are obtained when the second detected temperature is obtained, the second detected temperatures of the plurality of fourth temperature sensors normally operating within the second distance from the second temperature sensor are obtained when the second detected temperature is obtained.
S202, obtaining a first weight of each first detected temperature and a second weight of each second detected temperature.
The first weight is positively correlated with the aggregation degree of the first detection temperature at the detection temperatures of all the temperature sensors, and the second weight is positively correlated with the aggregation degree of the second detection temperature at the detection temperatures of all the temperature sensors.
All temperature sensors herein refer to all temperature sensors in the array of temperature sensors.
The degree of aggregation of the first detected temperature herein may be represented by a first number of detected temperatures that differ from the first detected temperature by a first set range, the greater the first number, the higher the degree of aggregation of the first detected temperature, and the smaller the first number, the lower the degree of aggregation of the first detected temperature; the first set range may be [ -1 ℃, 2 ℃, 3 ℃, or the like.
Similarly, the degree of aggregation of the second detected temperature may be represented by a second number of detected temperatures that differ from the second detected temperature by a second set range, the greater the second number, the higher the degree of aggregation of the second detected temperature may be represented, and the smaller the second number, the lower the degree of aggregation of the second detected temperature may be represented; the second predetermined range may be [ -1 ℃, 2 ℃, 3 ℃, or the like.
In addition, the aggregation degree of the first detected temperature herein may be represented by a third number of detected temperatures in the temperature section in which the first detected temperature is located, the larger the third number, the higher the aggregation degree of the first detected temperature, and the smaller the third number, the lower the aggregation degree of the first detected temperature. For example, the first detected temperature is in a temperature range of [18 ℃, 20 ℃), and the third number is 3 if there are 3 normally operating temperature sensors in the temperature sensor array having detected temperatures within [18 ℃, 20 ℃).
Similarly, the degree of aggregation of the second detected temperatures may be represented by a fourth number of detected temperatures in the temperature section in which the second detected temperatures are present, the greater the fourth number, the higher the degree of aggregation of the second detected temperatures, and the smaller the fourth number, the lower the degree of aggregation of the second detected temperatures. For example, the second detected temperature is in a temperature range of [20 ℃, 22 ℃), and the fourth number is 4 if there are 4 normally operating temperature sensors in the temperature sensor array at detection temperatures of [20 ℃, 22 ℃).
In the case where the first weight of the first detected temperature is expressed by the number of detected temperatures (third number) in the temperature section in which the first detected temperature is located, and the second weight of the second detected temperature is expressed by the number of detected temperatures (fourth number) in the temperature section in which the second detected temperature is located, obtaining the first weight of each first detected temperature, and the second weight of each second detected temperature, includes: acquiring the detection temperature of each normally working temperature sensor in the temperature sensor array; determining a first temperature partition in which the detection temperature of each normally working temperature sensor is located in a first preset temperature partition; acquiring the number of detected temperatures of the temperature sensors which normally work in each first temperature partition; determining the weight of each first temperature partition according to the number of detected temperatures of the temperature sensors which normally work; a first weight of each first detected temperature is determined according to the weight of the first temperature partition in which each first detected temperature is located, and a second weight of each second detected temperature is determined according to the weight of the first temperature partition in which each second detected temperature is located.
The normally operating temperature sensor includes the third temperature sensor and the fourth temperature sensor, and the detection temperature of the normally operating temperature sensor includes a first detection temperature of the third temperature sensor and a second detection temperature of the fourth temperature sensor.
The first preset temperature partition is a pre-divided temperature partition, for example, the first preset temperature partition may include: [14 ℃, 16 ℃), [16 ℃, 18 ℃), [18 ℃, 20 ℃), [20 ℃, 22 ℃), [22 ℃, 24 ℃), [24 ℃, 26 ℃), and [26 ℃, 28 ℃), or the like, or one temperature partition is distinguished for each temperature span of 2 ℃, or one temperature partition is distinguished for each temperature span of 1 ℃, or one temperature partition is distinguished for each temperature span of 3 ℃, 4 ℃, or 5 ℃. The first preset temperature partition in this embodiment is only meant for an exemplary explanation of the temperature partition, and the preset temperature is not specifically limited, and a person skilled in the art may determine an appropriate first preset temperature partition according to actual needs.
If the detected temperature of a normally operating temperature sensor is 18 deg.C, the first temperature zone in which the detected temperature of 18 deg.C is located is [18 deg.C, 20 deg.C ], and the detected temperature of 18 deg.C increases the number of detected temperatures of the first temperature zone [18 deg.C, 20 deg.C ] by 1.
The greater the number of detected temperatures of a properly functioning temperature sensor in a first temperature zone, the greater the weight of that first temperature zone. The corresponding relation between the number of the detected temperatures of the temperature sensors which normally work in the first temperature partition and the weight of the first temperature partition can be stored in the database in advance, and when the weight of one first temperature partition needs to be obtained, the number of the detected temperatures of the temperature sensors which normally work in the first temperature partition is inquired in the database, so that the weight of the one first temperature partition can be obtained.
In addition, the number of detected temperatures of the temperature sensors that normally operate in one first temperature zone may be used as the weight of the one first temperature zone.
The indoor temperature sensor array detects the temperature in one plane, and the indoor temperature is the temperature in a three-dimensional space. The temperature detected by the sensor array is substantially the temperature presented by the cross section of the plane where the sensor array is located after the indoor temperature is distributed according to the distribution rule of the temperature in the space. In the case of cooling with an air conditioner, the distribution law in the indoor space can be summarized as: the farther from the air conditioner, the higher its temperature; the further away from the air conditioner, the greater the distance between the two isotherms.
The greater the number of detected temperatures of the temperature sensors in a specific temperature interval, the more the temperature of the space in the indoor space is in the specific temperature interval. In the embodiment of the present disclosure, the greater the weight of the specific temperature zone, the greater the volume of the indoor space indicating that the temperature is in the specific temperature zone; the smaller the weight of the specific temperature section is, the smaller the volume of the indoor space whose temperature is in the specific temperature zone is. In this case, the larger the weight of the specific temperature section is, the more representative the temperature of the specific temperature section is with respect to the indoor space temperature is, and the smaller the weight of the specific temperature section is, the less representative the temperature of the specific temperature section is with respect to the indoor space temperature is. The specific temperature interval refers to any one of the first preset temperature intervals.
The weight of the first temperature interval in which the first detected temperature is located may be determined as the first weight of the first detected temperature; and determining the weight of the first temperature interval in which the second detected temperature is positioned as the second weight of the second detected temperature. For example, the first detected temperature is 18 ℃, the first temperature interval is [18 ℃, 20 ℃), and then the weight of the first temperature interval [18 ℃, 20 ℃) is determined as the first weight; the second detected temperature is 20 deg.C, and the first temperature interval is [20 deg.C, 22 deg.C ], then the weight of the first temperature interval [20 deg.C, 22 deg.C ] is determined as the second weight.
By the technical scheme, the first weight of the first detected temperature and the second weight of the second detected temperature can be obtained, the larger the first weight is, the stronger the representativeness of the first detected temperature to the indoor temperature can be shown, and the larger the second weight is, the stronger the representativeness of the second detected temperature to the indoor temperature can be shown.
S203, if the average value of the plurality of first weights is larger than the average value of the plurality of second weights, determining a first alternative detection temperature of the first temperature sensor according to the plurality of first detection temperatures, and determining a second alternative detection temperature of the second temperature sensor according to the first alternative detection temperature and the plurality of second detection temperatures.
In the case where the numbers of the first weights and the second weights are equal, that is, the numbers of the third temperature sensors and the fourth temperature sensors are equal, comparing the magnitude relationship of the average value of the plurality of first weights with the average value of the second weights is equivalent to comparing the magnitude relationship of the summation of the plurality of first weights with the summation of the plurality of second weights, and it can be seen that, in this case, the scheme of comparing the magnitude relationship of the average value of the plurality of first weights with the average value of the plurality of second weights is replaced with the scheme of comparing the magnitude relationship of the summation of the plurality of first weights with the summation of the plurality of second weights, which is a conventional replacement. In the case that the number of the first weights and the second weights is equal, the scheme of comparing the magnitude relationship between the summation of the plurality of first weights and the summation of the plurality of second weights also belongs to the scope covered by the embodiments of the present disclosure.
Optionally, determining a first alternative detected temperature for the first temperature sensor from the plurality of first detected temperatures comprises: a first average of the plurality of first detected temperatures is determined as a first alternative detected temperature.
Alternatively, determining a first alternative sensed temperature for the first temperature sensor from the plurality of first sensed temperatures may include: and obtaining a first product or a first sum of a first average value of the plurality of first detected temperatures and a first preset coefficient, and determining the first product or the first sum as a first substitute detected temperature.
For example, in the heating process of the air conditioner, if the indoor temperature is lower than the set temperature of the air conditioner, the first preset coefficient may be smaller than 1, a first product of the first average value and the first preset coefficient is obtained, and the first product is determined as the first substitute detection temperature; alternatively, the first predetermined coefficient may be smaller than zero, a first sum of the first average value and the first predetermined coefficient is obtained, and the first sum is determined as the first alternative detection temperature. Therefore, the heating effect of the air conditioner can be improved, and the time for the indoor temperature to reach the set temperature is reduced.
In the refrigeration process of the air conditioner, if the indoor temperature is higher than the set temperature of the air conditioner, the first preset coefficient can be larger than 1, a first product of the first average value and the first preset coefficient is obtained, and the first product is determined to be a first substitute detection temperature; alternatively, the first predetermined coefficient may be greater than zero, a first sum of the first average value and the first predetermined coefficient is obtained, and the first sum is determined as the first alternative detected temperature. Therefore, the refrigerating effect of the air conditioner can be improved, and the time for the indoor temperature to reach the set temperature is reduced.
By adopting the technical scheme, on the basis of ensuring the accuracy of the indoor temperature, the indoor temperature is finely adjusted according to expectation, and the time for the indoor temperature to reach the set temperature can be reduced.
Optionally, determining a second alternative detected temperature of the second temperature sensor from the first alternative detected temperature and the plurality of second detected temperatures includes: and determining a second average value of the first alternative detected temperature and the plurality of second detected temperatures as a second alternative detected temperature.
Alternatively, determining the second alternative detected temperature of the second temperature sensor based on the first alternative detected temperature and the plurality of second detected temperatures may include: and obtaining a second product or a second sum of a second average value of the first alternative detection temperature and the plurality of second detection temperatures and a second preset coefficient, and determining the second product or the second sum as the second alternative detection temperature.
For example, in the heating process of the air conditioner, if the indoor temperature is lower than the set temperature of the air conditioner, the second preset coefficient may be smaller than 1, a second product of the second average value and the second preset coefficient is obtained, and the second product is determined as the second substitute detection temperature; alternatively, the second preset coefficient may be smaller than zero, a second sum of the second average value and the second preset coefficient is obtained, and the second sum is determined as the second alternative detection temperature. Therefore, the heating effect of the air conditioner can be improved, and the time for the indoor temperature to reach the set temperature is reduced.
In the refrigeration process of the air conditioner, if the indoor temperature is higher than the set temperature of the air conditioner, the second preset coefficient can be larger than 1, a second product of the second average value and the second preset coefficient is obtained, and the second product is determined to be a second substitute detection temperature; alternatively, the second preset coefficient may be greater than zero, a second sum of the second average value and the second preset coefficient is obtained, and the second sum is determined as the second alternative detection temperature. Therefore, the refrigerating effect of the air conditioner can be improved, and the time for the indoor temperature to reach the set temperature is reduced.
By adopting the technical scheme, on the basis of ensuring the accuracy of the indoor temperature, the indoor temperature is finely adjusted according to expectation, and the time for the indoor temperature to reach the set temperature can be reduced.
S204, if the average value of the plurality of first weights is smaller than the average value of the plurality of second weights, determining a second alternative detection temperature of the second temperature sensor according to the plurality of second detection temperatures, and determining a first alternative detection temperature of the first temperature sensor according to the second alternative detection temperature and the plurality of first detection temperatures.
Optionally, determining a second alternative detected temperature of the second temperature sensor from the plurality of second detected temperatures comprises: and determining a third average value of the plurality of second detected temperatures as a second alternative detected temperature.
Alternatively, determining a second alternative detected temperature of the second temperature sensor from the plurality of second detected temperatures may include: and obtaining a third product or a third sum of a third average value of the plurality of second detection temperatures and a third preset coefficient, and determining the third product or the third sum as a second alternative detection temperature.
For example, in the heating process of the air conditioner, if the indoor temperature is lower than the set temperature of the air conditioner, the third preset coefficient may be smaller than 1, a third product of the third average value and the third preset coefficient is obtained, and the third product is determined as the second substitute detection temperature; alternatively, the third preset coefficient may be smaller than zero, a third sum of the third average value and the third preset coefficient is obtained, and the third sum is determined as the second alternative detection temperature. Therefore, the heating effect of the air conditioner can be improved, and the time for the indoor temperature to reach the set temperature is reduced.
In the refrigeration process of the air conditioner, if the indoor temperature is higher than the set temperature of the air conditioner, the third preset coefficient can be larger than 1, a third product of the third average value and the third preset coefficient is obtained, and the third product is determined to be a second alternative detection temperature; alternatively, the third preset coefficient may be greater than zero, a third sum of the third average value and the third preset coefficient is obtained, and the third sum is determined as the second alternative detection temperature. Therefore, the refrigerating effect of the air conditioner can be improved, and the time for the indoor temperature to reach the set temperature is reduced.
By adopting the technical scheme, on the basis of ensuring the accuracy of the indoor temperature, the indoor temperature is finely adjusted according to expectation, and the time for the indoor temperature to reach the set temperature can be reduced.
Optionally, determining the first alternative detected temperature of the first temperature sensor according to the second alternative detected temperature and the plurality of first detected temperatures includes: determining a fourth average of the plurality of first detected temperatures as the first alternative detected temperature.
Alternatively, determining the first alternative detected temperature of the first temperature sensor based on the second alternative detected temperature and the plurality of first detected temperatures may include: and obtaining a fourth product or a fourth sum of a fourth average value of the second alternative detection temperature and the plurality of first detection temperatures and a fourth preset coefficient, and determining the fourth product or the fourth sum as the first alternative detection temperature.
For example, in the heating process of the air conditioner, if the indoor temperature is lower than the set temperature of the air conditioner, the fourth preset coefficient may be smaller than 1, a fourth product of the fourth average value and the fourth preset coefficient is obtained, and the fourth product is determined as the first substitute detection temperature; alternatively, the fourth preset coefficient may be smaller than zero, a fourth sum of the fourth average value and the fourth preset coefficient is obtained, and the fourth sum is determined as the first alternative detection temperature. Therefore, the heating effect of the air conditioner can be improved, and the time for the indoor temperature to reach the set temperature is reduced.
In the refrigeration process of the air conditioner, if the indoor temperature is higher than the set temperature of the air conditioner, the fourth preset coefficient can be larger than 1, a fourth product of the fourth average value and the fourth preset coefficient is obtained, and the fourth product is determined to be the first substitute detection temperature; alternatively, the fourth preset coefficient may be greater than zero, a fourth sum of the fourth average value and the fourth preset coefficient is obtained, and the fourth sum is determined as the first alternative detection temperature. Therefore, the refrigerating effect of the air conditioner can be improved, and the time for the indoor temperature to reach the set temperature is reduced.
By adopting the technical scheme, on the basis of ensuring the accuracy of the indoor temperature, the indoor temperature is finely adjusted according to expectation, and the time for the indoor temperature to reach the set temperature can be reduced.
S205, determining the indoor temperature according to the first alternative detection temperature, the second alternative detection temperature and the detection temperature of the temperature sensor which normally works in the temperature sensor array.
For example, the average of the first alternative detected temperature, the second alternative detected temperature, and the detected temperature of the temperature sensor that is operating normally in the temperature sensor array is determined as the indoor temperature.
On the premise that the higher the aggregation degree of the detection temperatures of one temperature sensor is, the more space in the indoor space is at the detection temperature of the one temperature sensor, and the more representative the detection temperature of the one temperature sensor is to the temperature of the indoor space, if the average value of the first weights of the plurality of first detection temperatures is smaller than the average value of the second weights of the plurality of second detection temperatures, the more representative the first substitute detection temperature of the first temperature sensor relative to the first detection temperature is, and the more representative the second detection temperature is to the second substitute detection temperature of the second temperature sensor is, the more accurate the second substitute detection temperature can be determined, and the more accurate first substitute detection temperature of the first temperature sensor can be determined; correspondingly, if the average value of the first weights of the plurality of first detected temperatures is greater than the average value of the second weights of the plurality of second detected temperatures, the more accurate first alternative detected temperature can be determined, and the more accurate second alternative detected temperature of the second temperature sensor can be further determined. Finally, more accurate indoor temperature can be obtained, so that the air conditioner under temporary control can better refrigerate or heat, and the use experience of a user is improved.
Fig. 3 is a partial schematic view of a temperature sensor array provided in an embodiment of the present disclosure to illustrate a positional relationship among a first temperature sensor, a second temperature sensor, a third temperature sensor, and a fourth temperature sensor.
In some application scenarios, the first temperature sensor is TE5, the second temperature sensor is TE8, and the plurality of third temperature sensors which are adjacent to the first temperature sensor TE5 and normally work are: TE2, TE4 and TE6, wherein the distances between the third temperature sensors TE2, TE4 and TE6 and the first temperature sensor TE5 are first distances; the plurality of fourth temperature sensors which are adjacent to the second temperature sensor TE8 and are in normal operation are respectively: TE7, TE9 and TE11, wherein the distances between the fourth temperature sensors TE7, TE9 and TE11 and the second temperature sensor TE8 are first distances.
Alternatively, the plurality of third temperature sensors which are adjacent to the first temperature sensor TE5 and are normally operated are: TE1, TE2, TE3, TE4 and TE6, wherein the distances from the third temperature sensors TE2, TE4 and TE6 to the first temperature sensor TE5 are first distances, and the distances from the third temperature sensors TE1 and TE3 to the first temperature sensor TE5 are second distances; the plurality of fourth temperature sensors which are adjacent to the second temperature sensor TE8 and are in normal operation are respectively: TE7, TE9, TE10, TE11 and TE12, wherein the distances between the fourth temperature sensors TE7, TE9 and TE11 and the second temperature sensor TE8 are first distances, and the distances between the fourth temperature sensors TE10 and TE12 and the second temperature sensor TE8 are second distances.
Alternatively, the plurality of third temperature sensors which are adjacent to the first temperature sensor TE5 and are normally operated are: TE1, TE2, TE3, TE4, TE6, TE7 and TE9, wherein the distances between the third temperature sensors TE2, TE4 and TE6 and the first temperature sensor TE5 are first distances, and the distances between the third temperature sensors TE1, TE3, TE7 and TE9 and the first temperature sensor TE5 are second distances; the plurality of fourth temperature sensors which are adjacent to the second temperature sensor TE8 and are in normal operation are respectively: TE4, TE6, TE7, TE9, TE10, TE11 and TE12, wherein the distances between the fourth temperature sensors TE7, TE9 and TE11 and the second temperature sensor TE8 are first distances, and the distances between the fourth temperature sensors TE4, TE6, TE10 and TE12 and the second temperature sensor TE8 are second distances.
In the case where the first temperature sensor or the second temperature sensor is located at an edge and not a corner of the temperature sensor array, or at a corner of the temperature sensor array, one skilled in the art can adaptively determine the third temperature sensor and the fourth temperature sensor according to the examples provided in the foregoing embodiments.
In the foregoing embodiment, there is provided a scheme of determining the indoor temperature from the average value of the detected temperatures (including the first substitute detected temperature, the second substitute detected temperature, and the detected temperature of the normally operating temperature sensor) of the respective temperature sensors (including the failed first temperature sensor, the second temperature sensor, and the normally operating temperature sensor), and further, in order to determine a more accurate indoor temperature, another scheme of determining the indoor temperature may be employed.
Fig. 4 is a schematic diagram of a process for determining an indoor temperature provided by an embodiment of the present disclosure. Referring to fig. 4, determining the indoor temperature according to the first alternative detected temperature, the second alternative detected temperature, and the detected temperature of the temperature sensor that normally operates in the temperature sensor array includes:
s401, in a second preset temperature partition, determining a first alternative detection temperature, a second alternative detection temperature and a second temperature partition in which the detection temperature of the temperature sensor which normally works is located.
The second preset temperature partition is a pre-divided temperature partition, for example, the second preset temperature partition may include: [14 ℃, 16 ℃), [16 ℃, 18 ℃), [18 ℃, 20 ℃), [20 ℃, 22 ℃), [22 ℃, 24 ℃), [24 ℃, 26 ℃), and [26 ℃, 28 ℃), or the like, or one temperature partition is distinguished for each temperature span of 2 ℃, or one temperature partition is distinguished for each temperature span of 1 ℃, or one temperature partition is distinguished for each temperature span of 3 ℃, 4 ℃, or 5 ℃. The second preset temperature partition in this embodiment is only meant for an exemplary explanation of the temperature partition, and the preset temperature is not specifically limited, and a person skilled in the art may determine an appropriate second preset temperature partition according to actual needs.
The second predetermined temperature zone may be the same as the first predetermined temperature zone or different from the first predetermined temperature zone.
S402, obtaining the total number of the first replacement detection temperature, the second replacement detection temperature and the detection temperature of the temperature sensor which normally works in each second temperature partition.
For another example, a temperature sensor may have a sensing temperature (or a first alternative sensing temperature, or a second alternative sensing temperature) of 18 ℃, and the sensing temperature (or the first alternative sensing temperature, or the second alternative sensing temperature) may have a second temperature zone of 18 ℃ to [18 ℃ and 20 ℃). And, the detection temperature (or the first alternative detection temperature, or the second alternative detection temperature) of 18 ℃ increases the total number of detection temperatures of the second temperature zone [18 ℃, 20 ℃) by 1.
And S403, determining the weight of each second temperature partition according to the total number of the first replacement detection temperature, the second replacement detection temperature and the detection temperature of the temperature sensor which normally works in the second temperature partition.
The greater the total number of the first substitute detected temperature, the second substitute detected temperature, and the detected temperatures of the normally operating temperature sensors in a second temperature zone, the greater the weight of the second temperature zone. The corresponding relation between the total number of the first substitute detection temperature, the second substitute detection temperature and the detection temperature of the normally working temperature sensor in the second temperature partition and the weight of the second temperature partition can be stored in the database in advance, and when the weight of one second temperature partition needs to be obtained, the database inquires the total number of the first substitute detection temperature, the second substitute detection temperature and the detection temperature of the normally working temperature sensor in the one second temperature partition, so that the weight of the one second temperature partition can be obtained.
In addition, the total number of the first substitute detected temperature, the second substitute detected temperature, and the detected temperature of the temperature sensor that normally operates in one second temperature zone may be used as the weight of the one second temperature zone.
Thus, the weight in the second temperature zone can represent the degree of the indoor temperature represented by the second temperature zone: the larger the weight of the second temperature partition is, the stronger the degree of representation of the second temperature partition on the indoor temperature is; the smaller the weight of the second temperature partition, the weaker the second temperature partition represents the indoor temperature.
S404, determining the weights of the first alternative detection temperature, the second alternative detection temperature and the detection temperature of the normally working temperature sensor according to the weights of the first alternative detection temperature, the second alternative detection temperature and the second temperature zone in which the detection temperature of the normally working temperature sensor is located.
For example, the weight of the second temperature partition, in which the first alternative detected temperature is located, may be determined as the weight of the first alternative detected temperature; the weight of the second temperature partition in which the second alternative detected temperature is located is determined as the weight of the second alternative detected temperature, and the weight of the second temperature partition in which the detected temperature of the temperature sensor that normally operates is determined as the weight of the detected temperature of the temperature sensor that normally operates.
In this way, the weight of the first substitute detected temperature, the second substitute detected temperature, and the detected temperature of the normally operating temperature sensor represents the degree of representation of the detected temperature of the first substitute detected temperature, the second substitute detected temperature, and the detected temperature of the normally operating temperature sensor on the indoor temperature: the larger the weight of the first alternative detection temperature is, the stronger the representative degree of the first alternative detection temperature to the indoor temperature is, and the smaller the weight of the first alternative detection temperature is, the weaker the representative degree of the first alternative detection temperature to the indoor temperature is; the larger the weight of the second alternative detection temperature is, the stronger the representative degree of the second alternative detection temperature to the indoor temperature is, and the smaller the weight of the second alternative detection temperature is, the weaker the representative degree of the second alternative detection temperature to the indoor temperature is; the larger the weight of the detected temperature of the temperature sensor that normally operates is, the stronger the degree of representation of the detected temperature of the temperature sensor that normally operates on the indoor temperature is, and the smaller the weight of the detected temperature of the temperature sensor that normally operates is, the weaker the degree of representation of the detected temperature of the temperature sensor that normally operates on the indoor temperature is.
S405, determining a weighted average value of the first alternative detection temperature, the second alternative detection temperature and the detection temperature of the normally working temperature sensor according to the first alternative detection temperature, the second alternative detection temperature and the weight of the detection temperature of the normally working temperature sensor.
And S406, determining the indoor temperature according to the weighted average value.
By adopting the technical scheme, more accurate indoor temperature can be determined.
Optionally, determining the indoor temperature from the weighted average comprises: the weighted average is determined as the room temperature.
Alternatively, determining the indoor temperature from the weighted average may include: and obtaining a fifth product or a fifth sum of the weighted average value and a fifth preset coefficient, and determining the fifth product or the fifth sum as the indoor temperature.
For example, in the heating process of the air conditioner, if the indoor temperature is lower than the set temperature of the air conditioner, the fifth preset coefficient may be smaller than 1, a fifth product of the weighted average and the fifth preset coefficient is obtained, and the fifth product is determined as the second substitute detection temperature; alternatively, the fifth preset coefficient may be smaller than zero, a fifth sum of the weighted average and the fifth preset coefficient is obtained, and the fifth sum is determined as the second alternative detected temperature. Therefore, the heating effect of the air conditioner can be improved, and the time for the indoor temperature to reach the set temperature is reduced.
In the refrigeration process of the air conditioner, if the indoor temperature is higher than the set temperature of the air conditioner, the fifth preset coefficient can be larger than 1, a fifth product of the weighted average value and the fifth preset coefficient is obtained, and the fifth product is determined to be the second substitute detection temperature; alternatively, the fifth preset coefficient may be greater than zero, a fifth sum of the weighted average and the fifth preset coefficient is obtained, and the fifth sum is determined as the second alternative detected temperature. Therefore, the refrigerating effect of the air conditioner can be improved, and the time for the indoor temperature to reach the set temperature is reduced.
By adopting the technical scheme, on the basis of ensuring the accuracy of the indoor temperature, the indoor temperature is finely adjusted according to expectation, and the time for the indoor temperature to reach the set temperature can be reduced.
In some embodiments, an apparatus for detecting an indoor temperature includes a processor and a memory storing program instructions, the processor being configured to, when executing the program instructions, perform the method for detecting an indoor temperature provided by the foregoing embodiments.
Fig. 5 is a schematic diagram of an apparatus for detecting an indoor temperature according to an embodiment of the present disclosure.
As shown in fig. 5, the apparatus for detecting indoor temperature includes:
a processor (processor)51 and a memory (memory)52, and may further include a Communication Interface (Communication Interface)53 and a bus 54. The processor 51, the communication interface 53 and the memory 52 may communicate with each other through the bus 54. The communication interface 53 may be used for information transfer. The processor 51 may invoke logic instructions in the memory 52 to perform the method for detecting the indoor temperature provided by the foregoing embodiments.
Furthermore, the logic instructions in the memory 52 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 52 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 51 executes the functional application and data processing by executing the software program, instructions and modules stored in the memory 52, that is, implements the method in the above-described method embodiments.
The memory 52 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 52 may include high speed random access memory, and may also include non-volatile memory.
The embodiment of the disclosure provides an intelligent air conditioner, which comprises the device for detecting the indoor temperature provided by the embodiment.
The embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions configured to perform the method for detecting an indoor temperature provided by the foregoing embodiment.
The disclosed embodiments provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method for detecting indoor temperature provided by the aforementioned embodiments.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable 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 in the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method or device comprising the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit may be merely a division of a logical function, and an actual implementation may have another division, for example, a plurality of 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, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (10)

1. A method for detecting temperature, comprising:
when detecting an indoor temperature by a temperature sensor array disposed indoors, if a first temperature sensor and a second temperature sensor adjacent in the temperature sensor array fail, obtaining first detected temperatures of a plurality of third temperature sensors adjacent to the first temperature sensor, and obtaining second detected temperatures of a plurality of fourth temperature sensors adjacent to the second temperature sensor; the temperature sensor array comprises a plurality of temperature sensors which are arranged in a vertical and horizontal mode;
obtaining a first weight for each of the first detected temperatures and a second weight for each of the second detected temperatures; wherein the first weight is positively correlated with the degree of aggregation of the first detected temperature at the detected temperatures of all the temperature sensors, and the second weight is positively correlated with the degree of aggregation of the second detected temperature at the detected temperatures of all the temperature sensors;
if the average value of the plurality of first weights is larger than the average value of the plurality of second weights, determining a first alternative detection temperature of the first temperature sensor according to the plurality of first detection temperatures, and determining a second alternative detection temperature of the second temperature sensor according to the first alternative detection temperature and the plurality of second detection temperatures;
if the average value of the plurality of first weights is smaller than the average value of the plurality of second weights, determining a second alternative detection temperature of the second temperature sensor according to the plurality of second detection temperatures, and determining a first alternative detection temperature of the first temperature sensor according to the second alternative detection temperature and the plurality of first detection temperatures;
and determining the indoor temperature according to the first alternative detection temperature, the second alternative detection temperature and the detection temperature of the temperature sensor which normally works in the temperature sensor array.
2. The method of claim 1, wherein obtaining a first weight for each of the first detected temperatures and a second weight for each of the second detected temperatures comprises:
acquiring the detection temperature of each normally working temperature sensor in the temperature sensor array;
determining a first temperature partition in which the detection temperature of each normally working temperature sensor is located in a first preset temperature partition;
obtaining the number of the detection temperatures of the normally working temperature sensors in each first temperature partition;
determining the weight of each first temperature subarea according to the number of the detected temperatures of the normally working temperature sensors;
determining a first weight of each of the first detected temperatures according to a weight of a first temperature zone in which each of the first detected temperatures is located, and determining a second weight of each of the second detected temperatures according to a weight of a first temperature zone in which each of the second detected temperatures is located.
3. The method of claim 1, wherein determining a first alternative detected temperature for the first temperature sensor from a plurality of the first detected temperatures comprises:
determining a first average of the plurality of first detected temperatures as the first alternative detected temperature;
alternatively, the first and second electrodes may be,
and obtaining a first product or a first sum of a first average value of the plurality of first detection temperatures and a first preset coefficient, and determining the first product or the first sum as the first alternative detection temperature.
4. The method of claim 1, wherein determining a second alternative detected temperature for the second temperature sensor based on the first alternative detected temperature and a plurality of the second detected temperatures comprises:
determining a second average of the first alternative detected temperature and the plurality of second detected temperatures as the second alternative detected temperature;
alternatively, the first and second electrodes may be,
and obtaining a second product or a second sum of a second average value of the first alternative detection temperature and the plurality of second detection temperatures and a second preset coefficient, and determining the second product or the second sum as the second alternative detection temperature.
5. The method of claim 1, wherein determining a second alternative detected temperature for the second temperature sensor from a plurality of the second detected temperatures comprises:
determining a third average of the plurality of second sensed temperatures as the second alternative sensed temperature;
alternatively, the first and second electrodes may be,
and obtaining a third product or a third sum of a third average value of the plurality of second detection temperatures and a third preset coefficient, and determining the third product or the third sum as the second alternative detection temperature.
6. The method of claim 1, wherein determining a first alternative detected temperature for the first temperature sensor based on the second alternative detected temperature and a plurality of the first detected temperatures comprises:
determining a fourth average of the alternative detected temperature and the plurality of first detected temperatures as the first alternative detected temperature;
alternatively, the first and second electrodes may be,
and obtaining a fourth product or a fourth sum of a fourth average value of the second alternative detection temperature and the plurality of first detection temperatures and a fourth preset coefficient, and determining the fourth product or the fourth sum as the first alternative detection temperature.
7. The method of any one of claims 1 to 6, wherein determining the indoor temperature from the first alternative detected temperature, the second alternative detected temperature, and detected temperatures of normally operating temperature sensors in the array of temperature sensors comprises:
in a second preset temperature zone, determining a second temperature zone in which the first alternative detection temperature, the second alternative detection temperature and the detection temperature of the normally working temperature sensor are located;
obtaining the total number of the first alternative detected temperature, the second alternative detected temperature and the detected temperature of the normally operating temperature sensor in each second temperature partition;
determining a weight for each second temperature partition based on the total number of the first replacement detected temperatures, the second replacement detected temperatures, and the detected temperatures of the normally operating temperature sensors in the second temperature partition;
determining the weights of the first alternative detection temperature, the second alternative detection temperature and the detection temperature of the normally operating temperature sensor according to the weights of the first alternative detection temperature, the second alternative detection temperature and a second temperature zone in which the detection temperature of the normally operating temperature sensor is located;
determining a weighted average of the first alternative detected temperature, the second alternative detected temperature, and the detected temperature of the normally operating temperature sensor based on the weights of the first alternative detected temperature, the second alternative detected temperature, and the detected temperature of the normally operating temperature sensor;
and determining the indoor temperature according to the weighted average value.
8. The method of claim 7, wherein determining the indoor temperature from the weighted average comprises:
determining the weighted average as the indoor temperature; alternatively, the first and second electrodes may be,
and obtaining a fifth product or a fifth sum of the weighted average value and a fifth preset coefficient, and determining the fifth product or the fifth sum as the indoor temperature.
9. An apparatus for detecting indoor temperature, comprising a processor and a memory storing program instructions, characterized in that the processor is configured to execute the method for detecting indoor temperature according to any one of claims 1 to 8 when executing the program instructions.
10. An intelligent air conditioner, characterized by comprising the apparatus for detecting indoor temperature as claimed in claim 9.
CN202110580573.6A 2021-05-26 2021-05-26 Method and device for detecting indoor temperature and intelligent air conditioner Active CN113339970B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110580573.6A CN113339970B (en) 2021-05-26 2021-05-26 Method and device for detecting indoor temperature and intelligent air conditioner
PCT/CN2022/074020 WO2022247333A1 (en) 2021-05-26 2022-01-26 Method and apparatus for measuring indoor temperature, and smart air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110580573.6A CN113339970B (en) 2021-05-26 2021-05-26 Method and device for detecting indoor temperature and intelligent air conditioner

Publications (2)

Publication Number Publication Date
CN113339970A true CN113339970A (en) 2021-09-03
CN113339970B CN113339970B (en) 2022-04-15

Family

ID=77472173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110580573.6A Active CN113339970B (en) 2021-05-26 2021-05-26 Method and device for detecting indoor temperature and intelligent air conditioner

Country Status (2)

Country Link
CN (1) CN113339970B (en)
WO (1) WO2022247333A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022247333A1 (en) * 2021-05-26 2022-12-01 青岛海尔空调器有限总公司 Method and apparatus for measuring indoor temperature, and smart air conditioner
US20230175724A1 (en) * 2021-12-02 2023-06-08 Johnson Controls Tyco IP Holdings LLP Systems and methods for operating an hvac system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69919645D1 (en) * 1998-09-03 2004-09-30 Fuji Photo Film Co Ltd Device for thermal treatment and thus generated heat development device
CN101266273A (en) * 2008-05-12 2008-09-17 徐立军 Multi- sensor system fault self-diagnosis method
JP2013236918A (en) * 2012-04-20 2013-11-28 Fujifilm Corp Radiation image detector device and radiographic system
CN107101662A (en) * 2017-03-17 2017-08-29 中国科学院声学研究所 Fault detection method and system
CN107166638A (en) * 2017-05-09 2017-09-15 广东美的暖通设备有限公司 Fault detection method, detection means and the multi-connected air conditioning system of temperature sensor

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105423482B (en) * 2015-10-30 2019-01-22 四川长虹电器股份有限公司 A kind of temperature checking method and air-conditioning
US11486594B2 (en) * 2016-11-18 2022-11-01 Mitsubishi Electric Corporation Air-conditioning apparatus and air-conditioning system
CN109323364B (en) * 2018-09-30 2022-02-25 广东美的制冷设备有限公司 Air conditioning system and fault detection method of heat exchanger thereof
CN110501094A (en) * 2019-09-05 2019-11-26 珠海格力电器股份有限公司 Fault detection calibration method, air conditioner and the computer readable storage medium of electric appliance temperature sensor
CN111089397A (en) * 2019-12-11 2020-05-01 於晓明 Multi-point passive temperature detection control system and method for air conditioner
CN112066517B (en) * 2020-09-18 2021-06-08 珠海格力电器股份有限公司 Fault detection method for transmission mechanism of temperature detection device and air conditioner
CN112178869B (en) * 2020-09-29 2021-12-21 重庆海尔空调器有限公司 Method and device for detecting fault of air conditioner and air conditioner
CN113339970B (en) * 2021-05-26 2022-04-15 青岛海尔空调器有限总公司 Method and device for detecting indoor temperature and intelligent air conditioner

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69919645D1 (en) * 1998-09-03 2004-09-30 Fuji Photo Film Co Ltd Device for thermal treatment and thus generated heat development device
CN101266273A (en) * 2008-05-12 2008-09-17 徐立军 Multi- sensor system fault self-diagnosis method
JP2013236918A (en) * 2012-04-20 2013-11-28 Fujifilm Corp Radiation image detector device and radiographic system
CN107101662A (en) * 2017-03-17 2017-08-29 中国科学院声学研究所 Fault detection method and system
CN107166638A (en) * 2017-05-09 2017-09-15 广东美的暖通设备有限公司 Fault detection method, detection means and the multi-connected air conditioning system of temperature sensor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022247333A1 (en) * 2021-05-26 2022-12-01 青岛海尔空调器有限总公司 Method and apparatus for measuring indoor temperature, and smart air conditioner
US20230175724A1 (en) * 2021-12-02 2023-06-08 Johnson Controls Tyco IP Holdings LLP Systems and methods for operating an hvac system
US11761661B2 (en) * 2021-12-02 2023-09-19 Johnson Controls Tyco IP Holdings LLP Systems and methods for operating an HVAC system

Also Published As

Publication number Publication date
CN113339970B (en) 2022-04-15
WO2022247333A1 (en) 2022-12-01

Similar Documents

Publication Publication Date Title
CN113339970B (en) Method and device for detecting indoor temperature and intelligent air conditioner
CN107166638B (en) Fault detection method and device of temperature sensor and multi-connected air conditioning system
CN113357765B (en) Method and device for detecting indoor temperature and intelligent air conditioner
JP2851243B2 (en) How to detect system errors
CN109323363B (en) Refrigerant leakage fault detection method and system of air conditioner and air conditioner
CN113357760B (en) Method and device for detecting indoor temperature and intelligent air conditioner
EP3196563B1 (en) Control device for air conditioning system, air conditioning system, and method for determining anomaly of air conditioning system
CN104566820A (en) Air conditioner, air conditioner control method and air conditioner control device
CN113357763B (en) Method and device for detecting indoor temperature and intelligent air conditioner
CN113237202A (en) Position determination method and device, air conditioning system and readable storage medium
US20190128547A1 (en) Determining a cause of a fault in an hvac system
Lewin Predictive maintenance using PCA
CN114777368A (en) Method and device for monitoring risk of circulation system pipeline and circulation system
CN113251591B (en) Method and device for detecting indoor temperature and intelligent air conditioner
CN113834184B (en) Control method and device for air conditioner and server
CN110878983A (en) Air conditioner fault determination method and device
CN113465120B (en) Method and device for detecting indoor temperature and intelligent air conditioner
CN115585547A (en) Method and device for controlling dehumidifier, dehumidifier and storage medium
CN110332660A (en) Temperature field data determination method, device and the equipment of temperature field precision can be improved
CN114543255A (en) Oil return control method and device, multi-split air conditioning system and storage medium
CN104848493A (en) Air humidity detection method, air humidity detection device, air conditioner and dehumidifier
CN114909785A (en) Method and device for controlling air conditioner, air conditioner and storage medium
CN117515813A (en) Method and device for calculating refrigerating and heating quantity of air conditioner and air conditioner
CN115077029A (en) Method and device for controlling air conditioner, air conditioner and storage medium
CN113834183B (en) Control method and device for air conditioner and server

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