Abnormality detection method and device, equipment, medium and computer product
By detecting the resistance temperature in the aerosol device and judging its abnormality, the performance degradation or failure of the NTC resistance due to external factors is solved, and safety monitoring of the aerosol device and timely processing of abnormal resistance is achieved.
Patent Information
- Application Number
- CN202411770792.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-04-15
AI Technical Summary
The performance of NTC resistors in aerosol devices is degraded or failed due to factors such as vibration, high temperature, humidity or mechanical stress, resulting in the temperature control system not working normally, and there are safety hazards.
When the target device is turned on, the measured temperature corresponding to the first resistor (for detecting the battery temperature) and the second resistor (for detecting the circuit board temperature), and determine whether the target device is operating abnormally based on the magnitude relationship between these temperatures and different temperature thresholds. If an exception is detected, an alarm message is output and the target device is stopped.
It realizes efficient abnormal detection of NTC resistors in aerosol devices, timely stops the operation of the target equipment, reduces the probability of working under abnormal resistance, reduces the occurrence of safety hazards, and reminds users to replace the equipment through alarm information.
Smart Images

Figure CN119827007A_ABST
Abstract
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 products. Background Art
[0002] As a sensitive element, the negative temperature coefficient thermistor (NTC) is highly sensitive to temperature and can show different resistance values at different temperatures. This characteristic makes NTC resistors play a vital role in aerosol devices, especially in temperature control, which can keep the temperature of aerosol devices within a safe range.
[0003] During the production and use of aerosol devices, the performance of NTC resistors may degrade or fail due to various factors, such as vibration, high temperature, humidity or mechanical stress. Once the NTC resistor fails, the temperature control system of the aerosol device will not work properly, which may cause the aerosol device to overheat, the taste to deteriorate, or even cause safety problems.
[0004] Therefore, how to detect the abnormality of the NTC resistor in the aerosol device and reduce the probability of the occurrence of safety hazards of 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 products, which can solve the problem of how to detect anomalies of NTC resistors 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 equipped with a first resistor and a second resistor, wherein the first resistor is used to detect the temperature of a battery in the target device, and the second resistor is used to detect the temperature of a circuit substrate in the target device, and the method includes:
[0007] When the target device is powered on, detecting a first measured temperature corresponding to the first resistor and a second measured temperature corresponding to the second resistor;
[0008] When the first measured temperature or the second measured temperature satisfies a first condition, determining that the target device is operating abnormally, the first condition comprising that at least one of the first measured temperature or the second measured temperature is less than a first temperature threshold, or either the first measured temperature or the second measured temperature is greater than a second temperature threshold, and the first temperature threshold is less than the second temperature threshold;
[0009] Outputting alarm information and stopping the operation of the target device, the alarm information is used to indicate that an abnormal first resistor or second resistor exists in the target device.
[0010] In some embodiments, before detecting a first measured temperature corresponding to the first resistor and a second measured temperature corresponding to the second resistor, the method further includes:
[0011] Obtain the current ambient temperature and temperature correspondence corresponding to the target device, wherein the temperature correspondence includes temperature threshold pairs corresponding to different ambient temperatures;
[0012] According to the temperature correspondence, a target temperature threshold pair corresponding to the current ambient temperature is determined, the larger temperature threshold in the target temperature threshold pair is used as the second temperature threshold, and the smaller temperature threshold in the target temperature threshold pair is used as the first temperature threshold.
[0013] In some embodiments, determining that the target device operates abnormally includes:
[0014] Obtaining the actual output power of the battery, a first reference curve corresponding to the first resistor, and a second reference curve corresponding to the second resistor, wherein the first reference curve is used to indicate the corresponding relationship between the reference output power and the first reference temperature, and the second reference curve is used to indicate the corresponding relationship between the reference output power and the second reference temperature, the reference output power is the output power of the battery at a preset ambient temperature, the first reference temperature is the measured temperature corresponding to the normal operation of the first resistor, and the second reference temperature is the measured temperature corresponding to the normal operation of the second resistor;
[0015] Determine, according to the first reference curve, a first abnormality detection result of a corresponding relationship between a first measured temperature and an actual output power;
[0016] Determine, according to the second reference curve, a second abnormality detection result of a corresponding relationship between a second measured temperature and an actual output power;
[0017] In a case where the first abnormality detection result or the second abnormality detection result is abnormal, it is determined that the target device operates abnormally.
[0018] In some embodiments, determining a first abnormality detection result of a corresponding relationship between a first measured temperature and an actual output power according to a first reference curve includes:
[0019] According to the first measured temperature and the actual output power, a first actual curve corresponding to the first resistor is drawn, where the first actual curve is used to indicate a corresponding relationship between the actual output power and the first measured temperature;
[0020] A first abnormality detection result is determined according to the first reference curve and the first actual curve.
[0021] In some embodiments, determining a second abnormality detection result of a corresponding relationship between a second measured temperature and an actual output power according to a second reference curve includes:
[0022] According to the second measured temperature and the actual output power, a second actual curve corresponding to the second resistance is drawn, where the second actual curve is used to indicate a corresponding relationship between the actual output power and the second measured temperature;
[0023] A second abnormality detection result is determined according to the second reference curve and the second actual curve.
[0024] In some embodiments, the method further comprises:
[0025] determining a temperature difference between the first measured temperature and the second measured temperature when the first measured temperature and the second measured temperature satisfy a second condition, wherein the second condition includes that the first measured temperature is greater than or equal to a first temperature threshold, the first temperature threshold is less than or equal to a second temperature threshold, the second measured temperature is greater than or equal to the first temperature threshold, and the second measured temperature is less than or equal to the second temperature threshold;
[0026] When the temperature difference is within the preset difference range, the target device is operated.
[0027] 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 equipped with a first resistor and a second resistor, wherein the first resistor is used to detect the temperature of a battery in the target device, and the second resistor is used to detect the temperature of a circuit substrate in the target device, and the device includes:
[0028] A detection module, used for detecting a first measured temperature corresponding to the first resistor and a second measured temperature corresponding to the second resistor when the target device is turned on;
[0029] a determination module, configured to determine that the target device is operating abnormally when the first measured temperature or the second measured temperature satisfies a first condition, wherein the first condition includes that at least one of the first measured temperature or the second measured temperature is less than a first temperature threshold, or that either the first measured temperature or the second measured temperature is greater than a second temperature threshold, and the first temperature threshold is less than the second temperature threshold;
[0030] The control module is used to output an alarm message and stop the target device from running, wherein the alarm message is used to indicate that an abnormal resistance exists in the target device.
[0031] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, 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 an anomaly detection method as in any embodiment of the first aspect.
[0033] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device executes the anomaly detection method in any embodiment of the first aspect above.
[0034] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0035] When the target device is turned on, the first measurement temperature and the second measurement temperature corresponding to two different resistors are detected, and based on the size relationship between at least one of the first measurement temperature or the second measurement temperature and different temperature thresholds, the abnormal first resistor or second resistor in the target device is quickly determined, so as to achieve efficient abnormal detection of specific resistors in the target device. After determining that the target device is working abnormally, the target device is stopped and an alarm message is output, which not only realizes abnormal detection for specific resistors, but also terminates the operation of the target device in time after detecting the abnormal resistance, reducing the probability of the target device (for example, an aerosol device) working under abnormal resistance, thereby reducing the probability of the occurrence of safety hazards of the aerosol device, and at the same time reminding the user of the abnormal resistance in the target device through the alarm message, so that the user can replace the device and have a good user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] 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.
[0037] Figure 1 It is a flowchart of an anomaly detection method provided in an embodiment of the present application;
[0038] Figure 2 It is a schematic diagram of the workflow of an anomaly detection method in an application scenario provided by an embodiment of the present application;
[0039] Figure 3 is a flowchart of another anomaly detection method provided in an embodiment of the present application;
[0040] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0041] Figure 5 It is a structural schematic diagram of an abnormality detection device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] 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.
[0043] 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.
[0044] 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.
[0045] 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.
[0046] 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.
[0047] 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.
[0048] Given the large shipment volume of aerosol devices, mechanical stress, vibration or moisture often cause NTC resistors to fail during transportation or assembly. However, there is no unified solution for detecting abnormal NTC resistors for aerosol devices leaving the factory, which makes it impossible for aerosol devices in users to perform functions such as heating normally. This not only causes aerosol device manufacturers to receive more user complaints, but also causes major safety hazards in aerosol devices in users' hands.
[0049] In view of the above technical problems, the embodiments of the present application provide an abnormality detection method, device, equipment, medium and computer product. A first resistor for detecting the power supply temperature and a second resistor for detecting the circuit substrate are installed in the target device (for example, an aerosol device). When the target device is turned on, by comparing the relationship between the measured temperature corresponding to the first resistor and the second resistor and different temperature thresholds, it can be quickly determined whether the first resistor or the second resistor is abnormal. In addition, the target device is stopped in time when an abnormal resistance is detected to prevent the target device from working under abnormal resistance, greatly reducing the probability of safety hazards of the target device. The alarm information is also output to remind the user that the resistance in the target device is abnormal, which is convenient for the user to replace the device and the user experience is good.
[0050] The following is a detailed description of the anomaly detection method in the embodiment of the present application.
[0051] Figure 1 is a flow chart of an abnormality detection method in an embodiment of the present application, such as Figure 1 As shown, the method is applied to a target device, the target device is equipped with a first resistor and a second resistor, the first resistor is used to detect the temperature of a battery in the target device, and the second resistor is used to detect the temperature of a circuit substrate in the target device. The method includes the following steps:
[0052] Step S101 , when the target device is powered on, detecting a first measured temperature corresponding to a first resistor and a second measured temperature corresponding to a second resistor.
[0053] In this embodiment, the target device may be an aerosol device, a heat-not-burn atomization device, a mobile phone, a tablet or a laptop computer and other electronic products that need to control temperature. In the embodiment of the present application, an aerosol device is taken as an example. When the user uses the target device, the power button of the target device can be pressed to wake up the target device. At this time, the target device can respond to the pressing operation 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 turned on. The first resistor and the second resistor can be resistors whose resistance changes with temperature. In the embodiment of the present application, an NTC resistor is taken as an example. The circuit substrate can be a printed circuit board (PCB) in the target device.
[0054] When the target device is turned on, the target device can collect the first measured temperature corresponding to the first resistor and the second measured temperature corresponding to the second resistor based on the 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 yourself, and the embodiment of the present application does not make specific restrictions. The first measured temperature is the temperature of the battery detected by the first resistor, and the second measured temperature is the temperature of the circuit substrate detected by the second resistor.
[0055] In one implementation, detecting a first measured temperature corresponding to the first resistor and a second measured temperature corresponding to the second resistor includes:
[0056] Acquire a first corresponding relationship and a second corresponding relationship corresponding to the target device, the first corresponding relationship including temperatures corresponding to different resistance values of the first resistor, and the second corresponding relationship including temperatures corresponding to different resistance values of the second resistor;
[0057] Detecting a first resistance value of the first resistor and a second resistance value of the second resistor;
[0058] Determining a first measurement temperature according to the first corresponding relationship and the first resistance value;
[0059] A second measurement temperature is determined according to the second corresponding relationship and the second resistance value.
[0060] The target device pre-stores a first corresponding relationship and a second corresponding relationship. After the target device collects the first resistance value of the first resistor and the second resistance value of the second resistor at a preset time interval, the temperature corresponding to the currently collected first resistance value is searched from the first corresponding relationship to obtain the first measured temperature, and similarly the second measured temperature is obtained.
[0061] It should be noted that the first resistor and a known resistor may be pre-set in the target device to be connected in series, and the second resistor and another known resistor may be pre-set to be connected in series. When the first resistance value needs to be detected, the target device may apply a total voltage U to the first resistor and the known resistor, and measure the voltage of the known resistor, and then determine the first resistance value by the following formula 1.
[0062] Formula 1: R1 = (U-U_Y1) / U_Y1*R_Y1
[0063] Wherein, R1 represents a first resistance value, R_Y1 represents a resistance value of a known resistor connected in series with the first resistor, and U_Y1 represents a voltage of the known resistor connected in series with the first resistor.
[0064] Similarly, the second resistance value can be determined by the following formula 2.
[0065] Formula 2: R2 = (U-U_Y2) / U_Y2*R_Y2
[0066] Wherein, R2 represents the second resistance, R_Y2 represents the resistance of the known resistor connected in series with the second resistor, and U_Y2 represents the voltage of the known resistor connected in series with the second resistor.
[0067] In the above technical solution, when the first resistance value and the second resistance value are detected, the first measurement temperature corresponding to the first resistor and the second measurement temperature corresponding to the second resistor can be quickly determined by the temperatures corresponding to the different resistance values of the first resistor and the second resistor, thereby accelerating the efficiency of abnormal detection of specific resistors in the target device, thereby reducing the time that the target device is set to work under abnormal resistance and reducing the probability of safety hazards.
[0068] In one application scenario, such as Figure 2 As shown, before the target device leaves the factory, various functional modules of the target device can be pre-configured, such as a display module, a heating module, a motor vibration module, a charging module, and an NTC failure module, etc. Among them, the display module is used to display alarm information; the heating module is used 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 NTC failure module is used to detect whether there is an abnormality in the first resistor and the second resistor.
[0069] When the user presses the power button of the target device, the target device exits the standby sleep state and enters the power-on state in response to the pressing operation. The target device collects the temperature corresponding to the battery NTC (an example of the first resistor) (an example of the first measured temperature) and the temperature corresponding to the PCB board NTC (an example of the second resistor) (an example of the second measured temperature) every 10ms, that is, Figure 2 The power-on wake-up function detects the temperature corresponding to the NTC resistor in real time.
[0070] Step S102: When the first measured temperature or the second measured temperature satisfies a first condition, it is determined that the target device is operating abnormally.
[0071] In this embodiment, the first condition includes that at least one of the first measured temperature or the second measured temperature is less than the first temperature threshold, or that either the first measured temperature or the second measured temperature is greater than the second temperature threshold, and the first temperature threshold is less than the second temperature threshold.
[0072] When the target device determines that at least one of the first measured temperature or the second measured temperature is greater than the first temperature threshold, or that either the first measured temperature or the second measured temperature is less than the second temperature threshold, and the first temperature threshold is greater than the second temperature threshold, it will be determined that at least one of the first resistor or the second resistor is abnormal, and at this time it will be determined that the device is operating abnormally.
[0073] In one implementation, the first temperature threshold and the second temperature threshold can be set based on the temperature range that can be detected by the first resistor and the second resistor. For example, when the temperature range that can be detected by the first resistor and the second resistor is -30 degrees Celsius (°C) to 120°C, the first temperature threshold can be 10°C and the second temperature threshold can be 60°C. The embodiments of the present application do not impose specific limitations.
[0074] In another implementation, the ambient temperature of the environment in which the target device is located affects the resistance change of the first resistor and the second resistor, thereby causing the temperature range that can be detected by the first resistor and the second resistor to be different with the ambient temperature. Therefore, the ambient temperature can be associated with the first temperature threshold and the second temperature threshold. Specifically, before detecting the first measured temperature corresponding to the first resistor and the second measured temperature corresponding to the second resistor, it also includes:
[0075] Obtaining the ambient temperature and temperature correspondence corresponding to the target device, wherein the temperature correspondence includes temperature thresholds corresponding to different ambient temperatures and temperature correspondences;
[0076] According to the temperature correspondence, a target temperature threshold pair corresponding to the current ambient temperature is determined, the larger temperature threshold in the target temperature threshold pair is used as the second temperature threshold, and the smaller temperature threshold in the target temperature threshold pair is used as the first temperature threshold.
[0077] The target device can detect the current ambient temperature of the environment in which it is located through its own temperature sensor, and find the temperature threshold pair corresponding to the current ambient temperature in the temperature correspondence, and use the smaller one of the temperature threshold pairs found as the first temperature threshold, and the larger one as the second temperature threshold. In the above technical solution, different first temperature thresholds and second temperature thresholds are determined by different ambient temperatures, which can reduce the misjudgment of the first resistance and the second resistance abnormality caused by the change of ambient temperature, and can improve the accuracy of the NTC resistance abnormality detection in the aerosol device.
[0078] In one implementation, the circuit states of the first resistor and the second resistor can be determined based on the first measured temperature and the second measured temperature, respectively. Specifically, when the first measured temperature is less than the first temperature threshold, the first resistor is determined to be open-circuited; when the first measured temperature is greater than the second temperature threshold, the first resistor is determined to be short-circuited; when the second measured temperature is less than the first temperature threshold, the second resistor is determined to be open-circuited; when the second measured temperature is greater than the second temperature threshold, the second resistor is determined to be short-circuited.
[0079] In order to reduce the safety risks of the target device while taking into account the user experience, in one implementation, when the first resistor or the second resistor is short-circuited, it is determined that the target device is operating abnormally, or when it is determined that the first resistor and the second resistor are open-circuited, it is determined that the target device is operating abnormally.
[0080] In the above technical solution, if either the first resistor or the second resistor is short-circuited, it will be known that the target device is abnormally heated, thereby causing a safety hazard. Therefore, when either the first resistor or the second resistor is short-circuited, it is determined that the target device is working abnormally, which can quickly reduce the probability of the target device working in the case of a resistor short circuit, thereby reducing the safety hazard of the target device. When only one of the first resistor and the second resistor is open-circuited, even if the target device continues to work, the temperature will rise slowly due to the excessive resistance of the open resistor. Therefore, it is determined that the target device is working abnormally only when both the first resistor and the second resistor are open-circuited, so that the target device can continue to work to provide services to the user when one resistor is open and the other resistor is normal, thereby achieving the effect of reducing the safety hazard of the target device while taking into account the user's experience.
[0081] It should be noted that after determining the circuit states of the first resistor and the second resistor based on the first measured temperature and the second measured temperature respectively, information indicating the circuit state of the resistor can also be generated in the alarm information to display the abnormal circuit state of the first resistor or the second resistor in the subsequently output alarm information.
[0082] In one implementation, the method also includes: determining a temperature difference between the first measured temperature and the second measured temperature when the first measured temperature and the second measured temperature satisfy a second condition, the second condition including that the first measured temperature is greater than or equal to a first temperature threshold, the first temperature threshold is less than or equal to the second temperature threshold, the second measured temperature is greater than or equal to the first temperature threshold, and the second measured temperature is less than or equal to the second temperature threshold; and operating the target device when the temperature difference is within a preset difference range.
[0083] The preset difference range can be -2°C to 2°C or other self-set ranges. When the first measured temperature and the second measured temperature are both within the numerical range composed of the first temperature threshold and the second temperature threshold, and the temperature difference between the two is within the preset difference range, the target device is operated. This ensures that the target device operates under relatively stable temperature conditions and does not operate at extreme temperatures, thereby reducing the probability of potential safety hazards. It also enables the target device to provide users with stable functions while taking into account the user experience.
[0084] Step S103: output warning information and stop running the target device.
[0085] In this embodiment, the alarm information is used to indicate that there is an abnormal first resistor or second resistor in the target device. The target device controls its own functional devices, such as a display screen, a motor or an indicator light, to output the alarm information, or send the alarm information to a preset user terminal and stop the target device.
[0086] In one implementation, the warning information includes the circuit status of the first resistor and the second resistor. The target device displays the specific circuit status of the first resistor and the second resistor in the form of text or graphics on the display screen, or through a motor or indicator light. For example, in the case of a short circuit of the first resistor, the target device can control the motor to vibrate and light up an indicator light. In the case of a disconnection of the second resistor, the target device can control the motor to vibrate and light up three indicator lights. The specific settings can be set by the user.
[0087] Continue to combine Figure 2, taking the temperature range that the first resistor and the second resistor can detect as -30℃ to 120℃ as an example, after the target device collects the first measured temperature (or the second measured temperature) at the current moment, it will compare the size relationship between the first measured temperature (or the second measured temperature) and the first temperature threshold and the second temperature threshold. When the first measured temperature (or the second measured temperature) is greater than the second temperature threshold (approaching the critical value of 120℃), it means that the smaller the resistance of the first resistor (or the second resistor), that is, the smaller the resistance, the closer to the critical value, at this time the first resistor (or the second resistor) is short-circuited; on the contrary, the first measured temperature (or the second measured temperature) is greater than the first temperature threshold and approaches the critical value of -30℃), which means that the larger the resistance of the first resistor (or the second resistor), that is, Figure 2 The larger the resistance value is, the closer it is to the critical value, at which point the first resistor (or the second resistor) is open. Figure 2 The set temperature range in is the range consisting of the first temperature threshold and the second temperature threshold.
[0088] When it is determined that either the first resistor or the second resistor is short-circuited, for safety reasons, the target device stops running and issues a high temperature alarm, i.e., outputs an alarm message. After determining that the first resistor (or the second resistor) is open-circuited, the target device continues to determine whether only one of the first resistor and the second resistor is open-circuited or both are open-circuited, i.e., Figure 2 It is determined again whether one end of the NTC resistor is abnormal or both ends are abnormal. If only one end is open, the target device continues to operate so as to heat the object to be heated in the target device for the convenience of the user to smoke. On the contrary, if both ends are open, the target device is stopped for safety reasons and a high temperature alarm is issued to prompt the user.
[0089] If it is determined that the temperatures corresponding to the battery NTC and the PCB board NTC are both within 10℃~60℃ (including the endpoints, the endpoints are respectively an example of the first temperature threshold and the second temperature threshold), and the difference between the temperatures (an example of the temperature difference) is within -2℃~2℃, it is determined that the battery NTC and the PCB board NTC are operating normally, and the target device continues to operate, that is, the user uses the aerosol device normally.
[0090] In the embodiment of the present application, when the target device is turned on, the first measurement temperature and the second measurement temperature corresponding to two different resistors are detected, and based on the size relationship between at least one of the first measurement temperature or the second measurement temperature and different temperature thresholds, the abnormal first resistor or second resistor in the target device is quickly determined, so as to achieve efficient abnormal detection of specific resistors in the target device. After determining that the target device is working abnormally, the target device is stopped and an alarm message is output, which not only realizes abnormal detection for specific resistors, but also terminates the operation of the target device in time after detecting the abnormal resistance, greatly reducing the probability of the target device (for example, an aerosol device) working under abnormal resistance, and can reduce the probability of the occurrence of safety hazards of the aerosol device. At the same time, the user is reminded of the abnormal resistance in the target device through the alarm message, which facilitates the user to replace the device and has a good user experience.
[0091] Figure 3 is a flow chart of another abnormality detection method provided in an embodiment of the present application. The method is applied to a target device. The target device is equipped with a first resistor and a second resistor. The first resistor is used to detect the temperature of a battery in the target device. The second resistor is used to detect the temperature of a circuit substrate in the target device. Figure 3 As shown, the method comprises the following steps:
[0092] Step S201 , when the target device is powered on, detecting a first measured temperature corresponding to a first resistor and a second measured temperature corresponding to a second resistor.
[0093] Step S201 is described in detail in Figure 1 Step S101 in the illustrated embodiment is not described in detail here.
[0094] When the first measured temperature or the second measured temperature satisfies the first condition, in one implementation, determining that the target device is operating abnormally includes the following steps S202 to S206:
[0095] Step S202, obtaining the actual output power of the battery, a first reference curve corresponding to the first resistor, and a second reference curve corresponding to the second resistor.
[0096] In this embodiment, the first reference curve is used to indicate the corresponding relationship between the reference output power and the first reference temperature, and the second reference curve is used to indicate the corresponding relationship between the reference output power and the second reference temperature. The reference output power is the output power of the battery at a preset ambient temperature, the first reference temperature is the measured temperature corresponding to the normal operation of the first resistor, and the second reference temperature is the measured temperature corresponding to the normal operation of the second resistor. The preset ambient temperature can be 25°C or can be set by itself, and the embodiment of the present application does not make specific restrictions.
[0097] The target device pre-stores a first reference curve corresponding to the first resistor and a second reference curve corresponding to the second resistor. The target device collects the first measurement temperature and the second measurement temperature based on a preset time interval, and determines the actual output power of the battery by measuring the voltage and current of the battery.
[0098] Step S203: determining a first abnormality detection result of a corresponding relationship between a first measured temperature and an actual output power according to a first reference curve.
[0099] The target device may determine the correlation coefficient between the reference output power and the first reference temperature based on the first reference curve, and determine the correlation coefficient between the actual output power and the first measured temperature, and compare whether the difference between the two correlation coefficients is within a preset range. If the difference is within the preset range, it is determined that the corresponding relationship between the first measured temperature and the actual output power is normal, that is, the first abnormality detection result is determined to be normal; if the difference is not within the preset range, the first abnormality detection result is determined to be abnormal. The correlation coefficient may be a Pearson correlation coefficient.
[0100] In one implementation, a first abnormality detection result of the correspondence between a first measured temperature and actual output power is determined based on a first reference curve, including: drawing a first actual curve corresponding to the first resistance based on the first measured temperature and the actual output power, the first actual curve being used to indicate the correspondence between the actual output power and the first measured temperature; and determining the first abnormality detection result based on the first reference curve and the first actual curve.
[0101] The target device uses the measured temperature as the horizontal axis and the actual output power as the vertical axis, and plots the first measured temperature and the actual output power collected at different times into a scatter plot to obtain a first actual curve. The target device determines the deviation between the first reference curve and the first actual curve. If the deviation exceeds the preset deviation range, the first abnormality detection result is determined to be abnormal. At this time, the corresponding relationship between the first measured temperature and the actual output power is abnormal, which means that the first resistor is abnormal and the target device works abnormally; if the deviation is within the preset deviation range, the first abnormality detection result is determined to be normal, which means that the first resistor is a normal resistor and the target device works normally.
[0102] The target device can select the first measured temperature at a specific output power from the first actual curve, and also select the first reference temperature at the same specific output power in the first reference curve, determine the difference between the first measured temperature and the first reference temperature at each output power, and determine the average value of the difference, and use the average value as the deviation between the first reference curve and the first actual curve. In the above technical solution, the deviation between the first actual output curve and the first reference curve can be accurately determined through the first actual output curve and the first reference curve, thereby accurately determining the abnormal detection result, thereby improving the accuracy of abnormal detection of the NTC resistor in the aerosol device.
[0103] Step S204: determining a second abnormality detection result of a corresponding relationship between a second measured temperature and an actual output power according to a second reference curve.
[0104] The target device may determine the second abnormality detection result and the correlation coefficient between the actual output power and the second measured temperature through steps similar to those of determining the first abnormality detection result.
[0105] In one implementation, a second abnormality detection result of the correspondence between the second measured temperature and the actual output power is determined based on a second reference curve, including: drawing a second actual curve corresponding to the second resistance based on the second measured temperature and the actual output power, the second actual curve being used to indicate the correspondence between the actual output power and the second measured temperature; and determining the second abnormality detection result based on the second reference curve and the second actual curve.
[0106] The target device uses the measured temperature as the horizontal axis and the actual output power as the vertical axis, and plots the second measured temperature and the actual output power collected at different times into a scatter plot to obtain a second actual curve. The target device determines the deviation between the second reference curve and the second actual curve. If the deviation exceeds the preset deviation range, the second abnormality detection result is determined to be abnormal. If the deviation is within the preset deviation range, the second abnormality detection result is determined to be normal.
[0107] The target device can select a second measured temperature at a specific output power from the second actual curve, and also select a second reference temperature at the same specific output power in the second reference curve, determine the difference between the second measured temperature and the second reference temperature at each output power, and determine the average value of the difference, and use the average value as the deviation between the second reference curve and the second actual curve. In the above technical solution, the deviation between the second actual output curve and the second reference curve can be accurately determined through the second actual output curve and the second reference curve, thereby improving the reliability of the abnormality detection result, and further improving the accuracy of the abnormality detection of the NTC resistor in the aerosol device.
[0108] Step S205, when the first abnormality detection result or the second abnormality detection result is abnormal, determining that the target device is operating abnormally.
[0109] When the first abnormality detection result is abnormal, it means that the first resistance is abnormal. Similarly, when the second abnormality detection result is abnormal, the second resistance is abnormal. The target device has a high safety hazard when working under the abnormal first resistance or second resistance. Therefore, when the first abnormality detection result or the second abnormality detection result is abnormal, it can be determined that the target device is working abnormally, and step S206 is executed.
[0110] Step S206: output warning information and stop running the target device.
[0111] Step S206 is described in detail in Figure 1 Step S103 in the illustrated embodiment is not described in detail here.
[0112] In the embodiment of the present application, when it is determined that the measured temperatures corresponding to the two resistors in the target device meet the first condition, the relationship between the measured temperatures corresponding to the two resistors and the actual output power of the battery in the actual operation of the target device is determined, so as to determine the abnormal detection results of the first resistor and the second resistor respectively by comparing the relationship with the reference curves corresponding to the two resistors. The purpose of checking the resistance abnormality based on the three parameters of the first condition, the measured temperature and the actual output power of the battery is achieved, and the accuracy of the resistance abnormality detection is improved. After determining that the target device is working abnormally, the operation of the target device is terminated in time, which greatly reduces the probability of the target device (for example, an aerosol device) working under abnormal resistance, and can reduce the probability of the occurrence of safety hazards of the aerosol device.
[0113] 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, wherein the processor 60 implements the steps in any of the above-mentioned abnormality detection method embodiments when executing the computer program 62.
[0114] 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.
[0115] 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.
[0116] 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.
[0117] Corresponding to the anomaly detection method described in the above embodiment, Figure 5 A structural block diagram of an abnormality detection device provided in an embodiment of the present application is shown, which is applied to a target device. The target device is equipped with a first resistor and a second resistor. The first resistor is used to detect the temperature of a battery in the target device, and the second resistor is used to detect the temperature of a circuit substrate in the target device. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0118] Reference Figure 5 , the device comprises:
[0119] A detection module 510, configured to detect a first measured temperature corresponding to the first resistor and a second measured temperature corresponding to the second resistor when the target device is powered on;
[0120] A determination module 520 is used to determine that the target device is operating abnormally when the first measured temperature or the second measured temperature satisfies a first condition, wherein the first condition includes that at least one of the first measured temperature or the second measured temperature is less than a first temperature threshold, or either the first measured temperature or the second measured temperature is greater than a second temperature threshold, and the first temperature threshold is less than the second temperature threshold;
[0121] The control module 530 is used to output an alarm message and stop the target device from running. The alarm message is used to indicate that an abnormal resistance exists in the target device.
[0122] In some embodiments, the device further comprises:
[0123] Before detecting a first measured temperature corresponding to the first resistor and a second measured temperature corresponding to the second resistor, an acquisition module is used to acquire an ambient temperature corresponding to the target device;
[0124] The determination module is further used to determine a first temperature threshold and a second temperature threshold according to the ambient temperature.
[0125] In some embodiments, the determining module is further configured to:
[0126] Obtaining the actual output power of the battery, a first reference curve corresponding to the first resistor, and a second reference curve corresponding to the second resistor, wherein the first reference curve is used to indicate the corresponding relationship between the reference output power and the first reference temperature, and the second reference curve is used to indicate the corresponding relationship between the reference output power and the second reference temperature, the reference output power is the output power of the battery at a preset ambient temperature, the first reference temperature is the measured temperature corresponding to the normal operation of the first resistor, and the second reference temperature is the measured temperature corresponding to the normal operation of the second resistor;
[0127] Determine, according to the first reference curve, a first abnormality detection result of a corresponding relationship between a first measured temperature and an actual output power;
[0128] Determine, according to the second reference curve, a second abnormality detection result of a corresponding relationship between a second measured temperature and an actual output power;
[0129] In a case where the first abnormality detection result or the second abnormality detection result is abnormal, it is determined that the target device operates abnormally.
[0130] In some embodiments, the determining module is further configured to:
[0131] According to the first measured temperature and the actual output power, a first actual curve corresponding to the first resistor is drawn, where the first actual curve is used to indicate a corresponding relationship between the actual output power and the first measured temperature;
[0132] A first abnormality detection result is determined according to the first reference curve and the first actual curve.
[0133] In some embodiments, the determining module is further configured to:
[0134] According to the second measured temperature and the actual output power, a second actual curve corresponding to the second resistance is drawn, where the second actual curve is used to indicate a corresponding relationship between the actual output power and the second measured temperature;
[0135] A second abnormality detection result is determined according to the second reference curve and the second actual curve.
[0136] In some embodiments, when the first measured temperature and the second measured temperature satisfy a second condition, the determination module is further used to determine a temperature difference between the first measured temperature and the second measured temperature, the second condition comprising that the first measured temperature is greater than or equal to a first temperature threshold, the first measured temperature is less than or equal to a second temperature threshold, the second measured temperature is greater than or equal to the first temperature threshold, and the second measured temperature is less than or equal to the second temperature threshold;
[0137] The control module is also used to operate the target device when the temperature difference is within a preset difference range.
[0138] 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.
[0139] 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.
[0140] The embodiment of the present application also provides an electronic 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 abnormality detection method embodiments when executing the computer program. It can be understood that the electronic device in the embodiment of the present application is the target device.
[0141] 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 various abnormality detection method embodiments can be implemented.
[0142] 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 embodiments of the abnormality detection method when executing the computer program product.
[0143] 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.
[0144] 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.
[0145] 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.
[0146] 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.
[0147] 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.
[0148] 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 first resistor and a second resistor, the first resistor is used to detect the temperature of a battery in the target device, and the second resistor is used to detect the temperature of a circuit substrate in the target device, the method includes: When the target device is powered on, detecting a first measured temperature corresponding to the first resistor and a second measured temperature corresponding to the second resistor; When the first measured temperature or the second measured temperature satisfies a first condition, determining that the target device is operating abnormally, the first condition comprising that at least one of the first measured temperature or the second measured temperature is less than a first temperature threshold, or either the first measured temperature or the second measured temperature is greater than a second temperature threshold, and the first temperature threshold is less than the second temperature threshold; Outputting warning information and stopping the operation of the target device, wherein the warning information is used to indicate that an abnormal first resistor or second resistor exists in the target device.
2. The method according to claim 1, characterized in that Before detecting the first measured temperature corresponding to the first resistor and the second measured temperature corresponding to the second resistor, the method further includes: Acquire the current ambient temperature and temperature correspondence relationship corresponding to the target device, wherein the temperature correspondence relationship includes temperature threshold pairs corresponding to different ambient temperatures; According to the temperature correspondence, a target temperature threshold pair corresponding to the current ambient temperature is determined, the larger temperature threshold in the target temperature threshold pair is used as the second temperature threshold, and the smaller temperature threshold in the target temperature threshold pair is used as the first temperature threshold.
3. The method according to claim 1 or 2, characterized in that The determining that the target device is operating abnormally includes: Acquire the actual output power of the battery, a first reference curve corresponding to the first resistor, and a second reference curve corresponding to the second resistor, wherein the first reference curve is used to indicate the corresponding relationship between the reference output power and the first reference temperature, and the second reference curve is used to indicate the corresponding relationship between the reference output power and the second reference temperature, the reference output power is the output power of the battery at a preset ambient temperature, the first reference temperature is the measured temperature corresponding to the first resistor when it is working normally, and the second reference temperature is the measured temperature corresponding to the second resistor when it is working normally; Determine, according to the first reference curve, a first abnormality detection result of a corresponding relationship between the first measured temperature and the actual output power; determining, according to the second reference curve, a second abnormality detection result of a corresponding relationship between the second measured temperature and the actual output power; In a case where the first abnormality detection result or the second abnormality detection result is abnormal, it is determined that the target device operates abnormally.
4. The method according to claim 3, characterized in that The determining, according to the first reference curve, a first abnormality detection result of a corresponding relationship between the first measured temperature and the actual output power comprises: According to the first measured temperature and the actual output power, drawing a first actual curve corresponding to the first resistance, wherein the first actual curve is used to indicate a corresponding relationship between the actual output power and the first measured temperature; The first abnormality detection result is determined according to the first reference curve and the first actual curve.
5. The method according to claim 3, characterized in that The determining, according to the second measured temperature, the actual output power and the second reference curve, an abnormality detection result of the second resistor includes: According to the second measured temperature and the actual output power, drawing a second actual curve corresponding to the second resistance, wherein the second actual curve is used to indicate a corresponding relationship between the actual output power and the second measured temperature; The second abnormality detection result is determined according to the second reference curve and the second actual curve.
6. The method according to claim 1, characterized in that The method further comprises: determining a temperature difference between the first measured temperature and the second measured temperature when the first measured temperature and the second measured temperature satisfy a second condition, wherein the second condition includes that the first measured temperature is greater than or equal to a first temperature threshold, the first temperature threshold is less than or equal to a second temperature threshold, the second measured temperature is greater than or equal to the first temperature threshold, and the second measured temperature is less than or equal to the second temperature threshold; When the temperature difference is within a preset difference range, the target device is operated.
7. An abnormality detection device, characterized in that: Applied to a target device, the target device is equipped with a first resistor and a second resistor, the first resistor is used to detect the temperature of a battery in the target device, and the second resistor is used to detect the temperature of a circuit substrate in the target device, the device comprises: a detection module, configured to detect a first measured temperature corresponding to the first resistor and a second measured temperature corresponding to the second resistor when the target device is powered on; a determination module, configured to determine that the target device is operating abnormally when the first measured temperature or the second measured temperature satisfies a first condition, wherein the first condition includes that at least one of the first measured temperature or the second measured temperature is less than a first temperature threshold, or that either the first measured temperature or the second measured temperature is greater than a second temperature threshold, and the first temperature threshold is less than the second temperature threshold; The control module is used to output an alarm message and stop the operation of the target device, wherein the alarm message is used to indicate that abnormal resistance exists in the target device.
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.
Citation Information
Cited By
Fault feedback method and device for heat-not-burn appliance, after-sales system, appliance and program product
CN120491593A