WO2022242223A1 - Method and apparatus for measuring indoor temperature, and intelligent air conditioner - Google Patents

Method and apparatus for measuring indoor temperature, and intelligent air conditioner Download PDF

Info

Publication number
WO2022242223A1
WO2022242223A1 PCT/CN2022/073919 CN2022073919W WO2022242223A1 WO 2022242223 A1 WO2022242223 A1 WO 2022242223A1 CN 2022073919 W CN2022073919 W CN 2022073919W WO 2022242223 A1 WO2022242223 A1 WO 2022242223A1
Authority
WO
WIPO (PCT)
Prior art keywords
temperature
temperature sensor
detection
detected
indoor
Prior art date
Application number
PCT/CN2022/073919
Other languages
French (fr)
Chinese (zh)
Inventor
王文博
刘光朋
郝本华
Original Assignee
青岛海尔空调器有限总公司
青岛海尔空调电子有限公司
海尔智家股份有限公司
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 青岛海尔空调器有限总公司, 青岛海尔空调电子有限公司, 海尔智家股份有限公司 filed Critical 青岛海尔空调器有限总公司
Publication of WO2022242223A1 publication Critical patent/WO2022242223A1/en

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/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/32Responding to malfunctions or emergencies
    • F24F11/38Failure diagnosis
    • 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

