Anti-interference load detection circuit, chip and electronic equipment

By designing an anti-interference load detection circuit in an electronic cigarette, and using the second enable signal to control the trigger to sample the load detection flag signal, the jumping burr problem caused by loose heating wire or poor contact is solved, and the stability of load detection is improved. reliability.

CN119087303APending Publication Date: 2024-12-06SHENZHEN WISDOM CORE TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310656654.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-05
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The loose or poor contact of the heating wire in the electronic cigarette leads to the jumping burrs of the load detection signal, reducing the detection reliability.

Method used

An anti-interference load detection circuit is designed, and the second enable signal is used to control the flip-flop to sample the load detection flag signal at the end of the load detection, filter out the jumping burrs, and improve detection stability. The circuit includes a load detection source module, a comparator, a switch, a clock module and a logic processing module. It uses a MOS tube and a constant current source to realize load detection, and generates a reference voltage through a bandgap reference source.

Benefits of technology

It improves the anti-interference and reliability of the load detection circuit, ensuring the stability and accuracy of the load detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119087303A_ABST
    Figure CN119087303A_ABST
Patent Text Reader

Abstract

The invention discloses an anti-interference load detection circuit, a chip and electronic equipment. The load detection circuit comprises a load detection source module, a comparator, a switch, a trigger, a clock module and a logic processing module. In the load detection circuit, a load is detected at the rising edge of a first enable signal, a trigger samples a load detection flag bit signal at the rising edge of a second enable signal, and the second enable signal is a short pulse before the falling edge of the first enable signal. Therefore, the trigger samples the load detection flag bit signal at the last stage of load detection. And at the last stage of load detection, the output of the comparator is stable, that is, the trigger filters out jumping burrs in a load detection result caused by loosening or poor contact of the load, so that the anti-interference performance of the load detection circuit is improved, and the load detection result is more reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic circuits, and in particular to an anti-interference load detection circuit, chip and electronic equipment. Background Art

[0002] With the continuous improvement of living standards in my country, people are constantly pursuing a higher quality of life, and gradually realize the serious harm of smoking. Quitting smoking has gradually become a common understanding. Therefore, substitutes such as electronic cigarettes are gradually becoming popular. Nowadays, electronic cigarettes are usually installed with a load such as a heating wire. After pressing the smoking button set on the electronic cigarette, the display screen of the electronic cigarette will be lit up, and the user can view the relevant parameter information of the heating wire. However, in many cases, the heating wire will be loose or in poor contact, resulting in jittery burrs in the signal at the output end of the load detection, which interferes with the load detection and reduces reliability. Summary of the invention

[0003] The present application provides an anti-interference load detection circuit, chip and electronic device, and the specific technical solutions are as follows: An anti-interference load detection circuit, the load detection circuit includes: a load detection source module, which generates a corresponding voltage to be compared according to the access status of the load end; a comparator, which is used to compare the magnitude of a reference voltage and the voltage to be compared, and then output a load detection flag signal; a switch, which is used to connect the load detection source module and the load end, and is turned on or off based on a first enable signal. When the switch is turned on, the load detection source module generates a corresponding voltage to be compared according to the access status of the load end and transmits it to the comparator, so that the comparator outputs a load detection flag signal; a trigger, which is connected to the comparator and triggers the negative voltage output by the comparator based on a second enable signal. The load detection flag signal is sampled; a clock module is respectively connected to the trigger, the switch and the comparator, and is used to generate a periodic first enable signal, and then control the switch and the comparator to be periodically opened or closed, and is used to generate a periodic second enable signal, and then control the trigger to periodically sample the load detection flag signal output by the comparator; a logic processing module is connected to the trigger, and is used to determine whether the load end is connected to the load according to the load detection flag signal sampled by the trigger; wherein the pulse width of the second enable signal is narrower than that of the first enable signal, and the falling edge of the second enable signal is synchronized with the falling edge of the first enable signal.

[0004] Furthermore, the load detection circuit also includes a power supply voltage source and a power control module, wherein the power control module is connected to the power supply voltage source to supply power to the load end.

[0005] Furthermore, the load detection source module includes a constant current source, an input end of the constant current source is connected to the power supply voltage source, and an output end of the constant current source is connected to the switch.

[0006] Furthermore, the switch includes a MOS tube, a source of the MOS tube is connected to the output end of the constant current source, a drain is connected to the load end, and a gate is connected to the clock module, and the gate is used to receive the first enable signal.

