WO2020024540A1 - Electric heater failure alerting method and apparatus, computer device and storage medium - Google Patents

Electric heater failure alerting method and apparatus, computer device and storage medium Download PDF

Info

Publication number
WO2020024540A1
WO2020024540A1 PCT/CN2018/123010 CN2018123010W WO2020024540A1 WO 2020024540 A1 WO2020024540 A1 WO 2020024540A1 CN 2018123010 W CN2018123010 W CN 2018123010W WO 2020024540 A1 WO2020024540 A1 WO 2020024540A1
Authority
WO
WIPO (PCT)
Prior art keywords
temperature data
temperature
electric heater
state
preset
Prior art date
Application number
PCT/CN2018/123010
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 WO2020024540A1 publication Critical patent/WO2020024540A1/en

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24DDOMESTIC- OR SPACE-HEATING SYSTEMS, e.g. CENTRAL HEATING SYSTEMS; DOMESTIC HOT-WATER SUPPLY SYSTEMS; ELEMENTS OR COMPONENTS THEREFOR
    • F24D19/00Details
    • F24D19/10Arrangement or mounting of control or safety devices
    • F24D19/1096Arrangement or mounting of control or safety devices for electric heating systems

Definitions

  • the present application relates to the field of household appliances, and in particular, to a method, a device, a computer device, and a storage medium for alarming a heater failure.
  • a temperature limiter is used for temperature control protection, but at present, when the temperature limiter is disconnected, the load does not work and the display panel shows normal, so that the user cannot know whether the temperature limiter is in the disconnected state.
  • An electric heater failure alarm method includes:
  • determining the state of the temperature limiter of the electric heater according to the first temperature data and the second temperature data includes:
  • the state of the temperature limiter of the electric heater is determined according to the first temperature data at the end time and the second temperature data at the end time.
  • the determining whether the change trend of the first temperature data within the first preset time period satisfies the preset change trend includes:
  • the first temperature data does not increase during the first preset time period, it is determined that a change trend of the first temperature data meets the preset change trend.
  • the determining whether the first temperature data changes during the first preset time period includes:
  • the method further includes:
  • the first temperature data has a rising change within the first preset time period, obtaining a rising time point when the first temperature data rises;
  • determining the state of the temperature limiter of the electric heater according to the first temperature data at the end time and the second temperature data at the end time includes:
  • the state of the temperature limiter of the electric heater is determined according to the difference.
  • the determining the state of the temperature limiter of the electric heater according to the difference value includes:
  • An electric heater failure alarm device the device includes:
  • a temperature data acquisition module configured to acquire first temperature data monitored by the top temperature sensing bag of the electric heater, and second temperature data monitored by the environmental temperature sensing bag;
  • a status determining module configured to determine a status of a temperature limiter of the electric heater according to the first temperature data and the second temperature data;
  • An alarm module is configured to perform a fault alarm operation when the temperature limiter is in an off state.
  • a computer device includes a memory and a processor.
  • the memory stores a computer program that can run on the processor, and the processor implements the following steps when the computer program executes:
  • a computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, the following steps are implemented:
  • the above-mentioned electric heater failure alarm method, device, computer equipment and storage medium can accurately determine the temperature limiter of the electric heater through the first temperature data obtained by the top temperature sensing package and the second temperature data obtained by the environmental temperature sensing package. Whether it is in the disconnected state. When the state is disconnected, a fault alarm is performed, so that the user knows that the temperature limiter is in the disconnected state, and the electric heater has stopped working, improving the user experience.
  • FIG. 1 is an application environment diagram of an electric heater failure alarm method according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of an electric heater failure alarm method according to an embodiment of the present application.
  • step 3 is a schematic flowchart of a detailed step of step 202 in an embodiment of the present application.
  • step 301 is a schematic flowchart of a detailed step of step 301 in an embodiment of the present application.
  • FIG. 5 is a structural block diagram of an electric heater failure alarm device according to an embodiment of the present application.
  • FIG. 6 is an internal structure diagram of a computer device in an embodiment of the present application.
  • the electric heater fault alarm method provided in the embodiment of the present application can be applied to the application environment shown in FIG. 1.
  • the electric heater includes a top temperature-sensing bag 10 and an environmental temperature-sensing bag 20, and the top temperature-sensing bag 10 and the environmental temperature-sensing bag 20 are connected to the computer device 30 through a wire or wirelessly.
  • the computer device 30 includes at least a processor 31 and a memory 32.
  • the memory 32 stores a fault judgment algorithm.
  • the memory 32 receives and stores the first temperature data uploaded by the top temperature sensing pack 10 and the second temperature data uploaded by the environmental temperature sensing pack 20.
  • the processor 21 calls and runs the fault judgment algorithm in the memory 22, and performs calculation processing on the input first temperature data and the second temperature data.
  • the computer device 30 may be an integrated circuit board, which is integrated on the electric heater.
  • the computer device 30 and the electric heater are separate devices.
  • the electric heater further includes an alarm device 40, which is connected to the computer device 30. After the computer device 30 determines that there is a fault, an alarm instruction is sent to the alarm device 40, and the alarm device 40 performs an alarm according to the alarm instruction .
  • a fault alarm method for an electric heater is provided.
  • the method is applied to FIG. 1 as an example for description, and includes the following steps:
  • Step 201 Obtain first temperature data monitored by a temperature sensing package on the top of the electric heater, and second temperature data monitored by an environmental temperature sensing package;
  • the electric heater usually includes a top temperature sensing bag and an environmental temperature sensing bag.
  • the top temperature-sensing bag may be used to obtain temperature data of the electric heater itself. After the first temperature-sensing bag obtains the first temperature data, it sends the first temperature data to the computer device 30.
  • the environmental temperature-sensing package may be used to obtain the second temperature data. After the environmental temperature-sensing package obtains the second temperature data, it sends the second temperature data to the computer device 30.
  • the computer device 30 monitors the received first temperature data and second temperature data in real time.
  • Step 202 Determine a state of a temperature limiter of the electric heater according to the first temperature data and the second temperature data.
  • the state of the temperature limiter includes an open state and a closed state.
  • the heater will stop working when the temperature limiter is off, and the heater will work normally when the temperature limiter is closed.
  • step 203 when the state of the temperature limiter is an off state, a fault alarm operation is performed.
  • the first temperature data obtained by the top temperature sensing package and the second temperature data obtained by the environmental temperature sensing package can accurately determine whether the temperature limiter of the electric heater is in an off state, When it is in the on state, a fault alarm is performed, so that the user knows that the temperature limiter is in the disconnected state, and the electric heater has stopped working, improving the user experience.
  • step 202 may include:
  • Step 301 Determine whether a change trend of the first temperature data within a first preset time period satisfies a preset change trend
  • the first temperature data changes with time.
  • a first temperature data curve with temperature changing over time can be obtained. Therefore, through the trend of the first temperature data curve, the computer device 30 can determine whether the change trend of the first temperature data satisfies a preset change trend.
  • the preset change trend includes: the first temperature data decreases first and then gradually decreases in the first preset time period, the first temperature data decreases continuously in the first preset time period, and the first temperature data falls in the first preset time period Within the first preset time period, the first temperature data is first gradual, then descents and then gradual, etc.
  • the preset change trend does not include a change trend in which the first temperature data rises during the first preset time period.
  • the first preset time period is a limit value obtained according to multiple experiments in several scenarios.
  • the several scenes include different heating powers, different seasons, different weather, and whether the room is ventilated. In the above several scenarios, each scenario will get a time period after testing.
  • the time periods from the time when the lowest power heating starts to the time when the first temperature data drops to the lowest point and rises by 1 ° C are S1 and S2. ..Sn.
  • the electric heater starts from cold
  • the time periods during which the state starts low-power heating to the above-mentioned preset temperature values are s1, s2, ... sn, respectively.
  • the first preset time period is greater than S1, S2 ... Sn, and s1, s2 ... sn.
  • the temperature limiter if the temperature limiter is closed, the time is counted from the time of heating at the lowest power. No matter what the environment is, under normal use of the electric heater, the first temperature data will increase within the first preset time period. .
  • Step 302 if the change trend of the first temperature data meets the preset change trend, obtain first temperature data and second temperature data at an end time of the first preset time period;
  • the end time of the first preset time period is exemplified.
  • the first preset time period is 20 minutes. If the first temperature data changes in the time period from 1 minute to 20 minutes, When the preset change trend is satisfied, the first temperature data of the top temperature-sensing bag and the second temperature data of the environmental temperature-sensing bag at the 20th minute (the end time of the first preset time period) are obtained.
  • the electric heater cannot generate heat.
  • the other is that the first temperature data decreases first and then remains stable within the first preset time period.
  • the changes in the above two types of first temperature data are related to weather, indoor ventilation conditions, and other factors.
  • the change trend of the first temperature data will meet the preset change trend (the first temperature data is not within the first preset time period). Will change).
  • the duration of the entire process may exceed the first preset time period, and the above process satisfies a preset change trend ( The first temperature data will not change during the first preset time period).
  • the state of the temperature limiter is closed in the above process. Therefore, when the change trend of the first temperature data within the first preset time period meets the preset change trend, the state of the temperature limiter of the electric heater cannot be determined. Further, the state of the temperature limiter of the electric heater needs to be determined according to the first temperature data at the end time and the second temperature data at the end time.
  • Step 303 Determine the state of the temperature limiter of the electric heater according to the first temperature data at the end time and the second temperature data at the end time.
  • the difference between the first temperature data at the end time point and the second temperature data at the end time point is greater than a preset threshold.
  • the difference between the first temperature data at the end time point and the second temperature data at the end time point may be greater than a preset threshold.
  • the first temperature data at the end time point and the second temperature data at the end time point The difference between them will also be greater than a preset threshold.
  • the first temperature data when the temperature limiter is turned off, the first temperature data will drop rapidly, and the speed of the first temperature data will fall faster than the speed of the second temperature data. Therefore, when the temperature limiter is turned off, When on, the difference between the first temperature data at the end time point and the second temperature data at the end time point will be less than a preset threshold. Even in the case where the electric heater is not used normally, the difference between the first temperature data at the end time point and the second temperature data at the end time point is smaller than a preset threshold. Therefore, the state of the temperature limiter of the electric heater can be determined based on the difference between the first temperature data at the end time point and the second temperature data at the end time point.
  • the preset threshold is 20 ° C, which can be adjusted according to actual conditions.
  • the preset threshold determines the state of the temperature limiter of the electric heater as the off state. If the difference between the first temperature data at the end time point and the second temperature data at the end time point is greater than a preset threshold, it indicates that the first temperature data may be caused by the abnormal use of the electric heater There is no rising change in the first preset time period, but the temperature limiter is actually closed at this time.
  • the first temperature of the top temperature sensing bag at the end of the first preset time period is obtained.
  • the data and the second temperature data of the environmental temperature sensing package determine the state of the temperature limiter of the electric heater according to the first temperature data at the end time and the second temperature data at the end time. Because the top temperature sensing package and the environmental temperature sensing package are part of the electric heater, no additional circuit or device is required, that is, the user can know the status of the temperature limiter without adding any cost.
  • step 301 may include:
  • Step 401 Determine whether the first temperature data has a rising change within the first preset time period
  • judging whether the first temperature data has a rising change in the first preset time period is specifically: judging whether the change amount of the first temperature data in the second preset time period is a positive value.
  • the second preset time period is a unit of time change, and the size of the second preset time period needs to be much smaller than the size of the first preset time period.
  • the second preset time period is 0.1 second. It is assumed that the second preset time period is 0.1 second, and the determination of whether the change amount of the first temperature data is positive in the second preset time period is specifically: subtracting the first temperature data at 0.2 second from the time at 0.1 second The first temperature data is obtained with a change amount. If the change amount is a positive value (greater than 0), it indicates that the first temperature data has a rising change within a first preset time period.
  • the first temperature data is first decreased and then gradual in the first preset time period, the first temperature data is continuously decreased in the first pre-set time period, and the first temperature data is first gradual and then decreased in the first preset time period.
  • the first temperature data is first gradual, then decreases and then gradual in the first preset time period, etc., because the change amount of the first temperature data is not positive in the second preset time period, the first temperature data in the above case None have changed.
  • Step 402 if the first temperature data does not rise and change within the first preset time period, determine that a change trend of the first temperature data meets the preset change trend;
  • Step 403 if the first temperature data has a rising change within the first preset time period, obtain a rising time point when the first temperature data rises;
  • the state of the temperature limiter cannot be directly determined as the closed state. It may also be caused by factors such as sudden voltage instability, which causes the first temperature data to change during the first preset time period. Therefore, if there is an upward change directly from the first temperature data, it is judged as a closed state, which will cause a misjudgment. In order to avoid misjudgment, when it is detected that the first temperature data has a rising change within the first preset time period, the rising time point when the first temperature data is rising is obtained, and the data after the rising time point is analyzed.
  • Step 404 Determine whether the first temperature data in the third preset time period after the rising time point gradually increases
  • step 405 if it does not gradually increase, the method returns to step 402, where the step of determining that the change trend of the first temperature data meets the preset change trend is performed.
  • step 403 in order to avoid the misjudgment described in step 403, it is necessary to determine whether the first temperature data in the third preset time period gradually becomes larger. If the first temperature data gradually increases in the third preset time period, it is determined that it is not due to factors such as sudden voltage instability that the first temperature data changes in the first preset time period. The thermostat's temperature limiter is indeed closed. If it does not increase gradually in the third preset time period, it is determined that the first temperature data has an increase and change in the first preset time period due to the influence of factors such as sudden voltage instability, and the increase change is only An abnormal situation, ignoring the abnormal situation, the change trend of the first temperature data actually meets the preset change trend.
  • the third preset time period is less than the first preset time period, and the third preset time period is greater than the second preset time period.
  • the rising time point when the first temperature data rises is obtained, and the third preset time period after the rising time point is determined. Whether the first temperature data in the database gradually increases. If the first temperature data gradually increases in the third preset time period, it is determined that the first temperature data is not affected by factors such as sudden voltage instability, etc. If there is an upward change in the time period, the temperature limiter of the electric heater is indeed closed. If the first temperature data does not gradually increase in the third preset time period, it is determined that the first temperature data has an increase and change in the first preset time period due to the influence of factors such as sudden voltage instability. The rising change is only an abnormal situation. Ignoring the abnormal situation, the change trend of the first temperature data actually meets the preset change trend. The above method can avoid misjudging the status of the temperature limiter, and make the judgment result more accurate.
  • steps in the flowcharts of FIGS. 2-4 are sequentially displayed in accordance with the directions of the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless explicitly stated in this document, the execution of these steps is not strictly limited, and these steps can be performed in other orders. Moreover, at least a part of the steps in Figure 2-4 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily performed at the same time, but may be performed at different times. These sub-steps or stages The execution order of is not necessarily performed sequentially, but may be performed in turn or alternately with at least a part of another step or a sub-step or stage of another step.
  • an embodiment of the present application further provides an electric heater failure alarm device, including: a temperature data acquisition module 501, a status determination module 502, and an alarm module 503, wherein:
  • a temperature data acquisition module 501 configured to acquire first temperature data monitored by the top temperature sensing bag of the electric heater, and second temperature data monitored by the environmental temperature sensing bag;
  • a determination status module 502 configured to determine a status of a temperature limiter of the electric heater according to the first temperature data and the second temperature data;
  • the alarm module 503 is configured to perform a fault alarm operation when the state of the temperature limiter is an off state.
  • the determination status module 502 is configured to: determine whether a change trend of the first temperature data meets a preset change trend within a first preset time period; if the change trend of the first temperature data Meet the preset change trend, and obtain first temperature data and second temperature data at the end time of the first preset time period; according to the first temperature data at the end time and the second temperature at the end time The data determines the state of the temperature limiter of the electric heater.
  • the determination status module 502 is further configured to: determine whether the first temperature data has a rising change within the first preset time period; If the first temperature data does not change, it is determined that the change trend of the first temperature data meets the preset change trend.
  • the determination status module 502 is further configured to determine whether a change amount of the first temperature data is a positive value within a second preset time period.
  • the determination status module 502 is further configured to: if the first temperature data has a rising change within the first preset time period, obtain a rising time when the first temperature data rises Point; judging whether the first temperature data in the third preset time period gradually increases after the rising time point; if it does not gradually increase, return to and execute the determining that the change trend of the first temperature data meets all Describe the steps of preset changing trend.
  • the determination status module 502 is further configured to: obtain a difference between the first temperature data at the end time and the second temperature data at the end time; and determine the according to the difference Condition of the thermostat of the electric heater.
  • the determination status module 502 is further configured to determine the magnitude of the difference value and a preset threshold value; if the difference value is greater than or equal to the preset threshold value, determine the The state is a closed state; if the difference is less than the preset threshold, it is determined that the state of the temperature limiter is an open state.
  • Each module in the above-mentioned electric heater failure alarm device may be implemented in whole or in part by software, hardware, and a combination thereof.
  • Each of the above modules may be embedded in the hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • an embodiment of the present application further provides a computer device.
  • the computer device may be a server.
  • the computer device includes a processor, a memory, a network interface, and a database connected through a system bus.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system, a computer program, and a database.
  • the internal memory provides an environment for running an operating system and computer programs in a non-volatile storage medium.
  • the database of the computer equipment is used to store the first temperature data, the second temperature data and the fault judgment algorithm.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer program is executed by a processor to implement a method for alarming a heater failure.
  • FIG. 6 is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer equipment to which the scheme of the present application is applied.
  • the specific computer equipment may be Include more or fewer parts than shown in the figure, or combine certain parts, or have a different arrangement of parts.
  • a computer device which includes a memory and a processor.
  • the memory stores a computer program that can run on the processor.
  • the processor executes the computer program, the following steps are implemented:
  • the processor executes the computer program to further implement the following steps:
  • the state of the temperature limiter of the electric heater is determined according to the first temperature data at the end time and the second temperature data at the end time.
  • the processor executes the computer program to further implement the following steps:
  • the first temperature data does not increase during the first preset time period, it is determined that a change trend of the first temperature data meets the preset change trend.
  • the processor executes the computer program to further implement the following steps:
  • the processor executes the computer program to further implement the following steps:
  • the first temperature data has a rising change within the first preset time period, obtaining a rising time point when the first temperature data rises;
  • the processor executes the computer program to further implement the following steps:
  • the state of the temperature limiter of the electric heater is determined according to the difference.
  • the processor executes the computer program to further implement the following steps:
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
  • the computer program when executed by the processor further implements the following steps:
  • the state of the temperature limiter of the electric heater is determined according to the first temperature data at the end time and the second temperature data at the end time.
  • the computer program when executed by the processor further implements the following steps:
  • the first temperature data does not increase during the first preset time period, it is determined that a change trend of the first temperature data meets the preset change trend.
  • the computer program when executed by the processor further implements the following steps:
  • the computer program when executed by the processor further implements the following steps:
  • the first temperature data has a rising change within the first preset time period, obtaining a rising time point when the first temperature data rises;
  • the computer program when executed by the processor further implements the following steps:
  • the state of the temperature limiter of the electric heater is determined according to the difference.
  • the computer program when executed by the processor further implements the following steps:
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM dual data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Synchlink DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Central Heating Systems (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

An electric heater failure alerting method, an electric heater failure alerting apparatus, a computer device, and a computer-readable storage medium. The method comprises: acquiring first temperature data monitored by a top temperature sensing package (10) of the electric heater and second temperature data monitored by an environmental temperature sensing package (20); determining a state of a temperature limiter of the electric heater according to the first temperature data and the second temperature data; and when the temperature limiter is in a switch-off state, performing a failure alert operation such that a user is notified of the switch-off state of the temperature limiter and that the electric heater has stopped working, improving the user experience.

Description

电暖器故障报警方法、装置、计算机设备和存储介质Electric heater failure alarm method and device, computer equipment and storage medium
相关申请Related applications
本申请要求2018年07月31日申请的,申请号为201810855517.7,名称为“电暖器故障报警方法、装置、计算机设备和存储介质”的中国专利申请的优先权,在此将其全文引入作为参考。This application claims the priority of a Chinese patent application filed on July 31, 2018 with the application number 201810855517.7 and entitled "Electric heater failure alarm method, device, computer equipment and storage medium", which is hereby incorporated by reference in its entirety as reference.
技术领域Technical field
本申请涉及家用电器领域,特别是涉及一种电暖器故障报警方法、装置、计算机设备和存储介质。The present application relates to the field of household appliances, and in particular, to a method, a device, a computer device, and a storage medium for alarming a heater failure.
背景技术Background technique
目前,电暖器已经得到十分普及的应用,特别是在没暖气供应的地区,在阴冷潮湿的冬天,电暖器的使用更为普遍。At present, electric heaters have been widely used, especially in areas without heating supplies. In cold and humid winters, the use of electric heaters is more common.
电暖器作为一种发热器具,为了保证其安全性必须要进行控温保护。通常情况下会利用限温器进行控温保护,但是目前,限温器断开的时候,负载不工作,显示板却显示正常,使得用户无法得知限温器是否处于断开状态。As a heating device, electric heaters must be temperature-controlled to ensure their safety. Normally, a temperature limiter is used for temperature control protection, but at present, when the temperature limiter is disconnected, the load does not work and the display panel shows normal, so that the user cannot know whether the temperature limiter is in the disconnected state.
发明内容Summary of the invention
基于此,有必要针对上述技术问题,提供一种使得用户获知限温器的状态的电暖器故障报警方法、装置、计算机设备和存储介质。Based on this, it is necessary to provide a method, an apparatus, a computer device, and a storage medium for an electric heater failure alarm that enable a user to know the state of the temperature limiter in response to the above technical problems.
一种电暖器故障报警方法,所述方法包括:An electric heater failure alarm method, the method includes:
获取所述电暖器的顶部感温包监测的第一温度数据,以及环境感温包监测的第二温度数据;Acquiring first temperature data monitored by a top temperature sensing bag of the electric heater, and second temperature data monitored by an environmental temperature sensing bag;
根据所述第一温度数据及所述第二温度数据,确定所述电暖器的限温器的状态;Determining a state of a temperature limiter of the electric heater according to the first temperature data and the second temperature data;
当所述限温器的状态为断开状态时,执行故障报警操作。When the state of the temperature limiter is an off state, a fault alarm operation is performed.
在其中一个实施例中,所述根据所述第一温度数据及所述第二温度数据,确定所述电暖器的限温器的状态,包括:In one embodiment, determining the state of the temperature limiter of the electric heater according to the first temperature data and the second temperature data includes:
判断第一预设时间段内的所述第一温度数据的变化趋势是否满足预设变化趋势;Determining whether the change trend of the first temperature data within the first preset time period satisfies the preset change trend;
若所述第一温度数据的变化趋势满足所述预设变化趋势,获取所述第一预设时间段的 结束时刻的第一温度数据及第二温度数据;If the change trend of the first temperature data satisfies the preset change trend, obtaining first temperature data and second temperature data at an end time of the first preset time period;
根据所述结束时刻的第一温度数据与所述结束时刻的第二温度数据,确定所述电暖器的限温器的状态。The state of the temperature limiter of the electric heater is determined according to the first temperature data at the end time and the second temperature data at the end time.
在其中一个实施例中,所述判断第一预设时间段内的所述第一温度数据的变化趋势是否满足预设变化趋势,包括:In one of the embodiments, the determining whether the change trend of the first temperature data within the first preset time period satisfies the preset change trend includes:
判断在所述第一预设时间段内所述第一温度数据是否有上升变化;Judging whether the first temperature data has a rising change within the first preset time period;
若在所述第一预设时间段内所述第一温度数据没有上升变化,则确定所述第一温度数据的变化趋势满足所述预设变化趋势。If the first temperature data does not increase during the first preset time period, it is determined that a change trend of the first temperature data meets the preset change trend.
在其中一个实施例中,所述判断在所述第一预设时间段内所述第一温度数据是否有上升变化,包括:In one of the embodiments, the determining whether the first temperature data changes during the first preset time period includes:
判断在第二预设时间段内所述第一温度数据的变化量是否为正值。It is determined whether a change amount of the first temperature data is a positive value within a second preset time period.
在其中一个实施例中,所述方法还包括:In one of the embodiments, the method further includes:
若在所述第一预设时间段内所述第一温度数据有上升变化,则获取所述第一温度数据上升时的上升时间点;If the first temperature data has a rising change within the first preset time period, obtaining a rising time point when the first temperature data rises;
判断所述上升时间点之后的第三预设时间段内的第一温度数据是否逐渐变大;Determining whether the first temperature data in the third preset time period after the rising time point gradually increases;
若未逐渐变大,则返回执行所述确定所述第一温度数据的变化趋势满足所述预设变化趋势的步骤。If it does not gradually increase, return to and execute the step of determining that the change trend of the first temperature data satisfies the preset change trend.
在其中一个实施例中,所述根据所述结束时刻的第一温度数据与所述结束时刻的第二温度数据,确定所述电暖器的限温器的状态,包括:In one embodiment, determining the state of the temperature limiter of the electric heater according to the first temperature data at the end time and the second temperature data at the end time includes:
获取所述结束时刻的第一温度数据与所述结束时刻的第二温度数据之间的差值;Acquiring a difference between the first temperature data at the end time and the second temperature data at the end time;
根据所述差值确定所述电暖器的限温器的状态。The state of the temperature limiter of the electric heater is determined according to the difference.
在其中一个实施例中,所述根据所述差值确定所述电暖器的限温器的状态,包括:In one embodiment, the determining the state of the temperature limiter of the electric heater according to the difference value includes:
判断所述差值与预设阈值的大小;Judging the magnitude of the difference and a preset threshold;
若所述差值大于或等于所述预设阈值,则确定所述限温器的状态为闭合状态;If the difference is greater than or equal to the preset threshold, determining that the state of the temperature limiter is a closed state;
若所述差值小于所述预设阈值,则确定所述限温器的状态为断开状态。If the difference is less than the preset threshold, it is determined that the state of the temperature limiter is an off state.
一种电暖器故障报警装置,所述装置包括:An electric heater failure alarm device, the device includes:
温度数据获取模块,用于获取所述电暖器的顶部感温包监测的第一温度数据,以及环境感温包监测的第二温度数据;A temperature data acquisition module, configured to acquire first temperature data monitored by the top temperature sensing bag of the electric heater, and second temperature data monitored by the environmental temperature sensing bag;
确定状态模块,用于根据所述第一温度数据及所述第二温度数据,确定所述电暖器的限温器的状态;A status determining module, configured to determine a status of a temperature limiter of the electric heater according to the first temperature data and the second temperature data;
报警模块,用于当所述限温器的状态为断开状态时,执行故障报警操作。An alarm module is configured to perform a fault alarm operation when the temperature limiter is in an off state.
一种计算机设备,包括存储器及处理器,所述存储器上存储有可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:A computer device includes a memory and a processor. The memory stores a computer program that can run on the processor, and the processor implements the following steps when the computer program executes:
获取所述电暖器的顶部感温包监测的第一温度数据,以及环境感温包监测的第二温度数据;Acquiring first temperature data monitored by a top temperature sensing bag of the electric heater, and second temperature data monitored by an environmental temperature sensing bag;
根据所述第一温度数据及所述第二温度数据,确定所述电暖器的限温器的状态;Determining a state of a temperature limiter of the electric heater according to the first temperature data and the second temperature data;
当所述限温器的状态为断开状态时,执行故障报警操作。When the state of the temperature limiter is an off state, a fault alarm operation is performed.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:A computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, the following steps are implemented:
获取所述电暖器的顶部感温包监测的第一温度数据,以及环境感温包监测的第二温度数据;Acquiring first temperature data monitored by a top temperature sensing bag of the electric heater, and second temperature data monitored by an environmental temperature sensing bag;
根据所述第一温度数据及所述第二温度数据,确定所述电暖器的限温器的状态;Determining a state of a temperature limiter of the electric heater according to the first temperature data and the second temperature data;
当所述限温器的状态为断开状态时,执行故障报警操作。When the state of the temperature limiter is an off state, a fault alarm operation is performed.
上述电暖器故障报警方法、装置、计算机设备和存储介质,通过顶部感温包获取的第一温度数据及环境感温包获取的第二温度数据,可以准确的确定电暖器的限温器是否处于断开状态,在断开状态的时候,进行故障报警,使得用户得知限温器已处于断开状态,电暖器已停止工作,提高用户体验。The above-mentioned electric heater failure alarm method, device, computer equipment and storage medium can accurately determine the temperature limiter of the electric heater through the first temperature data obtained by the top temperature sensing package and the second temperature data obtained by the environmental temperature sensing package. Whether it is in the disconnected state. When the state is disconnected, a fault alarm is performed, so that the user knows that the temperature limiter is in the disconnected state, and the electric heater has stopped working, improving the user experience.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据公开的附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present application or the prior art more clearly, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are merely It is an embodiment of the present application. For those of ordinary skill in the art, other drawings can be obtained according to the disclosed drawings without paying creative labor.
图1为本申请一个实施例中电暖器故障报警方法的应用环境图;FIG. 1 is an application environment diagram of an electric heater failure alarm method according to an embodiment of the present application; FIG.
图2为本申请一个实施例中电暖器故障报警方法的流程示意图;2 is a schematic flowchart of an electric heater failure alarm method according to an embodiment of the present application;
图3为本申请一个实施例中步骤202的细化步骤的流程示意图;3 is a schematic flowchart of a detailed step of step 202 in an embodiment of the present application;
图4为本申请一个实施例中步骤301的细化步骤的流程示意图;4 is a schematic flowchart of a detailed step of step 301 in an embodiment of the present application;
图5为本申请一个实施例中电暖器故障报警装置的结构框图;5 is a structural block diagram of an electric heater failure alarm device according to an embodiment of the present application;
图6为本申请一个实施例中计算机设备的内部结构图。FIG. 6 is an internal structure diagram of a computer device in an embodiment of the present application.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本 申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution, and advantages of the present application clearer, the following further describes the present application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application.
本申请实施例提供的电暖器故障报警方法,可以应用于如图1所示的应用环境中。其中,电暖器包括顶部感温包10及环境感温包20,顶部感温包10和环境感温包20通过有线或无线与计算机设备30相连接。The electric heater fault alarm method provided in the embodiment of the present application can be applied to the application environment shown in FIG. 1. The electric heater includes a top temperature-sensing bag 10 and an environmental temperature-sensing bag 20, and the top temperature-sensing bag 10 and the environmental temperature-sensing bag 20 are connected to the computer device 30 through a wire or wirelessly.
可选地,该计算机设备30至少包括一个处理器31与存储器32。存储器32内存储有故障判断算法,存储器32接收并存储顶部感温包10上传的第一温度数据及环境感温包20上传的第二温度数据。处理器21调用并运行存储器22内的故障判断算法,对输入的第一温度数据及第二温度数据进行计算处理。Optionally, the computer device 30 includes at least a processor 31 and a memory 32. The memory 32 stores a fault judgment algorithm. The memory 32 receives and stores the first temperature data uploaded by the top temperature sensing pack 10 and the second temperature data uploaded by the environmental temperature sensing pack 20. The processor 21 calls and runs the fault judgment algorithm in the memory 22, and performs calculation processing on the input first temperature data and the second temperature data.
可选地,该计算机设备30可以是一个集成电路板,集成电路板集成在电暖器上。或者,计算机设备30与电暖器是独立的设备。Optionally, the computer device 30 may be an integrated circuit board, which is integrated on the electric heater. Alternatively, the computer device 30 and the electric heater are separate devices.
可选地,电暖器还包括报警器40,报警器40与计算机设备30相连接,在利用计算机设备30确定存在故障后,发送报警指令至报警器40,报警器40根据该报警指令进行报警。Optionally, the electric heater further includes an alarm device 40, which is connected to the computer device 30. After the computer device 30 determines that there is a fault, an alarm instruction is sent to the alarm device 40, and the alarm device 40 performs an alarm according to the alarm instruction .
请参阅图2,在一个实施例中,提供了一种电暖器故障报警方法,以该方法应用于图1为例进行说明,包括以下步骤:Please refer to FIG. 2. In one embodiment, a fault alarm method for an electric heater is provided. The method is applied to FIG. 1 as an example for description, and includes the following steps:
步骤201,获取所述电暖器的顶部感温包监测的第一温度数据,以及环境感温包监测的第二温度数据;Step 201: Obtain first temperature data monitored by a temperature sensing package on the top of the electric heater, and second temperature data monitored by an environmental temperature sensing package;
其中,电暖器通常包括顶部感温包和环境感温包。顶部感温包可以用于获取电暖器自身的温度数据,顶部感温包在获取到第一温度数据后,将第一温度数据发送至计算机设备30。环境感温包可用于获取第二温度数据,环境感温包在获取到第二温度数据后,将第二温度数据发送至计算机设备30。计算机设备30对接收到第一温度数据和第二温度数据进行实时监测。Among them, the electric heater usually includes a top temperature sensing bag and an environmental temperature sensing bag. The top temperature-sensing bag may be used to obtain temperature data of the electric heater itself. After the first temperature-sensing bag obtains the first temperature data, it sends the first temperature data to the computer device 30. The environmental temperature-sensing package may be used to obtain the second temperature data. After the environmental temperature-sensing package obtains the second temperature data, it sends the second temperature data to the computer device 30. The computer device 30 monitors the received first temperature data and second temperature data in real time.
步骤202,根据所述第一温度数据及所述第二温度数据,确定所述电暖器的限温器的状态;Step 202: Determine a state of a temperature limiter of the electric heater according to the first temperature data and the second temperature data.
其中,限温器的状态包括断开状态和闭合状态。其中,限温器断开状态下电暖器会停止工作,限温器闭合状态下电暖器正常工作。Among them, the state of the temperature limiter includes an open state and a closed state. Among them, the heater will stop working when the temperature limiter is off, and the heater will work normally when the temperature limiter is closed.
步骤203,当所述限温器的状态为断开状态时,执行故障报警操作。In step 203, when the state of the temperature limiter is an off state, a fault alarm operation is performed.
上述电暖器故障报警方法,通过顶部感温包获取的第一温度数据及环境感温包获取的第二温度数据,可以准确的确定电暖器的限温器是否处于断开状态,在断开状态的时候,进行故障报警,使得用户得知限温器已处于断开状态,电暖器已停止工作,提高用户体验。In the electric heater fault alarm method, the first temperature data obtained by the top temperature sensing package and the second temperature data obtained by the environmental temperature sensing package can accurately determine whether the temperature limiter of the electric heater is in an off state, When it is in the on state, a fault alarm is performed, so that the user knows that the temperature limiter is in the disconnected state, and the electric heater has stopped working, improving the user experience.
请参阅图3,作为一种可选的实施方式,步骤202的细化步骤可以包括:Referring to FIG. 3, as an optional implementation manner, the detailed step of step 202 may include:
步骤301,判断第一预设时间段内的所述第一温度数据的变化趋势是否满足预设变化趋势;Step 301: Determine whether a change trend of the first temperature data within a first preset time period satisfies a preset change trend;
其中,在具体的应用场景中,第一温度数据是随时间变化的,通过将第一温度数据和时间进行汇总,可以得到温度随时间变化的第一温度数据曲线。因此,通过该第一温度数据曲线的走向,计算机设备30可以确定第一温度数据的变化趋势是否满足预设变化趋势。Among them, in a specific application scenario, the first temperature data changes with time. By summing up the first temperature data and time, a first temperature data curve with temperature changing over time can be obtained. Therefore, through the trend of the first temperature data curve, the computer device 30 can determine whether the change trend of the first temperature data satisfies a preset change trend.
其中预设变化趋势包括:第一温度数据在第一预设时间段内先下降后平缓,第一温度数据在第一预设时间段内一直下降,第一温度数据在第一预设时间段内先平缓后下降,第一温度数据在第一预设时间段内先平缓后下降再平缓等。另外,预设变化趋势不包括第一预设时间段内的第一温度数据上升的变化趋势。The preset change trend includes: the first temperature data decreases first and then gradually decreases in the first preset time period, the first temperature data decreases continuously in the first preset time period, and the first temperature data falls in the first preset time period Within the first preset time period, the first temperature data is first gradual, then descents and then gradual, etc. In addition, the preset change trend does not include a change trend in which the first temperature data rises during the first preset time period.
其中,第一预设时间段是根据在若干场景的多次试验获取到的极限值。该若干场景包括加热功率的不同、季节的不同、天气的不同、室内是否通风等。在以上若干场景中,每个场景经过测试都会得到一个时间段。确定上述第一预设时间段的具体过程为:在多种环境下主要利用两种不同加热功率进行加热,第一种是,在多种环境下,先高档功率加热至第一温度数据稳定,然后停止加热,在第一温度数据下降至某一预设温度值(预设温度值=当前的环境温度+T℃)的时候,开始最低功率加热,则从最低功率加热时,第一温度数据会先下降至最低点然后上升,经测试,在多种环境下,从开始最低功率加热时计时,到第一温度数据下降至最低点后上升1℃时所用的时间段分别为S1、S2...Sn。第二种是,电暖器从冷态开始低功率加热到上述预设温度值(预设温度值=当前的环境温度+T℃),经测试,在多种环境下,电暖器从冷态开始低功率加热到上述预设温度值的时间段分别为s1、s2...sn。对上述各种环境下的两种不同加热功率的加热时间段S1、S2...Sn,及s1、s2...sn进行分析统计,可以得到第一预设时间段。其中,该第一预设时间段大于S1、S2...Sn,及s1、s2...sn。The first preset time period is a limit value obtained according to multiple experiments in several scenarios. The several scenes include different heating powers, different seasons, different weather, and whether the room is ventilated. In the above several scenarios, each scenario will get a time period after testing. The specific process of determining the first preset time period is as follows: in different environments, two different heating powers are mainly used for heating. The first is that in multiple environments, the high-end power is first heated until the first temperature data is stable. Then stop heating, when the first temperature data drops to a preset temperature value (preset temperature value = current ambient temperature + T ° C), start the lowest power heating, then when heating from the lowest power, the first temperature data It will first drop to the lowest point and then rise. After testing, under various environments, the time periods from the time when the lowest power heating starts to the time when the first temperature data drops to the lowest point and rises by 1 ° C are S1 and S2. ..Sn. The second is that the electric heater is heated from the cold state to the above-mentioned preset temperature value (preset temperature value = current ambient temperature + T ° C). After testing, under various environments, the electric heater starts from cold The time periods during which the state starts low-power heating to the above-mentioned preset temperature values are s1, s2, ... sn, respectively. Analysis and statistics are performed on the heating time periods S1, S2, ..., Sn, and s1, s2, ..., sn of two different heating powers in the above various environments, and a first preset time period can be obtained. The first preset time period is greater than S1, S2 ... Sn, and s1, s2 ... sn.
其中,若限温器是闭合的,则从最低功率加热时开始计时,无论是什么环境,在电暖器正常使用的情况下,在第一预设时间段内第一温度数据都会有上升变化。Among them, if the temperature limiter is closed, the time is counted from the time of heating at the lowest power. No matter what the environment is, under normal use of the electric heater, the first temperature data will increase within the first preset time period. .
步骤302,若所述第一温度数据的变化趋势满足所述预设变化趋势,获取所述第一预设时间段的结束时刻的第一温度数据及第二温度数据;Step 302: if the change trend of the first temperature data meets the preset change trend, obtain first temperature data and second temperature data at an end time of the first preset time period;
其中,对上述第一预设时间段的结束时刻进行举例说明,例如,第一预设时间段是20分钟,若在第1分钟到第20分钟的时间段内的第一温度数据的变化趋势满足预设变化趋势,则获取第20分钟时(该第一预设时间段的结束时刻)的顶部感温包的第一温度数据 及环境感温包的第二温度数据。The end time of the first preset time period is exemplified. For example, the first preset time period is 20 minutes. If the first temperature data changes in the time period from 1 minute to 20 minutes, When the preset change trend is satisfied, the first temperature data of the top temperature-sensing bag and the second temperature data of the environmental temperature-sensing bag at the 20th minute (the end time of the first preset time period) are obtained.
其中,在限温器断开的时候,电暖器无法产生热量,第一温度数据通常会有两种变化,一种是第一温度数据在第一预设时间段内持续下降,且下降速度较快。另一种是第一温度数据在第一预设时间段内先下降后稳定不变。上述两种第一温度数据的变化与天气、室内通风条件等因素有关。其中,在限温器断开的时候,因电暖器无法产生热量,正常情况下,第一温度数据的变化趋势会满足预设变化趋势(第一温度数据在第一预设时间段内不会有上升变化)。但是,并不是只有限温器断开才使得第一温度数据的变化趋势满足预设变化趋势(第一温度数据在第一预设时间段内不会有上升变化)。例如,先高档功率加热至第一温度数据稳定,然后停止加热,根据电暖器的控制在第一温度数据下降至某一预设温度值(预设温度值=当前的环境温度+T℃)的时候,电暖器会控制以最低功率加热,则从最低功率加热时,第一温度数据会先下降至最低点然后上升。其中,从加热至第一温度数据稳定,然后停止加热,一直到第一温度数据下降至最低点,这整个过程的持续时间可能会超过第一预设时间段,上述过程满足预设变化趋势(第一温度数据在第一预设时间段内不会有上升变化)。但是,上述过程虽然满足预设变化趋势(第一温度数据在第一预设时间段内不会有上升变化),实际上,上述过程中限温器的状态是闭合的。因此,在第一预设时间段内的第一温度数据的变化趋势满足预设变化趋势的时候,并不能确定电暖器的限温器的状态。进一步的,还需要根据结束时刻的第一温度数据与结束时刻的第二温度数据,确定电暖器的限温器的状态。Among them, when the temperature limiter is turned off, the electric heater cannot generate heat. There are usually two changes in the first temperature data. One is that the first temperature data continues to decline within the first preset time period, and the speed of decline Faster. The other is that the first temperature data decreases first and then remains stable within the first preset time period. The changes in the above two types of first temperature data are related to weather, indoor ventilation conditions, and other factors. Among them, when the temperature limiter is turned off, because the electric heater cannot generate heat, under normal circumstances, the change trend of the first temperature data will meet the preset change trend (the first temperature data is not within the first preset time period). Will change). However, it is not only that the temperature limiter is turned off that the change trend of the first temperature data satisfies a preset change trend (the first temperature data does not have an upward change in the first preset time period). For example, first the high-end power is heated until the first temperature data is stable, then the heating is stopped, and the first temperature data is lowered to a preset temperature value according to the control of the electric heater (preset temperature value = current ambient temperature + T ° C) When heating, the heater will control heating at the lowest power. When heating from the lowest power, the first temperature data will first drop to the lowest point and then rise. Among them, from the heating to the first temperature data is stable, and then the heating is stopped until the first temperature data drops to the lowest point, the duration of the entire process may exceed the first preset time period, and the above process satisfies a preset change trend ( The first temperature data will not change during the first preset time period). However, although the above-mentioned process satisfies a preset change trend (the first temperature data will not change in the first preset time period), in fact, the state of the temperature limiter is closed in the above process. Therefore, when the change trend of the first temperature data within the first preset time period meets the preset change trend, the state of the temperature limiter of the electric heater cannot be determined. Further, the state of the temperature limiter of the electric heater needs to be determined according to the first temperature data at the end time and the second temperature data at the end time.
步骤303,根据所述结束时刻的第一温度数据与所述结束时刻的第二温度数据,确定所述电暖器的限温器的状态。Step 303: Determine the state of the temperature limiter of the electric heater according to the first temperature data at the end time and the second temperature data at the end time.
在本申请一实施例中,在限温器没有断开的时候,结束时间点的第一温度数据与结束时间点的第二温度数据之间的差值都会大于预设阈值。即使在一些非正常使用电暖器的情况下,结束时间点的第一温度数据与结束时间点的第二温度数据之间的差值也会大于预设阈值。例如,当有比较凉的物体放置在电暖器上的时候,或者有较凉的液体滴落在电暖器上的时候,结束时间点的第一温度数据与结束时间点的第二温度数据之间的差值也都会大于预设阈值。In an embodiment of the present application, when the temperature limiter is not disconnected, the difference between the first temperature data at the end time point and the second temperature data at the end time point is greater than a preset threshold. Even in the case where the electric heater is not used normally, the difference between the first temperature data at the end time point and the second temperature data at the end time point may be greater than a preset threshold. For example, when a cooler object is placed on the electric heater, or when a cooler liquid drips on the electric heater, the first temperature data at the end time point and the second temperature data at the end time point The difference between them will also be greater than a preset threshold.
在本申请一实施例中,在限温器断开的时候,第一温度数据会快速下降,且第一温度数据的下降速度会大于第二温度数据的下降速度,因此,在限温器断开的时候,结束时间点的第一温度数据与结束时间点的第二温度数据之间的差值会小于预设阈值。即使在一些非正常使用电暖器的情况下,结束时间点的第一温度数据与结束时间点的第二温度数据之间的差值也会小于预设阈值。因此,可以根据结束时间点的第一温度数据与结束时间点的 第二温度数据之间的差值确定电暖器的限温器的状态。In an embodiment of the present application, when the temperature limiter is turned off, the first temperature data will drop rapidly, and the speed of the first temperature data will fall faster than the speed of the second temperature data. Therefore, when the temperature limiter is turned off, When on, the difference between the first temperature data at the end time point and the second temperature data at the end time point will be less than a preset threshold. Even in the case where the electric heater is not used normally, the difference between the first temperature data at the end time point and the second temperature data at the end time point is smaller than a preset threshold. Therefore, the state of the temperature limiter of the electric heater can be determined based on the difference between the first temperature data at the end time point and the second temperature data at the end time point.
在一实施例中,该预设阈值为20℃,可根据实际情况进行调整。In one embodiment, the preset threshold is 20 ° C, which can be adjusted according to actual conditions.
在本申请实施例中,第一温度数据在第一预设时间段内没有上升变化的情况下,若结束时间点的第一温度数据与结束时间点的第二温度数据之间的差值小于预设阈值,则确定电暖器的限温器的状态为断开状态。若结束时间点的第一温度数据与结束时间点的第二温度数据之间的差值大于预设阈值,则表明可能是在一些非正常使用电暖器的情况下,导致了第一温度数据在第一预设时间段内没有上升变化,但此时限温器其实是闭合的。In the embodiment of the present application, if the first temperature data does not change during the first preset time period, if the difference between the first temperature data at the end time point and the second temperature data at the end time point is less than The preset threshold determines the state of the temperature limiter of the electric heater as the off state. If the difference between the first temperature data at the end time point and the second temperature data at the end time point is greater than a preset threshold, it indicates that the first temperature data may be caused by the abnormal use of the electric heater There is no rising change in the first preset time period, but the temperature limiter is actually closed at this time.
上述电暖器故障报警方法,当第一预设时间段内的第一温度数据的变化趋势满足预设变化趋势时,获取第一预设时间段的结束时刻的顶部感温包的第一温度数据及环境感温包的第二温度数据,根据结束时刻的第一温度数据与结束时刻的第二温度数据,确定电暖器的限温器的状态。因顶部感温包和环境感温包是电暖器的组成部分,则不需要额外设置电路或器件,即不增加任何成本就可以使用户获知限温器的状态。In the above electric heater failure alarm method, when the change trend of the first temperature data in the first preset time period satisfies the preset change trend, the first temperature of the top temperature sensing bag at the end of the first preset time period is obtained. The data and the second temperature data of the environmental temperature sensing package determine the state of the temperature limiter of the electric heater according to the first temperature data at the end time and the second temperature data at the end time. Because the top temperature sensing package and the environmental temperature sensing package are part of the electric heater, no additional circuit or device is required, that is, the user can know the status of the temperature limiter without adding any cost.
请参阅图4,作为一种可选的实施方式,步骤301的细化步骤可以包括:,Referring to FIG. 4, as an optional implementation manner, the detailed steps of step 301 may include:
步骤401,判断在所述第一预设时间段内所述第一温度数据是否有上升变化;Step 401: Determine whether the first temperature data has a rising change within the first preset time period;
在本申请实施例中,判断在第一预设时间段内第一温度数据是否有上升变化具体为:判断在第二预设时间段内第一温度数据的变化量是否为正值。其中,第二预设时间段是一个时间变化单位,第二预设时间段的大小需要远小于第一预设时间段的大小,例如,第二预设时间段为0.1秒等。其中假设第二预设时间段为0.1秒,判断在第二预设时间段内第一温度数据的变化量是否为正值具体为:将0.2秒时的第一温度数据减去0.1秒时的第一温度数据,得到一个变化量,若该变化量为正值(大于0),则表示在第一预设时间段内第一温度数据有上升变化。In the embodiment of the present application, judging whether the first temperature data has a rising change in the first preset time period is specifically: judging whether the change amount of the first temperature data in the second preset time period is a positive value. The second preset time period is a unit of time change, and the size of the second preset time period needs to be much smaller than the size of the first preset time period. For example, the second preset time period is 0.1 second. It is assumed that the second preset time period is 0.1 second, and the determination of whether the change amount of the first temperature data is positive in the second preset time period is specifically: subtracting the first temperature data at 0.2 second from the time at 0.1 second The first temperature data is obtained with a change amount. If the change amount is a positive value (greater than 0), it indicates that the first temperature data has a rising change within a first preset time period.
其中,第一温度数据在第一预设时间段内先下降后平缓,第一温度数据在第一预设时间段内一直下降,第一温度数据在第一预设时间段内先平缓后下降,第一温度数据在第一预设时间段内先平缓后下降再平缓等,因在第二预设时间段内第一温度数据的变化量都不为正值,所以上述情况第一温度数据都没有上升变化。Wherein, the first temperature data is first decreased and then gradual in the first preset time period, the first temperature data is continuously decreased in the first pre-set time period, and the first temperature data is first gradual and then decreased in the first preset time period. , The first temperature data is first gradual, then decreases and then gradual in the first preset time period, etc., because the change amount of the first temperature data is not positive in the second preset time period, the first temperature data in the above case None have changed.
步骤402,若在所述第一预设时间段内所述第一温度数据没有上升变化,则确定所述第一温度数据的变化趋势满足所述预设变化趋势;Step 402: if the first temperature data does not rise and change within the first preset time period, determine that a change trend of the first temperature data meets the preset change trend;
步骤403,若在所述第一预设时间段内所述第一温度数据有上升变化,则获取所述第一温度数据上升时的上升时间点;Step 403: if the first temperature data has a rising change within the first preset time period, obtain a rising time point when the first temperature data rises;
在本申请实施例中,若在第一预设时间段内第一温度数据有上升变化,也不能直接确定限温器的状态为闭合状态。也可能是因电压突然不稳定等因素的影响,导致的在第一预 设时间段内第一温度数据有上升变化。因此,若直接根据第一温度数据有上升变化就判断为闭合状态,会导致误判。为了避免误判,在监测到第一温度数据在第一预设时间段内有上升变化的时候,获取第一温度数据上升时的上升时间点,并对该上升时间点之后的数据进行分析。In the embodiment of the present application, if the first temperature data changes during the first preset time period, the state of the temperature limiter cannot be directly determined as the closed state. It may also be caused by factors such as sudden voltage instability, which causes the first temperature data to change during the first preset time period. Therefore, if there is an upward change directly from the first temperature data, it is judged as a closed state, which will cause a misjudgment. In order to avoid misjudgment, when it is detected that the first temperature data has a rising change within the first preset time period, the rising time point when the first temperature data is rising is obtained, and the data after the rising time point is analyzed.
步骤404,判断所述上升时间点之后的第三预设时间段内的第一温度数据是否逐渐变大;Step 404: Determine whether the first temperature data in the third preset time period after the rising time point gradually increases;
步骤405,若未逐渐变大,则返回执行步骤402中的所述确定所述第一温度数据的变化趋势满足所述预设变化趋势的步骤。In step 405, if it does not gradually increase, the method returns to step 402, where the step of determining that the change trend of the first temperature data meets the preset change trend is performed.
在本申请实施例中,为了避免步骤403中所述的误判,需要判断第三预设时间段内的第一温度数据是否逐渐变大。若在第三预设时间段内的第一温度数据逐渐变大,则确定不是因为电压突然不稳定等因素的影响,使得第一温度数据在第一预设时间段内有上升变化的,电暖器的限温器确实是闭合的。若在第三预设时间段内没有逐渐增大,则确定是因为电压突然不稳定等因素的影响,使得第一温度数据在第一预设时间段内有上升变化的,该上升变化仅仅是一个异常情况,忽略该异常情况,第一温度数据的变化趋势实际上是满足预设变化趋势的。In the embodiment of the present application, in order to avoid the misjudgment described in step 403, it is necessary to determine whether the first temperature data in the third preset time period gradually becomes larger. If the first temperature data gradually increases in the third preset time period, it is determined that it is not due to factors such as sudden voltage instability that the first temperature data changes in the first preset time period. The thermostat's temperature limiter is indeed closed. If it does not increase gradually in the third preset time period, it is determined that the first temperature data has an increase and change in the first preset time period due to the influence of factors such as sudden voltage instability, and the increase change is only An abnormal situation, ignoring the abnormal situation, the change trend of the first temperature data actually meets the preset change trend.
其中,第三预设时间段小于第一预设时间段,第三预设时间段大于第二预设时间段。The third preset time period is less than the first preset time period, and the third preset time period is greater than the second preset time period.
上述电暖器故障报警方法,若在第一预设时间段内第一温度数据有上升变化,则获取第一温度数据上升时的上升时间点,判断上升时间点之后的第三预设时间段内的第一温度数据是否逐渐变大,若第一温度数据在第三预设时间段内逐渐变大,则确定不是因为电压突然不稳定等因素的影响,使得第一温度数据在第一预设时间段内有上升变化的,电暖器的限温器确实是闭合的。若第一温度数据在第三预设时间段内没有逐渐增大,则确定是因为电压突然不稳定等因素的影响,使得第一温度数据在第一预设时间段内有上升变化的,该上升变化仅仅是一个异常情况,忽略该异常情况,第一温度数据的变化趋势实际上是满足预设变化趋势的,通过上述方法可以避免误判限温器的状态,使得判断结果更加准确。In the above electric heater fault alarm method, if the first temperature data changes during the first preset time period, the rising time point when the first temperature data rises is obtained, and the third preset time period after the rising time point is determined. Whether the first temperature data in the database gradually increases. If the first temperature data gradually increases in the third preset time period, it is determined that the first temperature data is not affected by factors such as sudden voltage instability, etc. If there is an upward change in the time period, the temperature limiter of the electric heater is indeed closed. If the first temperature data does not gradually increase in the third preset time period, it is determined that the first temperature data has an increase and change in the first preset time period due to the influence of factors such as sudden voltage instability. The rising change is only an abnormal situation. Ignoring the abnormal situation, the change trend of the first temperature data actually meets the preset change trend. The above method can avoid misjudging the status of the temperature limiter, and make the judgment result more accurate.
应该理解的是,虽然图2-4的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-4中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 2-4 are sequentially displayed in accordance with the directions of the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless explicitly stated in this document, the execution of these steps is not strictly limited, and these steps can be performed in other orders. Moreover, at least a part of the steps in Figure 2-4 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily performed at the same time, but may be performed at different times. These sub-steps or stages The execution order of is not necessarily performed sequentially, but may be performed in turn or alternately with at least a part of another step or a sub-step or stage of another step.
请参阅图5,本申请实施例还提供一种电暖器故障报警装置,包括:温度数据获取模块501、确定状态模块502和报警模块503,其中:Referring to FIG. 5, an embodiment of the present application further provides an electric heater failure alarm device, including: a temperature data acquisition module 501, a status determination module 502, and an alarm module 503, wherein:
温度数据获取模块501,用于获取所述电暖器的顶部感温包监测的第一温度数据,以及环境感温包监测的第二温度数据;A temperature data acquisition module 501, configured to acquire first temperature data monitored by the top temperature sensing bag of the electric heater, and second temperature data monitored by the environmental temperature sensing bag;
确定状态模块502,用于根据所述第一温度数据及所述第二温度数据,确定所述电暖器的限温器的状态;A determination status module 502, configured to determine a status of a temperature limiter of the electric heater according to the first temperature data and the second temperature data;
报警模块503,用于当所述限温器的状态为断开状态时,执行故障报警操作。The alarm module 503 is configured to perform a fault alarm operation when the state of the temperature limiter is an off state.
在一个实施例中,所述确定状态模块502用于:判断第一预设时间段内的所述第一温度数据的变化趋势是否满足预设变化趋势;若所述第一温度数据的变化趋势满足所述预设变化趋势,获取所述第一预设时间段的结束时刻的第一温度数据及第二温度数据;根据所述结束时刻的第一温度数据与所述结束时刻的第二温度数据,确定所述电暖器的限温器的状态。In one embodiment, the determination status module 502 is configured to: determine whether a change trend of the first temperature data meets a preset change trend within a first preset time period; if the change trend of the first temperature data Meet the preset change trend, and obtain first temperature data and second temperature data at the end time of the first preset time period; according to the first temperature data at the end time and the second temperature at the end time The data determines the state of the temperature limiter of the electric heater.
在一个实施例中,所述确定状态模块502还用于:判断在所述第一预设时间段内所述第一温度数据是否有上升变化;若在所述第一预设时间段内所述第一温度数据没有上升变化,则确定所述第一温度数据的变化趋势满足所述预设变化趋势。In one embodiment, the determination status module 502 is further configured to: determine whether the first temperature data has a rising change within the first preset time period; If the first temperature data does not change, it is determined that the change trend of the first temperature data meets the preset change trend.
在一个实施例中,所述确定状态模块502还用于:判断在第二预设时间段内所述第一温度数据的变化量是否为正值。In one embodiment, the determination status module 502 is further configured to determine whether a change amount of the first temperature data is a positive value within a second preset time period.
在一个实施例中,所述确定状态模块502还用于:若在所述第一预设时间段内所述第一温度数据有上升变化,则获取所述第一温度数据上升时的上升时间点;判断所述上升时间点之后的第三预设时间段内的第一温度数据是否逐渐变大;若未逐渐变大,则返回执行所述确定所述第一温度数据的变化趋势满足所述预设变化趋势的步骤。In one embodiment, the determination status module 502 is further configured to: if the first temperature data has a rising change within the first preset time period, obtain a rising time when the first temperature data rises Point; judging whether the first temperature data in the third preset time period gradually increases after the rising time point; if it does not gradually increase, return to and execute the determining that the change trend of the first temperature data meets all Describe the steps of preset changing trend.
在一个实施例中,所述确定状态模块502还用于:获取所述结束时刻的第一温度数据与所述结束时刻的第二温度数据之间的差值;根据所述差值确定所述电暖器的限温器的状态。In one embodiment, the determination status module 502 is further configured to: obtain a difference between the first temperature data at the end time and the second temperature data at the end time; and determine the according to the difference Condition of the thermostat of the electric heater.
在一个实施例中,所述确定状态模块502还用于:判断所述差值与预设阈值的大小;若所述差值大于或等于所述预设阈值,则确定所述限温器的状态为闭合状态;若所述差值小于所述预设阈值,则确定所述限温器的状态为断开状态。In one embodiment, the determination status module 502 is further configured to determine the magnitude of the difference value and a preset threshold value; if the difference value is greater than or equal to the preset threshold value, determine the The state is a closed state; if the difference is less than the preset threshold, it is determined that the state of the temperature limiter is an open state.
关于电暖器故障报警装置的具体限定可以参见上文中对于电暖器故障报警方法的限定,在此不再赘述。上述电暖器故障报警装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对 应的操作。Regarding the specific limitation of the electric heater fault alarm device, refer to the foregoing limitation on the electric heater fault alarm method, which is not repeated here. Each module in the above-mentioned electric heater failure alarm device may be implemented in whole or in part by software, hardware, and a combination thereof. Each of the above modules may be embedded in the hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
请参阅图6,本申请实施例还提供一种计算机设备,该计算机设备可以是服务器。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储第一温度数据、第二温度数据及故障判断算法。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种电暖器故障报警方法。Referring to FIG. 6, an embodiment of the present application further provides a computer device. The computer device may be a server. The computer device includes a processor, a memory, a network interface, and a database connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for running an operating system and computer programs in a non-volatile storage medium. The database of the computer equipment is used to store the first temperature data, the second temperature data and the fault judgment algorithm. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program is executed by a processor to implement a method for alarming a heater failure.
本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 6 is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer equipment to which the scheme of the present application is applied. The specific computer equipment may be Include more or fewer parts than shown in the figure, or combine certain parts, or have a different arrangement of parts.
在一个实施例中,提供了一种计算机设备,包括存储器及处理器,所述存储器上存储有可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:In one embodiment, a computer device is provided, which includes a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the computer program, the following steps are implemented:
获取所述电暖器的顶部感温包监测的第一温度数据,以及环境感温包监测的第二温度数据;Acquiring first temperature data monitored by a top temperature sensing bag of the electric heater, and second temperature data monitored by an environmental temperature sensing bag;
根据所述第一温度数据及所述第二温度数据,确定所述电暖器的限温器的状态;Determining a state of a temperature limiter of the electric heater according to the first temperature data and the second temperature data;
当所述限温器的状态为断开状态时,执行故障报警操作。When the state of the temperature limiter is an off state, a fault alarm operation is performed.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor executes the computer program to further implement the following steps:
判断第一预设时间段内的所述第一温度数据的变化趋势是否满足预设变化趋势;Determining whether the change trend of the first temperature data within the first preset time period satisfies the preset change trend;
若所述第一温度数据的变化趋势满足所述预设变化趋势,获取所述第一预设时间段的结束时刻的第一温度数据及第二温度数据;If the change trend of the first temperature data satisfies the preset change trend, obtaining first temperature data and second temperature data at an end time of the first preset time period;
根据所述结束时刻的第一温度数据与所述结束时刻的第二温度数据,确定所述电暖器的限温器的状态。The state of the temperature limiter of the electric heater is determined according to the first temperature data at the end time and the second temperature data at the end time.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor executes the computer program to further implement the following steps:
判断在所述第一预设时间段内所述第一温度数据是否有上升变化;Judging whether the first temperature data has a rising change within the first preset time period;
若在所述第一预设时间段内所述第一温度数据没有上升变化,则确定所述第一温度数据的变化趋势满足所述预设变化趋势。If the first temperature data does not increase during the first preset time period, it is determined that a change trend of the first temperature data meets the preset change trend.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor executes the computer program to further implement the following steps:
判断在第二预设时间段内所述第一温度数据的变化量是否为正值。It is determined whether a change amount of the first temperature data is a positive value within a second preset time period.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor executes the computer program to further implement the following steps:
若在所述第一预设时间段内所述第一温度数据有上升变化,则获取所述第一温度数据 上升时的上升时间点;If the first temperature data has a rising change within the first preset time period, obtaining a rising time point when the first temperature data rises;
判断所述上升时间点之后的第三预设时间段内的第一温度数据是否逐渐变大;Determining whether the first temperature data in the third preset time period after the rising time point gradually increases;
若未逐渐变大,则返回执行所述确定所述第一温度数据的变化趋势满足所述预设变化趋势的步骤。If it does not gradually increase, return to and execute the step of determining that the change trend of the first temperature data satisfies the preset change trend.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor executes the computer program to further implement the following steps:
获取所述结束时刻的第一温度数据与所述结束时刻的第二温度数据之间的差值;Acquiring a difference between the first temperature data at the end time and the second temperature data at the end time;
根据所述差值确定所述电暖器的限温器的状态。The state of the temperature limiter of the electric heater is determined according to the difference.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:In one embodiment, the processor executes the computer program to further implement the following steps:
判断所述差值与预设阈值的大小;Judging the magnitude of the difference and a preset threshold;
若所述差值大于或等于所述预设阈值,则确定所述限温器的状态为闭合状态;If the difference is greater than or equal to the preset threshold, determining that the state of the temperature limiter is a closed state;
若所述差值小于所述预设阈值,则确定所述限温器的状态为断开状态。If the difference is less than the preset threshold, it is determined that the state of the temperature limiter is an off state.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
获取所述电暖器的顶部感温包监测的第一温度数据,以及环境感温包监测的第二温度数据;Acquiring first temperature data monitored by a top temperature sensing bag of the electric heater, and second temperature data monitored by an environmental temperature sensing bag;
根据所述第一温度数据及所述第二温度数据,确定所述电暖器的限温器的状态;Determining a state of a temperature limiter of the electric heater according to the first temperature data and the second temperature data;
当所述限温器的状态为断开状态时,执行故障报警操作。When the state of the temperature limiter is an off state, a fault alarm operation is performed.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program when executed by the processor further implements the following steps:
判断第一预设时间段内的所述第一温度数据的变化趋势是否满足预设变化趋势;Determining whether the change trend of the first temperature data within the first preset time period satisfies the preset change trend;
若所述第一温度数据的变化趋势满足所述预设变化趋势,获取所述第一预设时间段的结束时刻的第一温度数据及第二温度数据;If the change trend of the first temperature data satisfies the preset change trend, obtaining first temperature data and second temperature data at an end time of the first preset time period;
根据所述结束时刻的第一温度数据与所述结束时刻的第二温度数据,确定所述电暖器的限温器的状态。The state of the temperature limiter of the electric heater is determined according to the first temperature data at the end time and the second temperature data at the end time.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program when executed by the processor further implements the following steps:
判断在所述第一预设时间段内所述第一温度数据是否有上升变化;Judging whether the first temperature data has a rising change within the first preset time period;
若在所述第一预设时间段内所述第一温度数据没有上升变化,则确定所述第一温度数据的变化趋势满足所述预设变化趋势。If the first temperature data does not increase during the first preset time period, it is determined that a change trend of the first temperature data meets the preset change trend.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program when executed by the processor further implements the following steps:
判断在第二预设时间段内所述第一温度数据的变化量是否为正值。It is determined whether a change amount of the first temperature data is a positive value within a second preset time period.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program when executed by the processor further implements the following steps:
若在所述第一预设时间段内所述第一温度数据有上升变化,则获取所述第一温度数据 上升时的上升时间点;If the first temperature data has a rising change within the first preset time period, obtaining a rising time point when the first temperature data rises;
判断所述上升时间点之后的第三预设时间段内的第一温度数据是否逐渐变大;Determining whether the first temperature data in the third preset time period after the rising time point gradually increases;
若未逐渐变大,则返回执行所述确定所述第一温度数据的变化趋势满足所述预设变化趋势的步骤。If it does not gradually increase, return to and execute the step of determining that the change trend of the first temperature data satisfies the preset change trend.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program when executed by the processor further implements the following steps:
获取所述结束时刻的第一温度数据与所述结束时刻的第二温度数据之间的差值;Acquiring a difference between the first temperature data at the end time and the second temperature data at the end time;
根据所述差值确定所述电暖器的限温器的状态。The state of the temperature limiter of the electric heater is determined according to the difference.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:In one embodiment, the computer program when executed by the processor further implements the following steps:
判断所述差值与预设阈值的大小;Judging the magnitude of the difference and a preset threshold;
若所述差值大于或等于所述预设阈值,则确定所述限温器的状态为闭合状态;If the difference is greater than or equal to the preset threshold, determining that the state of the temperature limiter is a closed state;
若所述差值小于所述预设阈值,则确定所述限温器的状态为断开状态。If the difference is less than the preset threshold, it is determined that the state of the temperature limiter is an off state.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the methods of the foregoing embodiments can be implemented by using a computer program to instruct related hardware. The computer program can be stored in a non-volatile computer-readable storage. In the medium, the computer program, when executed, may include the processes of the embodiments of the methods described above. Wherein, any reference to the memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be arbitrarily combined. In order to make the description concise, all possible combinations of the technical features in the above embodiments have not been described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and their descriptions are more specific and detailed, but they cannot be understood as a limitation on the scope of patent application. It should be noted that, for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the protection scope of this application patent shall be subject to the appended claims.