Definitions

  • the present application relates to the technical field of intelligent air conditioners, for example, to a method and device for detecting indoor temperature, and an intelligent air conditioner.
  • intelligent air conditioners can obtain multiple indoor ambient temperatures through multiple temperature sensors, and determine the indoor temperature according to multiple indoor ambient temperatures, and then adjust the operating parameters of the intelligent air conditioner according to the indoor temperature to realize outdoor monitoring. Temperature regulation.
  • the probability of failure of one or more temperature sensors increases.
  • the temperature sensor fails the usual treatment measures are to make the air conditioner alarm and shut down, so as to stop adjusting the indoor temperature.
  • the failed temperature sensor can be ignored, and the indoor temperature can be determined through other normal working temperature sensors, so that the smart air conditioner can continue to work .
  • the accuracy of the room temperature determined after ignoring the faulty sensor is poor.
  • Embodiments of the present disclosure provide a method and device for detecting indoor temperature, and an intelligent air conditioner, so as to solve the technical problem of poor accuracy of indoor temperature determined after ignoring faulty sensors.
  • a method for detecting indoor temperature includes:
  • the temperature sensor array When the indoor temperature is detected by the temperature sensor array arranged indoors, if the first temperature sensor of the temperature sensor array fails, the first detection of a plurality of second temperature sensors adjacent to the first temperature sensor is obtained Temperature; wherein, the temperature sensor array includes a plurality of temperature sensors, and the plurality of temperature sensors are arranged vertically and horizontally;
  • the indoor temperature is determined according to the substitute detected temperature and the detected temperature of the normally working temperature sensor in the temperature sensor array.
  • obtaining the weight of the first detection temperature of each second temperature sensor includes: obtaining the detection temperature of each normally working temperature sensor in the temperature sensor array; determining in the first preset temperature zone The first temperature zone in which the detection temperature of each of the normal working temperature sensors is located; obtain the number of detection temperatures of the normal working temperature sensors in each of the first temperature zones; according to the normal working temperature sensor The weight of each first temperature subregion is determined by the number of detected temperatures; and the weight of each first detected temperature is determined according to the weight of the first temperature subregion where each first detected temperature is located.
  • obtaining the first weighted average of the multiple first detected temperatures includes: performing normalization processing on the weights of the multiple first detected temperatures; determining multiple weighted averages according to the normalized weights A first weighted average of the first detected temperature.
  • determining the alternative detection temperature of the first temperature sensor according to the first weighted average includes: using the first weighted average as the alternative detection temperature of the first temperature sensor; or, obtaining the A first product or a first sum of the first weighted average value and a first preset coefficient is determined as the substitute detection temperature.
  • determining the indoor temperature according to the detection temperature of the substitute detection temperature and the temperature sensor normally working in the temperature sensor array includes: obtaining the substitute detection temperature and the temperature sensor normally working in the temperature sensor array The average value of the detected temperature is determined as the indoor temperature.
  • determining the indoor temperature according to the detection temperature of the substitution detection temperature and the detection temperature of a temperature sensor normally working in the temperature sensor array includes: determining the substitution detection temperature and the temperature detection temperature in the second preset temperature zone.
  • the weight of the second temperature partition where the detected temperature of the sensor is located determines the weight of the alternative detected temperature and the detected temperature of the normally operating temperature sensor; according to the alternative detected temperature and the detected temperature of the normally operating temperature sensor Determine the second weighted average value of the substitute detection temperature and the detection temperature of the normal working temperature sensor; determine the indoor temperature according to the second weighted average value.
  • determining a second weighted average of the substitute detection temperature and the detection temperature of the normally operating temperature sensor according to the weights of the substitute detection temperature and the detection temperature of the normally operating temperature sensor includes: Perform normalization processing on the weights of the substitution detection temperature and the detection temperature of the normal operating temperature sensor; determine the substitution detection temperature and the detection temperature of the normal operation temperature sensor according to the normalized weight The second weighted average of .
  • determining the indoor temperature according to the second weighted average includes: determining the second weighted average as the indoor temperature; or obtaining the second weighted average and a second preset coefficient The second product or the second sum is determined as the indoor temperature.
  • the device for detecting indoor temperature includes a processor and a memory storing program instructions, and the processor is configured to execute the user detection indoor temperature provided by the foregoing embodiments when executing the program instructions.
  • the smart air conditioner includes the device for detecting indoor temperature provided in the foregoing embodiments.
  • the method, device, and smart air conditioner for detecting indoor temperature provided by the embodiments of the present disclosure can achieve the following technical effects:
  • a first weighted average value of the first detection temperatures of the second temperature sensors around the faulty first temperature sensor is used to determine the replacement detection temperature of the first temperature sensor, wherein the first temperature sensor
  • the weight of a detected temperature is positively correlated with the degree of aggregation of the first detected temperature among the detected temperatures of all temperature sensors, that is, the higher the degree of aggregation of the first detected temperature among the detected temperatures of all temperature sensors, the higher the degree of aggregation of the first detected temperature is for the first temperature sensor and the temperature in the interval where the second temperature sensor is located, the more representative the first detected temperature is, the greater the weight of the first detected temperature is at this time, and the first weighted average calculated by the weight determined in this way is more representative of the first temperature sensor and the temperature in the interval where the second temperature sensor is located, using such a first weighted average value as the replacement detection temperature of the faulty first temperature sensor, the indoor temperature can be determined more accurately.
  • 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 schematic diagram of a process of determining indoor temperature provided by an embodiment of the present disclosure
  • Fig. 4 is a partial schematic diagram of a temperature sensor array provided by an embodiment of the present disclosure.
  • Fig. 5 is a schematic diagram of a device for detecting indoor temperature provided by an embodiment of the present disclosure.
  • A/B means: A or B.
  • a and/or B means: A or B, or, A and B, these three relationships.
  • Fig. 1 is a schematic diagram of an implementation environment for detecting indoor temperature provided by an embodiment of the present disclosure.
  • the implementation environment is inside a room.
  • the temperature sensor array includes a plurality of temperature sensors 11 arranged vertically and horizontally.
  • the temperature sensor array can cover one side wall 12 of the room, or can cover the room. Part of the wall (not shown in Figure 1), the larger the distance between adjacent temperature sensors 11, the lower the accuracy of the temperature sensor array detecting the indoor temperature distribution, but the easier to arrange and apply; adjacent temperature sensors The smaller the distance between 11, the higher the accuracy of the temperature sensor array in detecting the indoor temperature distribution, but the more difficult it is to arrange the application.
  • Those skilled in the art can appropriately adjust the adjacent temperature sensors according to the requirements of accuracy requirements, layout and difficulty of use. the distance between.
  • the temperature detected by each temperature sensor 11 can be processed in the temperature sensor array, and the temperature detected by each temperature sensor 11 can be transmitted to the intelligent air conditioner.
  • the temperature detected by the sensor 11 is processed, and the temperature detected by each temperature sensor 11 can also be transmitted to the family cloud platform, and the temperature detected by each temperature sensor 11 is processed by the family cloud platform to finally obtain an indoor temperature, or, Finally, the indoor temperature distribution map is obtained, and then the intelligent air conditioner installed indoors is controlled according to the indoor temperature, or the indoor temperature distribution map.
  • the smart air conditioner can be installed in the area A1, and can also be installed in the area A2.
  • Fig. 2 is a schematic diagram of a method for detecting indoor temperature provided by an embodiment of the present disclosure.
  • the method for detecting indoor temperature may be performed by a temperature sensor array, may be performed by a smart air conditioner or a control terminal of a smart home system, may also be performed by a home cloud platform, and may also be performed by a smart air conditioner.
  • the methods for detecting the indoor temperature include:
  • the temperature sensor array includes a plurality of temperature sensors, and the plurality of temperature sensors are arranged vertically and horizontally.
  • the first temperature sensor is at the non-edge of the temperature sensor array, then there are 8 temperature sensors adjacent to the first temperature sensor, wherein the distance between 4 temperature sensors and the first temperature sensor is the first distance, and the other 4 temperature sensors The distance between the sensor and the first temperature sensor is a second distance, and the first distance is smaller than the second distance.
  • the first detected temperatures of eight second temperature sensors are obtained; or, the first detected temperatures of four second temperature sensors at a first distance from the first temperature sensors are obtained.
  • the first temperature sensor is at the edge of the temperature sensor array and not at the corner, then there are 5 temperature sensors adjacent to the first temperature sensor, wherein the distance between 3 temperature sensors and the first temperature sensor is the first distance, and the other 2 The distance between each temperature sensor and the first temperature sensor is a second distance, wherein the first distance is smaller than the second distance.
  • the first detected temperatures of the five second temperature sensors are obtained; or, the first detected temperatures of the three second temperature sensors at a first distance from the first temperature sensors are obtained.
  • the first temperature sensor is at the corner of the temperature sensor array, then there are 3 temperature sensors adjacent to the first temperature sensor, wherein the distance between 2 temperature sensors and the first temperature sensor is the first distance, and the other 1 temperature sensor The distance from the first temperature sensor is a second distance, wherein the first distance is smaller than the second distance.
  • the first detected temperatures of five second temperature sensors are obtained; or, the first detected temperatures of two second temperature sensors at a first distance from the first temperature sensor are obtained.
  • the weight of the first detected temperature is positively related to the aggregation degree of the first detected temperature among the detected temperatures of all temperature sensors.
  • All the temperature sensors here refer to all the temperature sensors in the temperature sensor array.
  • the degree of aggregation here can be expressed by the number of detected temperatures within a set range of the difference from the first detected temperature, or by the number of detected temperatures within a temperature range where the first detected temperature is located.
  • obtaining the weight of the first detected temperature of each second temperature sensor includes: obtaining the weight of each normal working temperature sensor in the temperature sensor array The detection temperature of the temperature sensor; determine the first temperature division where the detection temperature of each normal working temperature sensor is located in the first preset temperature division; obtain the quantity of the detection temperature of the normal working temperature sensor in each first temperature division ; Determine the weight of each first temperature zone according to the number of detected temperatures of the temperature sensor in normal operation; determine the weight of each first detected temperature according to the weight of the first temperature zone where each first detected temperature is located.
  • the normal working temperature sensor here includes the aforementioned second temperature sensor; the detected temperature of the normal working temperature sensor here includes the first detected temperature of the aforementioned second temperature sensor.
  • the first preset temperature zone is a pre-divided temperature zone.
  • [5°C, 10°C) is one temperature zone
  • [10°C, 15°C) is the second temperature zone
  • [15°C, 20°C) is the third temperature zone
  • [20°C, 25°C) is the second temperature zone.
  • Four temperature zones, [25°C, 30°C) is the fifth temperature zone; or, every temperature span of 3°C is a temperature zone, or every temperature span of 2°C is a temperature zone, etc.
  • the preset temperature zone in this embodiment is only an example to illustrate the meaning of the temperature zone, and does not constitute a specific limitation on the preset temperature zone. Those skilled in the art can determine a suitable first preset temperature zone according to the actual situation.
  • the first temperature zone where the detected temperature of 18°C is located is [15°C, 20°C).
  • the more the number of temperatures detected by the temperature sensors that work normally the greater the weight of the first temperature zone.
  • the corresponding relationship between the number of detected temperatures of the temperature sensors that work normally in the first temperature zone and the weight of the first temperature zone can be pre-stored in the database.
  • the database can be queried
  • the weight of the first temperature zone can be obtained by the number of detected temperatures of the temperature sensors working normally in the first temperature zone.
  • the number of detected temperatures of temperature sensors that work normally in one first temperature zone may also be used as the weight of the one first temperature zone.
  • the indoor sensor array detects the temperature in a plane, and the indoor temperature is the temperature in a three-dimensional space. The more the number of detected temperatures that work normally in a first temperature zone, it means that there are more spaces in the indoor space in this one.
  • the weight of the first temperature zone can represent the amount of indoor space in the first temperature zone. The greater the weight of a first temperature zone, the greater the weight of the first temperature zone The more indoor space in the zone, the smaller the weight of a first temperature zone, and the less indoor space in the first temperature zone. The weight of the first detected temperature determined according to this can more accurately indicate how representative the first detected temperature is to the indoor temperature.
  • the weight of the first temperature zone where a first detected temperature is located is the weight of the first detected temperature.
  • the detection temperature of a normal working temperature sensor is 18°C, which belongs to the first temperature zone [15°C, 20°C), then the weight of the first detection temperature of 18°C is the first temperature zone [15°C, 20°C )the weight of.
  • the product of each first detection temperature and its corresponding weight can be obtained, and then use the sum of multiple products to divide by the sum of the weights of all first detection temperatures, that is A first weighted average may be obtained.
  • obtaining the first weighted average of the multiple first detected temperatures may include: performing normalization processing on the weights of the multiple first detected temperatures; determining the weights of the multiple first detected temperatures according to the normalized weights First weighted average. That is, by calculating the product of each first detected temperature and its corresponding weight after normalization processing, and then obtaining the sum of all products, the first weighted average temperature value can be obtained. It can be seen that after the normalization processing, the first weighted average value of the multiple first detected temperatures and the first weighted sum of the multiple first detected temperatures belong to the same data. The first weighted sum of the first detected temperatures, and then determining the alternative detected temperature of the first temperature sensor according to the first weighted sum also belong to the coverage of the embodiments of the present disclosure.
  • the first weighted average of the multiple first detected temperatures can be obtained.
  • determining the alternative detection temperature of the first temperature sensor according to the first weighted average includes: using the first weighted average as the alternative detection temperature of the first temperature sensor.
  • determining the alternative detection temperature of the first temperature sensor according to the first weighted average includes: obtaining the first product or the first sum of the first weighted average and the first preset coefficient, and determining the first product or the first sum and for the alternative detection temperature.
  • the first preset coefficient can be less than 1, and the first product of the first weighted average value and the first preset coefficient can be obtained to determine the first The product is the alternative detection temperature; or, the first preset coefficient can be less than zero, the first sum of the first weighted average and the first preset coefficient is obtained, and the first sum is determined to be the alternative detection temperature, which can improve the performance of the air conditioner Heating effect, reducing the time for the indoor temperature to reach the set temperature.
  • the first preset coefficient can be greater than 1, and the first product of the first weighted average value and the first preset coefficient is obtained, and the first product is determined as an alternative detection temperature; or, the first preset coefficient may be greater than zero, obtain the first sum of the first weighted average value and the first preset coefficient, and determine the first sum as an alternative detection temperature, which can improve the cooling effect of the air conditioner, Reduce the time for the room temperature to reach the set temperature.
  • determining the indoor temperature according to the detection temperature of the alternative detection temperature and the temperature sensor normally operating in the temperature sensor array including: obtaining the average value of the detection temperature of the alternative detection temperature and the temperature sensor normally operating in the temperature sensor array, and determining the average value is the room temperature.
  • a first weighted average value of the first detection temperatures of the second temperature sensors around the faulty first temperature sensor is used to determine the replacement detection temperature of the first temperature sensor, wherein the first temperature sensor
  • the weight of a detected temperature is positively correlated with the degree of aggregation of the first detected temperature among the detected temperatures of all temperature sensors, that is, the higher the degree of aggregation of the first detected temperature among the detected temperatures of all temperature sensors, the higher the degree of aggregation of the first detected temperature is for the first temperature sensor and the temperature in the interval where the second temperature sensor is located, the more representative the first detected temperature is, the greater the weight of the first detected temperature is at this time, and the first weighted average calculated by the weight determined in this way is more representative of the first temperature sensor and the temperature in the interval where the second temperature sensor is located, using such a first weighted average value as the replacement detection temperature of the faulty first temperature sensor, the indoor temperature can be determined more accurately.
  • the method for determining the indoor temperature is provided based on the average value of the detection temperature (including the detection temperature of the alternative detection temperature and the normal operation temperature sensor) of each temperature sensor (including the temperature sensor of failure and the temperature sensor of normal operation). solution, further, in order to determine a more accurate indoor temperature, another solution can also be used to determine the indoor temperature.
  • Fig. 3 is a schematic diagram of a process of determining an indoor temperature provided by an embodiment of the present disclosure. As shown in Figure 3, the indoor temperature is determined according to the detection temperature of the alternative detection temperature and the normal working temperature sensor in the temperature sensor array, including:
  • the second preset temperature zone is a pre-divided temperature zone.
  • [5°C, 10°C) is one temperature zone
  • [10°C, 15°C) is the second temperature zone
  • [15°C, 20°C) is the third temperature zone
  • [20°C, 25°C) is the second temperature zone.
  • Four temperature zones, [25°C, 30°C) is the fifth temperature zone; or, every temperature span of 3°C is a temperature zone, or every temperature span of 2°C is a temperature zone, etc.
  • the preset temperature zone in this embodiment is only an example to illustrate the meaning of the temperature zone, and does not constitute a specific limitation on the preset temperature zone. Those skilled in the art can determine a suitable second preset temperature zone according to the actual situation.
  • the second temperature zone where the detection temperature 18°C is located is [15°C, 20°C);
  • the second temperature zone is [15°C, 20°C).
  • the corresponding relationship between the total quantity of the detection temperature of the alternative detection temperature and the normal working temperature sensor in the second temperature division and the weight of the second temperature division can be pre-stored in the database.
  • the weight of the second temperature zone can be obtained by querying the database for the total quantity of the temperature detected instead of the detected temperature of the temperature sensor in normal operation.
  • the total number of the detected temperatures of the substitute detection temperature and the normal working temperature sensor in a second temperature division may also be used as the weight of the second temperature division.
  • the indoor sensor array detects the temperature in a plane, and the indoor temperature is the temperature in a three-dimensional space.
  • the space in the second temperature zone is in the second temperature zone.
  • the weight of a second temperature zone can represent the number of indoor spaces in the first temperature zone. The greater the weight of a second temperature zone, the greater the weight of the second temperature zone. The more indoor spaces in the one second temperature zone, the smaller the weight of one second temperature zone, and the less the indoor space in the one second temperature zone.
  • the weights of the alternative detection temperature and the weights of the detection temperature of the normal working temperature sensor determined accordingly can more accurately indicate the respective degrees of representation of the indoor temperature, thereby determining a more accurate indoor temperature.
  • the weight of the second temperature zone where the alternative detection temperature or the detection temperature of a normally operating temperature sensor is located is the weight of the alternative detection temperature or the detection temperature of the one normally operating temperature sensor. For example, if the alternative detection temperature or the detection temperature of a normal working temperature sensor is 18°C, which belongs to the second temperature zone [15°C, 20°C), then the weight of the substitute detection temperature of 18°C or the normal working temperature sensor The weight of the detection temperature 18°C is the weight of the second temperature division [15°C, 20°C).
  • the product of the substitute detection temperature and its corresponding weight can be obtained, the detection temperature of the normal working temperature sensor and its corresponding weight product can be obtained, and multiple products can be obtained and then use the sum of multiple products to divide by the sum of the weights of the alternative detection temperature and the weights of the detection temperatures of all temperature sensors that work normally to obtain the second weighted average.
  • determining the second weighted average value of the detection temperature of the detection temperature of the temperature sensor of the replacement detection temperature and the normal operation may include: The weights of the detected temperatures of the sensors are normalized; according to the normalized weights, a second weighted average of the detected temperatures of the alternative detected temperatures and the temperature sensors in normal operation is determined. That is, calculate the product of the alternative detected temperature and its corresponding normalized weight, calculate the product of the detected temperature of each normal working temperature sensor and its corresponding normalized weight, and then obtain the sum of all products, that is, Get the second weighted average.
  • the second weighted average of the detection temperature of the replacement detection temperature and the normal working temperature sensor, and the second weighted sum of the detection temperature of the replacement detection temperature and the normal operation temperature sensor belong to the same Therefore, determining the second weighted sum of the alternative detection temperature and the detection temperature of the normal operating temperature sensor according to the weight after normalization processing, and then determining the alternative detection temperature of the first temperature sensor according to the second weighted sum, also belongs to this Coverage of the disclosed embodiments.
  • the second weighted average value of the detection temperature of the replacement detection temperature and the temperature sensor in normal operation can be obtained.
  • determining the indoor temperature according to the second weighted average includes: determining that the second weighted average is the indoor temperature.
  • determining the indoor temperature according to the second weighted average may include: obtaining a second product or a second sum of the second weighted average and a second preset coefficient, and determining the second product or the second sum as the indoor temperature.
  • the second preset coefficient may be less than 1, and the second product of the second weighted average value and the second preset coefficient is obtained to determine the second The product is the alternative detection temperature; or, the second preset coefficient can be less than zero, and the second sum of the second weighted average value and the second preset coefficient is obtained, and the second sum is determined to be the alternative detection temperature, which can improve the performance of the air conditioner. Heating effect, reducing the time for the indoor temperature to reach the set temperature.
  • the second preset coefficient can be greater than 1, obtain the second product of the second weighted average value and the second preset coefficient, and determine the second product as an alternative Detecting temperature; or, the second preset coefficient can be greater than zero, obtain the second sum of the second weighted average value and the second preset coefficient, and determine the second sum as an alternative detection temperature, which can improve the cooling effect of the air conditioner, Reduce the time for the room temperature to reach the set temperature.
  • the detected temperature of the normal working temperature sensor with higher weight, or the alternative detected temperature with higher weight has a better representation of the indoor temperature, and the alternative detected temperature and the detected temperature of the normal working temperature sensor are obtained with such a weight
  • the second weighted average of which is more representative of the room temperature.
  • Fig. 4 is a partial schematic diagram of a temperature sensor array provided by an embodiment of the present disclosure, to illustrate the positional relationship between the first temperature sensor and the second temperature sensor. Combined with Figure 4:
  • temperature sensor TE5 is the first temperature sensor
  • the distance of temperature sensor TE2, TE4, TE6 and TE8 and first temperature sensor TE5 is the first distance; Temperature sensor TE1, TE3, TE7 and TE9 and first temperature sensor
  • the distance of TE5 is the second distance, and the first distance is smaller than the second distance.
  • the temperature sensors TE2, TE4, TE6 and TE8 can be used as the second temperature sensors, or the temperature sensors TE1, TE2, TE3, TE4, TE6, TE7, TE8 and TE9 can be used as the second temperature sensors.
  • the temperature sensors TE1, TE4 and TE7 are the edges of the temperature sensor array, if the temperature sensor TE4 is the first temperature sensor, the distance between the temperature sensors TE1, TE5 and TE7 and the first temperature sensor TE4 is the first distance, and the temperature The distance between the sensors TE2 and TE8 and the first temperature sensor is a second distance, and the first distance is smaller than the second distance.
  • the temperature sensors TE1, TE5 and TE7 may be used as the second temperature sensors, or the temperature sensors TE1, TE2, TE5, TE8 and TE7 may be used as the second temperature sensors.
  • the temperature sensor TE1 is the corner of the temperature sensor array
  • the distance between the temperature sensors TE2 and TE4 and the first temperature sensor TE1 is the first distance
  • the temperature sensor TE5 and the first temperature sensor The distance of the sensor is the second distance
  • the first distance is smaller than the second distance.
  • the temperature sensors TE2 and TE4 can be used as the second temperature sensors, or the temperature sensors TE2, TE5 and TE4 can be used as the second temperature sensors.
  • the device for detecting indoor temperature includes a processor and a memory storing program instructions, and the processor is configured to execute the method for detecting indoor temperature provided in the foregoing embodiments when executing the program instructions.
  • Fig. 5 is a schematic diagram of a device for detecting indoor temperature provided by an embodiment of the present disclosure. As shown in Figure 5, the device for detecting the indoor temperature includes:
  • a processor (processor) 51 and a memory (memory) 52 may also include a communication interface (Communication Interface) 53 and a bus 54. Wherein, the processor 51 , the communication interface 53 , and the memory 52 can communicate with each other through the bus 54 .
  • the communication interface 53 can be used for information transmission.
  • the processor 51 may invoke logic instructions in the memory 52 to execute the method for detecting indoor temperature provided in the foregoing embodiments.
  • logic instructions in the above-mentioned memory 52 may be implemented in the form of software function units and when sold or used as an independent product, they may be stored in a computer-readable storage medium.
  • the memory 52 can be used to store software programs and computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure.
  • the processor 51 executes functional applications and data processing by running software programs, instructions and modules stored in the memory 52, that is, implements the methods in the foregoing method embodiments.
  • the memory 52 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal device, and the like.
  • the memory 52 may include a high-speed random access memory, and may also include a non-volatile memory.
  • An embodiment of the present disclosure provides an intelligent air conditioner, including the device for detecting indoor temperature provided in the foregoing embodiments.
  • An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, and the computer-executable instructions are configured to execute the method for detecting indoor temperature provided in the foregoing embodiments.
  • An embodiment of the present disclosure provides a computer program product.
  • the computer program product includes a computer program stored on a computer-readable storage medium.
  • the computer program includes program instructions. When the program instructions are executed by a computer, the computer is made to execute the information provided in the foregoing embodiments. Method for detecting room temperature.
  • the above-mentioned computer-readable storage medium may be a transitory computer-readable storage medium, or a non-transitory computer-readable storage medium.
  • the technical solutions of the embodiments of the present disclosure can be embodied in the form of software products, which are stored in a storage medium and include one or more instructions to enable a computer device (which may be a personal computer, a server, or a network equipment, etc.) to execute all or part of the steps of the methods in the embodiments of the present disclosure.
  • the aforementioned storage medium can be a non-transitory storage medium, including: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the term “comprise” and its variants “comprises” and/or comprising (comprising) etc. refer to stated features, integers, steps, operations, elements, and/or The presence of a component does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groupings of these.
  • an element qualified by the statement “comprising a " does not preclude the presence of additional identical elements in the process, method or apparatus comprising the element.
  • each embodiment may focus on the differences from other embodiments, and reference may be made to each other for the same and similar parts of the various embodiments. For the method, product, etc. disclosed in the embodiment, if it corresponds to the method part disclosed in the embodiment, then the relevant part can refer to the description of the method part.
  • the disclosed methods and products can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of units may only be a logical function division.
  • multiple units or components may be combined or may be Integrate into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • a unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment.
  • each functional unit in the embodiments of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more executable instruction.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • Each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by dedicated hardware implemented in combination with computer instructions.

