Abnormality detection method, device, equipment, medium and computer program product

By detecting the component resistance value and target working time of the heating element, outputting alarm information and stopping the equipment operation, the problem of abnormal detection of heating element in the aerosol device is solved, and safety hazards are reduced and fault detection accuracy is improved.

CN119846341APending Publication Date: 2025-04-18SHENZHEN GEEKVAPE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411784017.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

The prior art is difficult to effectively detect and prevent abnormal conditions of heating elements in aerosol devices, resulting in safety hazards and inconvenience in use.

Method used

By detecting the element resistance value of the heating element when starting the target device, and obtaining the target working time when the resistance value does not meet the preset range, outputting alarm information when the preset threshold value is reached and the equipment is stopped, abnormal detection of the heating element is realized.

Benefits of technology

It effectively reduces the probability of safety accidents caused by abnormal heating element of aerosol devices, and improves the accurate detection ability of heating element failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119846341A_ABST
    Figure CN119846341A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of anomaly detection, and provides an anomaly detection method and device, equipment, a medium and a computer program product. The method is applied to target equipment, the target equipment is provided with a heating element, the heating element is used for heating a to-be-heated object in the target equipment, and the method comprises the steps that under the condition that the target equipment is started, the element resistance value of the heating element is detected; under the condition that the element resistance value does not accord with the preset resistance value range, target working duration corresponding to the heating element is obtained, and the target working duration is used for indicating duration of the heating element for continuously heating the to-be-heated object under the rated heating power; under the condition that the target working duration reaches a preset duration threshold value, alarm information is output, operation of the target equipment is stopped, and the alarm information is used for indicating that a heating element in the target equipment has an element fault. Abnormity detection of the heating element in the aerosol device can be achieved, and the probability of occurrence of potential safety hazards of the aerosol device is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of anomaly detection technology, and in particular, relates to anomaly detection methods, devices, equipment, media and computer program products. Background Art

[0002] The heating element is the core component that converts electrical energy into thermal energy. Whether the heating element works normally directly determines the use effect and user experience of the aerosol device.

[0003] Due to the heating characteristics of the heating element, abnormal conditions such as short circuit or open circuit may occur from time to time. When the heating element is short-circuited, the current will increase instantly, which may cause the temperature of the heating element to rise sharply, exceeding the normal operating temperature range, and may cause serious safety accidents such as fire. When the heating element is open-circuited, the aerosol device cannot heat normally, affecting its use. In view of these serious hazards caused by the failure of the heating element, abnormal detection of the heating element is particularly necessary.

[0004] Therefore, how to detect abnormalities in the heating element of the aerosol device and reduce the probability of potential safety hazards in the aerosol device has become a technical problem that urgently needs to be solved. Summary of the invention

[0005] The embodiments of the present application provide anomaly detection methods, devices, equipment, media and computer program products, which can solve the problem of how to achieve anomaly detection of a heating element in an aerosol device and reduce the probability of occurrence of safety hazards in the aerosol device.

[0006] In a first aspect, an embodiment of the present application provides an abnormality detection method, which is applied to a target device, wherein the target device is configured with a heating element, and the heating element is used to heat an object to be heated in the target device, and the method includes:

[0007] When the target device is started, the element resistance value of the heating element is detected;

[0008] When the resistance of the element does not meet the preset resistance range, the target working time corresponding to the heating element is obtained, and the target working time is used to indicate the time for which the heating element continuously heats the object to be heated at the rated heating power;

[0009] When the target working time reaches a preset time threshold, an alarm message is output and the target device is stopped. The alarm message is used to indicate that there is an element failure in the heating element in the target device.

[0010] In some embodiments, the target device further includes a timer, and the preset resistance range includes a first threshold value;

[0011] Get the target working time corresponding to the heating element, including:

[0012] When the resistance of the element is less than the first threshold, detecting the duty cycle of the control signal of the heating element, where the duty cycle is used to indicate the duration of the first level in the control signal within one signal cycle, where the first level includes either a high level or a low level;

[0013] When the duty cycle is greater than or equal to a preset value, the timing duration of the timer is increased, and the preset value is used to indicate the duty cycle of the control signal under the rated heating power;

[0014] When the duty cycle is less than a preset value, the timing duration of the timer is determined as the target working duration, and the timing duration of the timer is reset to zero.

[0015] In some embodiments, the preset resistance range further includes a second threshold value, and the first threshold value is less than the second threshold value;

[0016] Before obtaining the target working time corresponding to the heating element, it also includes:

