[go: up one dir, main page]

CN114963462B - Temperature correction method and device for air conditioner, air conditioner, and storage medium - Google Patents

Temperature correction method and device for air conditioner, air conditioner, and storage medium Download PDF

Info

Publication number
CN114963462B
CN114963462B CN202210394665.XA CN202210394665A CN114963462B CN 114963462 B CN114963462 B CN 114963462B CN 202210394665 A CN202210394665 A CN 202210394665A CN 114963462 B CN114963462 B CN 114963462B
Authority
CN
China
Prior art keywords
temperature
value
temperature value
air conditioner
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210394665.XA
Other languages
Chinese (zh)
Other versions
CN114963462A (en
Inventor
程惠鹏
赵丹
王祯祯
张蕾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Air Conditioner Gen Corp Ltd, Qingdao Haier Air Conditioning Electric Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Air Conditioner Gen Corp Ltd
Priority to CN202210394665.XA priority Critical patent/CN114963462B/en
Publication of CN114963462A publication Critical patent/CN114963462A/en
Application granted granted Critical
Publication of CN114963462B publication Critical patent/CN114963462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/52Indication arrangements, e.g. displays
    • 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/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • 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/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/89Arrangement or mounting of control or safety devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

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

Abstract

本申请涉及空调器技术领域,公开一种用于空调器的温度修正方法,包括获取预设采样时长内温度传感器在不同时刻采集的多个当前温度值;根据所述多个当前温度值,分析温度值在所述预设采样时长内的波动情况;根据所述温度值在所述预设采样时长内的波动情况,确定所温度传感器的目标温度值。该方法能够在提升温度值的准确性的同时,降低对硬件资源的占用。本申请还公开一种用于空调器的温度修正装置及空调器、存储介质。

The present application relates to the technical field of air conditioners, and discloses a temperature correction method for an air conditioner, comprising obtaining multiple current temperature values collected by a temperature sensor at different times within a preset sampling time; analyzing the fluctuation of the temperature value within the preset sampling time according to the multiple current temperature values; and determining the target temperature value of the temperature sensor according to the fluctuation of the temperature value within the preset sampling time. The method can improve the accuracy of the temperature value while reducing the occupation of hardware resources. The present application also discloses a temperature correction device for an air conditioner, an air conditioner, and a storage medium.

Description

用于空调器的温度修正方法及装置、空调器、存储介质Temperature correction method and device for air conditioner, air conditioner, and storage medium

技术领域Technical Field

本申请涉及空调器技术领域,例如涉及一种用于空调器的温度修正方法及装置、空调器、存储介质。The present application relates to the technical field of air conditioners, for example, to a temperature correction method and device for an air conditioner, an air conditioner, and a storage medium.

背景技术Background Art

目前,空调器通过温度传感器对室内环温、室外环温进行监测。空调器在确定室外环温后根据该温度确定压缩机的运行频率上限值,在确定室内环温后,将该温度与目标温度值进行比较以确定压缩机的目标运行频率。然而,温度传感器在使用过程中存在温度偏移等不良情况,导致空调器对节流装置的开度和压缩机的运行频率也进行相应地调节,甚至使室内机的出风温度出现不间断地波动,影响空调器运行的稳定性。At present, air conditioners monitor indoor and outdoor ambient temperatures through temperature sensors. After determining the outdoor ambient temperature, the air conditioner determines the upper limit of the compressor's operating frequency based on the temperature. After determining the indoor ambient temperature, the temperature is compared with the target temperature value to determine the target operating frequency of the compressor. However, the temperature sensor has adverse conditions such as temperature offset during use, causing the air conditioner to adjust the opening of the throttling device and the operating frequency of the compressor accordingly, and even causing the indoor unit's air outlet temperature to fluctuate continuously, affecting the stability of the air conditioner's operation.

针对前述技术问题,相关技术公开一种传感器温度修正方法,包括在空调器停止运行后或者空调器刚上电时,获取空调器各个温度传感器检测到的温度数值。将各个温度传感器中检测到的温度值之间的第一差值小于预设阈值的温度传感器作为正常温度传感器,根据正常温度传感器检测得到的温度值计算基准温度值。在异常温度传感器的检测的温度值与基准温度值之间的第二差值大于或等于第一预设温度值时,根据第二差值对异常温度传感器进行修正。其中,异常温度传感器为除正常温度传感器之外的其它温度传感器。In view of the above technical problems, the related art discloses a sensor temperature correction method, which includes obtaining the temperature values detected by each temperature sensor of the air conditioner after the air conditioner stops running or when the air conditioner is just powered on. The temperature sensor whose first difference between the temperature values detected by each temperature sensor is less than a preset threshold is used as a normal temperature sensor, and the reference temperature value is calculated according to the temperature value detected by the normal temperature sensor. When the second difference between the temperature value detected by the abnormal temperature sensor and the reference temperature value is greater than or equal to the first preset temperature value, the abnormal temperature sensor is corrected according to the second difference. Among them, the abnormal temperature sensor is a temperature sensor other than the normal temperature sensor.

在实现本公开实施例的过程中,发现相关技术中至少存在如下问题:In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

相关技术中采用的传感器温度修正方法,需要同时配置多个温度传感器,在克服因温度传感器的温度偏移而影响温度值的准确性的同时,占用硬件资源。The sensor temperature correction method used in the related art requires configuring multiple temperature sensors at the same time, which not only overcomes the accuracy of the temperature value affected by the temperature offset of the temperature sensor, but also occupies hardware resources.

发明内容Summary of the invention

为了对披露的实施例的一些方面有基本的理解,下面给出了简单的概括。所述概括不是泛泛评述,也不是要确定关键/重要组成元素或描绘这些实施例的保护范围,而是作为后面的详细说明的序言。In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key/critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

本公开实施例提供了一种用于空调器的温度修正方法、装置、空调器和存储介质,以在提升温度值的准确性的同时,降低对硬件资源的占用。The embodiments of the present disclosure provide a temperature correction method, device, air conditioner and storage medium for an air conditioner, so as to improve the accuracy of temperature values while reducing the occupation of hardware resources.

在一些实施例中,所述方法包括:获取预设采样时长内温度传感器在不同时刻采集的多个当前温度值;根据所述多个当前温度值,分析温度值在所述预设采样时长内的波动情况;根据所述温度值在所述预设采样时长内的波动情况,确定所温度传感器的目标温度值。In some embodiments, the method includes: obtaining multiple current temperature values collected by the temperature sensor at different times within a preset sampling period; analyzing the fluctuation of the temperature value within the preset sampling period based on the multiple current temperature values; and determining the target temperature value of the temperature sensor based on the fluctuation of the temperature value within the preset sampling period.

在一些实施例中,所述装置包括:获取模块,被配置为获取预设采样时长内温度传感器在不同时刻采集的多个当前温度值;分析模块,被配置为根据所述多个当前温度值,分析温度值在所述预设采样时长内的波动情况;确定模块,被配置为根据所述温度值在所述预设采样时长内的波动情况,确定所温度传感器的目标温度值。In some embodiments, the device includes: an acquisition module, configured to acquire multiple current temperature values collected by the temperature sensor at different times within a preset sampling period; an analysis module, configured to analyze the fluctuation of the temperature value within the preset sampling period based on the multiple current temperature values; and a determination module, configured to determine the target temperature value of the temperature sensor based on the fluctuation of the temperature value within the preset sampling period.

在一些实施例中,所述装置,包括处理器和存储有程序指令的存储器,所述处理器被配置为在运行所述程序指令时,执行如前述的用于空调器的温度修正方法。In some embodiments, the device includes a processor and a memory storing program instructions, and the processor is configured to execute the temperature correction method for the air conditioner as described above when running the program instructions.

在一些实施例中,所述空调器,包括如前述的用于空调器的温度修正装置。In some embodiments, the air conditioner includes the temperature correction device for the air conditioner as described above.

在一些实施例中,所述存储介质,存储有程序指令,该程序指令在运行时,执行如前述的用于空调器的温度修正方法。In some embodiments, the storage medium stores program instructions, which, when run, execute the temperature correction method for the air conditioner as described above.

本公开实施例提供的用于空调器的温度修正方法、装置、空调器和存储介质,可以实现以下技术效果:The temperature correction method, device, air conditioner and storage medium for an air conditioner provided by the embodiments of the present disclosure can achieve the following technical effects:

空调器根据温度传感器在预设采样时长内不同时刻采集的各当前温度值,分析温度值在预设采样时长内的波动情况,该波动情况能够反映出温度传感器的温度偏移情况。空调器根据该波动情况确定出目标温度值,从而有效地克服因温度偏移导致的温度值不准确的问题。同时,空调器针对待测的温度值,未配置多个温度传感器进行温度值的采集,从而降低对硬件资源的占用。综上,该温度修正方法能够在提升温度值的准确性的同时,降低对硬件资源的占用。The air conditioner analyzes the fluctuation of the temperature value within the preset sampling time according to the current temperature values collected by the temperature sensor at different times within the preset sampling time, and the fluctuation can reflect the temperature offset of the temperature sensor. The air conditioner determines the target temperature value according to the fluctuation, thereby effectively overcoming the problem of inaccurate temperature value caused by temperature offset. At the same time, the air conditioner does not configure multiple temperature sensors to collect temperature values for the temperature value to be measured, thereby reducing the occupation of hardware resources. In summary, this temperature correction method can reduce the occupation of hardware resources while improving the accuracy of the temperature value.

以上的总体描述和下文中的描述仅是示例性和解释性的,不用于限制本申请。The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

一个或多个实施例通过与之对应的附图进行示例性说明,这些示例性说明和附图并不构成对实施例的限定,附图中具有相同参考数字标号的元件示为类似的元件,附图不构成比例限制,并且其中:One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

图1是本公开实施例提供的一个用于空调器的温度修正方法的示意图;FIG1 is a schematic diagram of a temperature correction method for an air conditioner provided by an embodiment of the present disclosure;

图2是本公开实施例提供的另一个用于空调器的温度修正方法的示意图;FIG2 is a schematic diagram of another temperature correction method for an air conditioner provided by an embodiment of the present disclosure;

图3是本公开实施例提供的另一个用于空调器的温度修正方法的示意图;FIG3 is a schematic diagram of another temperature correction method for an air conditioner provided by an embodiment of the present disclosure;

图4是本公开实施例提供的另一个用于空调器的温度修正方法的示意图;FIG4 is a schematic diagram of another temperature correction method for an air conditioner provided by an embodiment of the present disclosure;

图5本公开实施例提供的另一个用于空调器的温度修正方法的示意图;FIG5 is a schematic diagram of another temperature correction method for an air conditioner provided by an embodiment of the present disclosure;

图6是本公开实施例提供的一个用于空调器的温度修正装置的示意图;FIG6 is a schematic diagram of a temperature correction device for an air conditioner provided by an embodiment of the present disclosure;

图7是本公开实施例提供的另一个用于空调器的温度修正装置的示意图。FIG. 7 is a schematic diagram of another temperature correction device for an air conditioner provided in an embodiment of the present disclosure.

具体实施方式DETAILED DESCRIPTION

为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开实施例。在以下的技术描述中,为方便解释起见,通过多个细节以提供对所披露实施例的充分理解。然而,在没有这些细节的情况下,一个或多个实施例仍然可以实施。在其它情况下,为简化附图,熟知的结构和装置可以简化展示。In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

本公开实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开实施例的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

除非另有说明,术语“多个”表示两个或两个以上。Unless otherwise stated, the term "plurality" means two or more.

本公开实施例中,字符“/”表示前后对象是一种“或”的关系。例如,A/B表示:A或B。In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an "or" relationship. For example, A/B indicates: A or B.

术语“和/或”是一种描述对象的关联关系,表示可以存在三种关系。例如,A和/或B,表示:A或B,或,A和B这三种关系。The term "and/or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and/or B means: A or B, or, A and B.

术语“对应”可以指的是一种关联关系或绑定关系,A与B相对应指的是A与B之间是一种关联关系或绑定关系。The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

本公开实施例中,智能家电设备是指将微处理器、传感器技术、网络通信技术引入家电设备后形成的家电产品,具有智能控制、智能感知及智能应用的特征,智能家电设备的运作过程往往依赖于物联网、互联网以及电子芯片等现代技术的应用和处理,例如智能家电设备可以通过连接电子设备,实现用户对智能家电设备的远程控制和管理。In the embodiments of the present disclosure, smart home appliances refer to home appliances that are formed by introducing microprocessors, sensor technology, and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent perception, and intelligent application. The operation process of smart home appliances often relies on the application and processing of modern technologies such as the Internet of Things, the Internet, and electronic chips. For example, smart home appliances can be connected to electronic devices to enable users to remotely control and manage the smart home appliances.

公开实施例中,终端设备是指具有无线连接功能的电子设备,终端设备可以通过连接互联网,与如上的智能家电设备进行通信连接,也可以直接通过蓝牙、wifi等方式与如上的智能家电设备进行通信连接。在一些实施例中,终端设备例如为移动设备、电脑、或悬浮车中内置的车载设备等,或其任意组合。移动设备例如可以包括手机、智能家居设备、可穿戴设备、智能移动设备、虚拟现实设备等,或其任意组合,其中,可穿戴设备例如包括:智能手表、智能手环、计步器等。In the disclosed embodiments, the terminal device refers to an electronic device with a wireless connection function. The terminal device can communicate with the above-mentioned smart home appliances by connecting to the Internet, or can communicate with the above-mentioned smart home appliances directly through Bluetooth, WiFi, etc. In some embodiments, the terminal device is, for example, a mobile device, a computer, or a vehicle-mounted device built into a hover car, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, etc., or any combination thereof, wherein wearable devices include, for example: smart watches, smart bracelets, pedometers, etc.

空调器配置的温度传感器在温度采集过程中,会出现温度偏移情况,具体地,温度传感器采集的温度值与实际温度值存在2~3℃的偏量。以用于检测室外温度的温度传感器为例,由于空调器运行时将依据温度传感器采集的温度值与实际温度值存在偏差,因此,导致空调器对节流装置的节流值、压缩机运行频率等参数也进行相应地调节。甚至出现出风温度不间断波动的情况。The temperature sensor configured in the air conditioner may have temperature deviation during the temperature collection process. Specifically, the temperature value collected by the temperature sensor is 2 to 3 degrees Celsius away from the actual temperature value. Taking the temperature sensor used to detect the outdoor temperature as an example, when the air conditioner is running, the temperature value collected by the temperature sensor is different from the actual temperature value. Therefore, the air conditioner also adjusts the throttling value of the throttling device, the operating frequency of the compressor and other parameters accordingly. There may even be a situation where the air outlet temperature fluctuates continuously.

结合图1所示,本公开实施例提供一种用于空调器的温度修正方法,包括:In conjunction with FIG. 1 , an embodiment of the present disclosure provides a temperature correction method for an air conditioner, comprising:

S01,空调器获取预设采样时长内温度传感器在不同时刻采集的多个当前温度值。S01, the air conditioner obtains multiple current temperature values collected by a temperature sensor at different times within a preset sampling time.

S02,空调器根据多个当前温度值,分析温度值在预设采样时长内的波动情况。S02: The air conditioner analyzes fluctuations of temperature values within a preset sampling time period based on a plurality of current temperature values.

S03,空调器根据温度值在预设采样时长内的波动情况,确定所温度传感器的目标温度值。S03, the air conditioner determines the target temperature value of the temperature sensor according to the fluctuation of the temperature value within a preset sampling time.

采用本公开实施例提供的用于空调器的温度修正方法,空调器根据温度传感器在预设采样时长内不同时刻采集的各当前温度值,分析温度值在预设采样时长内的波动情况,该波动情况能够反映出温度传感器的温度偏移情况。空调器根据该波动情况确定出目标温度值,从而有效地克服因温度偏移导致的温度值不准确的问题。同时,空调器针对待测的温度值,未配置多个温度传感器进行温度值的采集,从而降低对硬件资源的占用。综上,该温度修正方法能够在提升温度值的准确性的同时,降低对硬件资源的占用。Using the temperature correction method for an air conditioner provided by the embodiment of the present disclosure, the air conditioner analyzes the fluctuation of the temperature value within the preset sampling time according to the current temperature values collected by the temperature sensor at different times within the preset sampling time, and the fluctuation can reflect the temperature offset of the temperature sensor. The air conditioner determines the target temperature value according to the fluctuation, thereby effectively overcoming the problem of inaccurate temperature value caused by temperature offset. At the same time, the air conditioner does not configure multiple temperature sensors to collect temperature values for the temperature value to be measured, thereby reducing the occupation of hardware resources. In summary, the temperature correction method can reduce the occupation of hardware resources while improving the accuracy of the temperature value.

需要说明的是,前述温度传感器可以为安装于换热器管路的温度传感器,也可以安装于冷媒分流管路的温度传感器,也可以为安装于压缩机的吸气管路或者排气管路的温度传感器。由于温度传感器的温度偏移问题具有普遍性,因此,安装于空调器不同器件的温度传感器均可采用该温度修正方法。It should be noted that the aforementioned temperature sensor can be a temperature sensor installed in a heat exchanger pipeline, a temperature sensor installed in a refrigerant shunt pipeline, or a temperature sensor installed in an air intake pipeline or an exhaust pipeline of a compressor. Since the temperature offset problem of the temperature sensor is universal, the temperature correction method can be used for temperature sensors installed in different components of the air conditioner.

可选地,作为一种示例,预设采样时长为10分钟。在该预设采样时长内以预设周期为采样周期,对不同时刻的当前温度值进行温度值采样,生成20个当前温度值数据。可以理解地,预设采样时长和预设周期可以根据实际需求进行设定。例如,预设周期大于0且小于或者等于30秒。Optionally, as an example, the preset sampling duration is 10 minutes. Within the preset sampling duration, the preset period is used as the sampling period, and the temperature value is sampled for the current temperature value at different times to generate 20 current temperature value data. It can be understood that the preset sampling duration and the preset period can be set according to actual needs. For example, the preset period is greater than 0 and less than or equal to 30 seconds.

可选地,结合图2所示,空调器根据多个当前温度值,分析温度值在预设采样时长内的波动情况,包括:Optionally, in combination with FIG. 2 , the air conditioner analyzes fluctuations of temperature values within a preset sampling time period according to multiple current temperature values, including:

S11,空调器从不同时刻采集的当前温度值中获得最大值与最小值。S11, the air conditioner obtains the maximum value and the minimum value from the current temperature values collected at different times.

S12,空调器计算最大值与最小值的差值。S12, the air conditioner calculates the difference between the maximum value and the minimum value.

S13,空调器根据差值,获得温度值在预设采样时长内的波动情况。S13, the air conditioner obtains the fluctuation of the temperature value within a preset sampling time according to the difference.

这样,根据最大值与最小值的差值,能够确定温度值在预设采样时长内的波动情况。由于温度传感器的温度监测精度约为0.5℃,因此,在差值小于或者等于0.5时,表明温度传感器的温度值的波动处于正常的检测精度范围内。在最大值与最小值的差值较大时,例如与0.5℃差距较大,表征明温度值在预设采样时长内出现较大程度的波动。在最大值与最小值的差值较小,例如与0.5℃差距较小时,表征温度值在预设采样时长内波动程度较小。In this way, based on the difference between the maximum and minimum values, the fluctuation of the temperature value within the preset sampling time can be determined. Since the temperature monitoring accuracy of the temperature sensor is about 0.5°C, when the difference is less than or equal to 0.5, it indicates that the fluctuation of the temperature value of the temperature sensor is within the normal detection accuracy range. When the difference between the maximum and minimum values is large, for example, the difference is large from 0.5°C, it indicates that the temperature value fluctuates to a large extent within the preset sampling time. When the difference between the maximum and minimum values is small, for example, the difference is small from 0.5°C, it indicates that the temperature value fluctuates less within the preset sampling time.

可选地,结合图3所示,空调器根据温度值在预设采样时长内的波动情况,确定所温度传感器的目标温度值,包括:Optionally, in combination with FIG. 3 , the air conditioner determines the target temperature value of the temperature sensor according to the fluctuation of the temperature value within a preset sampling time, including:

S21,空调器在差值位于第一预设范围内的情况下,将当前采样时刻对应的温度值确定为目标温度值。S21, when the difference is within a first preset range, the air conditioner determines the temperature value corresponding to the current sampling time as the target temperature value.

S22,空调器在差值位于第二预设范围内的情况下,根据预设温度条件确定目标温度值。S22, when the difference is within a second preset range, the air conditioner determines a target temperature value according to a preset temperature condition.

其中,第一预设范围的上限阈值小于或者等于第二预设范围的下限阈值。The upper limit threshold of the first preset range is less than or equal to the lower limit threshold of the second preset range.

这样,空调器可根据温度值在预设采样时长内的波动情况,确定出对应的目标温度值,避免因温度传感器个体差异而产生空调器系统运行的频繁波动,从而实现空调器地稳定运行。In this way, the air conditioner can determine the corresponding target temperature value according to the fluctuation of the temperature value within the preset sampling time, avoiding frequent fluctuations in the operation of the air conditioner system due to individual differences in temperature sensors, thereby achieving stable operation of the air conditioner.

在实际应用中,温度传感器的温度监测精度约为0.5℃。第一预设范围可以预设为包含0.5℃且温度偏量较小的温度范围,例如,第一预设范围为[0,1],单位为℃。第二预设范围为(1,5]℃,单位为℃。在差值大于或者等于0且小于1℃时,表明温度传感器采集的温度值波动较小,此时,将当前采样时刻对应的温度值确定为目标温度值,即无需对温度值进行修正处理。在差值大于1℃且小于或者等于5℃,表明温度传感器采集的温度值出现异常波动,需要对温度值进行修正处理并根据预设温度条件进行温度修正以确定出目标温度值。这样,空调器可根据温度值在预设采样时长内的具体波动情况进行对应的温度修正处理,从而提升空调器运行的稳定性。In practical applications, the temperature monitoring accuracy of the temperature sensor is about 0.5°C. The first preset range can be preset as a temperature range that includes 0.5°C and has a small temperature deviation. For example, the first preset range is [0, 1], and the unit is °C. The second preset range is (1, 5]°C, and the unit is °C. When the difference is greater than or equal to 0 and less than 1°C, it indicates that the temperature value collected by the temperature sensor fluctuates slightly. At this time, the temperature value corresponding to the current sampling moment is determined as the target temperature value, that is, there is no need to correct the temperature value. When the difference is greater than 1°C and less than or equal to 5°C, it indicates that the temperature value collected by the temperature sensor fluctuates abnormally, and the temperature value needs to be corrected and the temperature correction is performed according to the preset temperature conditions to determine the target temperature value. In this way, the air conditioner can perform corresponding temperature correction processing according to the specific fluctuation of the temperature value within the preset sampling period, thereby improving the stability of the air conditioner operation.

可选地,空调器根据预设温度条件确定目标温度值,包括:Optionally, the air conditioner determines the target temperature value according to a preset temperature condition, including:

将最大值与最小值的均值作为目标温度值。或,将多个当前温度值的均值作为目标温度值。The average of the maximum and minimum values is used as the target temperature value. Or, the average of multiple current temperature values is used as the target temperature value.

这样,由于温度值在最大值与最小值间波动,二者的均值与多个当前温度值的均值的接近程度较高,因此,将其确定为目标温度值或者将多个当前温度值的均值确定为目标温度值,能够有效地克服因温度偏移导致的温度值不准确的问题,并且提高温度修正的可靠性。In this way, since the temperature value fluctuates between the maximum value and the minimum value, the average of the two is close to the average of multiple current temperature values. Therefore, determining it as the target temperature value or determining the average of multiple current temperature values as the target temperature value can effectively overcome the problem of inaccurate temperature value caused by temperature offset and improve the reliability of temperature correction.

可选地,结合图4所示,空调器在温度采集的采样间隔小于预设时长的情况下,根据预设温度条件确定目标温度值,包括:Optionally, in conjunction with FIG. 4 , when the sampling interval of temperature collection of the air conditioner is less than a preset time, the target temperature value is determined according to a preset temperature condition, including:

S31,空调器根据不同时刻采集的各当前温度值,构建温度函数曲线。S31, the air conditioner constructs a temperature function curve according to current temperature values collected at different times.

S32,空调器计算温度函数曲线在预设采样时长对应的面积值。S32, the air conditioner calculates the area value corresponding to the temperature function curve in the preset sampling time.

S33,空调器将面积值与预设采样时长作比值,获得目标温度值。S33, the air conditioner compares the area value with a preset sampling time to obtain a target temperature value.

这样,在采样间隔小于预设时长时,根据不同时刻采样的当前温度值构建的温度函数曲线可以准确地拟合出预设采样时长内时间与温度值的对应关系。再将温度函数曲线在预设采样时长内的面积值与预设采样时长作比值,可以准确地获得温度值在预设采样时长内的均值,从而提升温度修正的准确性。In this way, when the sampling interval is less than the preset time, the temperature function curve constructed according to the current temperature values sampled at different times can accurately fit the corresponding relationship between time and temperature value within the preset sampling time. Then, the area value of the temperature function curve within the preset sampling time is compared with the preset sampling time, and the mean value of the temperature value within the preset sampling time can be accurately obtained, thereby improving the accuracy of temperature correction.

可以理解地,采样间隔小于预设时长,表示采样间隔值足够小。前述预设时长的数值可以为毫秒级,也可以为微秒级。本公开实施例对该预设时长的数值可不做具体限定。It is understandable that if the sampling interval is less than the preset duration, it means that the sampling interval value is small enough. The value of the preset duration may be in milliseconds or microseconds. The embodiment of the present disclosure may not specifically limit the value of the preset duration.

作为一种示例,预设采样时长为S,在采样间隔值足够小时,目标温度值T为:As an example, the preset sampling time is S. When the sampling interval is small enough, the target temperature value T is:

其中,a、b、t分别表示预设采样时长S对应的起始时刻值、预设采样时长S对应的终止时刻值和时间变量。f(t)表示温度函数曲线。Wherein, a, b, t represent the starting time value corresponding to the preset sampling time length S, the ending time value corresponding to the preset sampling time length S, and the time variable, respectively. f(t) represents the temperature function curve.

结合图5所示,本公开实施例还提供一种用于空调器的温度修正方法,包括:In conjunction with FIG. 5 , the embodiment of the present disclosure further provides a temperature correction method for an air conditioner, comprising:

S41,空调器获取预设采样时长内温度传感器在不同时刻采集的多个当前温度值。S41, the air conditioner obtains multiple current temperature values collected by the temperature sensor at different times within a preset sampling time.

S42,空调器根据多个当前温度值,分析温度值在预设采样时长内的波动情况。S42, the air conditioner analyzes fluctuations of temperature values within a preset sampling time period according to a plurality of current temperature values.

S43,空调器根据温度值在预设采样时长内的波动情况,确定所温度传感器的目标温度值。S43, the air conditioner determines the target temperature value of the temperature sensor according to the fluctuation of the temperature value within a preset sampling time.

S44,空调器在波动情况表示温度传感器运行异常的情况下,推送故障提示信息。S44, when the fluctuation situation indicates that the temperature sensor is operating abnormally, the air conditioner pushes a fault prompt message.

采用本公开实施例提供的用于空调器的温度修正方法,在波动情况表示温度传感器运行异常时,空调器推送故障提示信息,以提示用户进行故障排查和维修。By using the temperature correction method for an air conditioner provided by the embodiment of the present disclosure, when the fluctuation indicates that the temperature sensor is operating abnormally, the air conditioner pushes a fault prompt message to prompt the user to perform fault detection and repair.

其中,推送提示信息,可以为推送故障代码,也可以为通过蜂鸣器进行蜂鸣提示。作为一种示例,空调器与终端设备通信连接。空调器向终端设备发送提示信息。作为另一种示例,空调器配置显示屏。空调器通过显示屏显示提示信息。该提示信息可以为携带故障代码的文字信息,也可以为播报故障来源的音频信息。The push prompt information may be a push fault code or a buzzer prompt. As an example, the air conditioner is connected to the terminal device in communication. The air conditioner sends a prompt information to the terminal device. As another example, the air conditioner is equipped with a display screen. The air conditioner displays the prompt information through the display screen. The prompt information may be a text message carrying a fault code or an audio message broadcasting the source of the fault.

可选地,按照以下方式确定温度传感器运行异常:Optionally, determine that the temperature sensor is operating abnormally in the following manner:

最大值与最小值的差值大于第二预设范围的上限阈值。The difference between the maximum value and the minimum value is greater than an upper threshold of the second preset range.

作为一种示例,差值大于5℃,表明温度传感器运行极度异常。空调器通过显示屏显示携带故障代码的文字信息。As an example, a difference greater than 5°C indicates that the temperature sensor is operating extremely abnormally. The air conditioner displays a text message carrying a fault code on the display screen.

在实际应用中,室内机罩壳内靠近进风口处位置设置用于检测室内温度的温度传感器。In practical applications, a temperature sensor for detecting indoor temperature is arranged in the indoor unit casing near the air inlet.

该用户空调器的温度修正方法执行步骤如下:The temperature correction method of the user air conditioner performs the following steps:

空调器以预设采样时长30秒,预设周期为5秒。温度传感器在30秒内每5秒采集一次数据,最终,采集获得T1、T2、T3、T4、T5、T6五个数据。The air conditioner has a preset sampling time of 30 seconds and a preset cycle of 5 seconds. The temperature sensor collects data every 5 seconds within 30 seconds, and finally obtains five data of T 1 , T 2 , T 3 , T 4 , T 5 , and T 6 .

空调器从五个数据中获得最大值和最小值TMAX、TMIN,并获得差值ΔT=TMAX-TMINThe air conditioner obtains the maximum and minimum values T MAX , T MIN from the five data, and obtains a difference ΔT=T MAX -T MIN .

在0≤ΔT<1时,空调器将终止时刻采集的当前温度值T6作为目标温度值。When 0≤ΔT<1, the air conditioner uses the current temperature value T6 collected at the termination time as the target temperature value.

在1≤ΔT<5时,空调器获取五个数据的均值并将该均值作为目标温度值。When 1≤ΔT<5, the air conditioner obtains the mean of the five data And the mean as the target temperature value.

在ΔT≥5时,空调器确定温度传感器极度异常,通过空调器配置的显示屏显示故障代码,提示用户进行后续的故障排查和维修。When ΔT≥5, the air conditioner determines that the temperature sensor is extremely abnormal and displays the fault code on the display screen configured by the air conditioner, prompting the user to perform subsequent troubleshooting and repairs.

结合图6所示,本公开实施例提供一种用于空调器的温度修正装置,包括获取模块201、分析模块202和C模块203。获取模块201被配置为获取预设采样时长内温度传感器在不同时刻采集的多个当前温度值;分析模块202被配置为根据多个当前温度值,分析温度值在预设采样时长内的波动情况;确定模块203被配置为根据温度值在预设采样时长内的波动情况,确定所温度传感器的目标温度值。As shown in FIG6 , the embodiment of the present disclosure provides a temperature correction device for an air conditioner, comprising an acquisition module 201, an analysis module 202 and a C module 203. The acquisition module 201 is configured to acquire multiple current temperature values collected by the temperature sensor at different times within a preset sampling time; the analysis module 202 is configured to analyze the fluctuation of the temperature value within the preset sampling time according to the multiple current temperature values; the determination module 203 is configured to determine the target temperature value of the temperature sensor according to the fluctuation of the temperature value within the preset sampling time.

采用本公开实施例提供的用于空调器的温度修正装置,能够在提升温度值的准确性的同时,降低对硬件资源的占用。The temperature correction device for an air conditioner provided by the embodiment of the present disclosure can improve the accuracy of the temperature value while reducing the occupation of hardware resources.

结合图7所示,本公开实施例提供一种用于空调器的温度修正装置,包括处理器(processor)100和存储器(memory)101。可选地,该装置还可以包括通信接口(Communication Interface)102和总线103。其中,处理器100、通信接口102、存储器101可以通过总线103完成相互间的通信。通信接口102可以用于信息传输。处理器100可以调用存储器101中的逻辑指令,以执行上述实施例的用于空调器的温度修正方法。As shown in FIG. 7 , an embodiment of the present disclosure provides a temperature correction device for an air conditioner, including a processor 100 and a memory 101. Optionally, the device may also include a communication interface 102 and a bus 103. The processor 100, the communication interface 102, and the memory 101 may communicate with each other through the bus 103. The communication interface 102 may be used for information transmission. The processor 100 may call the logic instructions in the memory 101 to execute the temperature correction method for the air conditioner of the above embodiment.

此外,上述的存储器101中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the logic instructions in the memory 101 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.

存储器101作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器100通过运行存储在存储器101中的程序指令/模块,从而执行功能应用以及数据处理,即实现上述实施例中用于空调器的温度修正方法。The memory 101 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions/modules corresponding to the method in the embodiment of the present disclosure. The processor 100 executes the function application and data processing by running the program instructions/modules stored in the memory 101, that is, the temperature correction method for the air conditioner in the above embodiment is implemented.

存储器101可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器101可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 101 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 101 may include a high-speed random access memory and may also include a non-volatile memory.

本公开实施例提供了一种空调器,包含上述的用于空调器的温度修正装置。An embodiment of the present disclosure provides an air conditioner, comprising the above-mentioned temperature correction device for the air conditioner.

本公开实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述用于空调器的温度修正方法。An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the temperature correction method for an air conditioner.

本公开实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述用于空调器的温度修正方法。An embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the above-mentioned temperature correction method for an air conditioner.

上述的计算机可读存储介质可以是暂态计算机可读存储介质,也可以是非暂态计算机可读存储介质。The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes, or a transient storage medium.

以上描述和附图充分地示出了本公开的实施例,以使本领域的技术人员能够实践它们。其他实施例可以包括结构的、逻辑的、电气的、过程的以及其他的改变。实施例仅代表可能的变化。除非明确要求,否则单独的部件和功能是可选的,并且操作的顺序可以变化。一些实施例的部分和特征可以被包括在或替换其他实施例的部分和特征。而且,本申请中使用的用词仅用于描述实施例并且不用于限制权利要求。如在实施例以及权利要求的描述中使用的,除非上下文清楚地表明,否则单数形式的“一个”(a)、“一个”(an)和“所述”(the)旨在同样包括复数形式。类似地,如在本申请中所使用的术语“和/或”是指包含一个或一个以上相关联的列出的任何以及所有可能的组合。另外,当用于本申请中时,术语“包括”(comprise)及其变型“包括”(comprises)和/或包括(comprising)等指陈述的特征、整体、步骤、操作、元素,和/或组件的存在,但不排除一个或一个以上其它特征、整体、步骤、操作、元素、组件和/或这些的分组的存在或添加。在没有更多限制的情况下,由语句“包括一个…”限定的要素,并不排除在包括所述要素的过程、方法或者设备中还存在另外的相同要素。本文中,每个实施例重点说明的可以是与其他实施例的不同之处,各个实施例之间相同相似部分可以互相参见。对于实施例公开的方法、产品等而言,如果其与实施例公开的方法部分相对应,那么相关之处可以参见方法部分的描述。The above description and accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent possible changes only. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and/or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and/or comprising refer to the presence of stated features, wholes, steps, operations, elements, and/or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and/or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

本领域技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,可以取决于技术方案的特定应用和设计约束条件。所述技术人员可以对每个特定的应用来使用不同方法以实现所描述的功能,但是这种实现不应认为超出本公开实施例的范围。所述技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments, and 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 schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

附图中的流程图和框图显示了根据本公开实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。在附图中的流程图和框图所对应的描述中,不同的方框所对应的操作或步骤也可以以不同于描述中所披露的顺序发生,有时不同的操作或步骤之间不存在特定的顺序。例如,两个连续的操作或步骤实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims (7)

1.一种用于空调器的温度修正方法,其特征在于,包括:1. A temperature correction method for an air conditioner, comprising: 获取预设采样时长内温度传感器在不同时刻采集的多个当前温度值;Obtain multiple current temperature values collected by the temperature sensor at different times within a preset sampling time; 根据所述多个当前温度值,分析温度值在所述预设采样时长内的波动情况;Analyzing the fluctuation of the temperature value within the preset sampling time according to the multiple current temperature values; 根据所述温度值在所述预设采样时长内的波动情况,确定所温度传感器的目标温度值;Determining a target temperature value of the temperature sensor according to fluctuations of the temperature value within the preset sampling time; 所述根据所述多个当前温度值,分析温度值在所述预设采样时长内的波动情况,包括:The step of analyzing the fluctuation of the temperature value within the preset sampling time period according to the multiple current temperature values includes: 从所述不同时刻采集的当前温度值中获得最大值与最小值;Obtaining the maximum and minimum values from the current temperature values collected at different times; 计算所述最大值与所述最小值的差值;Calculate the difference between the maximum value and the minimum value; 根据所述差值,获得温度值在所述预设采样时长内的波动情况;According to the difference, the fluctuation of the temperature value within the preset sampling time is obtained; 所述根据所述温度值在所述预设采样时长内的波动情况,确定所温度传感器的目标温度值,包括:The step of determining a target temperature value of the temperature sensor according to fluctuations of the temperature value within the preset sampling time period includes: 在所述差值位于第一预设范围内的情况下,将当前采样时刻对应的温度值确定为所述目标温度值;When the difference is within the first preset range, the temperature value corresponding to the current sampling moment is determined as the target temperature value; 在所述差值位于第二预设范围内的情况下,根据预设温度条件确定所述目标温度值;When the difference is within a second preset range, determining the target temperature value according to a preset temperature condition; 其中,所述第一预设范围的上限阈值小于或者等于所述第二预设范围的下限阈值;Wherein, the upper limit threshold of the first preset range is less than or equal to the lower limit threshold of the second preset range; 所述根据预设温度条件确定所述目标温度值,包括:The step of determining the target temperature value according to a preset temperature condition comprises: 将所述最大值与所述最小值的均值作为所述目标温度值;或,The average of the maximum value and the minimum value is taken as the target temperature value; or, 将所述多个当前温度值的均值作为所述目标温度值。An average of the multiple current temperature values is used as the target temperature value. 2.根据权利要求1所述的方法,其特征在于,在温度采集的采样间隔小于预设时长的情况下,所述根据预设温度条件确定所述目标温度值,包括:2. The method according to claim 1, characterized in that, when the sampling interval of temperature acquisition is less than a preset time, determining the target temperature value according to the preset temperature condition comprises: 根据所述不同时刻采集的各当前温度值,构建温度函数曲线;Constructing a temperature function curve according to the current temperature values collected at different times; 计算所述温度函数曲线在所述预设采样时长对应的面积值;Calculate the area value of the temperature function curve corresponding to the preset sampling time; 将所述面积值与所述预设采样时长作比值,获得所述目标温度值。The target temperature value is obtained by comparing the area value with the preset sampling time. 3.根据权利要求1或者2所述的方法,其特征在于,还包括:3. The method according to claim 1 or 2, further comprising: 在所述波动情况表示所述温度传感器运行异常的情况下,推送故障提示信息。When the fluctuation indicates that the temperature sensor is operating abnormally, a fault prompt message is pushed. 4.一种用于空调器的温度修正装置,其特征在于,包括:4. A temperature correction device for an air conditioner, characterized in that it comprises: 获取模块,被配置为获取预设采样时长内温度传感器在不同时刻采集的多个当前温度值;An acquisition module is configured to acquire multiple current temperature values collected by the temperature sensor at different times within a preset sampling time; 分析模块,被配置为根据所述多个当前温度值,分析温度值在所述预设采样时长内的波动情况;An analysis module, configured to analyze fluctuations of the temperature value within the preset sampling time period according to the multiple current temperature values; 确定模块,被配置为根据所述温度值在所述预设采样时长内的波动情况,确定所温度传感器的目标温度值;A determination module, configured to determine a target temperature value of the temperature sensor according to fluctuations of the temperature value within the preset sampling time period; 所述根据所述多个当前温度值,分析温度值在所述预设采样时长内的波动情况,包括:The step of analyzing the fluctuation of the temperature value within the preset sampling time period according to the multiple current temperature values includes: 从所述不同时刻采集的当前温度值中获得最大值与最小值;Obtaining the maximum and minimum values from the current temperature values collected at different times; 计算所述最大值与所述最小值的差值;Calculate the difference between the maximum value and the minimum value; 根据所述差值,获得温度值在所述预设采样时长内的波动情况;According to the difference, the fluctuation of the temperature value within the preset sampling time is obtained; 所述根据所述温度值在所述预设采样时长内的波动情况,确定所温度传感器的目标温度值,包括:The step of determining a target temperature value of the temperature sensor according to fluctuations of the temperature value within the preset sampling time period includes: 在所述差值位于第一预设范围内的情况下,将当前采样时刻对应的温度值确定为所述目标温度值;When the difference is within the first preset range, the temperature value corresponding to the current sampling moment is determined as the target temperature value; 在所述差值位于第二预设范围内的情况下,根据预设温度条件确定所述目标温度值;When the difference is within a second preset range, determining the target temperature value according to a preset temperature condition; 其中,所述第一预设范围的上限阈值小于或者等于所述第二预设范围的下限阈值;Wherein, the upper limit threshold of the first preset range is less than or equal to the lower limit threshold of the second preset range; 所述根据预设温度条件确定所述目标温度值,包括:The step of determining the target temperature value according to a preset temperature condition comprises: 将所述最大值与所述最小值的均值作为所述目标温度值;或,The average of the maximum value and the minimum value is taken as the target temperature value; or, 将所述多个当前温度值的均值作为所述目标温度值。An average of the multiple current temperature values is used as the target temperature value. 5.一种用于空调器的温度修正装置,包括处理器和存储有程序指令的存储器,其特征在于,所述处理器被配置为在运行所述程序指令时,执行如权利要求1至3任一项所述的用于空调器的温度修正方法。5. A temperature correction device for an air conditioner, comprising a processor and a memory storing program instructions, wherein the processor is configured to execute the temperature correction method for an air conditioner as described in any one of claims 1 to 3 when running the program instructions. 6.一种空调器,其特征在于,包括如权利要求4或5所述的用于空调器的温度修正装置。6. An air conditioner, characterized by comprising the temperature correction device for an air conditioner according to claim 4 or 5. 7.一种存储介质,存储有程序指令,其特征在于,所述程序指令在运行时,执行如权利要求1至3任一项所述的用于空调器的温度修正方法。7. A storage medium storing program instructions, wherein when the program instructions are run, the temperature correction method for an air conditioner according to any one of claims 1 to 3 is executed.
CN202210394665.XA 2022-04-15 2022-04-15 Temperature correction method and device for air conditioner, air conditioner, and storage medium Active CN114963462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210394665.XA CN114963462B (en) 2022-04-15 2022-04-15 Temperature correction method and device for air conditioner, air conditioner, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210394665.XA CN114963462B (en) 2022-04-15 2022-04-15 Temperature correction method and device for air conditioner, air conditioner, and storage medium

Publications (2)

Publication Number Publication Date
CN114963462A CN114963462A (en) 2022-08-30
CN114963462B true CN114963462B (en) 2024-08-16

Family

ID=82978029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210394665.XA Active CN114963462B (en) 2022-04-15 2022-04-15 Temperature correction method and device for air conditioner, air conditioner, and storage medium

Country Status (1)

Country Link
CN (1) CN114963462B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104279689A (en) * 2013-07-10 2015-01-14 海尔集团公司 Background temperature updating method and device for multi-channel region and air-conditioning equipment
CN104990326A (en) * 2015-06-26 2015-10-21 青岛海尔股份有限公司 Refrigerator and temperature measuring method based on infrared sensors

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003269447A (en) * 2002-03-15 2003-09-25 Nsk Ltd Bearing device with sensor and abnormality detection method for bearing device with sensor
JP5907802B2 (en) * 2012-05-15 2016-04-26 三菱電機ビルテクノサービス株式会社 Air conditioning control device, temperature sensor deterioration determination method, and program
US9464999B2 (en) * 2013-11-04 2016-10-11 Honeywell International Inc. Detecting temperature sensor anomalies
CN107218696A (en) * 2017-05-15 2017-09-29 广东美的暖通设备有限公司 The detection method and computer-readable recording medium of air conditioner and its temperature-sensitive bag
CN107255349B (en) * 2017-06-26 2019-11-22 广东美的暖通设备有限公司 Sensor temperature modification method, device and computer readable storage medium
CN109140688B (en) * 2018-08-31 2021-07-16 广东美的制冷设备有限公司 Control method of air conditioner, air conditioner and storage medium
CN110469953B (en) * 2019-08-26 2021-07-16 广东美的制冷设备有限公司 Detection method for exhaust temperature sensor of air conditioner, air conditioner and medium
CN110702273A (en) * 2019-10-15 2020-01-17 苏州伟创电气科技股份有限公司 Frequency converter temperature sensor abnormality detection method, frequency converter and storage medium
CN112728717B (en) * 2021-01-04 2022-07-19 格力电器(武汉)有限公司 Temperature sensor control method, electronic device and storage medium
CN113357763B (en) * 2021-05-20 2022-04-19 青岛海尔空调器有限总公司 Method, device and smart air conditioner for detecting indoor temperature

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104279689A (en) * 2013-07-10 2015-01-14 海尔集团公司 Background temperature updating method and device for multi-channel region and air-conditioning equipment
CN104990326A (en) * 2015-06-26 2015-10-21 青岛海尔股份有限公司 Refrigerator and temperature measuring method based on infrared sensors

Also Published As

Publication number Publication date
CN114963462A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
CN113819575B (en) Control method and device for air conditioner and server
US11995726B2 (en) Home device sensing
CN111964234A (en) Method and device for controlling air conditioner compressor and air conditioner
CN106152389A (en) Air conditioner control method, device and system
CN110986267A (en) Detection method and device for abnormal sound of air conditioner, and air conditioner
WO2019214230A1 (en) Air conditioner defrosting method and device
CN114312213A (en) Refrigerant capacity abnormality prediction method, apparatus, device and medium for vehicle
WO2024207857A1 (en) Method and device for controlling air conditioner, and air conditioner and storage medium
CN115823708A (en) Method and device for detecting gas concentration, air conditioner, storage medium
CN115111816B (en) Method, device and storage medium for detecting electronic expansion valve
CN114963462B (en) Temperature correction method and device for air conditioner, air conditioner, and storage medium
CN112639844B (en) Control system and control method
CN114710369B (en) Abnormal data detection method and device, computer equipment and storage medium
CN109520098B (en) Control method and control device for compressor frequency and air conditioner
CN112231194B (en) Index abnormity root analysis method and device and computer readable storage medium
CN115406067A (en) Air conditioner control method, device, equipment and storage medium
CN118426320A (en) A cold source control method, system and medium based on DDC control
JP7431535B2 (en) Server and control system and control program
CN118532313A (en) Abnormality detection method, abnormality detection device, electrical appliance and readable storage medium
CN114383293B (en) Method and device for air conditioning control, air conditioning, and storage medium
CN114754465B (en) Control method and device for defrosting, defrosting control system and storage medium
CN116045453A (en) Air conditioner, detection method, storage medium, control system and control device
CN114353260A (en) Method and device for judging refrigerant quantity, air conditioner and storage medium
CN116066960A (en) Method and device for controlling air conditioner, electronic equipment and storage medium
CN103986595A (en) Fault analyzing and upgrading method and server

Legal Events

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