Abstract

The present application relates to the technical field of intelligent air conditioners, and discloses a method for measuring indoor temperature. The method for measuring indoor temperature comprises: obtaining first measured temperatures of a plurality of second temperature sensors adjacent to a faulty first temperature sensor; obtaining the weight of the first measured temperature of each second temperature sensor, the weight of the first measured temperature being positively correlated with the degree of measured temperature aggregation of the first measured temperatures at all of the temperature sensors; obtaining a first weighted average of the plurality of first measured temperatures; determining an alternative measured temperature of the first temperature sensor according to the first weighted average; and determining the indoor temperature according to the alternative measured temperature and a measured temperature of a normally-operating temperature sensor in a temperature sensor array. By using the method for measuring indoor temperature, the indoor temperature can be measured more accurately. The present application also discloses an apparatus for measuring indoor temperature and an intelligent air conditioner.

Description

用于检测室内温度的方法、装置和智能空调Method, device and intelligent air conditioner for detecting indoor temperature
本申请基于申请号为202110553360.4、申请日为2021年5月20日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202110553360.4 and a filing date of May 20, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本申请涉及智能空调技术领域,例如涉及一种用于检测室内温度的方法、装置和智能空调。The present application relates to the technical field of intelligent air conditioners, for example, to a method and device for detecting indoor temperature, and an intelligent air conditioner.
背景技术Background technique
目前,随着空调智能化的发展,智能空调可通过多个温度传感器获得多个室内环境温度,并根据多个室内环境温度确定室内温度,进而依据室内温度调节智能空调的运行参数,实现对室外温度的调节。At present, with the development of intelligent air conditioners, intelligent air conditioners can obtain multiple indoor ambient temperatures through multiple temperature sensors, and determine the indoor temperature according to multiple indoor ambient temperatures, and then adjust the operating parameters of the intelligent air conditioner according to the indoor temperature to realize outdoor monitoring. Temperature regulation.
在通过多个温度传感器获得多个室内环境温度,进而确定室内温度的过程中,由于温度传感器的数量比较多,导致一个或多个温度传感器出现故障的概率增加。在温度传感器出现故障时,通常的处理措施为使空调报警并停机,停止调节室内温度。为了在多个温度传感器中的一个出现故障时,仍可使智能空调继续调节室内温度,可忽略该出现故障的温度传感器,继续通过其他正常工作的温度传感器确定室内温度,使智能空调可继续工作。In the process of obtaining multiple indoor ambient temperatures through multiple temperature sensors, and then determining the indoor temperature, due to the large number of temperature sensors, the probability of failure of one or more temperature sensors increases. When the temperature sensor fails, the usual treatment measures are to make the air conditioner alarm and shut down, so as to stop adjusting the indoor temperature. In order to enable the smart air conditioner to continue to adjust the indoor temperature when one of the multiple temperature sensors fails, the failed temperature sensor can be ignored, and the indoor temperature can be determined through other normal working temperature sensors, so that the smart air conditioner can continue to work .
在实现本公开实施例的过程中,发现相关技术中至少存在如下问题:In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in related technologies:
忽略故障传感器后确定的室内温度的准确性较差。The accuracy of the room temperature determined after ignoring the faulty sensor is poor.
发明内容Contents of the invention
为了对披露的实施例的一些方面有基本的理解,下面给出了简单的概括。所述概括不是泛泛评述,也不是要确定关键/重要组成元素或描绘这些实施例的保护范围,而是作为后面的详细说明的序言。In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is presented below. The summary is not intended to be an extensive overview nor to identify key/important elements or to delineate the scope of these embodiments, but rather serves as a prelude to the detailed description that follows.
本公开实施例提供了一种用于检测室内温度的方法、装置和智能空调,以解决忽略故障传感器后确定的室内温度的准确性较差的技术问题。Embodiments of the present disclosure provide a method and device for detecting indoor temperature, and an intelligent air conditioner, so as to solve the technical problem of poor accuracy of indoor temperature determined after ignoring faulty sensors.
在一些实施例中,用于检测室内温度的方法包括:In some embodiments, a method for detecting indoor temperature includes:
在通过设置在室内的温度传感器阵列检测室内温度时,如果所述温度传感器阵列的第一温度传感器出现故障,则获得与所述第一温度传感器相邻的多个第二温度传感器的第一检测温度;其中,所述温度传感器阵列中包括多个温度传感器,所述多个温度传感器呈纵横排列;When the indoor temperature is detected by the temperature sensor array arranged indoors, if the first temperature sensor of the temperature sensor array fails, the first detection of a plurality of second temperature sensors adjacent to the first temperature sensor is obtained Temperature; wherein, the temperature sensor array includes a plurality of temperature sensors, and the plurality of temperature sensors are arranged vertically and horizontally;
获得每个所述第二温度传感器的第一检测温度的权重;其中,所述第一检测温度的权重与所述第一检测温度在全部温度传感器的检测温度的聚集程度正相关;Obtaining the weight of the first detected temperature of each of the second temperature sensors; wherein, the weight of the first detected temperature is positively correlated with the aggregation degree of the first detected temperature among the detected temperatures of all temperature sensors;
获得多个所述第一检测温度的第一加权平均值;Obtaining a first weighted average of a plurality of first detected temperatures;
根据所述第一加权平均值确定所述第一温度传感器的替代检测温度;determining a substitute detection temperature of the first temperature sensor according to the first weighted average;
根据所述替代检测温度以及所述温度传感器阵列中正常工作的温度传感器的检测温度,确定室内温度。The indoor temperature is determined according to the substitute detected temperature and the detected temperature of the normally working temperature sensor in the temperature sensor array.
可选地,获得每个所述第二温度传感器的第一检测温度的权重,包括:获得所述温度传感器阵列中每个正常工作的温度传感器的检测温度;在第一预设温度分区中确定每个所述正常工作的温度传感器的检测温度所在的第一温度分区;获得每个所述第一温度分区中所述正常工作的温度传感器的检测温度的数量;根据所述正常工作的温度传感器的检测温度的数量确定每个所述第一温度分区的权重;根据每个所述第一检测温度所在的第一温度分区的权重,确定每个所述第一检测温度的权重。Optionally, obtaining the weight of the first detection temperature of each second temperature sensor includes: obtaining the detection temperature of each normally working temperature sensor in the temperature sensor array; determining in the first preset temperature zone The first temperature zone in which the detection temperature of each of the normal working temperature sensors is located; obtain the number of detection temperatures of the normal working temperature sensors in each of the first temperature zones; according to the normal working temperature sensor The weight of each first temperature subregion is determined by the number of detected temperatures; and the weight of each first detected temperature is determined according to the weight of the first temperature subregion where each first detected temperature is located.
可选地,获得多个所述第一检测温度的第一加权平均值,包括:对多个所述第一检测温度的权重进行归一化处理;根据归一化处理后的权重确定多个所述第一检测温度的第一加权平均值。Optionally, obtaining the first weighted average of the multiple first detected temperatures includes: performing normalization processing on the weights of the multiple first detected temperatures; determining multiple weighted averages according to the normalized weights A first weighted average of the first detected temperature.
可选地,根据所述第一加权平均值确定所述第一温度传感器的替代检测温度,包括:将所述第一加权平均值作为所述第一温度传感器的替代检测温度;或者,获得所述第一加权平均值与第一预设系数的第一乘积或第一加和,确定所述第一乘积或第一加和为所述替代检测温度。Optionally, determining the alternative detection temperature of the first temperature sensor according to the first weighted average includes: using the first weighted average as the alternative detection temperature of the first temperature sensor; or, obtaining the A first product or a first sum of the first weighted average value and a first preset coefficient is determined as the substitute detection temperature.
可选地,根据所述替代检测温度以及所述温度传感器阵列中正常工作的温度传感器的检测温度,确定室内温度,包括:获得所述替代检测温度和所述温度传感器阵列中正常工作的温度传感器的检测温度的平均值,确定所述平均值为所述室内温度。Optionally, determining the indoor temperature according to the detection temperature of the substitute detection temperature and the temperature sensor normally working in the temperature sensor array includes: obtaining the substitute detection temperature and the temperature sensor normally working in the temperature sensor array The average value of the detected temperature is determined as the indoor temperature.
可选地,根据所述替代检测温度以及所述温度传感器阵列中正常工作的温度传感器的检测温度,确定室内温度,包括:在第二预设温度分区中,确定所述替代检测温度和所述正常工作的温度传感器的检测温度所在的第二温度分区;获得每个所述第二温度分区中所述替代检测温度和所述正常工作的温度传感器的检测温度的总数量;根据每个 所述第二温度分区中所述替代检测温度和所述正常工作的温度传感器的检测温度的总数量,确定每个所述第二温度分区的权重;根据所述替代检测温度和所述正常工作的温度传感器的检测温度所在的第二温度分区的权重,确定所述替代检测温度和所述正常工作的温度传感器的检测温度的权重;根据所述替代检测温度和所述正常工作的温度传感器的检测温度的权重,确定所述替代检测温度和所述正常工作的温度传感器的检测温度的第二加权平均值;根据所述第二加权平均值确定所述室内温度。Optionally, determining the indoor temperature according to the detection temperature of the substitution detection temperature and the detection temperature of a temperature sensor normally working in the temperature sensor array includes: determining the substitution detection temperature and the temperature detection temperature in the second preset temperature zone. The second temperature zone where the detection temperature of the temperature sensor in normal operation is located; obtain the total quantity of the detection temperature of the alternative detection temperature in each of the second temperature zones and the detection temperature of the temperature sensor in normal operation; according to each of the The weight of each second temperature zone is determined based on the total number of detection temperatures of the substitute detection temperature and the normal working temperature sensor in the second temperature zone; according to the substitute detection temperature and the normal working temperature The weight of the second temperature partition where the detected temperature of the sensor is located determines the weight of the alternative detected temperature and the detected temperature of the normally operating temperature sensor; according to the alternative detected temperature and the detected temperature of the normally operating temperature sensor Determine the second weighted average value of the substitute detection temperature and the detection temperature of the normal working temperature sensor; determine the indoor temperature according to the second weighted average value.
可选地,根据所述替代检测温度和所述正常工作的温度传感器的检测温度的权重,确定所述替代检测温度和所述正常工作的温度传感器的检测温度的第二加权平均值,包括:对所述替代检测温度和所述正常工作的温度传感器的检测温度的权重进行归一化处理;根据归一化处理后的权重确定所述替代检测温度和所述正常工作的温度传感器的检测温度的第二加权平均值。Optionally, determining a second weighted average of the substitute detection temperature and the detection temperature of the normally operating temperature sensor according to the weights of the substitute detection temperature and the detection temperature of the normally operating temperature sensor includes: Perform normalization processing on the weights of the substitution detection temperature and the detection temperature of the normal operating temperature sensor; determine the substitution detection temperature and the detection temperature of the normal operation temperature sensor according to the normalized weight The second weighted average of .
可选地,根据所述第二加权平均值确定所述室内温度,包括:确定所述第二加权平均值为所述室内温度;或者,获得所述第二加权平均值与第二预设系数的第二乘积或第二加和,确定所述第二乘积或第二加和为所述室内温度。Optionally, determining the indoor temperature according to the second weighted average includes: determining the second weighted average as the indoor temperature; or obtaining the second weighted average and a second preset coefficient The second product or the second sum is determined as the indoor temperature.
在一些实施例中,用于检测室内温度的装置,包括处理器和存储有程序指令的存储器,所述处理器被配置为在执行所述程序指令时,执行前述实施例提供的用户检测室内温度的方法。In some embodiments, the device for detecting indoor temperature includes a processor and a memory storing program instructions, and the processor is configured to execute the user detection indoor temperature provided by the foregoing embodiments when executing the program instructions. Methods.
在一些实施例中,智能空调包括前述实施例提供的用于检测室内温度的装置。In some embodiments, the smart air conditioner includes the device for detecting indoor temperature provided in the foregoing embodiments.
本公开实施例提供的用于检测室内温度的方法、装置和智能空调,可以实现以下技术效果:The method, device, and smart air conditioner for detecting indoor temperature provided by the embodiments of the present disclosure can achieve the following technical effects:
在通过温度传感器阵列检测室内温度的过程中,通过故障的第一温度传感器周围的第二温度传感器的第一检测温度的第一加权平均值,确定第一温度传感器的替代检测温度,其中,第一检测温度的权重与第一检测温度在全部温度传感器的检测温度中的聚集程度正相关,即,第一检测温度在全部温度传感器的检测温度中的聚集程度越高,则对于第一温度传感器和第二温度传感器所在区间的温度,第一检测温度越具有代表性,此时第一检测温度的权重越大,通过这样确定的权重计算的第一加权平均值,越能代表第一温度传感器和第二温度传感器所在区间的温度,以这样的第一加权平均值作为故障的第一温度传感器的替代检测温度,可更加准确地确定出室内温度。In the process of detecting the indoor temperature by the temperature sensor array, a first weighted average value of the first detection temperatures of the second temperature sensors around the faulty first temperature sensor is used to determine the replacement detection temperature of the first temperature sensor, wherein the first temperature sensor The weight of a detected temperature is positively correlated with the degree of aggregation of the first detected temperature among the detected temperatures of all temperature sensors, that is, the higher the degree of aggregation of the first detected temperature among the detected temperatures of all temperature sensors, the higher the degree of aggregation of the first detected temperature is for the first temperature sensor and the temperature in the interval where the second temperature sensor is located, the more representative the first detected temperature is, the greater the weight of the first detected temperature is at this time, and the first weighted average calculated by the weight determined in this way is more representative of the first temperature sensor and the temperature in the interval where the second temperature sensor is located, using such a first weighted average value as the replacement detection temperature of the faulty first temperature sensor, the indoor temperature can be determined more accurately.
以上的总体描述和下文中的描述仅是示例性和解释性的,不用于限制本申请。The foregoing general description and the following description are exemplary and explanatory only and are not intended to limit the application.
附图说明Description of drawings
一个或一个以上实施例通过与之对应的附图进行示例性说明,这些示例性说明和附图并不构成对实施例的限定,附图中具有相同参考数字标号的元件视为类似的元件,并且其中:One or more embodiments are exemplified by corresponding drawings, and these exemplifications and drawings do not constitute limitations to the embodiments, and elements with the same reference numerals in the drawings are regarded as similar elements, and where:
图1是本公开实施例提供的一种用于检测室内温度的实施环境的示意图;FIG. 1 is a schematic diagram of an implementation environment for detecting indoor temperature provided by an embodiment of the present disclosure;
图2是本公开实施例提供的一种用于检测室内温度的方法的示意图;Fig. 2 is a schematic diagram of a method for detecting indoor temperature provided by an embodiment of the present disclosure;
图3是本公开实施例提供的一种确定室内温度的过程的示意图;Fig. 3 is a schematic diagram of a process of determining indoor temperature provided by an embodiment of the present disclosure;
图4是本公开实施例提供的一种温度传感器阵列的局部示意图;Fig. 4 is a partial schematic diagram of a temperature sensor array provided by an embodiment of the present disclosure;
图5是本公开实施例提供的一种用于检测室内温度的装置的示意图。Fig. 5 is a schematic diagram of a device for detecting indoor temperature provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开实施例。在以下的技术描述中,为方便解释起见,通过多个细节以提供对所披露实施例的充分理解。然而,在没有这些细节的情况下,一个或一个以上实施例仍然可以实施。在其它情况下,为简化附图,熟知的结构和装置可以简化展示。In order to understand the characteristics and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the embodiments of the present disclosure. In the following technical description, 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 simplified in order to simplify the drawings.
本公开实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开实施例的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。The terms "first", "second" and the like in the description and claims of the embodiments of the present disclosure and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It should be understood that the data so used may be interchanged under appropriate circumstances so as to facilitate the embodiments of the disclosed embodiments described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion.
除非另有说明,术语“多个”表示两个或两个以上。Unless stated otherwise, the term "plurality" means two or more.
本公开实施例中,字符“/”表示前后对象是一种“或”的关系。例如,A/B表示:A或B。In the embodiments of the present disclosure, the character "/" indicates that the preceding and following objects are an "or" relationship. For example, A/B means: A or B.
术语“和/或”是一种描述对象的关联关系,表示可以存在三种关系。例如,A和/或B,表示:A或B,或,A和B这三种关系。The term "and/or" is an associative relationship describing objects, indicating that there can be three relationships. For example, A and/or B means: A or B, or, A and B, these three relationships.
图1是本公开实施例提供的一种用于检测室内温度的实施环境的示意图。结合图1所示,该实施环境为一房间内部,温度传感器阵列中包括多个温度传感器11,多个温度传感器11纵横排列,温度传感器阵列可覆盖室内的一侧墙体12,也可覆盖室内的部分墙体(图1中未示出),相邻温度传感器11之间的距离越大,则温度传感器阵列检测到室内温度分布的精度越低,但越容易布置、应用;相邻温度传感器11之间的距离 越小,则温度传感器阵列检测到室内温度分布的精度越高,但越难布置应用,本领域技术人员可根据精度要求以及布置、使用难度的要求,适当调整相邻温度传感器之间的距离。Fig. 1 is a schematic diagram of an implementation environment for detecting indoor temperature provided by an embodiment of the present disclosure. As shown in FIG. 1 , the implementation environment is inside a room. The temperature sensor array includes a plurality of temperature sensors 11 arranged vertically and horizontally. The temperature sensor array can cover one side wall 12 of the room, or can cover the room. Part of the wall (not shown in Figure 1), the larger the distance between adjacent temperature sensors 11, the lower the accuracy of the temperature sensor array detecting the indoor temperature distribution, but the easier to arrange and apply; adjacent temperature sensors The smaller the distance between 11, the higher the accuracy of the temperature sensor array in detecting the indoor temperature distribution, but the more difficult it is to arrange the application. Those skilled in the art can appropriately adjust the adjacent temperature sensors according to the requirements of accuracy requirements, layout and difficulty of use. the distance between.
在每个温度传感器11检测到温度后,可在温度传感器阵列中对每个温度传感器11检测的温度进行处理,可将每个温度传感器11检测温度传输至智能空调,由智能空调对每个温度传感器11检测的温度进行处理,还可将每个温度传感器11检测的温度传输至家庭云平台,由家庭云平台对每个温度传感器11检测到的温度进行处理,最终获得一个室内温度,或者,最终获得室内温度分布图,之后依据该一个室内温度,或者,室内温度分布图,对设置在室内的智能空调进行控制。After each temperature sensor 11 detects the temperature, the temperature detected by each temperature sensor 11 can be processed in the temperature sensor array, and the temperature detected by each temperature sensor 11 can be transmitted to the intelligent air conditioner. The temperature detected by the sensor 11 is processed, and the temperature detected by each temperature sensor 11 can also be transmitted to the family cloud platform, and the temperature detected by each temperature sensor 11 is processed by the family cloud platform to finally obtain an indoor temperature, or, Finally, the indoor temperature distribution map is obtained, and then the intelligent air conditioner installed indoors is controlled according to the indoor temperature, or the indoor temperature distribution map.
智能空调可设置在区域A1处,还可设置在区域A2处。The smart air conditioner can be installed in the area A1, and can also be installed in the area A2.
图2是本公开实施例提供的一种用于检测室内温度的方法的示意图。该用于检测室内温度的方法可由温度传感器阵列执行,可由智能空调或智能家居系统的控制终端执行,也可由家庭云平台执行,还可由智能空调执行。Fig. 2 is a schematic diagram of a method for detecting indoor temperature provided by an embodiment of the present disclosure. The method for detecting indoor temperature may be performed by a temperature sensor array, may be performed by a smart air conditioner or a control terminal of a smart home system, may also be performed by a home cloud platform, and may also be performed by a smart air conditioner.
结合图2所示,用于检测室内温度的方法包括:As shown in Figure 2, the methods for detecting the indoor temperature include:
S201、在通过设置在室内的温度传感器阵列检测室内温度时,如果温度传感器阵列的第一温度传感器出现故障,则获得与第一温度传感器相邻的多个第二温度传感器的第一检测温度。S201. When detecting indoor temperature through a temperature sensor array installed indoors, if a first temperature sensor of the temperature sensor array fails, obtain first detected temperatures of a plurality of second temperature sensors adjacent to the first temperature sensor.
其中,温度传感器阵列中包括多个温度传感器,多个温度传感器呈纵横排列。Wherein, the temperature sensor array includes a plurality of temperature sensors, and the plurality of temperature sensors are arranged vertically and horizontally.
如果第一温度传感器在温度传感器阵列的非边缘处,则有8个温度传感器与第一温度传感器相邻,其中,4个温度传感器与第一温度传感器的距离为第一距离,另外4个温度传感器与第一温度传感器的距离为第二距离,且第一距离小于第二距离。这种场景下,获得8个第二温度传感器的第一检测温度;或者,获得距离第一温度传感器为第一距离的4个第二温度传感器的第一检测温度。If the first temperature sensor is at the non-edge of the temperature sensor array, then there are 8 temperature sensors adjacent to the first temperature sensor, wherein the distance between 4 temperature sensors and the first temperature sensor is the first distance, and the other 4 temperature sensors The distance between the sensor 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 eight second temperature sensors are obtained; or, the first detected temperatures of four second temperature sensors at a first distance from the first temperature sensors are obtained.
如果第一温度传感器在温度传感器阵列的边缘且非角落处,则有5个温度传感器与第一温度传感器相邻,其中,3个温度传感器与第一温度传感器的距离为第一距离,另外2个温度传感器与第一温度传感器的距离为第二距离,其中,第一距离小于第二距离。这种场景下,获得该5个第二温度传感器的第一检测温度;或者,获得距离第一温度传感器为第一距离的3个第二温度传感器的第一检测温度。If the first temperature sensor is at the edge of the temperature sensor array and not at the corner, then there are 5 temperature sensors adjacent to the first temperature sensor, wherein the distance between 3 temperature sensors and the first temperature sensor is the first distance, and the other 2 The distance between each temperature sensor and the first temperature sensor is a second distance, wherein the first distance is smaller than the second distance. In this scenario, the first detected temperatures of the five second temperature sensors are obtained; or, the first detected temperatures of the three second temperature sensors at a first distance from the first temperature sensors are obtained.
如果第一温度传感器在温度传感器阵列的角落处,则有3个温度传感器与第一温度传感器相邻,其中,2个温度传感器与第一温度传感器的距离为第一距离,另外1个 温度传感器与第一温度传感器的距离为第二距离,其中,第一距离小于第二距离。这种场景下,获得5个第二温度传感器的第一检测温度;或者,获得距离第一温度传感器为第一距离的2个第二温度传感器的第一检测温度。If the first temperature sensor is at the corner of the temperature sensor array, then there are 3 temperature sensors adjacent to the first temperature sensor, wherein the distance between 2 temperature sensors and the first temperature sensor is the first distance, and the other 1 temperature sensor The distance from the first temperature sensor is a second distance, wherein the first distance is smaller than the second distance. In this scenario, the first detected temperatures of five second temperature sensors are obtained; or, the first detected temperatures of two second temperature sensors at a first distance from the first temperature sensor are obtained.
S202、获得每个第二温度传感器的第一检测温度的权重。S202. Obtain the weight of the first detected temperature of each second temperature sensor.
其中,第一检测温度的权重与第一检测温度在全部温度传感器的检测温度的聚集程度正相关。Wherein, the weight of the first detected temperature is positively related to the aggregation degree of the first detected temperature among the detected temperatures of all temperature sensors.
这里的全部温度传感器指的是温度传感器阵列中的全部温度传感器。All the temperature sensors here refer to all the temperature sensors in the temperature sensor array.
这里的聚集程度可用与第一检测温度的差值在设定范围以内检测温度的数量来表示,还可用第一检测温度所在一温度区间内检测温度的数量来表示。The degree of aggregation here can be expressed by the number of detected temperatures within a set range of the difference from the first detected temperature, or by the number of detected temperatures within a temperature range where the first detected temperature is located.
在用第一检测温度所在一温度区间内检测温度的数量来表示聚集程度的情况下,获得每个第二温度传感器的第一检测温度的权重,包括:获得温度传感器阵列中每个正常工作的温度传感器的检测温度;在第一预设温度分区中确定每个正常工作的温度传感器的检测温度所在的第一温度分区;获得每个第一温度分区中正常工作的温度传感器的检测温度的数量;根据正常工作的温度传感器的检测温度的数量确定每个第一温度分区的权重;根据每个第一检测温度所在的第一温度分区的权重,确定每个第一检测温度的权重。In the case of using the number of detected temperatures within a temperature range where the first detected temperature is located to represent the degree of aggregation, obtaining the weight of the first detected temperature of each second temperature sensor includes: obtaining the weight of each normal working temperature sensor in the temperature sensor array The detection temperature of the temperature sensor; determine the first temperature division where the detection temperature of each normal working temperature sensor is located in the first preset temperature division; obtain the quantity of the detection temperature of the normal working temperature sensor in each first temperature division ; Determine the weight of each first temperature zone according to the number of detected temperatures of the temperature sensor in normal operation; determine the weight of each first detected temperature according to the weight of the first temperature zone where each first detected temperature is located.
这里正常工作的温度传感器,包括前述第二温度传感器;这里的正常工作的温度传感器的检测温度,包括前述第二温度传感器的第一检测温度。The normal working temperature sensor here includes the aforementioned second temperature sensor; the detected temperature of the normal working temperature sensor here includes the first detected temperature of the aforementioned second temperature sensor.
第一预设温度分区是预先划分的温度分区。例如[5℃,10℃)为一个温度分区,[10℃,15℃)为第二个温度分区,[15℃,20℃)为第三个温度分区,[20℃,25℃)为第四个温度分区,[25℃,30℃)为第五个温度分区;或者,每个3℃的温度跨度为一个温度分区,或者,每2℃的温度跨度为一个温度分区等。本实施例中的预设温度分区仅为示例性说明温度分区的含义,不对预设温度分区构成具体限定,本领域技术人员可根据实际情况,确定合适的第一预设温度分区。The first preset temperature zone is a pre-divided temperature zone. For example, [5°C, 10°C) is one temperature zone, [10°C, 15°C) is the second temperature zone, [15°C, 20°C) is the third temperature zone, and [20°C, 25°C) is the second temperature zone. Four temperature zones, [25°C, 30°C) is the fifth temperature zone; or, every temperature span of 3°C is a temperature zone, or every temperature span of 2°C is a temperature zone, etc. The preset temperature zone in this embodiment is only an example to illustrate the meaning of the temperature zone, and does not constitute a specific limitation on the preset temperature zone. Those skilled in the art can determine a suitable first preset temperature zone according to the actual situation.
如果一个正常工作的温度传感器检测到了18℃,则该检测温度18℃所在的第一温度分区为[15℃,20℃)。If a normally working temperature sensor detects 18°C, the first temperature zone where the detected temperature of 18°C is located is [15°C, 20°C).
一个第一温度分区中,正常工作的温度传感器的检测温度的数量越多,则该第一温度分区的权重越大。可将第一温度分区中正常工作的温度传感器的检测温度的数量与第一温度分区的权重的对应关系预先存储在数据库中,在需要获得一个第一温度分区的权重时,在数据库查询该一个第一温度分区中正常工作的温度传感器的检测温度的数 量,即可获得该一个第一温度分区的权重。In a first temperature zone, the more the number of temperatures detected by the temperature sensors that work normally, the greater the weight of the first temperature zone. The corresponding relationship between the number of detected temperatures of the temperature sensors that work normally in the first temperature zone and the weight of the first temperature zone can be pre-stored in the database. When it is necessary to obtain the weight of a first temperature zone, the database can be queried The weight of the first temperature zone can be obtained by the number of detected temperatures of the temperature sensors working normally in the first temperature zone.
另外,还可将一个第一温度分区中正常工作的温度传感器的检测温度的数量,作为该一个第一温度分区的权重。室内传感器阵列检测的是一个平面内的温度,室内温度是一个三维空间内的温度,一个第一温度分区中正常工作的检测温度的数量越多,说明室内空间中有更多的空间处于该一个第一温度分区中,在本公开实施例中,第一温度分区的权重的大小可表示处于第一温度分区的室内空间的多少,一个第一温度分区的权重越大,处于该一个第一温度分区的室内空间越多,一个第一温度分区的权重越小,处于该一个第一温度分区的室内空间越少。据此确定的第一检测温度的权重,可更准确地表明第一检测温度对室内温度的代表程度。In addition, the number of detected temperatures of temperature sensors that work normally in one first temperature zone may also be used as the weight of the one first temperature zone. The indoor sensor array detects the temperature in a plane, and the indoor temperature is the temperature in a three-dimensional space. The more the number of detected temperatures that work normally in a first temperature zone, it means that there are more spaces in the indoor space in this one. In the first temperature zone, in the embodiment of the present disclosure, the weight of the first temperature zone can represent the amount of indoor space in the first temperature zone. The greater the weight of a first temperature zone, the greater the weight of the first temperature zone The more indoor space in the zone, the smaller the weight of a first temperature zone, and the less indoor space in the first temperature zone. The weight of the first detected temperature determined according to this can more accurately indicate how representative the first detected temperature is to the indoor temperature.
一个第一检测温度所在第一温度分区的权重,即为该一个第一检测温度的权重。例如,一个正常工作的温度传感器的检测温度为18℃,属于第一温度分区[15℃,20℃),则第一检测温度18℃的权重,即为第一温度分区[15℃,20℃)的权重。The weight of the first temperature zone where a first detected temperature is located is the weight of the first detected temperature. For example, the detection temperature of a normal working temperature sensor is 18°C, which belongs to the first temperature zone [15°C, 20°C), then the weight of the first detection temperature of 18°C is the first temperature zone [15°C, 20°C )the weight of.
S203、获得多个第一检测温度的第一加权平均值。S203. Obtain a first weighted average of multiple first detected temperatures.
在获得每个第一检测温度的权重后,即可获得每个第一检测温度及其对应的权重的乘积,再利用多个乘积的和,除以全部第一检测温度的权重之和,即可获得第一加权平均值。After obtaining the weight of each first detection temperature, the product of each first detection temperature and its corresponding weight can be obtained, and then use the sum of multiple products to divide by the sum of the weights of all first detection temperatures, that is A first weighted average may be obtained.
或者,获得多个第一检测温度的第一加权平均值,可包括:对多个第一检测温度的权重进行归一化处理;根据归一化处理后的权重确定多个第一检测温度的第一加权平均值。即,计算每个第一检测温度与其对应的归一化处理后在权重的乘积,再获得全部乘积之和,即可获得第一加权平均温度值。可见,在归一化处理后,多个第一检测温度的第一加权平均值与多个第一检测温度的第一加权和属于相同的数据,故,根据归一化处理后的权重确定多个第一检测温度的第一加权和,再依据第一加权和确定第一温度传感器的替代检测温度,也属于本公开实施例的覆盖范围。Alternatively, obtaining the first weighted average of the multiple first detected temperatures may include: performing normalization processing on the weights of the multiple first detected temperatures; determining the weights of the multiple first detected temperatures according to the normalized weights First weighted average. That is, by calculating the product of each first detected temperature and its corresponding weight after normalization processing, and then obtaining the sum of all products, the first weighted average temperature value can be obtained. It can be seen that after the normalization processing, the first weighted average value of the multiple first detected temperatures and the first weighted sum of the multiple first detected temperatures belong to the same data. The first weighted sum of the first detected temperatures, and then determining the alternative detected temperature of the first temperature sensor according to the first weighted sum also belong to the coverage of the embodiments of the present disclosure.
通过上述方案,即可获得多个第一检测温度的第一加权平均值。Through the above solution, the first weighted average of the multiple first detected temperatures can be obtained.
S204、根据第一加权平均值确定第一温度传感器的替代检测温度。S204. Determine an alternative detection temperature of the first temperature sensor according to the first weighted average value.
可选地,根据第一加权平均值确定第一温度传感器的替代检测温度,包括:将第一加权平均值作为第一温度传感器的替代检测温度。Optionally, determining the alternative detection temperature of the first temperature sensor according to the first weighted average includes: using the first weighted average as the alternative detection temperature of the first temperature sensor.
或者,根据第一加权平均值确定第一温度传感器的替代检测温度,包括:获得第一加权平均值与第一预设系数的第一乘积或第一加和,确定第一乘积或第一加和为替代检测温度。Alternatively, determining the alternative detection temperature of the first temperature sensor according to the first weighted average includes: obtaining the first product or the first sum of the first weighted average and the first preset coefficient, and determining the first product or the first sum and for the alternative detection temperature.
例如,在空调的制热过程中,如果室内温度低于空调的设定温度,第一预设系数可小于1,获得第一加权平均值与第一预设系数的第一乘积,确定第一乘积为替代检测温度;或者,第一预设系数可小于零,获得第一加权平均值与第一预设系数的第一加和,确定第一加和为替代检测温度,这样可提高空调的制热效果,减少室内温度达到设定温度的时间。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 can be less than 1, and the first product of the first weighted average value and the first preset coefficient can be obtained to determine the first The product is the alternative detection temperature; or, the first preset coefficient can be less than zero, the first sum of the first weighted average and the first preset coefficient is obtained, and the first sum is determined to be the alternative detection temperature, which can improve the performance of the air conditioner Heating effect, reducing the time for the indoor temperature to reach the set temperature.
在空调的制冷过程中,如果室内温度高于空调的设定温度,第一预设系数可大于1,获得第一加权平均值与第一预设系数的第一乘积,确定第一乘积为替代检测温度;或者,第一预设系数可大于零,获得第一加权平均值与第一预设系数的第一加和,确定第一加和为替代检测温度,这样可提高空调的制冷效果,减少室内温度达到设定温度的时间。During the cooling 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 greater than 1, and the first product of the first weighted average value and the first preset coefficient is obtained, and the first product is determined as an alternative detection temperature; or, the first preset coefficient may be greater than zero, obtain the first sum of the first weighted average value and the first preset coefficient, and determine the first sum as an alternative detection temperature, which can improve the cooling effect of the air conditioner, Reduce the time for the room temperature to reach the set temperature.
S205、根据替代检测温度以及温度传感器阵列中正常工作的温度传感器的检测温度,确定室内温度。S205. Determine the indoor temperature according to the detected temperature of the substitute detected temperature and the detected temperature of the normally working temperature sensor in the temperature sensor array.
例如,根据替代检测温度以及温度传感器阵列中正常工作的温度传感器的检测温度,确定室内温度,包括:获得替代检测温度和温度传感器阵列中正常工作的温度传感器的检测温度的平均值,确定平均值为室内温度。For example, determining the indoor temperature according to the detection temperature of the alternative detection temperature and the temperature sensor normally operating in the temperature sensor array, including: obtaining the average value of the detection temperature of the alternative detection temperature and the temperature sensor normally operating in the temperature sensor array, and determining the average value is the room temperature.
在通过温度传感器阵列检测室内温度的过程中,通过故障的第一温度传感器周围的第二温度传感器的第一检测温度的第一加权平均值,确定第一温度传感器的替代检测温度,其中,第一检测温度的权重与第一检测温度在全部温度传感器的检测温度中的聚集程度正相关,即,第一检测温度在全部温度传感器的检测温度中的聚集程度越高,则对于第一温度传感器和第二温度传感器所在区间的温度,第一检测温度越具有代表性,此时第一检测温度的权重越大,通过这样确定的权重计算的第一加权平均值,越能代表第一温度传感器和第二温度传感器所在区间的温度,以这样的第一加权平均值作为故障的第一温度传感器的替代检测温度,可更加准确地确定出室内温度。In the process of detecting the indoor temperature by the temperature sensor array, a first weighted average value of the first detection temperatures of the second temperature sensors around the faulty first temperature sensor is used to determine the replacement detection temperature of the first temperature sensor, wherein the first temperature sensor The weight of a detected temperature is positively correlated with the degree of aggregation of the first detected temperature among the detected temperatures of all temperature sensors, that is, the higher the degree of aggregation of the first detected temperature among the detected temperatures of all temperature sensors, the higher the degree of aggregation of the first detected temperature is for the first temperature sensor and the temperature in the interval where the second temperature sensor is located, the more representative the first detected temperature is, the greater the weight of the first detected temperature is at this time, and the first weighted average calculated by the weight determined in this way is more representative of the first temperature sensor and the temperature in the interval where the second temperature sensor is located, using such a first weighted average value as the replacement detection temperature of the faulty first temperature sensor, the indoor temperature can be determined more accurately.
在前述实施例中,提供了依据各温度传感器(包括故障的温度传感器和正常工作的温度传感器)的检测温度(包括替代检测温度和正常工作的温度传感器的检测温度)的平均值确定室内温度的方案,进一步地,为了确定出更加准确的室内温度,还可采用另一种方案确定室内温度。In the aforementioned embodiments, the method for determining the indoor temperature is provided based on the average value of the detection temperature (including the detection temperature of the alternative detection temperature and the normal operation temperature sensor) of each temperature sensor (including the temperature sensor of failure and the temperature sensor of normal operation). solution, further, in order to determine a more accurate indoor temperature, another solution can also be used to determine the indoor temperature.
图3是本公开实施例提供的一种确定室内温度的过程的示意图。结合图3所示,根据替代检测温度以及温度传感器阵列中正常工作的温度传感器的检测温度,确定室内温度,包括:Fig. 3 is a schematic diagram of a process of determining an indoor temperature provided by an embodiment of the present disclosure. As shown in Figure 3, the indoor temperature is determined according to the detection temperature of the alternative detection temperature and the normal working temperature sensor in the temperature sensor array, including:
S301、在第二预设温度分区中,确定替代检测温度和正常工作的温度传感器的检 测温度所在的第二温度分区。S301. In the second preset temperature zone, determine the second temperature zone where the detection temperature of the substitute detection temperature and the temperature sensor in normal operation are located.
第二预设温度分区是预先划分的温度分区。例如[5℃,10℃)为一个温度分区,[10℃,15℃)为第二个温度分区,[15℃,20℃)为第三个温度分区,[20℃,25℃)为第四个温度分区,[25℃,30℃)为第五个温度分区;或者,每个3℃的温度跨度为一个温度分区,或者,每2℃的温度跨度为一个温度分区等。本实施例中的预设温度分区仅为示例性说明温度分区的含义,不对预设温度分区构成具体限定,本领域技术人员可根据实际情况,确定合适的第二预设温度分区。The second preset temperature zone is a pre-divided temperature zone. For example, [5°C, 10°C) is one temperature zone, [10°C, 15°C) is the second temperature zone, [15°C, 20°C) is the third temperature zone, and [20°C, 25°C) is the second temperature zone. Four temperature zones, [25°C, 30°C) is the fifth temperature zone; or, every temperature span of 3°C is a temperature zone, or every temperature span of 2°C is a temperature zone, etc. The preset temperature zone in this embodiment is only an example to illustrate the meaning of the temperature zone, and does not constitute a specific limitation on the preset temperature zone. Those skilled in the art can determine a suitable second preset temperature zone according to the actual situation.
如果一个正常工作的温度传感器检测到了18℃,则该检测温度18℃所在的第二温度分区为[15℃,20℃);如果替代检测温度为18℃,则该替代检测温度18℃所在的第二温度分区为[15℃,20℃)。If a normal working temperature sensor detects 18°C, then the second temperature zone where the detection temperature 18°C is located is [15°C, 20°C); The second temperature zone is [15°C, 20°C).
S302、获得每个第二温度分区中替代检测温度和正常工作的温度传感器的检测温度的总数量。S302. Obtain the total quantity of the detection temperature of the substitute detection temperature and the normal working temperature sensor in each second temperature zone.
S303、根据每个第二温度分区中替代检测温度和正常工作的温度传感器的检测温度的总数量,确定每个第二温度分区的权重。S303. Determine the weight of each second temperature zone according to the total quantity of the substitute detection temperature and the detection temperature of the normal working temperature sensor in each second temperature zone.
一个第二温度分区中,替代检测温度和正常工作的温度传感器的检测温度的总数量越多,则该第二温度分区的权重越大。可将第二温度分区中替代检测温度和正常工作的温度传感器的检测温度的总数量与第二温度分区的权重的对应关系预先存储在数据库中,在需要获得一个第二温度分区的权重时,在数据库查询该以第二温度分区中替代检测温度和正常工作的温度传感器的检测温度的总数量,即可获得该一个第二温度分区的权重。In a second temperature zone, the more the total number of detected temperatures of the substitute detection temperature and the normal working temperature sensor is, the greater the weight of the second temperature zone is. The corresponding relationship between the total quantity of the detection temperature of the alternative detection temperature and the normal working temperature sensor in the second temperature division and the weight of the second temperature division can be pre-stored in the database. When it is necessary to obtain the weight of a second temperature division, The weight of the second temperature zone can be obtained by querying the database for the total quantity of the temperature detected instead of the detected temperature of the temperature sensor in normal operation.
另外,还可将一个第二温度分区中替代检测温度和正常工作的温度传感器的检测温度的总数量,作为该一个第二温度分区的权重。In addition, the total number of the detected temperatures of the substitute detection temperature and the normal working temperature sensor in a second temperature division may also be used as the weight of the second temperature division.
室内传感器阵列检测的是一个平面内的温度,室内温度是一个三维空间内的温度,一个第二温度分区中替代检测温度和正常工作的检测温度的总数量越多,说明室内空间中有更多的空间处于该一个第二温度分区中,在本公开实施例中,一个第二温度分区的权重的大小可表示处于第一温度分区的室内空间的多少,一个第二温度分区的权重越大,处于该一个第二温度分区的室内空间越多,一个第二温度分区的权重越小,处于该一个第二温度分区的室内空间越少。据此确定的替代检测温度的权重,和正常工作的温度传感器的检测温度的权重,可更准确地表明表示出各自对室内温度的代表程度,进而确定出更加准确的室内温度。The indoor sensor array detects the temperature in a plane, and the indoor temperature is the temperature in a three-dimensional space. The more the total number of alternative detection temperatures and normal working detection temperatures in a second temperature zone, it means that there are more in the indoor space. The space in the second temperature zone is in the second temperature zone. In the embodiment of the present disclosure, the weight of a second temperature zone can represent the number of indoor spaces in the first temperature zone. The greater the weight of a second temperature zone, the greater the weight of the second temperature zone. The more indoor spaces in the one second temperature zone, the smaller the weight of one second temperature zone, and the less the indoor space in the one second temperature zone. The weights of the alternative detection temperature and the weights of the detection temperature of the normal working temperature sensor determined accordingly can more accurately indicate the respective degrees of representation of the indoor temperature, thereby determining a more accurate indoor temperature.
S304、根据替代检测温度和正常工作的温度传感器的检测温度所在的第二温度分区的权重,确定替代检测温度和正常工作的温度传感器的检测温度的权重。S304. Determine the weights of the substitute detection temperature and the detection temperature of the normal operation temperature sensor according to the weights of the substitution detection temperature and the second temperature zone where the detection temperature of the normal operation temperature sensor is located.
替代检测温度或一个正常工作的温度传感器的检测温度所在第二温度分区的权重,即为该替代检测温度或该一个正常工作的温度传感器的检测温度的权重。例如,替代检测温度或一个正常工作的温度传感器的检测温度为18℃,属于第二温度分区[15℃,20℃),则该替代检测温度18℃的权重或该一个正常工作的温度传感器的检测温度18℃的权重,为第二温度分区[15℃,20℃)的权重。The weight of the second temperature zone where the alternative detection temperature or the detection temperature of a normally operating temperature sensor is located is the weight of the alternative detection temperature or the detection temperature of the one normally operating temperature sensor. For example, if the alternative detection temperature or the detection temperature of a normal working temperature sensor is 18°C, which belongs to the second temperature zone [15°C, 20°C), then the weight of the substitute detection temperature of 18°C or the normal working temperature sensor The weight of the detection temperature 18°C is the weight of the second temperature division [15°C, 20°C).
S305、根据替代检测温度和正常工作的温度传感器的检测温度的权重,确定替代检测温度和正常工作的温度传感器的检测温度的第二加权平均值。S305. Determine a second weighted average value of the substitute detection temperature and the detection temperature of the normally operating temperature sensor according to the weights of the substitute detection temperature and the detection temperature of the normally operating temperature sensor.
在获得替代检测温度和正常工作的温度传感器的检测温度的权重后,即可获得替代检测温度与其对应的权重的乘积,获得正常工作的温度传感器的检测温度与其对应的权重乘积,获得多个乘积的和,再利用多个乘积的和,除以替代检测温度的权重与全部正常工作的温度传感器的检测温度的权重的和,即可获得第二加权平均值。After obtaining the weight of the detection temperature of the substitute detection temperature and the normal working temperature sensor, the product of the substitute detection temperature and its corresponding weight can be obtained, the detection temperature of the normal working temperature sensor and its corresponding weight product can be obtained, and multiple products can be obtained and then use the sum of multiple products to divide by the sum of the weights of the alternative detection temperature and the weights of the detection temperatures of all temperature sensors that work normally to obtain the second weighted average.
或者,根据替代检测温度和正常工作的温度传感器的检测温度的权重,确定替代检测温度和正常工作的温度传感器的检测温度的第二加权平均值,可包括:对替代检测温度和正常工作的温度传感器的检测温度的权重进行归一化处理;根据归一化处理后的权重确定替代检测温度和正常工作的温度传感器的检测温度的第二加权平均值。即,计算替代检测温度与其对应的归一化处理后的权重的乘积,计算每个正常工作的温度传感器的检测温度与其对应的归一化处理后的乘积,再获得全部乘积的和,即可获得第二加权平均值。可见,在归一化处理后,替代检测温度和正常工作的温度传感器的检测温度的第二加权平均值,与替代检测温度和正常工作的温度传感器的检测温度的第二加权和,属于相同的数据,故,根据归一化处理后的权重确定替代检测温度和正常工作的温度传感器的检测温度的第二加权和,再依据第二加权和确定第一温度传感器的替代检测温度,也属于本公开实施例的覆盖范围。Or, according to the weight of the detection temperature of the temperature sensor of the replacement detection temperature and the normal operation, determining the second weighted average value of the detection temperature of the detection temperature of the temperature sensor of the replacement detection temperature and the normal operation may include: The weights of the detected temperatures of the sensors are normalized; according to the normalized weights, a second weighted average of the detected temperatures of the alternative detected temperatures and the temperature sensors in normal operation is determined. That is, calculate the product of the alternative detected temperature and its corresponding normalized weight, calculate the product of the detected temperature of each normal working temperature sensor and its corresponding normalized weight, and then obtain the sum of all products, that is, Get the second weighted average. It can be seen that after the normalization process, the second weighted average of the detection temperature of the replacement detection temperature and the normal working temperature sensor, and the second weighted sum of the detection temperature of the replacement detection temperature and the normal operation temperature sensor belong to the same Therefore, determining the second weighted sum of the alternative detection temperature and the detection temperature of the normal operating temperature sensor according to the weight after normalization processing, and then determining the alternative detection temperature of the first temperature sensor according to the second weighted sum, also belongs to this Coverage of the disclosed embodiments.
通过上述技术方案,即可获得替代检测温度和正常工作的温度传感器的检测温度的第二加权平均值。Through the above technical solution, the second weighted average value of the detection temperature of the replacement detection temperature and the temperature sensor in normal operation can be obtained.
S306、根据第二加权平均值确定室内温度。S306. Determine the indoor temperature according to the second weighted average value.
可选地,根据第二加权平均值确定室内温度,包括:确定第二加权平均值为室内温度。Optionally, determining the indoor temperature according to the second weighted average includes: determining that the second weighted average is the indoor temperature.
或者,根据第二加权平均值确定室内温度,可包括:获得第二加权平均值与第二 预设系数的第二乘积或第二加和,确定第二乘积或第二加和为室内温度。Or, determining the indoor temperature according to the second weighted average may include: obtaining a second product or a second sum of the second weighted average and a second preset coefficient, and determining the second product or the second sum as the indoor temperature.
例如,在空调的制热过程中,如果室内温度低于空调的设定温度,第二预设系数可小于1,获得第二加权平均值与第二预设系数的第二乘积,确定第二乘积为替代检测温度;或者,第二预设系数可小于零,获得第二加权平均值与第二预设系数的第二加和,确定第二加和为替代检测温度,这样可提高空调的制热效果,减少室内温度达到设定温度的时间。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 less than 1, and the second product of the second weighted average value and the second preset coefficient is obtained to determine the second The product is the alternative detection temperature; or, the second preset coefficient can be less than zero, and the second sum of the second weighted average value and the second preset coefficient is obtained, and the second sum is determined to be the alternative detection temperature, which can improve the performance of the air conditioner. Heating effect, reducing the time for the indoor temperature to reach the set temperature.
在空调的制冷过程中,如果室内温度高于空调的设定温度,第二预设系数可大于1,获得第二加权平均值与第二预设系数的第二乘积,确定第二乘积为替代检测温度;或者,第二预设系数可大于零,获得第二加权平均值与第二预设系数的第二加和,确定第二加和为替代检测温度,这样可提高空调的制冷效果,减少室内温度达到设定温度的时间。In the cooling 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 greater than 1, obtain the second product of the second weighted average value and the second preset coefficient, and determine the second product as an alternative Detecting temperature; or, the second preset coefficient can be greater than zero, obtain the second sum of the second weighted average value and the second preset coefficient, and determine the second sum as an alternative detection temperature, which can improve the cooling effect of the air conditioner, Reduce the time for the room temperature to reach the set temperature.
权重越高的正常工作的温度传感器的检测温度,或者,权重越高的替代检测温度,对室内温度具有更好的代表性,以这样的权重获得替代检测温度和正常工作的温度传感器的检测温度的第二加权平均值,更能代表室内温度。采用上述确定室内温度的技术方案,可确定出更加准确的室内温度。The detected temperature of the normal working temperature sensor with higher weight, or the alternative detected temperature with higher weight, has a better representation of the indoor temperature, and the alternative detected temperature and the detected temperature of the normal working temperature sensor are obtained with such a weight The second weighted average of , which is more representative of the room temperature. By adopting the above technical solution for determining the indoor temperature, a more accurate indoor temperature can be determined.
图4是本公开实施例提供的一种温度传感器阵列的局部示意图,以示例性说明第一温度传感器和第二温度传感器的位置关系。结合图4所示:Fig. 4 is a partial schematic diagram of a temperature sensor array provided by an embodiment of the present disclosure, to illustrate the positional relationship between the first temperature sensor and the second temperature sensor. Combined with Figure 4:
在温度传感器TE5为第一温度传感器的情况下,则温度传感器TE2、TE4、TE6和TE8与第一温度传感器TE5的距离为第一距离;温度传感器TE1、TE3、TE7和TE9与第一温度传感器TE5的距离为第二距离,第一距离小于第二距离。这种应用场景中,可将温度传感器TE2、TE4、TE6和TE8作为第二温度传感器,或者,将温度传感器TE1、TE2、TE3、TE4、TE6、TE7、TE8和TE9作为第二温度传感器。Under the situation that temperature sensor TE5 is the first temperature sensor, then the distance of temperature sensor TE2, TE4, TE6 and TE8 and first temperature sensor TE5 is the first distance; Temperature sensor TE1, TE3, TE7 and TE9 and first temperature sensor The distance of TE5 is the second distance, and the first distance is smaller than the second distance. In this application scenario, the temperature sensors TE2, TE4, TE6 and TE8 can be used as the second temperature sensors, or the temperature sensors TE1, TE2, TE3, TE4, TE6, TE7, TE8 and TE9 can be used as the second temperature sensors.
在温度传感器TE1、TE4和TE7为温度传感器阵列的边缘的情况下,如果温度传感器TE4为第一温度传感器,则温度传感器TE1、TE5和TE7与第一温度传感器TE4的距离为第一距离,温度传感器TE2和TE8与第一温度传感器的距离为第二距离,第一距离小于第二距离。这种应用场景中,可将温度传感器TE1、TE5和TE7作为第二温度传感器,或者,将温度传感器TE1、TE2、TE5、TE8和TE7作为第二温度传感器。In the case that the temperature sensors TE1, TE4 and TE7 are the edges of the temperature sensor array, if the temperature sensor TE4 is the first temperature sensor, the distance between the temperature sensors TE1, TE5 and TE7 and the first temperature sensor TE4 is the first distance, and the temperature The distance between the sensors TE2 and TE8 and the first temperature sensor is a second distance, and the first distance is smaller than the second distance. In this application scenario, the temperature sensors TE1, TE5 and TE7 may be used as the second temperature sensors, or the temperature sensors TE1, TE2, TE5, TE8 and TE7 may be used as the second temperature sensors.
在温度传感器TE1为温度传感器阵列的角落的情况下,如果温度传感器TE1为第一温度传感器,则温度传感器TE2和TE4与第一温度传感器TE1的距离为第一距离,温度传感器TE5与第一温度传感器的距离为第二距离,第一距离小于第二距离。这种应用场景下,可将温度传感器TE2和TE4作为第二温度传感器,或者,将温度传感器 TE2、TE5和TE4作为第二温度传感器。In the case that the temperature sensor TE1 is the corner of the temperature sensor array, if the temperature sensor TE1 is the first temperature sensor, the distance between the temperature sensors TE2 and TE4 and the first temperature sensor TE1 is the first distance, and the temperature sensor TE5 and the first temperature sensor The distance of the sensor is the second distance, and the first distance is smaller than the second distance. In this application scenario, the temperature sensors TE2 and TE4 can be used as the second temperature sensors, or the temperature sensors TE2, TE5 and TE4 can be used as the second temperature sensors.
在一些实施例中,用于检测室内温度的装置包括处理器和存储有程序指令的存储器,处理器被配置为在执行程序指令时,执行前述实施例提供的用于检测室内温度的方法。In some embodiments, the device for detecting indoor temperature includes a processor and a memory storing program instructions, and the processor is configured to execute the method for detecting indoor temperature provided in the foregoing embodiments when executing the program instructions.
图5是本公开实施例提供的一种用于检测室内温度的装置的示意图。结合图5所示,用于检测室内温度的装置包括:Fig. 5 is a schematic diagram of a device for detecting indoor temperature provided by an embodiment of the present disclosure. As shown in Figure 5, the device for detecting the indoor temperature includes:
处理器(processor)51和存储器(memory)52,还可以包括通信接口(Communication Interface)53和总线54。其中,处理器51、通信接口53、存储器52可以通过总线54完成相互间的通信。通信接口53可以用于信息传输。处理器51可以调用存储器52中的逻辑指令,以执行前述实施例提供的用于检测室内温度的方法。A processor (processor) 51 and a memory (memory) 52 may also include a communication interface (Communication Interface) 53 and a bus 54. Wherein, the processor 51 , the communication interface 53 , and the memory 52 can communicate with each other through the bus 54 . The communication interface 53 can be used for information transmission. The processor 51 may invoke logic instructions in the memory 52 to execute the method for detecting indoor temperature provided in the foregoing embodiments.
此外,上述的存储器52中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the logic instructions in the above-mentioned memory 52 may be implemented in the form of software function units and when sold or used as an independent product, they may be stored in a computer-readable storage medium.
存储器52作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器51通过运行存储在存储器52中的软件程序、指令以及模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的方法。As a computer-readable storage medium, the memory 52 can be used to store software programs and computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 51 executes functional applications and data processing by running software programs, instructions and modules stored in the memory 52, that is, implements the methods in the foregoing method embodiments.
存储器52可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器52可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 52 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal device, and the like. In addition, the memory 52 may include a high-speed random access memory, and may also include a non-volatile memory.
本公开实施例提供了一种智能空调,包含前述实施例提供的用于检测室内温度的装置。An embodiment of the present disclosure provides an intelligent air conditioner, including the device for detecting indoor temperature provided in the foregoing embodiments.
本公开实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令设置为执行前述实施例提供的用于检测室内温度的方法。An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, and the computer-executable instructions are configured to execute the method for detecting indoor temperature provided in the foregoing embodiments.
本公开实施例提供了一种计算机程序产品,计算机程序产品包括存储在计算机可读存储介质上的计算机程序,计算机程序包括程序指令,当程序指令被计算机执行时,使计算机执行前述实施例提供的用于检测室内温度的方法。An embodiment of the present disclosure provides a computer program product. The computer program product includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer is made to execute the information provided in the foregoing embodiments. Method for detecting room temperature.
上述的计算机可读存储介质可以是暂态计算机可读存储介质,也可以是非暂态计算机可读存储介质。The above-mentioned computer-readable storage medium may be a transitory computer-readable storage medium, or a non-transitory computer-readable storage medium.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或一个以上指令用以使得一台计算机设备(可以是个人 计算机,服务器,或者网络设备等)执行本公开实施例中方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机读取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solutions of the embodiments of the present disclosure can be embodied in the form of software products, which are stored in a storage medium and include one or more instructions to enable a computer device (which may be a personal computer, a server, or a network equipment, etc.) to execute all or part of the steps of the methods in the embodiments of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc. A medium that can store program code, or a transitory storage medium.
以上描述和附图充分地示出了本公开的实施例,以使本领域的技术人员能够实践它们。其他实施例可以包括结构的、逻辑的、电气的、过程的以及其他的改变。实施例仅代表可能的变化。除非明确要求,否则单独的部件和功能是可选的,并且操作的顺序可以变化。一些实施例的部分和特征可以被包括在或替换其他实施例的部分和特征。而且,本申请中使用的用词仅用于描述实施例并且不用于限制权利要求。如在实施例以及权利要求的描述中使用的,除非上下文清楚地表明,否则单数形式的“一个”(a)、“一个”(an)和“所述”(the)旨在同样包括复数形式。另外,当用于本申请中时,术语“包括”(comprise)及其变型“包括”(comprises)和/或包括(comprising)等指陈述的特征、整体、步骤、操作、元素,和/或组件的存在,但不排除一个或一个以上其它特征、整体、步骤、操作、元素、组件和/或这些的分组的存在或添加。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法或者设备中还存在另外的相同要素。本文中,每个实施例重点说明的可以是与其他实施例的不同之处,各个实施例之间相同相似部分可以互相参见。对于实施例公开的方法、产品等而言,如果其与实施例公开的方法部分相对应,那么相关之处可以参见方法部分的描述。The above description and drawings sufficiently illustrate the embodiments of the present disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, procedural, and other changes. The examples merely represent possible variations. Individual components and functions are optional unless explicitly required, and the order of operations may vary. Portions and features of some embodiments may be included in or substituted for those of other embodiments. Also, the terms used in the present application are used to describe the embodiments only and are not used to limit the claims. As used in the examples and description of the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well unless the context clearly indicates otherwise . Additionally, when used in this application, the term "comprise" and its variants "comprises" and/or comprising (comprising) etc. refer to stated features, integers, steps, operations, elements, and/or The presence of a component does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groupings of these. Without further limitations, an element qualified by the statement "comprising a ..." does not preclude the presence of additional identical elements in the process, method or apparatus comprising the element. Herein, each embodiment may focus on the differences from other embodiments, and reference may be made to each other for the same and similar parts of the various embodiments. For the method, product, etc. disclosed in the embodiment, if it corresponds to the method part disclosed in the embodiment, then the relevant part can refer to the description of the method part.
本领域技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,可以取决于技术方案的特定应用和设计约束条件。技术人员可以对每个特定的应用来使用不同方法以实现所描述的功能,但是这种实现不应认为超出本公开实施例的范围。技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software may depend on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functions using different methods for each specific application, but such implementation should not be considered as exceeding the scope of the disclosed embodiments. Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
本文所披露的实施例中,所揭露的方法、产品(包括但不限于装置、设备等),可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,可以仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。 另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例。另外,在本公开实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of units may only be a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or may be Integrate into another system, or some features may be ignored, or not implemented. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms. A unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be 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 disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more executable instruction. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by dedicated hardware implemented in combination with computer instructions.