[0017] When the resistance of the component is greater than the second threshold, an alarm message is output and the target device is stopped.

[0018] In some embodiments, before detecting the element resistance of the heating element, the method further includes:

[0019] Obtaining the current ambient temperature of the target device and a first corresponding relationship, wherein the first corresponding relationship includes resistance ranges corresponding to different ambient temperatures;

[0020] According to the first corresponding relationship, a resistance range corresponding to the current ambient temperature is determined, and the determined resistance range is used as a preset resistance range.

[0021] In some embodiments, the method further comprises:

[0022] When the component resistance value is within the preset resistance range, operate the target device.

[0023] In some embodiments, before detecting the duty cycle of the control signal of the heating element, the method further includes:

[0024] Obtaining a reference temperature rising rate corresponding to the heating element and the heating temperatures corresponding to the heating element at different times, wherein the reference temperature rising rate is used to indicate the rising rate of the heating temperature when the target device is working normally;

[0025] Determine the actual temperature rise rate corresponding to the heating element according to the heating temperatures corresponding to the heating element at different times;

[0026] Determining an abnormality detection result of the heating element according to a reference temperature rise rate and an actual temperature rise rate;

[0027] Detecting the duty cycle of the control signal of the heating element includes:

[0028] When the abnormality detection result of the heating element is abnormal, the duty ratio of the control signal of the heating element is detected.

[0029] In a second aspect, an embodiment of the present application provides an abnormality detection device, which is applied to a target device, wherein the target device is provided with a heating element, and the heating element is used to heat an object to be heated in the target device, and the device includes:

[0030] A detection module, used for detecting the element resistance value of the heating element when the target device is started;

[0031] An acquisition module, used for acquiring a target working time corresponding to the heating element when the element resistance value does not meet the preset resistance value range, the target working time being used to indicate the time for which the heating element continuously heats the object to be heated at the rated heating power;

[0032] The control module is used to output an alarm message and stop the operation of the target device when the target working time reaches a preset time threshold. The alarm message is used to indicate that there is an element failure in the heating element in the target device.

[0033] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the electronic device implements the anomaly detection method as described in any embodiment of the first aspect.

[0034] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the anomaly detection method as described in any embodiment of the first aspect is implemented.

[0035] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the anomaly detection method described in any embodiment of the first aspect above.

[0036] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0037] When the target device is started, if it is determined that the resistance of the heating element does not meet the preset resistance range, it means that the resistance of the heating element is abnormal. In this case, the duration of continuous heating of the object to be heated by the heating element at the rated heating power is obtained, that is, the target working time is obtained, and when the target working time reaches the preset time threshold, the target device is stopped immediately. The target device is prevented from working for a long time under an abnormal heating element, thereby reducing the probability of a safety accident occurring in the target device, i.e., the aerosol device. In addition, the combination of the two factors of the resistance and the target working time can accurately determine whether the heating element has a fault, thereby realizing the abnormal detection of the heating element in the aerosol device while reducing the probability of the occurrence of safety hazards in the aerosol device. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 It is a flowchart of an abnormality detection method provided by an embodiment of the present application;

[0040] Figure 2 It is a schematic diagram of the workflow of an anomaly detection method for an application scenario provided by an embodiment of the present application;

[0041] Figure 3 It is a flowchart of another abnormality detection method provided by an embodiment of the present application;

[0042] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0043] Figure 5 It is a structural schematic diagram of an abnormality detection device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0045] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0046] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0047] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0048] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0049] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0050] Given the frequent abnormalities of the heating elements in the aerosol device, when the heating element is short-circuited, the temperature of the heating element will rise sharply, which may cause the aerosol matrix in the aerosol device to over-vaporize and produce harmful components, affecting the health of the user and may also cause serious safety accidents such as fire. When the heating element is open-circuited, the temperature of the heating element will not reach the target temperature for a long time, and the electronic cigarette device cannot be heated normally, affecting its use.

[0051] In view of the above problems, the embodiments of the present application provide an abnormality detection method, device, equipment, medium and computer program product, which can detect the resistance of the heating element in a timely manner when the target device is started, and obtain the duration of the heating element continuously heating the object to be heated at the rated heating power when the resistance of the element does not meet the preset resistance range. When the duration reaches the preset duration threshold, the target device is immediately stopped, so as to avoid the target device working for a long time under the abnormal heating element and realize the abnormality detection of the heating element.

[0052] The following is a detailed description of the anomaly detection method in the embodiment of the present application.