Claims (10)

  1. 一种电暖器故障报警方法,其特征在于,所述方法包括:An electric heater failure alarm method is characterized in that the method includes:
    获取所述电暖器的顶部感温包监测的第一温度数据,以及环境感温包监测的第二温度数据;Acquiring first temperature data monitored by a top temperature sensing bag of the electric heater, and second temperature data monitored by an environmental temperature sensing bag;
    根据所述第一温度数据及所述第二温度数据,确定所述电暖器的限温器的状态;Determining a state of a temperature limiter of the electric heater according to the first temperature data and the second temperature data;
    当所述限温器的状态为断开状态时,执行故障报警操作。When the state of the temperature limiter is an off state, a fault alarm operation is performed.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述第一温度数据及所述第二温度数据,确定所述电暖器的限温器的状态,包括:The method according to claim 1, wherein determining the state of a temperature limiter of the electric heater according to the first temperature data and the second temperature data comprises:
    判断第一预设时间段内的所述第一温度数据的变化趋势是否满足预设变化趋势;Determining whether the change trend of the first temperature data within the first preset time period satisfies the preset change trend;
    若所述第一温度数据的变化趋势满足所述预设变化趋势,获取所述第一预设时间段的结束时刻的第一温度数据及第二温度数据;If the change trend of the first temperature data satisfies the preset change trend, obtaining first temperature data and second temperature data at an end time of the first preset time period;
    根据所述结束时刻的第一温度数据与所述结束时刻的第二温度数据,确定所述电暖器的限温器的状态。The state of the temperature limiter of the electric heater is determined according to the first temperature data at the end time and the second temperature data at the end time.
  3. 根据权利要求2所述的方法,其特征在于,所述判断第一预设时间段内的所述第一温度数据的变化趋势是否满足预设变化趋势,包括:The method according to claim 2, wherein the determining whether a change trend of the first temperature data within a first preset time period satisfies a preset change trend comprises:
    判断在所述第一预设时间段内所述第一温度数据是否有上升变化;Judging whether the first temperature data has a rising change within the first preset time period;
    若在所述第一预设时间段内所述第一温度数据没有上升变化,则确定所述第一温度数据的变化趋势满足所述预设变化趋势。If the first temperature data does not increase during the first preset time period, it is determined that a change trend of the first temperature data meets the preset change trend.
  4. 根据权利要求3所述的方法,其特征在于,所述判断在所述第一预设时间段内所述第一温度数据是否有上升变化,包括:The method according to claim 3, wherein the determining whether the first temperature data has an increasing change within the first preset time period comprises:
    判断在第二预设时间段内所述第一温度数据的变化量是否为正值。It is determined whether a change amount of the first temperature data is a positive value within a second preset time period.
  5. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, further comprising:
    若在所述第一预设时间段内所述第一温度数据有上升变化,则获取所述第一温度数据上升时的上升时间点;If the first temperature data has a rising change within the first preset time period, obtaining a rising time point when the first temperature data rises;
    判断所述上升时间点之后的第三预设时间段内的第一温度数据是否逐渐变大;Determining whether the first temperature data in the third preset time period after the rising time point gradually increases;
    若未逐渐变大,则返回执行所述确定所述第一温度数据的变化趋势满足所述预设变化趋势的步骤。If it does not gradually increase, return to and execute the step of determining that the change trend of the first temperature data satisfies the preset change trend.
  6. 根据权利要求2所述的方法,其特征在于,所述根据所述结束时刻的第一温度数据与所述结束时刻的第二温度数据,确定所述电暖器的限温器的状态,包括:The method according to claim 2, wherein determining the state of the temperature limiter of the electric heater according to the first temperature data at the end time and the second temperature data at the end time comprises: :
    获取所述结束时刻的第一温度数据与所述结束时刻的第二温度数据之间的差值;Acquiring a difference between the first temperature data at the end time and the second temperature data at the end time;
    根据所述差值确定所述电暖器的限温器的状态。The state of the temperature limiter of the electric heater is determined according to the difference.
  7. 根据权利要求5所述的方法,其特征在于,所述根据所述差值确定所述电暖器的限温器的状态,包括:The method according to claim 5, wherein determining the state of the temperature limiter of the electric heater according to the difference value comprises:
    判断所述差值与预设阈值的大小;Judging the magnitude of the difference and a preset threshold;
    若所述差值大于或等于所述预设阈值,则确定所述限温器的状态为闭合状态;If the difference is greater than or equal to the preset threshold, determining that the state of the temperature limiter is a closed state;
    若所述差值小于所述预设阈值,则确定所述限温器的状态为断开状态。If the difference is less than the preset threshold, it is determined that the state of the temperature limiter is an off state.
  8. 一种电暖器故障报警装置,其特征在于,所述装置包括:An electric heater failure alarm device is characterized in that the device includes:
    温度数据获取模块,用于获取所述电暖器的顶部感温包监测的第一温度数据,以及环境感温包监测的第二温度数据;A temperature data acquisition module, configured to acquire first temperature data monitored by the top temperature sensing bag of the electric heater, and second temperature data monitored by the environmental temperature sensing bag;
    确定状态模块,用于根据所述第一温度数据及所述第二温度数据,确定所述电暖器的限温器的状态;A status determining module, configured to determine a status of a temperature limiter of the electric heater according to the first temperature data and the second temperature data;
    报警模块,用于当所述限温器的状态为断开状态时,执行故障报警操作。An alarm module is configured to perform a fault alarm operation when the temperature limiter is in an off state.
  9. 一种计算机设备,包括存储器及处理器,所述存储器上存储有可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述方法的步骤。A computer device includes a memory and a processor, and the memory stores a computer program executable on the processor, wherein the processor implements any one of claims 1 to 7 when the computer program is executed. Steps of the method described in item.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的方法的步骤。A computer-readable storage medium having stored thereon a computer program, characterized in that when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