Claims (10)

  1. 一种用于检测室内温度的方法,其特征在于,包括:A method for detecting indoor temperature, comprising:
    在通过设置在室内的温度传感器阵列检测室内温度时,如果所述温度传感器阵列的第一温度传感器出现故障,则获得与所述第一温度传感器相邻的多个第二温度传感器的第一检测温度;其中,所述温度传感器阵列中包括多个温度传感器,所述多个温度传感器呈纵横排列;When the indoor temperature is detected by the temperature sensor array arranged indoors, if the first temperature sensor of the temperature sensor array fails, the first detection of a plurality of second temperature sensors adjacent to the first temperature sensor is obtained Temperature; wherein, the temperature sensor array includes a plurality of temperature sensors, and the plurality of temperature sensors are arranged vertically and horizontally;
    获得每个所述第二温度传感器的第一检测温度的权重;其中,所述第一检测温度的权重与所述第一检测温度在全部温度传感器的检测温度的聚集程度正相关;Obtaining the weight of the first detected temperature of each of the second temperature sensors; wherein, the weight of the first detected temperature is positively correlated with the aggregation degree of the first detected temperature among the detected temperatures of all temperature sensors;
    获得多个所述第一检测温度的第一加权平均值;Obtaining a first weighted average of a plurality of first detected temperatures;
    根据所述第一加权平均值确定所述第一温度传感器的替代检测温度;determining a substitute detection temperature of the first temperature sensor according to the first weighted average;
    根据所述替代检测温度以及所述温度传感器阵列中正常工作的温度传感器的检测温度,确定室内温度。The indoor temperature is determined according to the substitute detected temperature and the detected temperature of the normally working temperature sensor in the temperature sensor array.
  2. 根据权利要求1所述的方法,其特征在于,获得每个所述第二温度传感器的第一检测温度的权重,包括:The method according to claim 1, wherein obtaining the weight of the first detected temperature of each of the second temperature sensors comprises:
    获得所述温度传感器阵列中每个正常工作的温度传感器的检测温度;Obtain the detection temperature of each normal working temperature sensor in the temperature sensor array;
    在第一预设温度分区中确定每个所述正常工作的温度传感器的检测温度所在的第一温度分区;In the first preset temperature zone, determine the first temperature zone where the detection temperature of each of the normally operating temperature sensors is located;
    获得每个所述第一温度分区中所述正常工作的温度传感器的检测温度的数量;Obtaining the number of detected temperatures of the normal working temperature sensors in each of the first temperature zones;
    根据所述正常工作的温度传感器的检测温度的数量确定每个所述第一温度分区的权重;determining the weight of each of the first temperature partitions according to the number of detected temperatures of the temperature sensors in normal operation;
    根据每个所述第一检测温度所在的第一温度分区的权重,确定每个所述第一检测温度的权重。The weight of each first detected temperature is determined according to the weight of the first temperature zone where each first detected temperature is located.
  3. 根据权利要求2所述的方法,其特征在于,获得多个所述第一检测温度的第一加权平均值,包括:The method according to claim 2, wherein obtaining a plurality of first weighted averages of the first detected temperatures comprises:
    对多个所述第一检测温度的权重进行归一化处理;performing normalization processing on the weights of multiple first detected temperatures;
    根据归一化处理后的权重确定多个所述第一检测温度的第一加权平均值。A first weighted average of multiple first detected temperatures is determined according to the normalized weights.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,根据所述第一加权平均值确定所述第一温度传感器的替代检测温度,包括:The method according to any one of claims 1 to 3, wherein determining the alternative detection temperature of the first temperature sensor according to the first weighted average comprises:
    将所述第一加权平均值作为所述第一温度传感器的替代检测温度;或者,using the first weighted average as a surrogate detection temperature for the first temperature sensor; or,
    获得所述第一加权平均值与第一预设系数的第一乘积或第一加和,确定所述第 一乘积或第一加和为所述替代检测温度。Obtain the first product or the first sum of the first weighted average value and the first preset coefficient, and determine the first product or the first sum as the replacement detection temperature.
  5. 根据权利要求1至3任一项所述的方法,其特征在于,根据所述替代检测温度以及所述温度传感器阵列中正常工作的温度传感器的检测温度,确定室内温度,包括:The method according to any one of claims 1 to 3, characterized in that determining the indoor temperature according to the detection temperature of the substitute detection temperature and the temperature sensor normally working in the temperature sensor array includes:
    获得所述替代检测温度和所述温度传感器阵列中正常工作的温度传感器的检测温度的平均值,确定所述平均值为所述室内温度。Obtaining the average value of the detection temperature of the replacement detection temperature and the temperature sensor normally working in the temperature sensor array, and determining the average value as the indoor temperature.
  6. 根据权利要求1至3任一项所述的方法,其特征在于,根据所述替代检测温度以及所述温度传感器阵列中正常工作的温度传感器的检测温度,确定室内温度,包括:The method according to any one of claims 1 to 3, characterized in that determining the indoor temperature according to the detection temperature of the substitute detection temperature and the temperature sensor normally working in the temperature sensor array includes:
    在第二预设温度分区中,确定所述替代检测温度和所述正常工作的温度传感器的检测温度所在的第二温度分区;In the second preset temperature zone, determine the second temperature zone in which the substitute detection temperature and the detection temperature of the normal working temperature sensor are located;
    获得每个所述第二温度分区中所述替代检测温度和所述正常工作的温度传感器的检测温度的总数量;Obtaining the total number of the substitute detection temperature and the detection temperature of the normal working temperature sensor in each of the second temperature zones;
    根据每个所述第二温度分区中所述替代检测温度和所述正常工作的温度传感器的检测温度的总数量,确定每个所述第二温度分区的权重;determining the weight of each of the second temperature zones according to the total number of the substitute detection temperature and the detection temperature of the normal working temperature sensor in each of the second temperature zones;
    根据所述替代检测温度和所述正常工作的温度传感器的检测温度所在的第二温度分区的权重,确定所述替代检测温度和所述正常工作的温度传感器的检测温度的权重;determining the weight of the substitute detection temperature and the detection temperature of the normally operating temperature sensor according to the weight of the substitute detection temperature and the second temperature zone where the detection temperature of the normally operating temperature sensor is located;
    根据所述替代检测温度和所述正常工作的温度传感器的检测温度的权重,确定所述替代检测温度和所述正常工作的温度传感器的检测温度的第二加权平均值;determining a second weighted average of the substitute detection temperature and the detection temperature of the normally operating temperature sensor according to the weights of the substitute detection temperature and the detection temperature of the normally operating temperature sensor;
    根据所述第二加权平均值确定所述室内温度。The indoor temperature is determined according to the second weighted average.
  7. 根据权利要求6所述的方法,其特征在于,根据所述替代检测温度和所述正常工作的温度传感器的检测温度的权重,确定所述替代检测温度和所述正常工作的温度传感器的检测温度的第二加权平均值,包括:The method according to claim 6, characterized in that, according to the weight of the substitute detection temperature and the detection temperature of the normal operation temperature sensor, determining the detection temperature of the replacement detection temperature and the normal operation temperature sensor The second weighted average of , including:
    对所述替代检测温度和所述正常工作的温度传感器的检测温度的权重进行归一化处理;performing normalization processing on the weights of the alternative detection temperature and the detection temperature of the normal working temperature sensor;
    根据归一化处理后的权重确定所述替代检测温度和所述正常工作的温度传感器的检测温度的第二加权平均值。A second weighted average value of the substitute detected temperature and the detected temperature of the normally working temperature sensor is determined according to the normalized weights.
  8. 根据权利要求6所述的方法,其特征在于,根据所述第二加权平均值确定所述室内温度,包括:The method according to claim 6, wherein determining the indoor temperature according to the second weighted average comprises:
    确定所述第二加权平均值为所述室内温度;或者,determining the second weighted average as the indoor temperature; or,
    获得所述第二加权平均值与第二预设系数的第二乘积或第二加和,确定所述第二乘积或第二加和为所述室内温度。Obtaining a second product or a second sum of the second weighted average value and a second preset coefficient, and determining the second product or the second sum as the indoor temperature.
  9. 一种用于检测室内温度的装置,包括处理器和存储有程序指令的存储器,其特征在于,所述处理器被配置为在执行所述程序指令时,执行如权利要求1至8任一项所述的用户检测室内温度的方法。A device for detecting indoor temperature, comprising a processor and a memory storing program instructions, wherein the processor is configured to execute any one of claims 1 to 8 when executing the program instructions. The method for the user to detect the indoor temperature.
  10. 一种智能空调,其特征在于,包括如权利要求9所述的用于检测室内温度的装置。An intelligent air conditioner, characterized by comprising the device for detecting indoor temperature as claimed in claim 9 .
