Short circuit detection methods, devices, equipment and storage media for atomizing equipment
By acquiring the input voltage and connection status of the atomizing component and combining it with voltage change characteristics, short-circuit detection of the atomizing device is achieved, solving the problem of inaccurate short-circuit detection in existing technologies and improving the reliability of the device and user experience.
Patent Information
- Application Number
- CN202511114169.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-08
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2045-08-08
AI Technical Summary
Existing atomizing devices lack accurate detection and intelligent processing capabilities when system malfunctions or component damage occur during charging due to short circuits or abnormal loads. They are unable to distinguish between normal operation and sudden short circuits, which can easily lead to misjudgments and missed diagnoses.
By acquiring the sampling voltage at the input terminal of the atomizing component and the connection status between the external power supply and the atomizing device, and combining the voltage change characteristics and connection status, the short-circuit status of the charging chip and the external power supply can be accurately determined. After a short circuit occurs, the device enters standby or sleep mode for intelligent identification and classification.
It improves the reliability and safety of atomizing devices in complex power supply environments, avoids misjudgment or missed judgment, and ensures stable operation of the device and user experience under abnormal conditions.
Smart Images

Figure CN120918412B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of atomization equipment technology, and in particular to a short-circuit detection method, apparatus, device, and storage medium for atomization equipment. Background Technology
[0002] With the continuous development of electronic atomization technology, more and more products are adopting a separate charging case and atomizing component structure, which not only makes it convenient for users to carry around but also improves battery life. To meet the need for convenient charging of the atomizing component, the charging case usually needs to have the function of actively outputting charging voltage, that is, to achieve charging power to the atomizing component by integrating a charging chip with OTG (On-The-Go) function. However, in practical applications, if the 5V output terminal is shorted to ground due to a short circuit or abnormal load, it is very easy to cause system malfunctions or component damage, thereby affecting user safety and product reliability. In the existing technology, most charging systems rely solely on the hardware overcurrent protection of the charging chip to avoid damage, lacking the ability to accurately detect and intelligently process abnormal states, making it difficult to accurately distinguish the voltage changes between normal operation (such as plugging and unplugging USB) and sudden short circuits, thus easily leading to problems such as misjudgment and missed detection. Summary of the Invention
[0003] This invention provides a short-circuit detection method, apparatus, device, and storage medium for atomizing devices to solve the aforementioned technical problems.
[0004] A first aspect of this invention provides a short-circuit detection method for an atomizing device, the atomizing device including a charging chip and an atomizing component, the charging chip being used to receive power from an external power source when connected to it, and the atomizing component being used to receive a power supply voltage output by the charging chip or the external power source, the short-circuit detection method including: Obtain the input sampling voltage of the atomizing component, and obtain the connection status between the external power supply and the atomizing device; The short-circuit status of the charging chip and / or the external power supply is determined based on the input terminal sampling voltage and the connection status.
[0005] Optionally, determining the short-circuit state of the charging chip or the external power supply based on the input terminal sampled voltage and the connection status includes: When the input sampling voltage gradually decreases and the connection between the external power supply and the atomizing device is disconnected, it is determined that the output terminal of the external power supply is not short-circuited.
[0006] Optionally, determining the short-circuit state of the charging chip or the external power supply based on the input terminal sampled voltage and the connection status includes: When the input terminal sampling voltage decreases to a first preset voltage value within a first time range, the first preset voltage value is less than a first voltage threshold, and the external power supply is connected to the atomizing device, it is determined that a short circuit has occurred at the output terminal of the external power supply.
[0007] Optionally, after determining that a short circuit has occurred at the output terminal of the external power supply, the method further includes: A short circuit at the output terminal of the external power supply is marked as the first short circuit event. The atomizing device is controlled to enter a standby state. In the standby state, the charging function is turned off and the first short circuit event is monitored within a first preset standby time. At the same time, other functions except the charging function are kept working normally. If the first short circuit event is detected to be resolved within the first preset standby time, the normal working state of the atomizing device is restored. If the first short-circuit event is not resolved within the first preset standby time, the atomizing device is controlled to enter a sleep state.
[0008] Optionally, monitoring whether the first short-circuit event has been cleared within the first preset standby time includes: The input terminal sampling voltage is monitored and acquired within a first preset standby time. When the sampled voltage at the input terminal is greater than the second preset voltage value, it is determined that the first short circuit event has been resolved. When the sampled voltage at the input terminal is not greater than the second preset voltage value, it is determined that the first short circuit event has not been resolved.
[0009] Optionally, determining the short-circuit state of the charging chip or the external power supply based on the input terminal sampled voltage and the connection status includes: When the input sampling voltage instantly decreases below the third preset voltage value, and the external power supply is not connected to the atomizing device, and the charging chip is in an external power supply state, it is determined that the output terminal of the charging chip has a short circuit.
[0010] Optionally, after determining that a short circuit has occurred at the output terminal of the charging chip, the method further includes: A short circuit at the output terminal of the charging chip is marked as a second short circuit event; The charging chip is controlled to continue outputting voltage, and the atomizing device is controlled to enter standby mode. During the second preset standby time in the standby mode, the second short circuit event is monitored to see if it is cleared, while other functions besides the charging function are kept working normally. If the second short circuit event is detected to be resolved within the second preset standby time, the normal working state of the atomizing device is restored. If the second short-circuit event is not resolved within the second preset standby time, the atomizing device is controlled to enter a sleep state.
[0011] A second aspect of this invention provides a short-circuit detection device for an atomizing device. The atomizing device includes a charging chip and an atomizing component. The charging chip is used to receive power from an external power source when connected to it. The atomizing component is used to receive the power supply voltage output by the charging chip or the external power source. The short-circuit detection device includes: The status acquisition module is used to acquire the input sampling voltage of the atomizing component and the connection status between the external power supply and the atomizing device; The short-circuit detection module is used to determine the short-circuit state of the charging chip and / or the external power supply based on the input terminal sampling voltage and the connection status.
[0012] A third aspect of the present invention provides an atomizing device, comprising: 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 executes the computer program to implement the method described in the first aspect.
[0013] A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in the first aspect.
[0014] The technical advantages of this invention are as follows: By acquiring the sampling voltage at the input terminal of the atomizing component and combining it with the connection status between the external power supply and the atomizing device, it is possible to accurately determine whether a short circuit has occurred at the output terminal of the charging chip or the external power supply. This technical solution can not only effectively distinguish between normal insertion / removal and abnormal states such as short circuits, avoiding misjudgments or missed judgments caused by similar voltage change characteristics, but also realize intelligent identification and classification of abnormal states. Compared with the existing technology that relies solely on hardware overcurrent protection, this invention has higher detection accuracy and system response capability, and can improve the reliability, safety, and user experience of electronic atomizing devices in complex power supply environments. Attached Figure Description
[0015] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a schematic diagram of the structure of an atomizing device provided in Embodiment 1 of the present invention; Figure 2 This is a flowchart of a short-circuit detection method for an atomizing device provided in Embodiment 1 of the present invention; Figure 3 This is a flowchart illustrating the determination of a short circuit at the output terminal of an external power supply in a short circuit detection method for an atomizing device according to Embodiment 1 of the present invention. Figure 4 This is a flowchart of step S202 in a short-circuit detection method for an atomizing device provided in Embodiment 1 of the present invention; Figure 5 This is a flowchart illustrating the determination of a short circuit at the output of a charging chip in a short circuit detection method for an atomizing device according to Embodiment 1 of the present invention. Figure 6 This is a specific circuit diagram of the charging chip in a short-circuit detection method for an atomizing device provided in Embodiment 1 of the present invention; Figure 7 This is a flowchart illustrating the detection of whether TPYE C is connected in a method for detecting the working status of an atomizing device according to Embodiment 1 of the present invention. Figure 8 This is a flowchart of detecting whether 5V is short-circuited in a method for detecting the working status of an atomizing device provided in Embodiment 1 of the present invention; Figure 9 This is a flowchart illustrating the process of handling a 5V short circuit in a method for detecting the working status of an atomizing device according to Embodiment 1 of the present invention. Figure 10 This is a schematic diagram of the structure of an atomizing device in one embodiment of the present invention. Detailed Implementation
[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0018] It should be understood that the invention can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein. Rather, providing these embodiments will make the disclosure thorough and complete, and will fully convey the scope of the invention to those skilled in the art. In the drawings, for clarity, the dimensions and relative dimensions of layers and regions may be exaggerated. The same reference numerals denote the same elements throughout.
[0019] It should be understood that when an element or layer is referred to as "on," "adjacent to," "connected to," or "coupled to" other elements or layers, it may be directly on, adjacent to, connected to, or coupled to other elements or layers, or there may be intervening elements or layers. Conversely, when an element is referred to as "directly on," "directly adjacent to," "directly connected to," or "directly coupled to" other elements or layers, there are no intervening elements or layers. It should be understood that although the terms first, second, third, etc., may be used to describe various elements, components, areas, layers, and / or portions, these elements, components, areas, layers, and / or portions should not be limited by these terms. These terms are only used to distinguish one element, component, area, layer, or portion from another element, component, area, layer, or portion. Therefore, without departing from the teachings of this invention, the first element, component, area, layer, or portion discussed below may be referred to as the second element, component, area, layer, or portion.
[0020] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the invention. When used herein, the singular forms “a,” “an,” and “the” are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising” and / or “including,” when used in this specification, identify the presence of the stated features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups. When used herein, the term “and / or” includes any and all combinations of the associated listed items.
[0021] To fully understand this invention, detailed structures and steps will be presented in the following description to illustrate the technical solution proposed by this invention. Preferred embodiments of the invention are described in detail below; however, in addition to these detailed descriptions, the invention may have other embodiments.
[0022] Example 1 This embodiment provides a short-circuit detection method for an atomizing device, such as... Figure 1 As shown, the atomizing device 10 includes a charging chip 11 and an atomizing component 12. The charging chip 11 is used to receive power from an external power supply 13 when connected to it. The atomizing component 12 is used to receive the power supply voltage output by the charging chip 11 or the external power supply 13. The short-circuit detection method includes: Step S101. Obtain the input sampling voltage of the atomizing component, and obtain the connection status between the external power supply and the atomizing device through the charging chip; Step S102. Determine the short circuit status of the charging chip and / or external power supply based on the input terminal sampling voltage and connection status.
[0023] The atomizing component is used to achieve the atomization and heating function, that is, heating the atomized oil into a mist when the user inhales. Power can come from two sources: a charging chip (such as a built-in battery or charging case powered by OTG output); and an external power source (such as a USB adapter). Changes in the input voltage of the atomizing component reflect the power supply path status and are an important basis for short-circuit detection. The charging chip typically includes a charging IC with OTG functionality, a battery, and a power management unit; it is responsible for powering the atomizing component; when connected to an external power source, it can also charge itself or switch to bypass power; it has certain short-circuit protection and voltage output control capabilities. An external power source, such as a USB power cable or wall adapter, provides 5V to the device; the MCU monitors the interface pins or communication status to determine if it is connected.
[0024] In step S101, the sampling voltage is obtained by the MCU performing ADC sampling on the power supply input terminal of the atomizing component; this voltage reflects the current power supply status, whether there is voltage output, and whether it is stable. The external power supply connection status can be obtained by detecting the VBUS status of the Type-C interface, the data line level, the status pins of the charging chip, etc. to determine whether an external power supply is connected; in some circuits, the USB insertion can also be identified by the pull-up / pull-down status or open-drain output.
[0025] In step S102, when the external power supply is detected as connected, and the input sampling voltage drops instantaneously from a normal level (e.g., approximately 2.5V) to a preset low level (e.g., less than 0.3V), while the charging status pin of the charging chip remains low (indicating it is still charging), it is determined that a 5V short circuit to ground has occurred in the external power supply. When the external power supply is detected as disconnected, and the OTG function is enabled, if the input sampling voltage remains low, it is determined that a short circuit has occurred at the output of the charging chip. Furthermore, to further improve the accuracy of the judgment, identification can be based on the rate of voltage drop: if the voltage drops rapidly in a very short time (e.g., less than 10ms) without a synchronous change in the charging status, it is more likely to be judged as a short circuit; while if the voltage drops slowly (e.g., 2-3 seconds), accompanied by a change in the charging status from charging to stopped charging, it can be identified as the user normally unplugging the USB charging cable, not a short circuit fault. By following the steps above, it is possible to effectively distinguish between an external power supply short circuit and an abnormal output of the charging chip. After a short circuit occurs, the OTG output voltage can be shut off in time to avoid damage to the device. At the same time, the normal inhalation and sleep / wake-up functions of the e-cigarette cartridge can be preserved, and the charging function can be automatically restored after the short circuit is eliminated, ensuring the safety and continuity of device operation.
[0026] The technical advantages of this embodiment are as follows: by acquiring the sampling voltage at the input terminal of the atomizing component and combining it with the connection status between the external power supply and the atomizing device, it is possible to accurately determine whether a short circuit has occurred at the output terminal of the charging chip and / or the external power supply. This technical solution can not only effectively distinguish between normal insertion / removal and abnormal states such as short circuits, avoiding misjudgments or missed judgments caused by similar voltage change characteristics, but also realize intelligent identification and classification of abnormal states. Compared with the existing technology that relies solely on hardware overcurrent protection, this invention has higher detection accuracy and system response capability, and can improve the reliability, safety, and user experience of electronic atomizing devices in complex power supply environments.
[0027] As one implementation method, determining the short-circuit state of the charging chip or external power supply based on the input terminal sampling voltage and connection status includes: If the input sampling voltage gradually decreases and the connection between the external power supply and the atomizing device is disconnected, it is determined that there is no short circuit at the output of the external power supply.
[0028] This step utilizes the rate of voltage drop, combined with the USB connection status, to determine whether it's a normal USB disconnection rather than a power short circuit. When an external power source (such as a USB adapter) powers the atomizer, the system input detects approximately 5V. When the USB is properly disconnected, the power is off, and the input voltage is no longer maintained by the adapter but slowly discharged through the RC circuit (resistor + capacitor), causing the sampled voltage to gradually decrease. Conversely, in the case of a short circuit, the voltage will instantly drop to 0V (without delay). This judgment is based on the following two conditions being met simultaneously: The input sampled voltage exhibits a slow decreasing trend: for example, slowly decaying from 2.5V to 0V over approximately 2-3 seconds; this is due to the capacitor releasing charge in the RC circuit. The external power source is disconnected (USB not connected), which can be confirmed by reading the VBUS voltage status from the MCU, the charging chip feedback pin level, and checking for an open CC pin. If both conditions are met, the current voltage drop is due to the user actively disconnecting the USB cable; it is not a power abnormality or short circuit fault; no protection action is required, and the device can enter normal sleep or wait mode.
[0029] The technical advantage of this implementation is that by comprehensively judging the changing trend of the input terminal sampling voltage and the external power supply connection status, it can effectively distinguish between two situations: normal USB disconnection and external power supply short circuit. This avoids misidentifying normal user operation as an abnormal fault, thereby improving the accuracy of the system's judgment on abnormal power supply states and enhancing the stability and reliability of the device. This solution requires no additional hardware costs; it achieves efficient and accurate short circuit identification function solely through software logic optimization, demonstrating good practicality and intelligence.
[0030] As one implementation method, determining the short-circuit state of the charging chip or external power supply based on the input terminal sampling voltage and connection status includes: When the input sampling voltage decreases to a first preset voltage value within a first time range, the first preset voltage value is less than a first voltage threshold, and the external power supply is connected to the atomizing device, it is determined that a short circuit has occurred at the output terminal of the external power supply.
[0031] This step is used to determine whether an external power supply short circuit has occurred when the atomizing device is powered by an external power source by observing the sudden change in the sampled voltage. When an external power source (such as a USB charger) is connected to the atomizing device, the device typically provides 5V to the internal circuitry and atomizing components via VBUS. At this time, the input sampled voltage should be stable near a certain normal value (e.g., approximately 2.5V after voltage division). If the voltage suddenly (instantly) drops below a first preset threshold (e.g., below 0.3V), it indicates a serious abnormality in the voltage supply path. An instantaneous drop indicates a drastic voltage drop within a very short time (e.g., less than 10ms); this is usually caused by a short circuit at the output, resulting in a momentary loss of power supply. An instantaneous drop in input voltage indicates a sudden abnormality in the power supply line, which can be determined by fast sampling with an ADC and comparison with a timer to determine whether the drop is instantaneous. The external power supply connection status can be confirmed by detecting the Type-C interface VBUS status, high-level input, and charging IC feedback. When both conditions are met simultaneously, the system can clearly identify that a short circuit has occurred at the external power supply output and immediately implement safety measures (such as disconnecting OTG, stopping charging, and indicating an abnormality). The first preset voltage value can be set according to the specific circuit, such as 0.3V. A voltage below this value is considered a complete voltage loss. The time range of the instantaneous decrease is usually defined as a transient drop by comparing the interval between two consecutive samplings (e.g., less than 10ms). By jointly judging the characteristics of the sudden drop in supply voltage and the external power supply connection status, the system can quickly and accurately identify external power supply short circuit faults, avoid misjudgments and delayed responses, and effectively improve the system's safety and anomaly handling capabilities.
[0032] The technical advantage of this implementation is that by monitoring the instantaneous voltage drop at the input terminal while the external power supply is connected, short-circuit faults at the output terminal of the external power supply can be quickly identified, avoiding misjudging normal plugging / unplugging operations or power supply fluctuations as abnormal situations. This solution enables real-time response and accurate judgment of short-circuit faults, improving the stability and safety of the equipment in complex power supply environments, while ensuring the normal operation of other functional modules, demonstrating good intelligence and practicality.
[0033] As one implementation method, such as Figure 3 As shown, after determining that a short circuit has occurred at the output terminal of the external power supply, the following steps are also included: Step S201. Mark the short circuit at the output terminal of the external power supply as the first short circuit event; Step S202. Control the atomizing device to enter standby mode. In standby mode, turn off the charging function and monitor whether the first short circuit event is cleared within the first preset standby time. At the same time, keep other functions except the charging function working normally. Step S203. If the first short circuit event is detected to be cleared within the first preset standby time, the normal working state of the atomizing device is restored. Step S204. If the first short circuit event is not cleared within the first preset standby time, the atomizing device is controlled to enter a sleep state.
[0034] In step S201, when a short circuit is detected at the external power supply output, the system does not immediately interrupt all tasks; instead, it registers the fault state as an event, called the first short circuit event, through software. This event serves as the basis for judgment and triggering condition for subsequent processes. Objectifying (event-based) abnormal states facilitates task-driven tracking and processing by the system, achieving closed-loop control of software logic and supporting subsequent automatic detection and recovery.
[0035] In step S202, after entering standby mode, the device stops charging (OTG and related controls are disabled) to avoid hardware risks caused by continuous short circuits. In this state, users can still perform normal interactive behaviors such as pumping, button shifting, and waking up. The system focuses on determining whether the short circuit has been cleared and no longer executes other charging-related programs. The short circuit can be cleared by continuously sampling the OTG_AD terminal voltage and combining it with the hardware overcurrent protection mechanism. This step ensures that the system charging function does not work in abnormal states; avoids system paralysis due to faults; ensures that core user functions are not affected; reduces malfunctions; and avoids resource waste.
[0036] In step S203, if the OTG_AD terminal voltage is detected to have returned to the normal reference value (approximately 2.5V) within the standby time (e.g., 8 seconds), the short circuit is determined to be resolved. The system clears the short circuit event marker and restores normal function: OTG charging is enabled; USB connection detection is re-enabled. This step implements an automatic self-healing mechanism for 5V abnormal short circuits; users can restore function without manually resetting or unplugging the device; improving device reliability and user experience.
[0037] In step S204, if no voltage recovery is detected during the standby time (i.e., the short circuit state is not resolved), it is determined that the anomaly cannot be immediately recovered; the system enters a low-power sleep mode; all tasks except wake-up detection are suspended; the user can wake up the device by smoking or pressing a button to re-trigger the judgment logic. This step improves energy utilization efficiency and avoids unnecessary power consumption; implements a safety fault-tolerance mechanism in short-circuit scenarios; and has a fallback strategy when the anomaly persists, while retaining the possibility of recovery.
[0038] This implementation treats a "short circuit" as an independent system event, constructing a complete closed-loop logic from anomaly identification → state isolation → continuous detection → automatic recovery or hibernation. This ensures the continuity of the device's core functions (suction, wake-up, etc.) while avoiding the risk of system failure caused by abnormal charging paths, demonstrating strong practicality and system intelligence.
[0039] The technical advantage of this implementation is that by marking an external power supply short circuit as an independent short circuit event and continuously monitoring whether the event has been cleared in standby mode, while maintaining normal operation of all functions except charging, precise management and closed-loop control of 5V short circuit faults can be achieved. This method ensures safe system operation without affecting the user's normal experience, and automatically resumes charging after the short circuit is cleared; if not, it intelligently enters a sleep state, thereby improving the robustness, intelligence, and energy management efficiency of the atomizing device under abnormal conditions.
[0040] As one implementation method, such as Figure 4 As shown, monitoring whether the first short-circuit event is cleared within the first preset standby time includes: Step S301. Monitor the input terminal sampling voltage during the first preset standby time; Step S302. When the sampled voltage at the input terminal is greater than the second preset voltage value, it is determined that the first short circuit event has been resolved; Step S303. When the input terminal sampled voltage is not greater than the second preset voltage value, it is determined that the first short circuit event has not been resolved.
[0041] In step S301, after entering the standby state, the voltage value at the input terminal of the atomizing component is continuously collected by the ADC module within the first preset standby time. The sampled voltage reflects whether the current charging path has returned to normal and is the core indicator for determining whether the short circuit has been resolved. The sampling period can be 100ms~500ms.
[0042] In step S302, the second preset voltage value is the reference threshold for the system to determine whether the short circuit has been cleared. It is usually set to the normal 5V voltage after voltage division (such as about 2.0~2.5V). When the sampled value is higher than this threshold, it means that the voltage has returned to normal, the power supply has not been damaged, and the short circuit has been eliminated. The system can clear the status flag of the "first short circuit event" accordingly.
[0043] In step S303, if the sampled voltage remains at a low level (e.g., close to 0V or below 2.0V), it indicates that the charging path is still abnormal; the system continues to keep the "first short circuit event" flag unchanged; it maintains the current standby state or enters the sleep state after timeout.
[0044] The technical advantage of this implementation is that by continuously acquiring the input terminal sampling voltage and determining whether the 5V short circuit event has been resolved based on whether the voltage exceeds a preset threshold, real-time tracking and accurate identification of abnormal states are achieved. This implementation can achieve automatic monitoring and safety management of short circuit faults without increasing hardware complexity, effectively improving the intelligence level and system stability of the atomizing device during fault recovery, and ensuring that the charging function only resumes operation under safe conditions.
[0045] As one implementation method, based on the external power supply short circuit event handling process, in order to improve the accuracy of short circuit clearance detection, this implementation method monitors the input terminal sampling voltage of the atomizing component during the first preset standby time, and also obtains the output current value of the external power supply in real time through a current detection module set on the output path of the external power supply.
[0046] Specifically, in step S501, after the main control chip enters the first preset standby time, in addition to periodically (e.g., every 100ms) collecting the input terminal sampling voltage, it also synchronously collects the output current value of the current detection module; the current detection module can be a combination structure of sampling resistor + operational amplifier, or it can be a Hall current sensor, and its output signal is collected by ADC for subsequent judgment.
[0047] In step S502, when the input terminal sampling voltage is greater than the second preset voltage value, the system further determines whether the output current of the external power supply has recovered to the normal charging range (e.g., 50mA to 1A). If both the voltage and current meet the conditions, it is determined that the first short circuit event has been resolved and the system enters the recovery charging process.
[0048] In step S503, if the input sampling voltage is greater than the second preset voltage value but the output current continues to fluctuate abnormally (e.g., greater than the upper current threshold of 1.5A or less than the lower current threshold of 30mA, and the duration exceeds 500ms), it is determined that the current short circuit event has not been completely resolved, the first short circuit event state is maintained, and the system enters sleep mode after the standby timeout.
[0049] This extended scheme allows for the simultaneous introduction of both voltage and current detection conditions in short-circuit release judgment, avoiding misjudgments caused by poor contact, instantaneous voltage rebound, or soft short-circuit conditions, thereby improving the reliability and safety of short-circuit release judgment.
[0050] The technical advantage of this implementation method is that by introducing a current detection method during the external power supply short circuit release detection process, the system can obtain more comprehensive power supply status information when determining whether the short circuit has been released, effectively avoiding the problem of false recovery caused by a single voltage judgment, thereby improving the stability and safety of the atomizing device in complex power supply environments.
[0051] As one implementation method, determining the short-circuit state of the charging chip or external power supply based on the input terminal sampling voltage and connection status includes: When the input sampling voltage decreases below the third preset voltage value within the second time range, and the external power supply is not connected to the atomizing device, and the charging chip is in the external power supply state, it is determined that the output terminal of the charging chip has a short circuit.
[0052] The process involves sampling the input terminal of the atomizing component (e.g., the OTG_AD terminal) via an ADC. A decrease within the second time range can be defined as a rapid voltage drop from a normal level (e.g., 2.5V) to a low voltage (e.g., below 0.3V) within a very short time (e.g., less than 10ms); this rapid voltage drop is a typical short-circuit characteristic. "No connection between external power supply and atomizing device" indicates that no USB or other external power source is currently plugged in, meaning the system is not externally powered. Connection status can be obtained through VBUS detection, the Type-C CC pin, or the charging chip feedback pin (e.g., pin 3 of the ETA6912). "Charging chip is in external power supply state" indicates that the device is actively enabling the OTG function and is outputting 5V voltage through its internal charging chip. This state is typically activated by setting the OTG enable pin on the MCU; in this state, the atomizing device powers the atomizing component through its built-in battery. When all three conditions are met simultaneously, it can be accurately determined that: the voltage drops suddenly; the external power supply is not connected, ruling out the possibility of an external short circuit; the system is in OTG power supply mode, indicating that the abnormality is caused by the output path of the internal charging chip; therefore, it is inferred that the short circuit occurs at the output end of the charging chip of this device.
[0053] The technical advantage of this implementation is that, by combining the instantaneous drop characteristics of the input sampling voltage with the absence of an external power supply and the charging chip being in an externally powered state, it can accurately determine whether a short circuit has occurred at the output of the charging chip, thereby effectively avoiding false alarms of external anomalies and improving the accuracy and response speed of fault identification. This method does not rely on complex hardware; it achieves rapid detection and safe handling of short circuits in the internal power supply path solely through software logic, enhancing the device's self-protection capabilities and system stability in independent power supply mode.
[0054] As one implementation method, such as Figure 5 As shown, the system determines that a short circuit has occurred at the output terminal of the charging chip, and then includes: Step S401. Mark the short circuit at the output terminal of the charging chip as the second short circuit event; Step S402. Control the charging chip to continue outputting voltage and control the atomizing device to enter standby mode. In standby mode, monitor whether the second short circuit event is cleared within the second preset standby time, and at the same time keep other functions except the charging function working normally. Step S403. If the second short circuit event is detected to be cleared within the second preset standby time, the normal working state of the atomizing device is restored. Step S404. If the second short circuit event is not cleared within the second preset standby time, the atomizing device is controlled to enter a sleep state.
[0055] In step S401, when the system determines that a short circuit has occurred at the output terminal of the charging chip, it will not immediately shut down all functions; instead, it will record and mark the short circuit fault as a "second short circuit event"; this event will serve as the basis for subsequent fault tracking, monitoring and state switching.
[0056] In step S402, the OTG power supply is not immediately shut off. Instead, the output continues to be attempted under the protection of hardware overcurrent protection in order to determine whether the short circuit is an instantaneous and recoverable abnormality. The control device enters "standby state", that is, the charging-related logic is suspended, and only the task of "monitoring whether the second short circuit event is resolved" is executed. The user can still perform normal operations such as pumping, shifting gears, and waking up the display.
[0057] In step S403, if the system detects that the input sampling voltage has returned to normal (e.g., above 2.5V) within a standby time of, for example, 8 seconds, it determines that the short circuit has been resolved. At this time, the system clears the second short circuit event flag and restores all functions, including: starting the charging control logic; re-enabling USB connection recognition; starting the atomization device voltage judgment and OTG power supply, etc.
[0058] In step S404, if the short circuit is not cleared within a preset time, the system determines that the abnormality is a persistent fault. In order to save power and prevent the abnormality from causing damage to the device, the system enters a low-power sleep mode. After the user wakes up by suction or button operation, the short circuit judgment and charging logic is triggered again.
[0059] The technical advantage of this implementation is that by marking a short circuit in the charging chip output as an independent event and continuously monitoring whether it is cleared in standby mode, while maintaining the normal operation of other functions besides charging, closed-loop management of short circuit faults can be achieved without affecting the user experience. When the short circuit is automatically cleared, normal function can be restored immediately; if it is not cleared, it enters a sleep state, thereby effectively improving the fault tolerance, self-recovery capability, and system stability of the device under abnormal conditions.
[0060] As one implementation method, based on the short circuit event handling process at the output of the charging chip, in order to reduce the power consumption during the short circuit detection stage and speed up the confirmation speed of short circuit release, this implementation method monitors the sampling voltage at the input of the atomizing component during the second preset standby time while controlling the OTG output of the charging chip to work in pulse mode.
[0061] Specifically, in step S601, after the main control chip switches the atomizing device to standby mode, it no longer maintains a continuous high level of OTG output, but intermittently outputs 5V voltage to the atomizing component according to preset pulse operating parameters (e.g., period 100ms, duty cycle 50%). During the high-level pulse phase, the main control chip collects the input terminal sampling voltage for short-circuit release judgment. During the low-level pulse phase, the output circuit is in the off state to reduce power consumption and chip heat generation.
[0062] In step S602, when the input terminal sampling voltage is detected to be stably higher than the second preset voltage value (e.g., about 2.5V) during the pulse high-level phase and the condition is met for multiple consecutive sampling cycles (e.g., 5 consecutive high-level phases), it is determined that the second short-circuit event has been resolved, the event marker is cleared, and the normal working state is restored; if the above conditions are not met within the second preset standby time, the sleep mode is entered according to step S404.
[0063] With this extended solution, power consumption during short-circuit detection is significantly reduced, and the risk of overheating of the charging chip is controlled even if the short circuit persists. At the same time, the pulsed output can quickly detect voltage recovery after the short circuit is cleared, enabling rapid recovery of the charging function.
[0064] The technical advantage of this embodiment is that, in the detection process of short circuit events at the output end of the charging chip, the pulsed OTG power supply method is adopted, which not only reduces the power consumption and heat generation under short circuit conditions, but also shortens the recovery time after the short circuit is cleared, thereby improving the safety and response efficiency of the atomizing device in the abnormal state handling stage.
[0065] As one implementation method, based on the short circuit determination process at the output end of the charging chip, this implementation method introduces a temperature sensor to collect the surface temperature information of the charging chip during the determination process, so as to further improve the accuracy of short circuit identification.
[0066] Specifically, in the process of determining the short circuit state based on the input terminal sampling voltage and connection status, the main control chip not only detects whether the input terminal sampling voltage decreases below a third preset voltage value within a second time range, but also simultaneously reads the real-time temperature value from a temperature sensor located on or near the surface of the charging chip package and calculates the temperature rise rate. This temperature sensor can be a digital temperature sensor, an NTC thermistor, or a temperature detection unit integrated within the charging chip. In the determination logic, when the sampling voltage meets the instantaneous drop condition for short circuit determination (e.g., a drop from 2.5V to below 0.3V within less than 10ms) and the temperature rise rate exceeds a first temperature rise threshold (e.g., 10℃ / second), the system directly confirms a short circuit event at the charging chip output terminal. If the voltage meets the instantaneous drop condition but the temperature rise rate is lower than the first temperature rise threshold, it is determined to be a possible instantaneous impact load or soft short circuit. The system will delay for a preset confirmation time (e.g., 50ms) and then resample the voltage and temperature, confirming in the second sampling result whether the short circuit condition is continuously met. Only when both confirmations are successful is a short circuit finally determined.
[0067] By introducing the temperature rise rate parameter, it is possible to effectively distinguish between the intense heat caused by a short circuit and the transient voltage drop at the moment of load startup, thereby reducing the possibility of misjudgment, especially improving the accuracy of judgment in low temperature environments or high power startup scenarios.
[0068] The technical advantages of this implementation are as follows: by adding temperature monitoring and temperature rise rate analysis to the short circuit determination of the charging chip output, dual-condition judgment can be made by combining voltage drop characteristics and thermal response characteristics, which significantly improves the accuracy of short circuit detection, reduces the risk of false triggering caused by instantaneous high current start-up, and thus enhances the reliability and adaptability of the atomizing device in different working environments.
[0069] As an example, such as Figure 6As shown, the charging control system of the atomizing device includes a charging chip (e.g., ETA6912D3K), a main control chip, a Type-C interface, an OTG control circuit, and an interface module for communication with the cartridge. When the user connects the charging case to an external power source via the Type-C interface, pin 5 (CHG_EN) of the ETA6912D3K charging chip is in a continuously active state, allowing charging of the internal battery cells. Simultaneously, the main control chip determines whether the Type-C port is inserted by detecting the voltage value on the OTG_AD pin, which is connected to the voltage divider point of the OTG output. Normally, it outputs approximately 5V, which is reduced to approximately 2.5V after resistor division. The main control chip reads this 2.5V level as one of the conditions for determining whether the Type-C port is inserted.
[0070] To avoid misjudgments, the system also reads pin 3 (CHRG) of the charging chip ETA6912D3K, which indicates the charging status. When the internal battery is charging, pin 3 is pulled low; when the battery is fully charged, it goes high. The main control chip sets this pin to pull up by default. In addition, the main control chip communicates with the atomization assembly via pin 8. When the system detects that no external USB power is plugged in, but the atomization assembly is connected, the charging case actively communicates with the cartridge and receives the voltage information of the atomization assembly's battery. If the voltage of the atomization assembly is below 4V, the main control chip will activate the OTG function, outputting 5V to the atomization assembly via the charging IC for supplemental power. Simultaneously, to avoid misjudging "internal OTG output" as "external USB power supply," the system employs a dual-condition determination mechanism: only when pin 3 of the ETA6912 is low (indicating external power is charging) and the OTG_AD pin voltage is approximately 2.5V is it determined that a Type-C port is inserted. This is because when the USB is not plugged in, if the OTG function is turned on, the OTG_AD terminal will also display 2.5V (since it is output from inside the charging chip). Therefore, it is necessary to make a comprehensive judgment based on the status signal of the charging chip ETA6912D3K to ensure the accuracy of the judgment.
[0071] like Figure 7 The flowchart for detecting whether TPYE C is connected is shown below: Step S1: Has the 1MS timeout period been reached? If yes, proceed to step S2; otherwise, return to step S1. Step S2: Is the voltage value of the OTG_AD terminal of the acquisition terminal greater than 2.4V? If yes, proceed to step S3; otherwise, proceed to step S5. Step S3: Is the signal at pin 3 of the charging chip pulled low? If yes, proceed to step S4; otherwise, proceed to step S5. Step S4: Increment the counter CNT_ON by 1, and simultaneously clear CNT_OFF. Continue to execute step S8. Step S5: Increment the counter CNT_OFF by 1, and simultaneously clear CNT_ON; proceed to step S6. Step S6: Determine if CNT_OFF is greater than 30; if yes, proceed to step S7; otherwise, return to step S1. Step S7: Determine that the USB charger is detached and the charging case is not charging; return to step S1. Step S8: Determine if CNT_ON is greater than 30; if yes, proceed to step S9; otherwise, return to step S1. Step S9: Determine that the USB charger is inserted and the charging case is charging, then return to step S1.
[0072] like Figure 6 As shown, in this embodiment, the atomizing device controls the 5V output through the charging chip ETA6912D3K, and monitors for abnormal conditions such as a 5V short circuit to ground by collecting voltage changes at the OTG_AD terminal through the main control chip. To avoid misjudgments during USB plugging and unplugging, the system is designed with the following multi-scenario recognition mechanism: Scenario 1: Identification of a 5V short circuit during USB charging When the user plugs the USB into the Type-C port to charge the charging case, the charging chip ETA6912D3K is active. Its pin 3 (CHRG) outputs a low level to indicate charging is in progress, and the OTG function is disabled. At this time, the OTG_AD terminal detects half of the 5V voltage (approximately 2.5V) through a voltage divider circuit. If a 5V short circuit to ground occurs during charging (e.g., shorting the output terminal), the voltage at the OTG_AD terminal will drop below 0V instantaneously within a very short time (less than 10ms). The main control chip continuously monitors the voltage change on this pin through software and, combined with the low-level state of pin 3 of the charging chip ETA6912D3K, determines that a 5V short circuit event has occurred. To avoid misinterpreting "normal USB disconnection" as a short circuit, the software utilizes the following characteristics for differentiation: During the normal disconnection of the USB charging cable, although the OTG_AD voltage will eventually drop to 0V, it will slowly decay (approximately 2-3 seconds in actual testing) due to the RC filter network formed by the voltage divider resistors R34 / R35 and the parallel capacitor. Simultaneously, pin 3 of the charging chip ETA6912D3K will first go high before the voltage decays, indicating the end of charging. Therefore, the software's judgment logic is as follows: If the charging status is still "charging" (CHRG pin is low), and the OTG_AD voltage drops sharply within a short time → it is determined to be a 5V short circuit; if the CHRG pin goes high first, and the OTG_AD voltage slowly decreases → it is determined to be a normal USB disconnection, with no abnormality.
[0073] Scenario 2: Identification of 5V short circuit when USB is not connected When no external USB power is connected, the charging case enters self-powered mode and activates the OTG function when the voltage of the atomizing component is detected to be below 4V, outputting 5V to the cartridge through the charging chip ETA6912D3K. At this time, the OTG_AD terminal should detect a normal voltage division of approximately 2.5V. If this voltage suddenly drops below 0V after OTG is activated, and it is confirmed that the USB is not connected (VBUS is low or the CHRG pin is high), the software determines that a short circuit has occurred during OTG output, i.e., a short circuit at the output terminal of the charging chip.
[0074] Therefore, the prerequisites for short circuit detection include: USB not connected; OTG enabled; and a sudden drop in OTG_AD voltage. Only when all three conditions are met simultaneously is the charging chip output short circuit identified, triggering subsequent event logging and exception handling procedures.
[0075] like Figure 8 As shown, the flowchart for detecting whether 5V is short-circuited is as follows: Step S11: Has the 1MS timeout period been reached? If yes, proceed to step S12; otherwise, return to step S11. Step S12: Is the voltage value of the OTG_AD terminal of the acquisition terminal less than 1V? If yes, proceed to step S14; otherwise, return to step S13. Step S13: Clear CNT_OFF2 and CNT_OFF3 simultaneously, increment CNT_OFF by 1, and return to execute step S11. Step S14: Is pin 3 of the charging chip pulled low in the current state? If yes, proceed to step S15; otherwise, return to step S17. Step S15: Increment the counter CNT_OFF2 by 1, and simultaneously clear CNT_OFF. Continue to execute step S16. In step S16, is the value of CNT_OFF2 greater than 30? If yes, then execute step S15; otherwise, return to execute step S16. Step S17: Is the OTG function of the charging chip enabled in the current state? If yes, proceed to step S18; otherwise, return to step S11. Step S18: Increment the counter CNT_OFF3 by 1, and simultaneously clear CNT_OFF. Continue to execute step S19. In step S19, is the value of CNT_OFF3 greater than 30? If yes, proceed to step S20; otherwise, return to step S11. Step S20: It is assumed that a 5V short circuit has occurred.
[0076] In this embodiment, to achieve intelligent processing and closed-loop control under 5V short-circuit fault, the control system of the atomizing device adopts an event-driven strategy, which identifies the 5V short circuit as a detectable, traceable, and recoverable abnormal event. Through hardware and software collaborative logic, it ensures that during the fault occurrence: the core functions of the atomizing device such as inhalation and wake-up are not affected; other charging logic is not accidentally triggered; and the original functions are automatically restored after the abnormality is resolved.
[0077] Abnormal Event Recognition: When the system detects a short circuit at the 5V output terminal (such as OTG), for example, the voltage of the OTG_AD pin momentarily drops below a first preset value (such as 0.3V), and simultaneously determines that the device is in OTG output state, the main control chip immediately recognizes it as a 5V short circuit abnormal event. The system then performs the following actions: displays a "5V short circuit" or "charging abnormality" message on the screen; records the current fault status as "not resolved"; and terminates all charging-related logic processes. To ensure that other system functions are not affected, the control logic decouples this abnormal event from regular application tasks. That is: it no longer checks whether the USB is connected or disconnected; it no longer determines whether the charging case needs to charge the cartridge; and it no longer automatically turns on OTG to charge the cartridge. At the same time, the system remains in "standby mode," performing only one dedicated task: checking whether the "5V short circuit has been resolved." In standby mode, the system periodically performs the following operations: Forcefully enable the OTG function (managed by the charging IC, with overcurrent protection); continuously sample the OTG_AD pin voltage for a fixed detection period (e.g., 8 seconds); determine if either of the following two conditions applies: Short circuit resolved: If the OTG_AD voltage returns to its normal value (e.g., approximately 2.5V) within 8 seconds, the system considers the short circuit abnormality resolved; clears the "abnormal event" flag; automatically restores all normal functional modules (including USB status detection, cartridge battery level determination, and OTG charging logic); returns to full application mode. Short circuit not resolved: If no voltage recovery is detected within 8 seconds, the system checks the user's operation status: If there is inhalation or button operation, the system allows the corresponding operation (e.g., shifting gears, inhalation); after completion, returns to standby mode and continues into the next 8-second detection cycle; if there is no user operation for a continuous cycle, the control system enters a low-power sleep state. In sleep mode, the system no longer outputs OTG voltage; it maintains low power consumption, retaining only the buttons and suction sensor as wake-up sources; the user can wake the system through any operation; after waking, the system prioritizes the smoking task; then it returns to standby mode to continue detecting whether the short circuit has been cleared. During the detection process, although the system forcibly enables the OTG function, the charging ICs used, such as the ETA6912, have hardware overcurrent protection capabilities, so even if the short circuit persists, it will not cause chip damage or system overheating.
[0078] like Figure 9 As shown, the flowchart for handling a 5V short circuit is as follows: Step S21: Has the 1MS timeout period been reached? If yes, proceed to step S22; otherwise, return to step S21. Step S22: The current state is a 5V short circuit. Step S23: Enable OTG function; Step S24, delay 20ms; Step S25: Is the voltage value of the OTG_AD terminal of the acquisition terminal greater than 2.4V? If yes, proceed to step S26; otherwise, return to step S29. Step S26: Increment the counter CNT_ON4 by 1; Step S27: Is the value of CNT_ON4 greater than 30? If yes, proceed to step S28; otherwise, return to step S21. Step S28: The current 5V short circuit state has been resolved, normal charging task resumes, and return to step S21. Step S29, clear CNT_ON4 to 0; Step S30: Has the standby time reached 8 seconds? If yes, proceed to step S31; otherwise, return to step S21. Step S31: Enter hibernation mode.
[0079] Example 2 This second embodiment provides a working status detection device for an atomizing device. The atomizing device includes a charging chip and an atomizing component. The charging chip is used to receive power from an external power source when connected to it. The atomizing component is used to receive the power supply voltage output by the charging chip or the external power source. The short-circuit detection device includes: The status acquisition module is used to acquire the input sampling voltage of the atomizing component and the connection status between the external power supply and the atomizing device; The short-circuit detection module is used to determine the short-circuit state of the charging chip and / or the external power supply based on the input terminal sampling voltage and the connection status.
[0080] This application also provides an atomizing device, such as... Figure 10 As shown, the atomizing device 2 includes: at least one processor 23, a memory 21, and a computer program 22 stored in the memory 21 and capable of running on at least one processor 23. When the processor 23 executes the computer program, it implements the steps in any of the above method embodiments, or when the processor 23 executes the computer program, it implements the functions of each module / unit in the above device embodiments.
[0081] For example, a computer program can be divided into one or more modules / units, one or more of which are stored in memory and executed by a processor to complete this application. One or more modules / units can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the atomizing device.
[0082] Those skilled in the art will understand that Figure 10 This is merely an example of an atomizing device and does not constitute a limitation on the atomizing device. It may include more or fewer components than shown, or combine certain components, or different components. For example, an atomizing device may also include input / output devices, network access devices, buses, etc.
[0083] The aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0084] The memory can be an internal storage unit of the atomizing device, such as the hard drive or RAM of the atomizing device. The memory can also be an external storage device of the atomizing device, such as a plug-in hard drive, SmartMedia Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory can include both internal storage units and external storage devices of the atomizing device.
[0085] This application also provides a readable storage medium storing a computer program, which, when executed by a processor, implements the steps described in the above-described method embodiments.
[0086] This application provides a computer program product that, when run on an atomizing device, enables a mobile terminal to execute the steps described in the above-described method embodiments.
[0087] If the integrated unit is implemented as 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, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. A computer-readable medium can include at least: any entity or device capable of carrying computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0088] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0089] Those skilled in the art will recognize that the units and algorithm steps of the various examples 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 implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0090] In the embodiments provided in this application, it should be understood that the disclosed apparatus / device and method can be implemented in other ways. For example, the apparatus / device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0091] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0092] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A short-circuit detection method for an atomizing device, characterized in that, The atomizing device includes a charging chip and an atomizing component. The charging chip, when connected to an external power source, receives power from the external power source. The atomizing component receives the power supply voltage output by the charging chip or the external power source. The short-circuit detection method includes: Obtain the input sampling voltage of the atomizing component, and obtain the connection status between the external power supply and the atomizing device; The short-circuit state of the charging chip and / or the external power supply is determined based on the input terminal sampling voltage and the connection status. The step of determining the short-circuit state of the charging chip or the external power supply based on the input terminal sampling voltage and the connection status includes: When the input terminal sampling voltage decreases to a first preset voltage value within a first time range, the first preset voltage value is less than a first voltage threshold, and the external power supply is connected to the atomizing device, it is determined that a short circuit has occurred at the output terminal of the external power supply. When the input terminal sampling voltage decreases below a third preset voltage value within a second time range, and the external power supply is not connected to the atomizing device, and the charging chip is in an external power supply state, it is determined that the output terminal of the charging chip has a short circuit.
2. The short-circuit detection method as described in claim 1, characterized in that, The step of determining the short-circuit state of the charging chip or the external power supply based on the input terminal sampling voltage and the connection status includes: When the input sampling voltage shows a gradually decreasing trend and the connection between the external power supply and the atomizing device is disconnected, it is determined that the output terminal of the external power supply is not short-circuited.
3. The short-circuit detection method as described in claim 2, characterized in that, The process of determining that a short circuit has occurred at the output terminal of the external power supply further includes: A short circuit at the output terminal of the external power supply is marked as the first short circuit event. The atomizing device is controlled to enter a standby state. In the standby state, the charging function is turned off and the first short circuit event is monitored within a first preset standby time. At the same time, other functions except the charging function are kept working normally. If the first short circuit event is detected to be resolved within the first preset standby time, the normal working state of the atomizing device is restored. If the first short-circuit event is not resolved within the first preset standby time, the atomizing device is controlled to enter a sleep state.
4. The short-circuit detection method as described in claim 3, characterized in that, The step of monitoring whether the first short-circuit event has been resolved within the first preset standby time includes: Monitor the input terminal sampling voltage during the first preset standby time; When the sampled voltage at the input terminal is greater than the second preset voltage value, it is determined that the first short circuit event has been resolved. When the sampled voltage at the input terminal is not greater than the second preset voltage value, it is determined that the first short circuit event has not been resolved.
5. The short-circuit detection method as described in claim 1, characterized in that, The process of determining that a short circuit has occurred at the output terminal of the charging chip further includes: A short circuit at the output terminal of the charging chip is marked as a second short circuit event; The charging chip is controlled to continue outputting voltage, and the atomizing device is controlled to enter standby mode. During the second preset standby time in the standby mode, the second short circuit event is monitored to see if it is cleared, while other functions besides the charging function are kept working normally. If the second short circuit event is detected to be resolved within the second preset standby time, the normal working state of the atomizing device is restored. If the second short-circuit event is not resolved within the second preset standby time, the atomizing device is controlled to enter a sleep state.
6. A short-circuit detection device for an atomizing device, characterized in that, The atomizing device includes a charging chip and an atomizing component. The charging chip receives power from an external power source when connected to it. The atomizing component receives the power supply voltage output by the charging chip or the external power source. The short-circuit detection device includes: The status acquisition module is used to acquire the input sampling voltage of the atomizing component and the connection status between the external power supply and the atomizing device; A short-circuit detection module is used to determine the short-circuit state of the charging chip and / or the external power supply based on the input terminal sampling voltage and the connection status. The short-circuit detection module is also used for: When the input terminal sampling voltage decreases to a first preset voltage value within a first time range, the first preset voltage value is less than a first voltage threshold, and the external power supply is connected to the atomizing device, it is determined that a short circuit has occurred at the output terminal of the external power supply. When the input terminal sampling voltage decreases below a third preset voltage value within a second time range, and the external power supply is not connected to the atomizing device, and the charging chip is in an external power supply state, it is determined that the output terminal of the charging chip has a short circuit.
7. An atomizing device, characterized in that, include: At least one processor, a memory, and a computer program stored in the memory and executable on at least one processor, wherein the processor, when executing the computer program, implements the method as claimed in any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for detecting battery module short circuit in UPS system
CN104655973A
Short-circuit protection method of atomization device and atomization device
CN114343251A