[0007] Furthermore, the comparator includes a positive end, a negative end, a first enable end and a signal output end, wherein the positive end is used to receive the reference voltage, the negative end is connected to the load end and is used to receive the voltage to be compared generated by the constant current source according to the access status of the load end, the first enable end is connected to the clock module and is used to receive the first enable signal, and the signal output end is connected to the trigger and is used to output a load detection flag signal.

[0008] Furthermore, the load detection circuit also includes a bandgap reference source, which is connected to the positive terminal of the comparator and is used to generate the reference voltage.

[0009] Further, the trigger includes a D trigger, which includes a signal sampling end, a second enable end and a result output end, wherein the signal sampling end is connected to the signal output end of the comparator, and is used to sample the load detection flag signal based on the second enable signal, the second enable end is connected to the clock module, and is used to receive the second enable signal, and the result output end is connected to the logic processing module, so that the logic processing module determines whether to connect the load.

[0010] Furthermore, the clock module includes a master clock, and the frequency of the master clock is 33KHz.

[0011] Furthermore, the clock module also includes a frequency divider and an AND gate, wherein the frequency divider includes a first frequency divider, a second frequency divider, a third frequency divider, a fourth frequency divider, a fifth frequency divider and a sixth frequency divider connected in sequence, and is used to divide the master clock into two steps at a time, and the AND gate includes a first AND gate and a second AND gate, the first AND gate is used to perform an AND operation on the output results of the fourth frequency divider, the fifth frequency divider and the sixth frequency divider to obtain the first enable signal, and the second AND gate is used to perform an AND operation on the output results of the second frequency divider, the third frequency divider and the first AND gate to obtain the second enable signal.

[0012] A chip comprises the anti-interference load detection circuit.

[0013] An electronic device comprises the chip.

[0014] The anti-interference load detection circuit described in the present application detects the load at the rising edge of the first enable signal, and the trigger samples the load detection flag signal at the rising edge of the second enable signal, and the second enable signal is a short pulse before the falling edge of the first enable signal, so the trigger samples the load detection flag signal at the end of the load detection. At the end of the load detection, the output of the comparator has stabilized, that is, the trigger of the present application filters out the jitter glitches in the load detection result caused by the looseness or poor contact of the load, thereby improving the anti-interference performance of the load detection circuit and making the load detection result more reliable. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A schematic diagram of the structure of an anti-interference load detection circuit according to an embodiment of the present application.

[0016] Figure 2 A waveform diagram of the main clock, the first enable signal and the second enable signal according to an embodiment of the present application.

[0017] Figure 3 A schematic diagram of the structure of a clock module according to an embodiment of the present application. Implementation

[0018] The following will describe the technical solutions in the embodiments of the present application in detail in conjunction with the accompanying drawings in the embodiments of the present application. It should be understood that the specific embodiments described below are only used to explain the present application and are not used to limit the present application.

[0019] In the following description, specific details are given to provide a thorough understanding of the embodiments. However, one of ordinary skill in the art will appreciate that the embodiments may be practiced without these specific details. For example, circuits may be shown in block diagrams so as not to obscure the embodiments in unnecessary detail. In other cases, well-known circuits, structures, and techniques may not be shown in detail in order not to obscure the embodiments.

[0020] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, the schemes between the various embodiments can be combined with each other to form different technical schemes, and those not shown belong to the prior art.

[0021] With the continuous improvement of living standards in my country, people are constantly pursuing a higher quality of life, and gradually realize the serious harm of smoking. Quitting smoking has gradually become a common understanding. Therefore, substitutes such as electronic cigarettes are gradually becoming popular. Nowadays, electronic cigarettes are usually installed with a load such as a heating wire. After pressing the smoking button set on the electronic cigarette, the display screen of the electronic cigarette will be lit up, and the user can view the relevant parameter information of the heating wire. However, in many cases, the heating wire will be loose or in poor contact, resulting in jittery burrs in the signal at the output end of the load detection, which interferes with the load detection and reduces reliability.

[0022] In order to solve the above technical problems, the present application provides an anti-interference load detection circuit, which controls the trigger through a second enable signal to sample the load detection flag signal at the end of the load detection. At the end of the load detection, the output of the comparator has stabilized. That is to say, the trigger of the present application filters out the jitter glitches in the load detection result caused by the load being loose or in poor contact, thereby improving the anti-interference ability of the load detection circuit and making the load detection result more reliable.