PCT/CN2022/073919 2021-05-20 2022-01-26 Method and apparatus for measuring indoor temperature, and intelligent air conditioner WO2022242223A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110553360.4 2021-05-20
CN202110553360.4A CN113357763B (en) 2021-05-20 2021-05-20 Method and device for detecting indoor temperature and intelligent air conditioner

Publications (1)

Publication Number Publication Date
WO2022242223A1 true WO2022242223A1 (en) 2022-11-24

Family

ID=77527036

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/073919 WO2022242223A1 (en) 2021-05-20 2022-01-26 Method and apparatus for measuring indoor temperature, and intelligent air conditioner

Country Status (2)

Country Link
CN (1) CN113357763B (en)
WO (1) WO2022242223A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113357763B (en) * 2021-05-20 2022-04-19 青岛海尔空调器有限总公司 Method and device for detecting indoor temperature and intelligent air conditioner

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130236096A1 (en) * 2010-11-16 2013-09-12 Thomson Licensing System and method for the repair of anomalies in images
CN107167248A (en) * 2017-05-26 2017-09-15 珠海格力电器股份有限公司 Infrared thermopile sensor and its fault detection method, device and equipment
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
US20200041316A1 (en) * 2018-07-31 2020-02-06 EMC IP Holding Company LLC Correction of sensor data in a multi-sensor internet of things environment
CN113357763A (en) * 2021-05-20 2021-09-07 青岛海尔空调器有限总公司 Method and device for detecting indoor temperature and intelligent air conditioner

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2824297B2 (en) * 1989-12-01 1998-11-11 株式会社日立製作所 Operation method when air conditioner sensor is abnormal
JP3175226B2 (en) * 1991-09-04 2001-06-11 株式会社デンソー Fuel injection device
JP2009198026A (en) * 2008-02-19 2009-09-03 Hoshizaki Electric Co Ltd Cooling storage
US9500535B1 (en) * 2013-06-27 2016-11-22 Amazon Technologies, Inc. Determining temperature using multiple sensors
CN109341900A (en) * 2019-01-04 2019-02-15 新誉轨道交通科技有限公司 Fault judgment method, device and the electronic equipment of temperature sensor
CN111219851A (en) * 2020-02-25 2020-06-02 珠海格力电器股份有限公司 Abnormity detection method and device of array type temperature sensor and air conditioner
CN113357765B (en) * 2021-05-21 2022-07-19 青岛海尔空调器有限总公司 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
US20130236096A1 (en) * 2010-11-16 2013-09-12 Thomson Licensing System and method for the repair of anomalies in images
CN107167248A (en) * 2017-05-26 2017-09-15 珠海格力电器股份有限公司 Infrared thermopile sensor and its fault detection method, device and equipment
US20200041316A1 (en) * 2018-07-31 2020-02-06 EMC IP Holding Company LLC Correction of sensor data in a multi-sensor internet of things environment
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
CN113357763A (en) * 2021-05-20 2021-09-07 青岛海尔空调器有限总公司 Method and device for detecting indoor temperature and intelligent air conditioner