[0053] Figure 1 is a flow chart of an abnormality detection method provided in an embodiment of the present application. The abnormality detection method is applied to a target device, the target device is equipped with a heating element, and the heating element is used to heat an object to be heated in the target device, such as Figure 1 As shown, the anomaly detection method includes the following steps:

[0054] Step S101, when the target device is started, the resistance value of the heating element is detected.

[0055] In this embodiment, the target device can be an aerosol device, a heat-not-burn atomization device, or a defogger, or other electronic products that require heating elements to generate heat and require temperature control. In the embodiment of the present application, the aerosol device is taken as an example, and the corresponding object to be heated can be an aerosol matrix.

[0056] When the user uses the target device, the power button of the target device can be pressed to start the target device. At this time, the target device can respond to the pressing of the power button, exit the standby sleep state and enter the power-on operation state, and it is determined that the target device has been started. When determining that the target device is started, the target device can read the element resistance of the heating element based on a preset time interval. It can be understood that the preset time interval can be 10 milliseconds (ms) or 15ms, etc. The specific value can be set by oneself, and the embodiment of the present application does not make specific restrictions.

[0057] In one implementation, a heating element may be connected in series with a known resistor in the target device. When the target device is started, the target device may apply a known voltage to the heating element and the known resistor and measure the voltage of the known resistor, thereby obtaining the element resistance of the heating element through the following formula 1.

[0058] Formula 1: R = (U-U_1) / U_1*R_1.

[0059] Where U is the total voltage applied by the target device to the heating element and the known resistor, U_1 is the voltage of the known resistor, R_1 is the resistance value of the known resistor, and R is the element resistance value.

[0060] Step S102, when the resistance of the element does not meet the preset resistance range, obtaining the target working time corresponding to the heating element.

[0061] In this embodiment, the target working time is used to indicate the time that the heating element continuously heats the object to be heated at the rated heating power. In other words, the target working time is used to indicate the duration of the full power output of the heating element, and the full power is the rated heating power. The preset resistance range can be set based on the resistance variation range of the heating element when it is working normally, for example, 9 ohms (Ω) to 15Ω, and the minimum resistance in the preset resistance range can also be half of the average resistance of the heating element when it is working normally.

[0062] When the target device determines that the resistance of the element is outside the preset resistance range, it determines that the heating element may be abnormal. At this time, the target device will determine whether the heating element is working at the rated heating power by detecting the heating power of the heating element. When it is determined that the heating element is working at the rated heating power, the target device will start its own timer to count until it detects that the input heating power of the heating element is less than the rated heating power, then stop timing, and read the timing duration in the timer as the target working duration. It can be understood that when it is detected that the input heating power of the heating element is less than the rated heating power, the timing of the timer will be reset.

[0063] In one implementation, the target device pre-stores a voltage threshold when the heating element operates at a rated heating power. When the element resistance does not conform to a preset resistance range, the target device can measure the actual voltage across the heating element. When the actual voltage is greater than or equal to the voltage threshold, it is determined that the heating element operates at the rated heating power, and its own timer is started to count until the actual voltage is less than the voltage threshold, thereby obtaining the target operating time.

[0064] In one implementation, the method further includes: operating the target device when the resistance of the component meets the preset resistance range. When the target device determines that the resistance of the component is within the preset resistance range, the target device continues to be operated. When the resistance of the component meets the preset resistance range, the heating element does not have abnormalities such as short circuit or open circuit. At this time, operating the target device can ensure that the target device operates within the safe use range, thereby ensuring the safety of the target device, i.e., the aerosol device.

[0065] Step S103: When the target working time reaches a preset time threshold, an alarm message is output and the target device is stopped.

[0066] In this embodiment, the alarm information is used to indicate that there is an element failure in the heating element of the target device. When the target device determines that the target working time reaches the preset time threshold, it means that the target device has been working for a period of time under the heating element with element failure, and the safety risk is relatively large. The target device will immediately stop running the target device and output an alarm information. The preset time threshold can be 5 seconds (S), or it can be set by itself. The embodiment of the present application does not make specific restrictions.

[0067] In one implementation, the target device may display warning information in the form of patterns or text on its own display screen, and may also control its own indicator component to display warning information to prompt the user that there is a component failure in the heating element, for example, by controlling the target device's own motor to vibrate while lighting up the indicator light of the target device.