[0023] like Figure 1 As shown, the load detection circuit includes: a load detection source module, which generates a corresponding voltage to be compared according to the access status of the load end; a comparator, which is used to compare the reference voltage with the voltage to be compared, and then output a load detection flag signal; a switch, which is used to connect the load detection source module and the load end, and is turned on or off based on a first enable signal. When the switch is turned on, the load detection source module generates a corresponding voltage to be compared according to the access status of the load end and transmits it to the comparator, so that the comparator outputs a load detection flag signal; a trigger, which is connected to the comparator and triggers the load detection flag output by the comparator based on a second enable signal. The clock module is connected to the trigger, the switch and the comparator respectively, and is used to generate a periodic first enable signal, and then control the switch and the comparator to be periodically opened or closed, and is used to generate a periodic second enable signal, and then control the trigger to periodically sample the load detection flag signal output by the comparator; a logic processing module is connected to the trigger, and is used to determine whether the load end is connected to the load according to the load detection flag signal sampled by the trigger; wherein the pulse width of the second enable signal is narrower than that of the first enable signal, and the falling edge of the second enable signal is synchronized with the falling edge of the first enable signal.

[0024] As one of the implementation modes, the load detection circuit further includes a power supply voltage source VCC and a power control module POWER CONTROL, wherein the power control module is connected to the power supply voltage source and is used to supply power to the load end. The power control module can be a power tube controlled by any one of a PWM signal (pulse width modulation signal), a PFM signal (pulse frequency modulation signal) or a PSM signal (pulse cross-cycle modulation signal). The power tube can be any one of an NMOS tube or a PMOS tube. The source of the power tube is connected to the power supply voltage source, the drain is connected to the load end, and the gate is connected to a driving circuit, and the driving circuit is used to generate a modulation signal. When the modulation signal is at a low level, the power tube is turned on so that the power supply voltage source supplies power to the load end, and when the modulation signal is at a high level, the power tube is turned off. The driving circuit is a conventional circuit and is not described here.

[0025] It should be noted that Figure 1 The PAD in the chip is a metal area connected to the chip. It is the input and output interface of the chip. The circuit inside the chip and the external circuit can be connected through the PAD to realize the input and output functions. The power output of the power tube is sent from the PAD to the load outside the chip.

[0026] As one implementation method, the load detection source module includes a constant current source CCS (Constant Current Source), the input end of the constant current source is connected to the power supply voltage source, and the output end is connected to the switch. This embodiment uses a constant current source, and the power consumption is controllable. If a voltage divider resistor is used, the process deviation is generally large and the consistency is poor.

[0027] As one of the implementation modes, the switch SWITCH includes a MOS tube, the source of the MOS tube is connected to the output end of the constant current source, the drain is connected to the load end, the gate is connected to the clock module, and the gate is used to receive the first enable signal. The MOS tube adopts any one of an NMOS tube or a PMOS tube. When the first enable signal is at a high level, the MOS tube is turned on, and when the first enable signal is at a low level, the MOS tube is turned off. The switch is periodically opened and closed by the first enable signal, so that the load detection source module does not consume unnecessary power due to being in a working state all the time, thereby greatly reducing the power consumption of the circuit. Among them, when the MOS tube is turned on, the power output of the constant current source is sent from the PAD to the load outside the chip.

[0028] As one of the implementation modes, the comparator CMP includes a positive terminal +, a negative terminal -, a first enable terminal and a signal output terminal, wherein the positive terminal is used to receive the reference voltage VREF, the negative terminal is connected to the load terminal, and is used to receive the voltage to be compared generated by the constant current source according to the access status of the load terminal, the first enable terminal is connected to the clock module, and is used to receive the first enable signal, and the signal output terminal is connected to the trigger, and is used to output a load detection flag signal. When the load is not connected, the constant current source pulls the negative terminal voltage of the comparator to a high potential, which is higher than the reference voltage. At this time, the comparator outputs a load detection flag signal 0, indicating that the load is not connected. When the load is connected, the constant current source (the constant current source size is designed according to the load resistance) generates a voltage drop on the load, which is lower than the reference voltage. At this time, the comparator outputs a load detection flag signal 1, indicating that the load is connected. The use of a comparator in this embodiment can obtain a more accurate output and is not easily affected by temperature.

[0029] As one implementation, the load detection circuit further includes a bandgap reference source, which is connected to the positive terminal of the comparator and is used to generate the reference voltage. The bandgap reference source described in this embodiment has the advantage of being almost independent of process and temperature changes.

[0030] As one of the implementation modes, the trigger FILTER includes a D trigger, and the D trigger includes a signal sampling terminal D, a second enable terminal CLK and a result output terminal Q, wherein the signal sampling terminal is connected to the signal output terminal of the comparator, and is used to sample the load detection flag signal based on the second enable signal, the second enable terminal is connected to the clock module, and is used to receive the second enable signal, and the result output terminal is connected to the logic processing module LOGIC HANDLE, so that the logic processing module determines whether to connect the load.

[0031] like Figure 2 As shown, the pulse width of the second enable signal DET is narrower than that of the first enable signal EN, and the falling edge of the second enable signal is synchronized with the falling edge of the first enable signal. The load is detected at the rising edge of the first enable signal, and the trigger samples the load detection flag signal at the rising edge of the second enable signal. The second enable signal is a short pulse before the falling edge of the first enable signal, so the trigger samples the load detection flag signal at the end of the load detection. At the end of the load detection, the output of the comparator has stabilized, that is, the trigger used in this embodiment filters out the jitter glitches in the load detection result caused by the load being loose or in poor contact, thereby improving the anti-interference performance of the load detection circuit.

[0032] As one of the implementation methods, Figure 3 As shown, the clock module includes a main clock OSC, and the frequency of the main clock is 33KHz. The frequency of 33KHz is adopted to take into account both the speed of processing data and the power consumption.

[0033] As one of the implementation methods, Figure 3 As shown, the clock module also includes a frequency divider and an AND gate, wherein the frequency divider includes a first frequency divider, a second frequency divider, a third frequency divider, a fourth frequency divider, a fifth frequency divider and a sixth frequency divider connected in sequence, for dividing the master clock by two in stages, and the AND gate includes a first AND gate and a second AND gate, wherein the first AND gate is used to perform an AND operation on the output results of the fourth frequency divider, the fifth frequency divider and the sixth frequency divider to obtain the first enable signal, and the second AND gate is used to perform an AND operation on the output results of the second frequency divider, the third frequency divider and the first AND gate to obtain the second enable signal. Wherein, the frequency divider can be any one of a D flip-flop or an SR flip-flop. In practical applications, the enable signal can be set according to demand, for example, it is set to open only one clock cycle in eight clock cycles, so that the power consumption is only one-eighth of the original. The cycle of the enable signal can be designed according to actual needs, so that the load detection circuit can be applied to more application scenarios and has strong practicality.

[0034] The present application also provides a chip, which includes the above-mentioned anti-interference load detection circuit. In the chip, the load is detected at the rising edge of the first enable signal, and the trigger samples the load detection flag signal at the rising edge of the second enable signal, and the second enable signal is a short pulse before the falling edge of the first enable signal, so the trigger samples the load detection flag signal at the end of the load detection. At the end of the load detection, the output of the comparator has stabilized, that is, the trigger of the present application filters out the jitter glitches in the load detection result caused by the looseness or poor contact of the load, thereby improving the anti-interference performance of the chip and making the load detection result more reliable.

[0035] The present application also provides an electronic device, which includes the above-mentioned chip and a load LOAD, wherein the load is connected to the load end of the chip, and the chip is used to detect whether the load is connected to the load end. The load is also connected in parallel with a parasitic capacitor C. The electronic device also includes an indication module, which generates a corresponding indication according to the access status of the load. The indication module includes at least any one of an LED lamp and a vibration motor MOTOR. The electronic device can be any one of an electronic atomization device or a power management architecture. The trigger of the electronic device filters out the jitter glitches in the load detection result caused by the looseness or poor contact of the load, thereby improving the anti-interference ability of the electronic device and making the load detection result more reliable.

[0036] Obviously, the above-mentioned embodiments are only a part of the embodiments of the present application, rather than all the embodiments, and the technical solutions between the various embodiments can be combined with each other. In addition, if the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside" and the like appear in the embodiments, the orientation or position relationship indicated is based on the orientation or position relationship shown in the accompanying drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation or be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. If the terms "first", "second", "third" and the like appear in the embodiments, it is to facilitate the distinction of related features and cannot be understood as indicating or implying their relative importance, order or number of technical features.

[0037] In addition, in the description of this application, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0038] Although the embodiments of the present application have been shown and described, it is understood by those skilled in the art that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of the present application, and the scope of the present application is limited by the attached claims and their equivalents. The above is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of protection of the present application.

Claims

1. An anti-interference load detection circuit, characterized in that: The load detection circuit comprises: A load detection source module generates a corresponding voltage to be compared according to the access status of the load end; A comparator, used for comparing the reference voltage with the voltage to be compared, and then outputting a load detection flag signal; A switch, used to connect the load detection source module and the load end, and is turned on or off based on a first enable signal. When the switch is turned on, the load detection source module generates a corresponding voltage to be compared according to the access status of the load end and transmits it to the comparator, so that the comparator outputs a load detection flag signal; A trigger, connected to the comparator, samples the load detection flag signal output by the comparator based on a second enable signal; A clock module, connected to the trigger, the switch and the comparator respectively, for generating a periodic first enable signal, and then controlling the switch and the comparator to be periodically turned on or off, and for generating a periodic second enable signal, and then controlling the trigger to periodically sample the load detection flag signal output by the comparator; A logic processing module, connected to the trigger, for determining whether the load end is connected to the load according to the load detection flag signal sampled by the trigger; The pulse width of the second enable signal is narrower than that of the first enable signal, and the falling edge of the second enable signal is synchronized with the falling edge of the first enable signal.

2. The anti-interference load detection circuit according to claim 1, characterized in that: The load detection circuit also includes a power supply voltage source and a power control module, wherein the power control module is connected to the power supply voltage source to supply power to the load end.

3. The anti-interference load detection circuit according to claim 2, characterized in that: The load detection source module comprises a constant current source, an input end of the constant current source is connected to the power supply voltage source, and an output end of the constant current source is connected to the switch.

4. The anti-interference load detection circuit according to claim 3, characterized in that: The switch comprises a MOS tube, a source of the MOS tube is connected to the output end of the constant current source, a drain is connected to the load end, a gate is connected to the clock module, and the gate is used to receive the first enable signal.

5. The anti-interference load detection circuit according to claim 4, characterized in that: The comparator includes a positive terminal, a negative terminal, a first enable terminal and a signal output terminal, wherein: The positive terminal is used to receive the reference voltage. The negative terminal is connected to the load terminal and is used to receive the voltage to be compared generated by the constant current source according to the access condition of the load terminal. The first enable terminal is connected to the clock module and is used to receive the first enable signal. The signal output end is connected to the trigger and is used to output a load detection flag signal.

6. The anti-interference load detection circuit according to claim 5, characterized in that: The load detection circuit also includes a bandgap reference source, which is connected to the positive terminal of the comparator and is used to generate the reference voltage.

7. The anti-interference load detection circuit according to claim 5, characterized in that: The trigger comprises a D trigger, and the D trigger comprises a signal sampling terminal, a second enable terminal and a result output terminal, wherein: The signal sampling end is connected to the signal output end of the comparator, and is used to sample the load detection flag signal based on the second enable signal. The second enable terminal is connected to the clock module and is used to receive the second enable signal. The result output terminal is connected to the logic processing module, so that the logic processing module determines whether to connect to the load.

8. The anti-interference load detection circuit according to claim 7, characterized in that: The clock module includes a main clock, and the frequency of the main clock is 33KHz.

9. The anti-interference load detection circuit according to claim 8, characterized in that: The clock module also includes a frequency divider and an AND gate, wherein: The frequency divider includes a first frequency divider, a second frequency divider, a third frequency divider, a fourth frequency divider, a fifth frequency divider and a sixth frequency divider connected in sequence, and is used to divide the master clock into two frequency steps. The AND gate includes a first AND gate and a second AND gate, the first AND gate is used to perform an AND operation on the output results of the fourth frequency divider, the fifth frequency divider and the sixth frequency divider to obtain the first enable signal, and the second AND gate is used to perform an AND operation on the output results of the second frequency divider, the third frequency divider and the first AND gate to obtain the second enable signal.

10. A chip, characterized in that: The chip comprises the anti-interference load detection circuit according to any one of claims 1 to 9.

11. An electronic device, characterized in that: The electronic device comprises the chip according to claim 10.

Citation Information

Cited By

  • Power supply detection circuit and detection method thereof

    CN120405510A