PCT/CN2018/123010 2018-07-31 2018-12-24 Electric heater failure alerting method and apparatus, computer device and storage medium WO2020024540A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810855517.7 2018-07-31
CN201810855517.7A CN108980985B (en) 2018-07-31 2018-07-31 Electric heater fault alarm method, electric heater fault alarm device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2020024540A1 true WO2020024540A1 (en) 2020-02-06

Family

ID=64551972

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/123010 WO2020024540A1 (en) 2018-07-31 2018-12-24 Electric heater failure alerting method and apparatus, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN108980985B (en)
WO (1) WO2020024540A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108980985B (en) * 2018-07-31 2020-10-09 珠海格力电器股份有限公司 Electric heater fault alarm method, electric heater fault alarm device, computer equipment and storage medium
CN110887107B (en) * 2019-12-03 2020-12-18 珠海格力电器股份有限公司 Electric heater control method and device, storage medium and electric heater
CN111207438A (en) * 2020-01-13 2020-05-29 珠海格力电器股份有限公司 Electric heater and control method thereof
CN117275520B (en) * 2023-11-23 2024-01-26 珠海格力电器股份有限公司 Voice recognition fault noise detection method, system and device and medium
CN117931897B (en) * 2024-03-25 2024-06-04 深圳市阳邦兴业智能科技有限公司 Temperature data operation monitoring method for heating device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000077456A1 (en) * 1999-06-16 2000-12-21 David Seitz Fluid heating and control system
EP1361089A2 (en) * 2002-05-08 2003-11-12 Behr GmbH & Co. Method and device for monitoring the temperature of an electric heating device
WO2013030758A1 (en) * 2011-08-31 2013-03-07 Koninklijke Philips Electronics N.V. A heater
CN206683055U (en) * 2017-04-26 2017-11-28 大连恒宝工业有限公司 Intelligent electric-heating device control system
CN107420951A (en) * 2017-06-16 2017-12-01 广东海信家电有限公司 A kind of method, apparatus and range hood for controlling range hood
CN206959144U (en) * 2017-06-30 2018-02-02 深圳出入境检验检疫局食品检验检疫技术中心 One kind is on laboratory automatic temperature-regulator
CN107702192A (en) * 2017-10-26 2018-02-16 东莞市极酷机电科技有限公司 A kind of intelligent electric-heating gas
CN108980985A (en) * 2018-07-31 2018-12-11 珠海格力电器股份有限公司 Electric heater fault alarm method, device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9104211B2 (en) * 2010-11-19 2015-08-11 Google Inc. Temperature controller with model-based time to target calculation and display
CN105423507B (en) * 2015-12-21 2018-09-18 珠海格力电器股份有限公司 The method for heating and controlling of air conditioner, device and system
CN108019886B (en) * 2017-11-10 2021-07-27 青岛海尔空调电子有限公司 Detection control method for air conditioner

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000077456A1 (en) * 1999-06-16 2000-12-21 David Seitz Fluid heating and control system
EP1361089A2 (en) * 2002-05-08 2003-11-12 Behr GmbH & Co. Method and device for monitoring the temperature of an electric heating device
WO2013030758A1 (en) * 2011-08-31 2013-03-07 Koninklijke Philips Electronics N.V. A heater
CN206683055U (en) * 2017-04-26 2017-11-28 大连恒宝工业有限公司 Intelligent electric-heating device control system
CN107420951A (en) * 2017-06-16 2017-12-01 广东海信家电有限公司 A kind of method, apparatus and range hood for controlling range hood
CN206959144U (en) * 2017-06-30 2018-02-02 深圳出入境检验检疫局食品检验检疫技术中心 One kind is on laboratory automatic temperature-regulator
CN107702192A (en) * 2017-10-26 2018-02-16 东莞市极酷机电科技有限公司 A kind of intelligent electric-heating gas
CN108980985A (en) * 2018-07-31 2018-12-11 珠海格力电器股份有限公司 Electric heater fault alarm method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN108980985A (en) 2018-12-11
CN108980985B (en) 2020-10-09

Similar Documents

Publication Publication Date Title
WO2020024540A1 (en) Electric heater failure alerting method and apparatus, computer device and storage medium
CN109342914B (en) IGBT junction temperature monitoring method and device and computer equipment
WO2017173722A1 (en) Method and device for controlling terminal
CN103869909A (en) Electronic device and method for automatically adjusting working efficiency
CN109405053B (en) Heating control method and heating furnace
JP2021503125A (en) Voltage management via on-chip sensor
CN110762806A (en) Computer lab environmental control system
CN109424570B (en) Fan control method and device
CN110617235B (en) Method and device for controlling fan flow, computer equipment and readable storage medium
CN112600742A (en) Fault parameter processing method and device and storage medium
US10810068B2 (en) Valve failure predictions
TWI645199B (en) Degradation diagnosis device and method
CN112856742A (en) Control method and device of air conditioner, air conditioner and readable storage medium
US11204634B2 (en) Power monitoring and reduction
CN109708260A (en) Control method, air conditioner and the computer readable storage medium of air conditioner
CN115357421A (en) Server liquid cooling system leakage processing method and device and computer equipment
US11720435B2 (en) Electronic device and fault diagnosis method of electronic device
JP2010066119A (en) Power regulator
CN113375302A (en) Air conditioner voltage fluctuation control system and control method, electronic equipment and storage medium
CN112710072A (en) Outdoor unit temperature control method and device and air conditioner
CN112856744B (en) Control method and device of air conditioner, air conditioner and readable storage medium
US20150005948A1 (en) Electronic device and method for controlling rotation speed of fan thereof
CN115046294A (en) Auxiliary electric heating control method and device for air conditioner and electronic equipment
CN116826669B (en) Device junction temperature protection method, device, equipment and storage medium
CN109857232B (en) Fan control method, system, device and computer readable storage medium

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: 18928592

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18928592

Country of ref document: EP

Kind code of ref document: A1