[0068] In one implementation, the preset resistance range also includes a second threshold value, and the first threshold value is less than the second threshold value; before obtaining the target working time corresponding to the heating element, it also includes: when the element resistance value is greater than the second threshold value, outputting an alarm message and stopping the operation of the target device. It can be understood that the second threshold value is the maximum resistance value in the preset resistance range, and the first threshold value is the minimum resistance value in the preset resistance range.

[0069] When the component resistance is greater than the maximum resistance within the preset resistance range, it means that the component resistance is too large and the heating element is open-circuited. At this time, even if the heating element works at the rated heating power, the heating element itself will cause the heating temperature to drop due to the excessive resistance of the component. At this time, the high temperature risk is relatively small for the target device, so the target device is directly stopped instead of obtaining the target working time corresponding to the heating element. Different responses are achieved for different relationships between the component resistance and the preset resistance range. The target device is stopped in time when there is a component failure in the heating element to ensure the safe operation of the target device.

[0070] In one implementation, considering that the heating temperature will drop when the heating element is open-circuited, in order to reduce the cost of abnormal detection of the heating element, the method also includes: when the element resistance is greater than the second threshold and the heating element is in a heating state, running the target device; when the element resistance is greater than the second threshold and the heating element is not in a heating state, outputting an alarm message and stopping the operation of the target device. When the heating element is in a heating state, it means that the user is using the target device at this time. Although the heating element is open-circuited at this time, the heating temperature of the heating element will not reach the set temperature, but the high temperature hazard at this time is small, and the heating element cannot heat the object to be heated normally at this time. The user can find it by himself after a period of time, and there is no need to output an alarm message, which can reduce the cost of abnormal detection of the heating element.

[0071] In one application scenario, such as Figure 2 As shown, before the target device leaves the factory, the software function modules of the target device can be pre-configured and a resistance range (an example of a preset resistance range) can be set, such as a screen display module, a heating module, a motor vibration module, a charging module, and a heating element abnormality processing module. Among them, the screen display module is used to display the alarm information on the display screen; the heating module is used to control the heating element to heat the object to be heated in the target device; the motor vibration module is used to vibrate the target device; the charging module is used to supply power to the target device; and the heating element abnormality processing module detects whether the heating element is abnormal.

[0072] When the user presses the power button of the target device, the target device exits the standby sleep state in response to the pressing operation, and the target device determines that the target device has been started. The target device reads the element resistance value of the heating element every 10ms, that is, Figure 2 When the device is powered on and awakened, the resistance of the heating element is detected in real time.

[0073] The target device compares the read component resistance with the resistance in the set resistance range. When the target device determines that the component resistance is within the set resistance range, it determines that the heating element is normal, and runs the target device for the user to draw until the target device is turned off. When it is determined that the component resistance is infinite or close to the upper limit critical value, that is, greater than the maximum resistance in the set resistance range (the component resistance is greater than the second threshold), if it is the power-on self-test of the target device at this time, that is, when the heating element is not in the heating state, an alarm (an example of alarm information) is prompted and the target device is stopped. That is, no processing is performed until the next power-on self-test. If the heating element is heating, that is, when the heating element is in the heating state, the open-circuit heating temperature of the heating element will gradually decrease. If the heating element cannot be heated, the safety hazard is small at this time, and the target device continues to run without other processing until the next time the target device is started and the power-on self-test is performed again, that is, the operation of comparing the read component resistance with the resistance in the set resistance range is entered.

[0074] In the embodiment of the present application, when the target device is started, if it is determined that the resistance of the heating element does not meet the preset resistance range, it means that the resistance of the heating element is abnormal at this time. In this case, the duration of continuous heating of the object to be heated by the heating element at the rated heating power is obtained, that is, the target working time is obtained, and when the target working time reaches the preset time threshold, the target device is immediately stopped. The target device is prevented from working for a long time under an abnormal heating element, and the probability of a safety accident occurring in the target device, that is, the aerosol device, is reduced. In addition, the combination of the two factors of the resistance and the target working time can accurately determine whether the heating element is abnormal, thereby realizing the abnormal detection of the heating element in the aerosol device while reducing the probability of the occurrence of safety hazards in the aerosol device.

[0075] Figure 3 is a flow chart of another abnormality detection method provided in an embodiment of the present application. The abnormality detection method is applied to a target device. The target device is equipped with a heating element. The heating element is used to heat an object to be heated in the target device. Figure 3 As shown, the anomaly detection method includes the following steps:

[0076] Before detecting the resistance of the heating element, the abnormality detection method further includes the following steps S201 to S202:

[0077] Step S201, obtaining the current ambient temperature of the target device and a first corresponding relationship.

[0078] In this embodiment, the first corresponding relationship includes resistance ranges corresponding to different ambient temperatures. The target device can detect the current ambient temperature of the environment in which it is located through its own temperature sensor.

[0079] Step S202: determining a resistance range corresponding to the current ambient temperature according to the first corresponding relationship, and using the determined resistance range as a preset resistance range.

[0080] When the target device obtains the current ambient temperature of the environment in which it is located, it can find the resistance range corresponding to the current ambient temperature from the first corresponding relationship to obtain the preset resistance range. By determining different preset resistance ranges according to different ambient temperatures, it is possible to detect whether the resistance of the heating element is abnormal under different ambient temperatures through different preset resistance ranges. The factor that the resistance of the element changes due to the change of ambient temperature is taken into account, which can reduce the misjudgment caused by the change of ambient temperature and improve the accuracy of abnormal detection of the heating element in the aerosol device.

[0081] Step S203, when the target device is started, detecting the element resistance of the heating element.

[0082] Step S203 is described in detail in Figure 1 Step S101 in the illustrated embodiment is not described in detail here.

[0083] When the resistance of the element does not meet the preset resistance range, obtaining the target working time corresponding to the heating element includes the following steps S204 to S205:

[0084] Step S204: when the resistance of the element is less than the first threshold, detecting the duty cycle of the control signal of the heating element.

[0085] In this embodiment, the target device further includes a timer, and the duty cycle is used to indicate the duration of the first level in the control signal within a signal cycle, and the first level includes any one of a high level and a low level. The control signal is used to adjust the heating power of the heating element, and the control signal can be a pulse width modulation (PWM) signal of the heating element. The first threshold is the minimum resistance in the preset resistance range, for example, 9Ω. The first threshold is less than the second threshold.

[0086] It should be noted that when the heating element is working at the rated heating power, from the perspective of energy input, the heating element needs to obtain the maximum energy per unit time, which means that the heating element needs to be continuously powered on. Only when the duty cycle of the control signal reaches 100%, that is, the high level duration is equal to the entire cycle time, the heating element is powered on in each cycle, and there is no power-off time, can the heating element obtain the maximum energy input, thereby achieving heating of the object to be heated at the rated heating power. Therefore, the preset value can be 100%. Of course, for environmental factors or the safe use of the target device, the preset value is also a value slightly less than 100%, such as 98%.

[0087] After the target device is started, the target device generates a control signal for controlling the heating element so that the heating element generates heat and heats the object to be heated. When the element resistance is less than the first threshold, the target device reads the duty cycle of the generated control signal.

[0088] Step S205: when the duty cycle is greater than or equal to a preset value, increase the timing duration of the timer.

[0089] In this embodiment, the preset value is used to indicate the duty cycle of the control signal under the rated heating power.

[0090] The target device compares the duty cycle with the preset value. If the duty cycle is greater than or equal to the preset value, it means that the heating element is working at the rated heating power. At this time, the target device will increase the timing duration of its own timer, thereby recording the duration when the duty cycle is greater than or equal to the preset value.

[0091] Step S206, when the duty cycle is less than a preset value, the timing duration of the timer is determined as the target working duration, and the timing duration of the timer is reset to zero.

[0092] When the target device determines at the current moment that the duty cycle is less than the preset value, it means that the heating element stops working at the rated heating power. At this time, the target device controls the timer to stop timing and reads the timing duration in the timer as the target working duration. After reading the timing duration, the target device resets the timing duration of the timer to zero, so that the next time when the element resistance is less than the first threshold, the target duration corresponding to the heating element is obtained. When the target working duration reaches the preset duration threshold, the steps of outputting an alarm message and stopping the operation of the target device are executed.

[0093] In one implementation, in order to reduce the cost of abnormality detection of the heating element, when the element resistance is less than the first threshold and the heating element is not in the heating state, an alarm message is output and the target device is stopped; when the element resistance is less than the first threshold and the heating element is in the heating state, the step of obtaining the target working time corresponding to the heating element is performed. When the heating element is not in the heating state, it can be directly determined that the heating element is short-circuited when the element resistance is less than the first threshold. At this time, there is no need to obtain the target working time, nor is there any need to obtain the heating temperatures corresponding to the heating element at different times. Only when the element resistance is less than the first threshold and the heating element is in the heating state, the subsequent operation of obtaining the target working time is performed, which greatly reduces the complexity of the execution process of the target device and reduces the cost of abnormality detection of the heating element.

[0094] Considering that the heating temperature will drop when the heating element is open-circuited, when the element resistance is greater than the second threshold, it can also be determined whether the heating element is in a heating state; when the heating element is in a heating state, the target device is operated; when the heating element is not in a heating state, an alarm message is output and the target device is stopped. When the heating element is in a heating state, it means that the user is using the target device at this time. Although the heating element is open-circuited at this time, the heating temperature of the heating element will not reach the set temperature, but the high temperature hazard is relatively small at this time, and the heating element cannot heat the object to be heated normally at this time. The user can find it by himself after a period of time, and there is no need to output an alarm message.

[0095] In the technical solution of step S204 to step S206, when the resistance of the element is less than the first threshold, the duty cycle of the control signal of the heating element is detected, and by simply comparing the magnitude relationship between the duty cycle and the preset value, the duration of the heating element continuously heating the object to be heated at the rated heating power can be quickly obtained through the timer. This helps to quickly determine whether the heating element is abnormal and improve the efficiency of detecting abnormalities of the heating element.

[0096] In one implementation, before detecting the duty cycle of the control signal of the heating element, the method further includes:

[0097] Obtaining a reference temperature rising rate corresponding to the heating element and the heating temperatures corresponding to the heating element at different times, wherein the reference temperature rising rate is used to indicate the rising rate of the heating temperature when the target device is working normally;

[0098] Determine the actual temperature rise rate corresponding to the heating element according to the heating temperatures corresponding to the heating element at different times;

[0099] Determining an abnormality detection result of the heating element according to a reference temperature rise rate and an actual temperature rise rate;

[0100] Detecting the duty cycle of the control signal of the heating element includes:

[0101] When the abnormality detection result of the heating element is abnormal, the duty ratio of the control signal of the heating element is detected.

[0102] The target device pre-stores a reference temperature rise rate corresponding to the heating element, and in the process of detecting the element resistance of the heating element, the target device will also detect the heating temperature corresponding to the heating element to obtain the heating temperatures corresponding to the heating element at different times. When the target device determines that the element resistance of the heating element is less than the first threshold, the target device will also calculate the heating temperature rise rate of the heating element during actual operation based on the heating temperatures corresponding to different times to obtain the actual temperature rise rate. The target device will determine the difference between the actual temperature rise rate and the reference temperature rise rate. When the difference is less than the preset difference threshold, the abnormal detection result of the heating element is determined to be normal; when the difference is greater than the preset difference threshold, the abnormal detection result of the heating element is determined to be abnormal, and the duty cycle of the control signal of the heating element is detected at this time. The preset difference threshold can be 20% of the reference temperature rise rate, which can be set by yourself.

[0103] In the above technical solution, when it is determined that the element resistance of the heating element is less than the first threshold value, the actual temperature rise rate corresponding to the heating element is determined by the heating temperatures corresponding to the heating element at different times, and the abnormal detection result of the heating element is determined based on the reference temperature rise rate and the actual temperature rise rate. The duty cycle of the control signal of the heating element can be detected only when the abnormal detection result is abnormal, so as to determine whether to stop the operation of the target device later. The purpose of checking whether the heating element has an element failure based on the three parameters of element resistance, temperature rise rate and duty cycle of the control signal is achieved, and the accuracy of detecting the existence of an element failure of the heating element is improved.

[0104] S207: When the target working time reaches a preset time threshold, an alarm message is output and the target device is stopped.

[0105] Step S207 is described in detail in Figure 1Step S101 of the illustrated embodiment will not be described in detail here.

[0106] Continue to combine Figure 2 In the application scenario shown, when the target device determines that the heating element is short-circuited to the ground wire, that is, the element resistance of the heating element is equivalent to 1 / 2 of the original resistance, that is, the element resistance is less than the first threshold, the heating element is determined to be short-circuited. Once the heating element is short-circuited, the heating temperature corresponding to the heating element will rise sharply, and the risk of safety hazards will increase. If this is the power-on self-test of the target device, that is, when the heating element is not in the heating state, an alarm (an example of alarm information) is prompted during the power-on self-test and the target device is stopped. That is, when the heating element is not in the heating state, an alarm (an example of alarm information) is prompted and the target device is stopped. It should be noted that the power-on self-test is to detect the element resistance of the heating element when the target device is turned on, and compare whether the element resistance meets the preset resistance range, that is, compare the element resistance with the first threshold and the second threshold respectively. If it is determined that the element resistance is greater than the first threshold or the element resistance is less than the second threshold at this time, an alarm message is output and the target device is stopped.

[0107] If the heating element is heating, that is, the heating element is in the heating state, the heating temperature corresponding to the heating element will continue to rise. At this time, the target device will detect whether the heating element outputs full power within 5S, that is, the target working time reaches the preset time threshold, prompting an alarm and stopping the operation of the target device.

[0108] In the embodiment of the present application, different preset resistance ranges are determined by different ambient temperatures, so that it is possible to detect whether the resistance of the heating element is abnormal by using different preset resistance ranges at different ambient temperatures. The factor that the resistance of the element changes due to the change in ambient temperature is taken into consideration, and the misjudgment of abnormal heating elements due to changes in ambient temperature can be reduced, and the accuracy of abnormal heating element detection in the aerosol device can be improved. When the resistance of the element is less than the first threshold, the duty cycle of the control signal of the heating element is detected, and the duration of the heating element continuously heating the object to be heated at the rated heating power can be quickly obtained by simply comparing the size relationship between the duty cycle and the preset value. This helps to quickly determine whether the heating element is abnormal and improve the efficiency of detecting abnormal heating elements.

[0109] Figure 4 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 4 As shown, the electronic device 6 of this embodiment includes: at least one processor 60 ( Figure 4 Only one is shown in the figure) a processor, a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60, and when the processor 60 executes the computer program 62, the steps in any of the above-mentioned method embodiments are implemented.

[0110] The electronic device 6 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will appreciate that Figure 4 It is only an example of the electronic device 6 and does not constitute a limitation on the electronic device 6. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.

[0111] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0112] In some embodiments, the memory 61 may be an internal storage unit of the electronic device 6, such as a hard disk or memory of the electronic device 6. In other embodiments, the memory 61 may also be an external storage device of the electronic device 6, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 6. Further, the memory 61 may also include both an internal storage unit of the electronic device 6 and an external storage device. The memory 61 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory 61 may also be used to temporarily store data that has been output or is to be output.

[0113] Corresponding to the anomaly detection method described in the above embodiment, Figure 5 The structural block diagram of the abnormality detection device provided in the embodiment of the present application is shown, and the abnormality detection device is applied to a target device, and the target device is equipped with a heating element, and the heating element is used to heat the object to be heated in the target device. For the convenience of explanation, only the part related to the embodiment of the present application is shown.

[0114] Reference Figure 5 , the device comprises:

[0115] A detection module 510, used to detect the element resistance value of the heating element when the target device is started;

[0116] An acquisition module 520, for acquiring a target operating time corresponding to the heating element when the element resistance value does not meet the preset resistance value range, the target operating time being used to indicate the time for which the heating element continuously heats the object to be heated at the rated heating power;

[0117] The control module 530 is used to output an alarm message and stop the operation of the target device when the target working time reaches a preset time threshold. The alarm message is used to indicate that there is an element failure in the heating element of the target device.

[0118] In some embodiments, the preset resistance range includes a first threshold value; and the acquisition module is further used to:

[0119] When the resistance of the element is less than the first threshold, detecting the duty cycle of the control signal of the heating element, where the duty cycle is used to indicate the duration of the first level in the control signal within one signal cycle, where the first level includes either a high level or a low level;

[0120] When the duty cycle is greater than or equal to a preset value, the timing duration of the timer is increased, and the preset value is used to indicate the duty cycle of the control signal under the rated heating power;

[0121] When the duty cycle is less than a preset value, the timing duration of the timer is determined as the target working duration, and the timing duration of the timer is reset to zero.

[0122] In some embodiments, the preset resistance range also includes a second threshold, and the first threshold is less than the second threshold; before obtaining the target working time corresponding to the heating element, the control module is also used to output an alarm message and stop running the target device when the element resistance is greater than the second threshold.

[0123] In some embodiments, before detecting the resistance of the heating element, the acquisition module is further used to acquire the current ambient temperature of the target device and a first corresponding relationship, wherein the first corresponding relationship includes resistance ranges corresponding to different ambient temperatures;

[0124] The determination module is further used to determine the resistance range corresponding to the current ambient temperature according to the first corresponding relationship, and the determined resistance range is used as the preset resistance range.

[0125] In some embodiments, the control module is further configured to operate the target device when the resistance of the component meets a preset resistance range.

[0126] In some embodiments, before detecting the duty cycle of the control signal of the heating element, the acquisition module is further used to acquire a reference temperature rising rate corresponding to the heating element and the heating temperatures corresponding to the heating element at different times, the reference temperature rising rate being used to indicate the rising rate of the heating temperature when the target device is working normally;

[0127] Determine the actual temperature rise rate corresponding to the heating element according to the heating temperatures corresponding to the heating element at different times;

[0128] Determining an abnormality detection result of the heating element according to a reference temperature rise rate and an actual temperature rise rate;

[0129] When the abnormality detection result of the heating element is abnormal, the duty ratio of the control signal of the heating element is detected.

[0130] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0131] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0132] An embodiment of the present application also provides a network device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor implements the steps in any of the above-mentioned method embodiments when executing the computer program.

[0133] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0134] An embodiment of the present application provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0135] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0136] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0137] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0138] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0139] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0140] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. An anomaly detection method, characterized in that: Applied to a target device, the target device is equipped with a heating element, the heating element is used to heat an object to be heated in the target device, the method comprises: When the target device is started, detecting the element resistance value of the heating element; When the resistance of the element does not conform to the preset resistance range, obtaining the target working time corresponding to the heating element, wherein the target working time is used to indicate the time for the heating element to heat the object to be heated at the rated heating power; When the target working time reaches a preset time threshold, an alarm message is output and the target device is stopped, wherein the alarm message is used to indicate that a component failure exists in the heating element in the target device.

2. The method according to claim 1, characterized in that The target device further includes a timer, and the preset resistance range includes a first threshold value; The obtaining of the target working time corresponding to the heating element includes: When the resistance of the element is less than the first threshold, detecting a duty cycle of the control signal of the heating element, wherein the duty cycle is used to indicate a duration of a first level in the control signal within a signal cycle, wherein the first level includes either a high level or a low level; When the duty cycle is greater than or equal to a preset value, increasing the timing duration of the timer, wherein the preset value is used to indicate the duty cycle of the control signal at the rated heating power; When the duty cycle is less than the preset value, the timing duration of the timer is determined as the target working duration, and the timing duration of the timer is reset to zero.

3. The method according to claim 2, characterized in that The preset resistance range also includes a second threshold value, and the first threshold value is smaller than the second threshold value; Before obtaining the target working time corresponding to the heating element, the method further includes: When the resistance of the component is greater than a second threshold, the warning information is output and the target device is stopped.

4. The method according to any one of claims 1 to 3, characterized in that Before detecting the element resistance value of the heating element, the method further includes: Acquire the current ambient temperature of the target device and a first corresponding relationship, wherein the first corresponding relationship includes resistance ranges corresponding to different ambient temperatures; According to the first corresponding relationship, a resistance range corresponding to the current ambient temperature is determined, and the determined resistance range is used as the preset resistance range.

5. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When the resistance of the component meets the preset resistance range, the target device is operated.

6. The method according to claim 2, characterized in that Before detecting the duty cycle of the control signal of the heating element, the method further includes: Acquire a reference temperature rising rate corresponding to the heating element and heating temperatures corresponding to the heating element at different times, wherein the reference temperature rising rate is used to indicate a rising rate of the heating temperature when the target device is working normally; Determining the actual temperature rise rate corresponding to the heating element according to the heating temperatures corresponding to the heating element at different times; Determining an abnormality detection result of the heating element according to the reference temperature rising rate and the actual temperature rising rate; The step of detecting the duty cycle of the control signal of the heating element comprises: When the abnormality detection result of the heating element is abnormal, a duty ratio of a control signal of the heating element is detected.

7. An abnormality detection device, characterized in that: Applied to a target device, the target device is provided with a heating element, the heating element is used to heat an object to be heated in the target device, the device comprises: A detection module, used for detecting the element resistance value of the heating element when the target device is started; an acquisition module, used for acquiring a target working time corresponding to the heating element when the resistance value of the element does not conform to a preset resistance value range, wherein the target working time is used to indicate the time for which the heating element continuously heats the object to be heated at a rated heating power; The control module is used to output an alarm message and stop the operation of the target device when the target working time reaches a preset time threshold, and the alarm message is used to indicate that the heating element in the target device has an element failure.

8. An electronic device, characterized in that: The electronic device comprises a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the electronic device implements the abnormality detection method as described in any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the abnormality detection method according to any one of claims 1 to 6 is implemented.

10. A computer program product, characterized in that The invention comprises a computer program, which, when being executed, enables the abnormality detection method according to any one of claims 1 to 6 to be executed.