Also Published As

Publication number Publication date
CN113357763A (en) 2021-09-07
CN113357763B (en) 2022-04-19

Similar Documents

Publication Publication Date Title
WO2022242231A1 (en) Method and apparatus for measuring indoor temperature, and smart air conditioner
WO2022247333A1 (en) Method and apparatus for measuring indoor temperature, and smart air conditioner
EP1630635A2 (en) Method and apparatus for improved fault detection in power generation equipment
US20150293540A1 (en) Facility equipment operation device, facility equipment operation system, facility equipment operation method, and medium
WO2021031663A1 (en) Air conditioner air supply control method and device, storage medium and processor
US11243005B2 (en) Determining the cause of a fault in an HVAC system
WO2022242223A1 (en) Method and apparatus for measuring indoor temperature, and intelligent air conditioner
GB2544534A (en) Method and thermostat controller for determining a temperature set point
CN103532761A (en) Survivability evaluating method applicable to attacked wireless sensing network
WO2016036703A1 (en) Cooling control of information technology equipment
WO2022267296A1 (en) Position determination method and apparatus, and air conditioning system and readable storage medium
CN114387762A (en) Building data management method, device, equipment and storage medium
CN113864991B (en) Method and device for correcting ambient temperature in air conditioner and air conditioner
WO2022242224A1 (en) Indoor temperature measuring method and apparatus, and intelligent air conditioner
CN109839889A (en) Equipment recommendation system and method
CN110878983B (en) Air conditioner fault determination method and device
CN112084096A (en) Cold channel sealing management method and device and terminal equipment
WO2022227523A1 (en) Method and apparatus for measuring indoor temperature, and smart air conditioner
CN114777368A (en) Method and device for monitoring risk of circulation system pipeline and circulation system
WO2022233159A1 (en) Method and apparatus for detecting indoor temperature, and smart air conditioner
US20200018506A1 (en) System and method for dual occupancy detection
WO2024060699A1 (en) Method and apparatus for controlling dehumidifier, and dehumidifier and storage medium
CN108012235B (en) Positioning method and device based on hotspot group
CN113641163B (en) Self-configuration method and system of environment control equipment, computer equipment and storage medium
CN109186044A (en) A kind of human perception method, apparatus and air conditioner

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22803554

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE