CN112987625B - Control circuit, method for detecting voltage, electronic device and control method thereof - Google Patents

Control circuit, method for detecting voltage, electronic device and control method thereof Download PDF

Info

Publication number
CN112987625B
CN112987625B CN202110422582.2A CN202110422582A CN112987625B CN 112987625 B CN112987625 B CN 112987625B CN 202110422582 A CN202110422582 A CN 202110422582A CN 112987625 B CN112987625 B CN 112987625B
Authority
CN
China
Prior art keywords
switch tube
voltage
switching tube
tube
logic controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110422582.2A
Other languages
Chinese (zh)
Other versions
CN112987625A (en
Inventor
郭晋亮
沈玉菡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Shanger Semiconductor Co ltd
Original Assignee
Xi'an Tuoer Microelectronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Tuoer Microelectronics Co ltd filed Critical Xi'an Tuoer Microelectronics Co ltd
Priority to CN202110422582.2A priority Critical patent/CN112987625B/en
Publication of CN112987625A publication Critical patent/CN112987625A/en
Application granted granted Critical
Publication of CN112987625B publication Critical patent/CN112987625B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/0084Arrangements for measuring currents or voltages or for indicating presence or sign thereof measuring voltage only
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/21Pc I-O input output
    • G05B2219/21119Circuit for signal adaption, voltage level shift, filter noise

Abstract

The application provides a control circuit, a voltage detection method, an electronic device and a control method thereof, wherein the control circuit is respectively connected with a power supply capacitor, a power supply module and a load, and comprises a voltage acquisition module, a logic controller, a first switching tube and a second switching tube which are connected with the logic controller; the logic controller is used for controlling the on-off of the first switch tube and the second switch tube and the working state of the voltage acquisition module; the voltage acquisition module is used for acquiring a first voltage of the power supply capacitor under the condition that the first switch tube is cut off and the second switch tube is conducted; the voltage acquisition module is used for acquiring a second voltage of the first switching tube based on the control of the logic controller under the condition that the first switching tube is switched on and the second switching tube is switched off; and the voltage acquisition module is further used for acquiring a third voltage at two ends of the load according to the difference value of the first voltage and the second voltage. The control circuit can realize the measurement of the load voltage of the two-wire structure electronic device.

Description

Control circuit, method for detecting voltage, electronic device and control method thereof
Technical Field
The present application relates to a circuit, and more particularly, to a control circuit, a method for detecting a voltage, an electronic device and a control method thereof.
Background
A commonly used control circuit in an electronic device is a three-wire structure circuit. The control circuit of the three-wire structure needs more welding leads, so the production cost is higher, and the quality reliability of the electronic device is reduced. Through continuous optimization, the original three-wire structure is improved into a two-wire structure, so that the production cost is greatly reduced, but a series of problems are brought, such as the fact that the voltage at two ends of a load resistor cannot be measured, and the like.
Disclosure of Invention
The embodiment of the application provides a control circuit, a voltage detection method, an electronic device and a control method thereof, which can realize load voltage measurement of the electronic device with a two-wire structure.
In order to achieve the above object, in a first aspect, an embodiment of the present application provides a control circuit, where the control circuit is respectively connected to a power supply capacitor, a power supply module, and a load, and the control circuit includes a voltage obtaining module, a logic controller, and a first switching tube and a second switching tube connected to the logic controller; the logic controller is used for controlling the on-off states of the first switch tube and the second switch tube and the working state of the voltage acquisition module;
under the condition that the first switch tube is switched off and the second switch tube is switched on, the power supply module is used for charging the power supply capacitor through the second switch tube; the voltage acquisition module is used for acquiring a first voltage of the first end of the power supply capacitor based on the control of the logic controller;
the power supply module is used for supplying power to the load through the first switching tube under the condition that the first switching tube is switched on and the second switching tube is switched off, the voltage acquisition module is used for acquiring a second voltage at the first end of the first switching tube based on the control of the logic controller, and the second end of the first switching tube is grounded;
the voltage obtaining module is further configured to obtain a third voltage at two ends of the load according to a difference between the first voltage and the second voltage.
According to the control circuit provided by the embodiment of the application, the logic controller in the control circuit forms different current paths by controlling different on-off states of the first switch tube and the second switch tube, so that the voltage acquisition module in the control circuit can acquire the voltage of the power supply capacitor and the first end of the first switch tube, and the voltage at two ends of the load is acquired. The problem that voltages at two ends of a load resistor cannot be measured in an electronic device with a two-wire structure is solved.
In one possible implementation of the first aspect, the voltage acquisition module includes a sampling unit and a voltage comparison unit; the sampling unit is respectively connected with the logic controller, the first end of the power supply capacitor and the first end of the first switching tube; and the voltage comparison unit is connected with the sampling unit and used for obtaining a third voltage at two ends of the load based on the first voltage and the second voltage output by the sampling unit.
In a possible implementation manner of the first aspect, the control circuit further includes a third switch tube, and the third switch tube is respectively connected to the logic controller and the indicator light; the first end of the indicator light is connected with the first end of the power supply capacitor through the third switching tube, and the second end of the indicator light is connected with the second end of the power supply capacitor; the logic controller is further used for controlling the on-off state of the third switching tube, and the indicator light is turned on under the condition that the third switching tube is conducted.
In one possible implementation manner of the first aspect, the logic controller includes a first pulse width modulation unit and a second pulse width modulation unit, the first pulse width modulation unit is configured to output a first control signal, and the second pulse width modulation unit is configured to output a second control signal; the control circuit further includes: the first transmission gate is respectively connected with the first pulse width modulation unit and the first switching tube; the first input end of the AND gate is connected with the second pulse width modulation unit, and the second input end of the AND gate is connected with the first transmission gate; the second transmission gate is respectively connected with the output end of the AND gate and the second switching tube;
the first control signal and the second control signal both comprise a first time phase and a second time phase, and in the first time phase, the first switch tube is turned off, and the second switch tube is turned on; in the second time phase, the first switch tube is conducted, and the second switch tube is in a high-frequency on-off switching state;
the logic controller is further configured to output a third control signal to the third switching tube, where the third control signal is used to control the third switching tube to be turned on.
In one possible implementation of the first aspect, the logic controller includes a first pulse width modulation unit configured to output a first control signal; the control circuit further includes: the third transmission gate is respectively connected with the first pulse width modulation unit and the first switching tube; a first input end of the NOR gate is connected with the first pulse width modulation unit, and a second input end of the NOR gate is used for inputting an enabling signal; the fourth transmission gate is respectively connected with the output end of the NOR gate and the second switching tube; the first control signal comprises a third time phase and a fourth time phase, and in the third time phase, the first switch tube is turned off, and the second switch tube is turned on; in the fourth time phase, the first switch tube is conducted, and the second switch tube is conducted;
the logic controller is further configured to output a third control signal to the third switching tube, where the third control signal is used to control the third switching tube to be turned on.
In a possible implementation manner of the first aspect, the logic controller is connected to the gate and the source of the first switching tube, the gate and the source of the second switching tube, the gate and the source of the third switching tube, and the first end of the load;
the drain electrode of the first switching tube and the drain electrode of the second switching tube are respectively connected with the positive electrode of the power module, and the drain electrode of the first switching tube is connected with the drain electrode of the second switching tube; the source electrode of the first switching tube is connected with the first end of the load;
the source electrode of the second switching tube and the source electrode of the third switching tube are respectively connected with the first end of the power supply capacitor; the drain electrode of the third switching tube is connected with the positive electrode of the indicator light, and the negative electrode of the indicator light is respectively connected with the second end of the power supply capacitor and the first end of the load;
the second end of the load is connected to the negative pole of the power module, and the negative pole of the power module is grounded.
In a second aspect, an embodiment of the present application provides a method for detecting a voltage, which is applied to the control circuit in the first aspect, and the method includes:
the logic controller controls the first switch tube to be switched off and the second switch tube to be switched on so that the power supply module charges the power supply capacitor through the second switch tube, and the logic controller controls the sampling unit to acquire a first voltage at the first end of the power supply capacitor when determining that the power supply capacitor is fully charged;
then the logic controller controls the first switch tube to be switched on and the second switch tube to be switched off so that the power module supplies power to the load through the first switch tube, and the logic controller controls the sampling unit to obtain a second voltage at the first end of the first switch tube;
and the voltage comparison unit obtains a third voltage at two ends of the load according to the first voltage and the second voltage obtained by the sampling unit.
In a third aspect, an embodiment of the present application provides an electronic device, which is applied to the control circuit of the first aspect.
In a fourth aspect, an embodiment of the present application provides a control method, which is applied to the electronic device according to the third aspect, and the method includes:
the logic controller outputs a first control signal to the first switching tube and outputs a second control signal to the second switching tube, and the first control signal and the second control signal both comprise a first time phase and a second time phase;
in the first time phase, the first switch tube is turned off, and the second switch tube is turned on, so that the power supply module charges the power supply capacitor through the second switch tube;
in the second time phase, the first switch tube is switched on, and the second switch tube is in a high-frequency on-off switching state, so that the power module supplies power to the load through the first switch tube, and simultaneously supplies power to the indicator lamp and charges the power supply capacitor discontinuously;
and in the first time phase and the second time phase, the logic controller outputs a third control signal to the third switching tube, and the third control signal controls the third switching tube to be conducted.
In a fifth aspect, an embodiment of the present application provides a control method for an electronic device, which is applied to the electronic device according to the third aspect, and the method includes: the logic controller outputs a first control signal to the first switching tube and the second switching tube, wherein the first control signal comprises a third time phase and a fourth time phase;
in the third time phase, the first switch tube is switched off, and the second switch tube is switched on; in the fourth time phase, the first switch tube is conducted, and the second switch tube is conducted;
and in the third time phase and the fourth time phase, the logic controller outputs a third control signal to the third switching tube, and the third control signal controls the third switching tube to be conducted.
In a sixth aspect, the present application provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the electronic device implements the steps of the control method of any one of the second, fourth, and fifth aspects.
In a seventh aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the control method in any one of the second, fourth, and fifth aspects.
In an eighth aspect, the present application provides a computer program product, which when run on a terminal device, causes the terminal device to execute the control method of any one of the second, fourth and fifth aspects.
It is understood that the beneficial effects of the second aspect to the eighth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a control circuit provided in an embodiment of the present application;
FIG. 2 is a schematic circuit diagram of an embodiment of the present application;
FIG. 3 is a second schematic circuit diagram provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of a logic controller outputting a first control signal to a first switch tube and a second switch tube according to an embodiment of the present disclosure;
fig. 5 is a related schematic diagram corresponding to a control method provided in an embodiment of the present application;
fig. 6 is a related schematic diagram corresponding to a control method of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, and circuits are omitted so as not to obscure the description of the present application with unnecessary detail.
Aiming at the problems of high cost and unreliable product quality of an electronic device adopting a control circuit with a three-wire structure, the embodiment of the application provides the control circuit, a voltage detection method, the electronic device and a control method thereof, and the load voltage measurement of the electronic device with a two-wire structure can be realized.
A control circuit, a method for detecting a voltage, an electronic device and a control method thereof provided by the present application are described in detail with reference to the accompanying drawings. It should be noted that, since the following control circuit, the method for detecting voltage, the electronic device and the control method thereof are based on the same concept, the same or similar concepts or processes may not be described in detail in some embodiments.
Control circuit
Fig. 1 shows a control circuit 11 according to an embodiment of the present application, where the control circuit 11 may be applied in an electronic device. As shown in fig. 1 and fig. 5, in the embodiment of the present application, a control circuit 11 is respectively connected to a power supply capacitor 12, a power module 2 and a load 3, and the control circuit 11 includes a voltage obtaining module U, a logic controller M1, a first switch tube K1 and a second switch tube MP 1;
wherein, the control circuit 11 further includes: a power pin VDD (i.e., a power pin of the chip), a start pin VBOOT (i.e., a pin of a start voltage of the chip), a microphone pin SW (i.e., a switch pin of the chip), an indication pin LED (i.e., a pin of the chip to which an indication device is connected), and a ground pin OUT (i.e., a ground inside the chip).
As shown in fig. 1, the logic controller M1 is respectively connected to the gate of the first switch tube K1 and the gate of the second switch tube MP1, and the sources of the logic controller M1 and the second switch tube MP1 are respectively connected to the first end c of the supply capacitor 12 through the start pin VBOOT1
The drain of the first switch tube K1 is connected to the drain of the second switch tube MP1, the drain of the first switch tube K1 and the drain of the second switch tube MP1 are respectively connected to the positive electrode of the power module 2 through the power pin VDD, the negative electrode of the power module 2 is grounded, and the source of the first switch tube K1 is connected to the second end c of the power supply capacitor 12 through the ground pin OUT2And a first terminal r of said load 31
The logic controller M1 is connected with the first end r of the load 31Second end r of load 32Is connected to the negative pole of the power module 2.
It should be understood that, in the embodiment of the present application, the load 3 may be a heating resistor, or may include any other device having a heating function, for example, a heating wire, etc., which may be determined according to actual usage requirements, and the embodiment of the present application is not limited in this respect.
Similarly, in the embodiment of the present application, the power supply capacitor 12 may include one or more capacitors, or may include any other device having a charging and discharging function, which may be determined according to an actual use requirement, and the embodiment of the present application is not limited.
As will be understood, the second switch MP1 is a P-type Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET); the first switch transistor K1 is an nmos transistor, and plays a role of switching in this embodiment, it is understood that the first switch transistor K1 and the second switch transistor MP1 may also be other devices having the same role, and may be determined according to actual use requirements, which is not limited in this embodiment.
In an embodiment of the present application, as shown in fig. 1 and fig. 5, the logic controller M1 is respectively connected to the first switch tube K1, the second switch tube MP1 and the voltage obtaining module U, and is configured to control on/off states of the first switch tube K1 and the second switch tube MP1, and an operating state of the voltage obtaining module U;
when the logic controller M1 controls the first switching tube K1 to be turned off and the second switching tube MP1 to be turned on, the power module 2, the second switching tube MP1, the power supply capacitor 12 and the load 3 form a loop, and the power module 2 is configured to charge the power supply capacitor 12 through the second switching tube MP 1; the voltage obtaining module U is used for obtaining the first end c of the power supply capacitor 12 based on the control of the logic controller M11A first voltage of (d); after the power supply capacitor 12 is fully charged, no current flows in the loop, and at this time, the first voltage is equal to the voltage difference between the positive terminal and the negative terminal of the power module 2, that is, the first voltage is equal to VDD.
When the logic controller M1 controls the first switch tube K1 to be turned on and the second switch tube MP1 to be turned off, the power module 2 is configured to supply power to the load 3 through the first switch tube K1, and the voltage obtaining module U is configured to obtain a second voltage at the first end (drain) of the first switch tube K1 based on the control of the logic controller M1, where the second voltage is a voltage drop of the first switch tube K1 because the second end (source) of the first switch tube K1 is grounded. Therefore, the voltage obtaining module U can obtain the third voltage at the two ends of the load 3 according to the difference between the first voltage and the second voltage.
It should be noted that the voltage obtaining module U includes a sampling unit U1 and a voltage comparing unit U2; the sampling unit U1 is directly connected to the logic controller M1, and the sampling unit U1 is connected to the first terminal c of the supply capacitor 12 via the start pin VBOOT1The sampling unit U1 is further connected to the drain of the first switch tube K1 and/or the drain of the second switch tube MP 1; the sampling unit U1 is used for collecting the first end c of the power supply capacitor 12 under different on-off states of the first switch tube K1 and the second switch tube MP11And a second voltage at the first terminal (drain) of the first switching transistor K1.
The sampling unit U1 is directly electrically connected to the voltage comparing unit U2, and the voltage comparing unit U2 is configured to obtain voltages across the load 3 based on the first voltage and the second voltage collected by the sampling unit U1.
In an embodiment provided by the present application, on the basis of the above embodiment, the control circuit 11 further includes a third switch tube MP2, and the third switch tube MP2 is respectively connected to the logic controller M1 and the indicator light L1. Referring to fig. 1, the gate of the third switching transistor MP2 is connected to the logic controller M1, and the source of the third switching transistor MP2 is connected to the first end c of the power supply capacitor 12 through the start pin VBOOT1The drain of the third switching tube MP2 is connected with the indicator light L through the indicator pin LED1Anode of (2), indicator light L1Is connected to the second terminal c of the supply capacitor 122
It should be understood that the third switching transistor MP2 is a P-type metal oxide semiconductor MOS transistor, and similarly, the third switching transistor MP2 plays a role of switching in the embodiment of the present application, so the third switching transistor MP2 may also be other devices having the same function, which may be determined according to actual use requirements, and the embodiment of the present application does not limit this.
Wherein, the indicating lamp L is arranged in the embodiment of the application1For displaying the usage status and/or the charge status. The use state is indicated by using an indicator light L1Indicating light L to indicate that the electronic device is performing work1The lighting state of the lamp can more truly simulate the actual application scene. Indicator light L1The method can also be used for displaying the electric quantity state of the electronic device so as to know the electric quantity condition of the electronic device in time in actual use. Indicator light L1The display color of the display panel can be designed differently according to actual needs, and the application is not limited in any way.
As will be readily appreciated, the indicator light L1Can be a light emitting diode, has the characteristic of one-way conduction and can play the role of indication, so in the embodiment of the application, the indicator light L1The device can also be any other device with the one-way conduction and indication functions, and can be determined according to the actual use requirement specifically, and the embodiment of the application aims at the situationAnd are not limited.
Referring to fig. 1 and 5, the logic controller M1 includes a first pulse width modulation unit T1 and a second pulse width modulation unit T2, the first pulse width modulation unit T1 is configured to output a first control signal, and the second pulse width modulation unit T2 is configured to output a second control signal;
a first transmission gate is arranged between the first pulse width modulation unit T1 and the first switch tube K1, and the first transmission gate is used for transmitting a first control signal to the first switch tube K1;
an and gate and a second transmission gate are sequentially arranged between the second pulse width modulation unit T2 and the second switching tube MP1, one input end of the and gate is connected with the second pulse width modulation unit T2 for receiving the second control signal, and the other input end is connected with the first transmission gate for receiving the first control signal; a second transmission gate is arranged between the output end of the and gate and the second switch tube MP1, and the second transmission gate controls the on-off state of the second switch tube MP1 based on the output signal of the and gate.
The first control signal and the second control signal each include a first phase and a second phase.
In the first time phase, the first control signal is at a low level, the first transmission gate outputs the low level, and the first switching tube K1 is controlled to be turned off; the first control signal is at a low level, the second control signal is at a low level, and after passing through the and gate, the second transmission gate outputs the low level to control the conduction of the second switch tube MP1, so that the power module 2 charges the power supply capacitor 12 through the second switch tube MP 1;
in the second time phase, the first control signal is at a high level, the first output gate outputs the high level, and the first switch tube K1 is controlled to be switched on; under the condition that the first control signal is at a high level and the second switching tube MP1 is in a high-frequency on-off switching state, when the second control signal is at a high level and passes through an AND gate, the second transmission gate outputs a high level, and the second switching tube MP1 is controlled to be cut off; when the second control signal is at low level and passes through the and gate, the second transmission gate outputs low level, and then the second switching tube MP1 is controlled to be turned on; this enables the power module 2 to supply power to the load 3 via the first switch tube K1, and intermittently provide power to the indicator light L1Supply power toAnd charges the supply capacitor 12.
The logic controller M1 is further configured to output a third control signal to the third switching tube MP2, the third control signal is used to control the third switching tube MP2 to be in a conducting state during the operation of the control circuit 11, so that the indicator light L is turned on1And (4) lighting.
Referring to fig. 1 and 6, in another embodiment of the present application, on the basis of the above embodiments, the logic controller M1 includes a first pulse width modulation unit T1 for outputting a first control signal;
a third transmission gate is arranged between the first pulse width modulation unit T1 and the first switching tube K1, and is used for transmitting the first control signal to the first switching tube K1;
a nor gate and a fourth transmission gate are sequentially arranged between the first pulse width modulation unit T1 and the second switch tube MP1, one input end of the nor gate is connected to the first pulse width modulation unit T1 and is configured to receive the first control signal, the other input end of the nor gate is configured to input an enable signal, the enable signal is at a high level during the operation of the control circuit 11, and the fourth transmission gate controls the on-off state of the second switch tube MP1 based on an output signal of the nor gate.
The first control signal comprises a third time phase and a fourth time phase, and in the third time phase, the first control signal is at a low level, the third transmission gate outputs a low level to control the first switch tube K1 to be turned off, and the fourth transmission gate outputs a low level to control the second switch tube MP1 to be turned on; in the fourth time phase, the first control signal is at a high level, the third transmission gate outputs a high level to control the first switch transistor K1 to be turned on, and the fourth transmission gate outputs a low level to control the second switch transistor MP1 to be turned on. The logic controller M1 is further configured to output a third control signal to the third switching transistor MP2, where the third control signal is used to control the conduction of the third switching transistor MP 2.
The control circuit 11 further includes a microphone capacitor 13, and a first end a of the microphone capacitor 131The second terminal a of the microphone capacitor 13 is connected to the logic controller M1 through the microphone pin SW2A second terminal c connected to the supply capacitor 122. It should be noted that, in the control circuit, the microphone capacitor 13 is used for detecting the airflow change to trigger the logicThe controller M1 controls the on/off states of the first switch tube K1, the second switch tube MP1 and the third switch tube MP 2. The on/off state indicates an on state or an off state.
The control circuit provided by the application can be applied to an electronic device. By using the control circuit provided by the application, the problems that the improved electronic atomization device with a two-wire structure cannot measure the voltage at two ends of a load resistor and the like can be solved. Of course, the electronic device may also be a device applied to other scenarios, and the present application is not limited in this respect.
When the electronic device is an electronic atomization device, in combination with a practical application scenario, the electronic atomization device based on the control circuit 11 provided by the present application is used according to the following principle: when a user inhales air by using the microphone capacitor 13, the distance between the two electrode plates of the microphone capacitor 13 becomes smaller, so that the capacitance value of the microphone capacitor 13 becomes larger, the capacitance value detection circuit in the logic controller M1 acquires a signal of the user inhaling air according to the capacitance value change of the microphone capacitor 13, and at this time, the logic controller M1 sends different control signals to the first switch tube K1, the second switch tube MP1 and the third switch tube MP2 to control the first switch tube K1, the second switch tube MP1 and the third switch tube MP2 to realize different on-off states.
The logic controller M1 can control the first switch tube K1, the second switch tube MP1 and the third switch tube MP2 to be turned on or off, respectively.
Certainly, in the embodiment of the present application, the microphone capacitor 13 is used to detect the occurrence of the inhalation action of the user, so the microphone capacitor 13 may also be another device having a function of detecting the occurrence of the inhalation action of the user, for example, a microphone sensor or a start switch, which may be determined according to actual needs.
Method for detecting voltage
According to the control circuit 11 shown in fig. 1, the embodiment of the present application provides a method for detecting voltage, which can be applied in an electronic device, and for example, the method can be applied in implementing a constant power output on a load 3 to solve the problem that the actually generated mist amount of the electronic atomization device is different from the mist amount set by the system. The method for detecting the voltage comprises the following steps:
the logic controller M1 controls the first switch tube K1 to be turned off and the second switch tube MP1 to be turned on, so that the power module 2 charges the power supply capacitor 12 through the second switch tube MP1, and the logic controller M1 controls the sampling unit U1 to obtain the first end c of the power supply capacitor 12 according to a preset time sequence or under the condition that the power supply capacitor 12 is determined to be fully charged1A first voltage of (d);
then the logic controller M1 controls the first switch tube K1 to be turned on and the second switch tube MP1 to be turned off, so that the power module 2 supplies power to the load 3 through the first switch tube K1, and the logic controller M1 controls the sampling unit U1 to obtain a second voltage of the drain of the first switch tube K1;
then, the voltage comparing unit U2 calculates a difference between the first voltage and the second voltage according to the first voltage and the second voltage output by the sampling unit U1, so as to obtain a third voltage across the load 3.
The logic controller M1 controls the first switch tube K1 to be in an off state, and the second switch tube MP1 to be in an on state, so as to form a circuit diagram as shown in fig. 2, a first current path is formed by the power module 2, the second switch tube MP1 and the power supply capacitor 12, and the power module 2 charges the power supply capacitor 12 until the power supply capacitor 12 is fully charged; when the power supply capacitor 12 is fully charged, the voltage at the two ends of the power supply capacitor 12 is equal to the voltage difference at the two ends of the power module 2, and at this time, the voltage at the two ends of the power supply capacitor 12 is equal to the voltage at the two ends of the power module 2. When the logic controller M1 determines that the power supply capacitor 12 is fully charged according to a preset time sequence or when the logic controller M1 determines that the power supply capacitor 12 is fully charged, the logic controller M1 in the voltage detection module U is controlled to acquire the first end c of the power supply capacitor 121Of the first voltage.
Then, the logic controller M1 controls the first switch tube K1 to be in a conducting state, and the second switch tube MP1 is in a cut-off state, so as to form a circuit diagram as shown in fig. 3, and a second current path is formed by the power module 2, the first switch tube K1 and the load 3, at this time, the power module 2 supplies power to the load 3 through the first switch tube K1, and the logic controller M1 controls the sampling unit U1 in the voltage detection module U to obtain a second voltage at the drain of the first switch tube K1 according to a preset time sequence;
based on the voltage division principle that the voltage across the load 3 is equal to the voltage across the power module 2 minus the voltage across the first switching tube K1, the voltage comparison unit U2 in the voltage acquisition module U may obtain the third voltage across the load 3 through calculation according to the first voltage and the second voltage acquired by the sampling unit U1.
It should be noted that, when the collection point of the first voltage is the VBOOT pin, since the supply capacitor 12 has a holding function on the first voltage after being charged, when the power module 2 supplies power to the load 3 through the first switch tube K1, the sampling unit U1 may collect the first voltage and the second voltage at the same time, and then output a difference value between the first voltage and the second voltage through the voltage comparing unit U2 to obtain a third voltage across the load 3. When the collection point of the first voltage is the VDD pin, the voltage comparison unit U2 further has a storage function for storing the first voltage and comparing the first voltage after the second voltage is collected.
It should be noted that measuring the voltage after the circuit is stabilized can make the obtained third voltage across the load 3 more accurate.
Control method
According to the control circuit 11 shown in fig. 1, the electronic device provided by the present application further includes a third switching tube MP2, and the operating principle of the control method in another embodiment provided by the present application is as follows: the logic controller M1 includes a first pulse width modulation unit T1 and a second pulse width modulation unit T2, the first pulse width modulation unit T1 is used for outputting a first control signal, and the second pulse width modulation unit T2 is used for outputting a second control signal.
A first transmission gate is arranged between the first pwm unit T1 and the first switch tube K1, and the first transmission gate is used for transmitting a first control signal to the first switch tube K1; an and gate and a second transmission gate are sequentially arranged between the second pulse width modulation unit T2 and the second switching tube MP1, one input end of the and gate is connected with the second pulse width modulation unit T2 for receiving the second control signal, and the other input end is connected with the first transmission gate for receiving the first control signal; a second transmission gate is arranged between the and gate and the second switch tube MP1, and the second transmission gate controls the on-off state of the second switch tube MP1 based on the output signal of the and gate.
The first control signal and the second control signal each include a first phase and a second phase.
In the first time phase, the first control signal is at a low level, the first transmission gate outputs the low level, and the first switching tube K1 is controlled to be turned off; the first control signal is at a low level, the second control signal is at a low level, and after passing through the and gate, the second transmission gate outputs the low level to control the conduction of the second switch tube MP1, so that the power module 2 charges the power supply capacitor 12 through the second switch tube MP 1;
in the second time phase, the first control signal is at a high level, the first output gate outputs the high level, and the first switch tube K1 is controlled to be switched on; when the first control signal is at a high level, the second switching tube MP1 is in a high-frequency on-off switching state, and when the second control signal is at a high level and passes through the and gate, the second transmission gate outputs a high level, and the second switching tube MP1 is controlled to be turned off; when the second control signal is at low level and passes through the and gate, the second transmission gate outputs low level, and then the second switching tube MP1 is controlled to be turned on; this enables the power module 2 to supply power to the load 3 via the first switch tube K1, and intermittently provide power to the indicator light L1Power supply and charging of the supply capacitor 12.
The logic controller M1 is further configured to output a third control signal to the third switch tube MP2, the third control signal is used to control the third switch tube MP2 to be in a conducting state during the operation of the control circuit 11, so that the indicator light L is turned on1And (4) lighting.
It should be understood that when the first switch tube K1 is in the off state and the second switch tube MP1 is in the on state, a circuit diagram as shown in fig. 2 is formed, a first current path is formed by the power module 2, the second switch tube MP1, the power supply capacitor 12 and the load 3, and the power module 2 charges the power supply capacitor 12 through the second switch tube MP 1; during the operation of the control circuit 11, the logic controller M1 always controls the third switching tube MP2 to be in the conducting state, and does notUnderstandably, in this case the indicator lamp L1Is powered by the power module 2 and is provided with an indicator light L1And kept normally bright.
Under the condition that the first switch tube K1 is in a conducting state and the second switch tube MP1 is in a high-frequency on-off switching state, a circuit diagram as shown in fig. 3 is formed when the second switch tube MP1 is in a cut-off state, a second current path is formed by the power module 2, the first switch tube K1 and the load 3, and the power module 2 supplies power to the load 3 through the first switch tube K1; the power supply capacitor 12, the third switching tube MP2 and the indicator light L1Forming a third current path; when the second switch MP1 is in the on state, the power module 2 is the indicator light L1Supply power while charging the power supply capacitor 12, thereby preventing the indicator lamp L from being discharged for a long time by the power supply capacitor 121The problem of dimming brightness avoids the generation of flicker.
For example, when the electronic device is an electronic atomization device, a practical application scenario is that when a user uses the microphone capacitor 13 to inhale air, a distance between two plates of the microphone capacitor 13 becomes smaller, so that a capacitance value of the microphone capacitor 13 becomes larger, a capacitance value detection circuit in the logic controller M1 obtains a signal of the inhalation of the user according to a change of the capacitance value of the microphone capacitor 13, and then the logic controller M1 is triggered to output a first control signal and a second control signal to the first pulse width modulation unit T1 and the second pulse width modulation unit T2, where the first control signal and the second control signal both include a first time phase and a second time phase that are periodically alternated.
In the first time phase, the first control signal is at a low level, the first transmission gate outputs the low level, and the first switching tube K1 is controlled to be turned off; the first control signal is at a low level, the second control signal is at a low level, and after passing through the and gate, the second transmission gate outputs the low level to control the conduction of the second switch tube MP1, so that the power module 2 charges the power supply capacitor 12 through the second switch tube MP 1; the logic controller M1 outputs a third control signal to the third switching tube MP2, the third control signal controls the third switching tube MP2 to be conducted, and the indicator light L1The power module 2 supplies power to keep constant brightness.
In the second time phase, the first control signal is highWhen the first output gate outputs a high level, the first switch tube K1 is controlled to be conducted; when the first control signal is at a high level, the second switching tube MP1 is controlled to be in a high-frequency on-off switching state, and when the second control signal is at a high level and passes through the and gate, the second transmission gate outputs a high level, the second switching tube MP1 is controlled to be turned off, and the power supply capacitor 12 supplies electric energy to the indicator light L1; when the second control signal is at low level and passes through the and gate, the second transmission gate outputs low level, and then the second switching tube MP1 is controlled to be turned on; the power supply module 2 supplies power to the indicator lamp L1 while charging the supply capacitor 12. During the operation of the control circuit 11, the logic controller M1 outputs a third control signal to the third switching tube MP2, and the third control signal controls the third switching tube MP2 to conduct, thereby preventing the indicator light L from being caused by the long-time discharge of the power supply capacitor 121The problem of dimming brightness avoids the generation of flicker.
In the first time phase, the first switch tube K1 is turned off, and the second switch tube MP1 is turned on, so that the power module 2 charges the power supply capacitor 12 through the second switch tube MP 1; in the second time phase, the first switch tube K1 is turned on, and the second switch tube MP1 is in a high-frequency on-off switching state, so that the power module 2 supplies power to the load 3 through the first switch tube K1, and the indicator light L is intermittently turned on1Power supply and charging of the supply capacitor 12.
To slow down the indicator light L1In case of flickering, the embodiment of the present application improves the control signal output by the logic controller M1 shown in fig. 4 (a), and the control signal output by the logic controller M1 according to the preset frequency shown in fig. 4 (b), i.e. the indicator light L caused by the power consumption of the power supply capacitor 12 is further reduced by switching the second switch MP1 on and off at a high frequency in the second time phase1Is gradually dimmed to cause the indicator lamp L to be lit1The problem of flicker.
It should be understood that, in the second time phase, the frequency of switching the on-off state of the second switch tube MP1 may be set according to practical applications, and the present application is not limited thereto.
According to the two time phase stage indicator lamps L1The brightness of which is prevented from gradually becoming dark when supplied with power by the supply capacitor 12Problem to make the indicating lamp L invisible to human eyes1Indicator light L in the case of gradual dimming1The state of remaining normally bright has been switched.
For example, the control signal outputted from the logic controller M1 to the first switch tube K1 and the second switch tube MP1 as shown in fig. 4 (a) flows through the indicator light L1The current of (b) is marked as I, the duty cycle of the on/off of the first switching tube K1 and the second switching tube MP1 in the first two time phases is marked as duty1, and as shown in fig. 4 (b), in the process that the logic controller M1 alternately outputs the control signal according to the preset frequency, the duty cycle of the on/off of the first switching tube K1 and the second switching tube MP1 in the current two time phases is marked as duty2, and then the current flows through the indicator lamp L after being changed as shown in fig. 4 (b)1The effective current of (a) can be calculated by equation (1).
IIs effective= I duty1 duty2 formula (1)
It should be understood that the duty cycle refers to the proportion of the energization time relative to the total time within one pulse period.
By utilizing the control method provided by the embodiment of the application, the indicator light L caused by long-time discharge of the power supply capacitor 12 is avoided through high-frequency charge and discharge of the power supply capacitor 121The brightness becomes dark, and the next period is powered by the power module 2, so that the phenomenon of flicker occurs.
Control method of electronic device
To make the indicator light L1The embodiment of the application provides a control method of an electronic device, which has stable output and comprises the following steps:
the logic controller M1 is further configured to output a first control signal, and the first switch tube K1 and the second switch tube MP1 are turned on and off based on the first control signal, where the first control signal includes a third time phase and a fourth time phase.
It should be noted that, as shown in fig. 6, the logic controller M1 includes a first pulse width modulation unit T1 for outputting a first control signal; a third transmission gate is arranged between the first pulse width modulation unit T1 and the first switching tube K1, and is used for transmitting the first control signal to the first switching tube K1; a nor gate and a fourth transmission gate are sequentially arranged between the first pulse width modulation unit T1 and the second switch tube MP1, one input end of the nor gate is connected to the first pulse width modulation unit T1 and is configured to receive the first control signal, the other input end of the nor gate is configured to input an enable signal, the enable signal is at a high level during the operation of the control circuit 11, and the fourth transmission gate controls the on-off state of the second switch tube MP1 based on an output signal of the nor gate.
When the enable signal input by one input terminal is at a high level, no matter the first control signal output by the first pwm unit T1 is at a high level or a low level, the signal output by the output terminal of the nor gate is at a low level, so that the fourth transmission gate controls the second switch MP1 to be turned on based on the low level output by the output terminal of the nor gate.
Therefore, in the third time phase, the first control signal is at a low level, the third transmission gate outputs a low level, the first switch tube K1 is controlled to be turned off, the fourth transmission gate outputs a low level, and the second switch tube MP1 is controlled to be turned on; in the fourth time phase, the first control signal is at a high level, the third transmission gate outputs a high level to control the first switch transistor K1 to be turned on, and the fourth transmission gate outputs a low level to control the second switch transistor MP1 to be turned on.
In the third and fourth phases, the logic controller M1 outputs a third control signal to the third switching tube MP2, and the third control signal controls the third switching tube MP2 to be turned on.
In the third time phase, the first switch tube K1 is in the off state, the second switch tube MP1 is in the on state, and similarly, the circuit diagram shown in fig. 2 is formed, the power module 2, the second switch tube MP1 and the power supply capacitor 12 form a first current path, the power module 2 charges the power supply capacitor 12 through the second switch tube MP1, and the third control signal controls the third switch tube MP2 to be on in the third time phase, so that the indicator light L is turned on1The power module 2 supplies power to keep constant brightness.
In the fourth phase, the first switch transistor K1 is in a conducting state, the second switch transistor MP1 is also in a conducting state, and the third switch is controlled by the third control signal in the fourth phaseThe MP2 is also in a conducting state, and can form a second current path formed by the power module 2, the first switch tube K1 and the load 3, that is, the power module 2 supplies power to the load 3 through the first switch tube K1; the power module 2, the second switch tube MP1, the third switch tube MP2 and the indicator light L can be formed1And a fourth current path formed by the load 3, namely, the power module 2 sequentially passes through the second switching tube MP1 and the third switching tube MP2 to be an indicator light L1Supplying power; a fifth current path formed by the power module 2 and the supply capacitor 12 may also be formed, that is, the power module 2 charges the supply capacitor 12.
Based on the principle that voltages at two ends of electrical appliances of each branch in the parallel circuit are equal, voltages in the second current path and the fourth current path are equal, so that the indicator light L is turned on when the first switching tube K1, the second switching tube MP1 and the third switching tube MP2 are all turned on1The voltage at the two ends is equal to the voltage of the power supply module 2, so that the indicator light L caused by the long-time discharge of the power supply capacitor 12 is avoided1The problem of dimming of the brightness.
The embodiment of the application provides a control circuit, a voltage detection method, an electronic device and a control method thereof, and by improving a grounding pin between the control circuit and a power module into a grounding pin inside the control circuit, the electronic device with a three-wire structure is simplified, the production cost of the electronic device is reduced, the product performance is improved, and the problems of high cost and unreliable product quality of the electronic device with the three-wire structure are solved.
Meanwhile, according to the control circuit provided by the embodiment of the application, the logic controller in the control circuit controls the first switch tube, the second switch tube and the third switch tube to be in different on-off states, so that the problem that the voltages at two ends of the load resistor cannot be measured in the electronic device with the two-wire structure is solved, the problem that the indicator lamp cannot present a stable working state when a user uses the electronic device is also solved, and the product performance of the electronic device is further improved. The control circuit provided by the embodiment of the application can also solve other problems, such as the problem of realizing constant power output of the electronic device and the like. Thereby laying a good foundation for solving different practical application problems of the electronic device with the two-wire structure.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other ways. For example, the above-described apparatus/electronic device embodiments are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A control circuit is characterized in that the control circuit is respectively connected with a power supply capacitor, a power supply module and a load, and comprises a voltage acquisition module, a logic controller, a first switch tube and a second switch tube, wherein the first switch tube and the second switch tube are connected with the logic controller;
the logic controller is used for controlling the on-off states of the first switch tube and the second switch tube and the working state of the voltage acquisition module;
under the condition that the first switch tube is switched off and the second switch tube is switched on, the power supply module is used for charging the power supply capacitor through the second switch tube; the voltage acquisition module is used for acquiring a first voltage of the first end of the power supply capacitor based on the control of the logic controller;
under the condition that the first switch tube is switched on and the second switch tube is switched off, the power supply module is used for supplying power to the load through the first switch tube, the voltage acquisition module is used for acquiring a second voltage at the first end of the first switch tube based on the control of the logic controller, and the second end of the first switch tube is grounded;
the voltage obtaining module is further configured to obtain a third voltage at two ends of the load according to a difference between the first voltage and the second voltage.
2. The control circuit of claim 1, wherein the voltage acquisition module comprises a sampling unit and a voltage comparison unit;
the sampling unit is respectively connected with the logic controller, the first end of the power supply capacitor and the first end of the first switching tube;
and the voltage comparison unit is connected with the sampling unit and used for obtaining a third voltage at two ends of the load based on the first voltage and the second voltage output by the sampling unit.
3. The control circuit of claim 1, further comprising a third switch tube, wherein the third switch tube is connected to the logic controller and the indicator light respectively;
the first end of the indicator light is connected with the first end of the power supply capacitor through the third switching tube, and the second end of the indicator light is connected with the second end of the power supply capacitor;
the logic controller is further used for controlling the on-off state of the third switching tube, and the indicator light is turned on under the condition that the third switching tube is conducted.
4. The control circuit of claim 3, wherein the logic controller comprises a first pulse width modulation unit for outputting a first control signal and a second pulse width modulation unit for outputting a second control signal; the control circuit further includes:
the first transmission gate is respectively connected with the first pulse width modulation unit and the first switching tube;
the first input end of the AND gate is connected with the second pulse width modulation unit, and the second input end of the AND gate is connected with the first transmission gate;
the second transmission gate is respectively connected with the output end of the AND gate and the second switching tube;
the first control signal and the second control signal both comprise a first time phase and a second time phase, and in the first time phase, the first switch tube is turned off, and the second switch tube is turned on; in the second time phase, the first switch tube is conducted, and the second switch tube is in a high-frequency on-off switching state;
the logic controller is further configured to output a third control signal to the third switching tube, where the third control signal is used to control the third switching tube to be turned on.
5. The control circuit of claim 3, wherein the logic controller comprises a first pulse width modulation unit to output a first control signal; the control circuit further includes:
the third transmission gate is respectively connected with the first pulse width modulation unit and the first switching tube;
a first input end of the NOR gate is connected with the first pulse width modulation unit, and a second input end of the NOR gate is used for inputting an enabling signal;
the fourth transmission gate is respectively connected with the output end of the NOR gate and the second switching tube;
the first control signal comprises a third time phase and a fourth time phase, and in the third time phase, the first switch tube is turned off, and the second switch tube is turned on; in the fourth time phase, the first switch tube is conducted, and the second switch tube is conducted;
the logic controller is further configured to output a third control signal to the third switching tube, where the third control signal is used to control the third switching tube to be turned on.
6. The control circuit of claim 3, wherein the logic controller is connected to the gate and source of the first switching tube, the gate and source of the second switching tube, the gate and source of the third switching tube, and the first terminal of the load;
the drain electrode of the first switching tube and the drain electrode of the second switching tube are respectively connected with the positive electrode of the power module, and the drain electrode of the first switching tube is connected with the drain electrode of the second switching tube; the source electrode of the first switching tube is connected with the first end of the load;
the source electrode of the second switching tube and the source electrode of the third switching tube are respectively connected with the first end of the power supply capacitor; the drain electrode of the third switching tube is connected with the positive electrode of the indicator light, and the negative electrode of the indicator light is respectively connected with the second end of the power supply capacitor and the first end of the load;
the second end of the load is connected to the negative pole of the power module, and the negative pole of the power module is grounded.
7. A method of detecting a voltage, applied to the control circuit of claim 2, the method comprising:
the logic controller controls the first switch tube to be switched off and the second switch tube to be switched on so that the power supply module charges the power supply capacitor through the second switch tube, and the logic controller controls the sampling unit to acquire a first voltage at the first end of the power supply capacitor when determining that the power supply capacitor is fully charged;
then the logic controller controls the first switch tube to be switched on and the second switch tube to be switched off so that the power module supplies power to the load through the first switch tube, and the logic controller controls the sampling unit to obtain a second voltage at the first end of the first switch tube;
and the voltage comparison unit obtains a third voltage at two ends of the load according to the first voltage and the second voltage obtained by the sampling unit.
8. An electronic device, characterized in that it comprises an indicator light and a control circuit according to any one of claims 3 to 6, said indicator light being connected to said control circuit.
9. A control method applied to the electronic apparatus according to claim 8, the method comprising:
the logic controller outputs a first control signal to the first switching tube and outputs a second control signal to the second switching tube, and the first control signal and the second control signal both comprise a first time phase and a second time phase;
in the first time phase, the first switch tube is turned off, and the second switch tube is turned on, so that the power supply module charges the power supply capacitor through the second switch tube;
in the second time phase, the first switch tube is switched on, and the second switch tube is in a high-frequency on-off switching state, so that the power module supplies power to the load through the first switch tube, and simultaneously supplies power to the indicator lamp and charges the power supply capacitor discontinuously;
and in the first time phase and the second time phase, the logic controller outputs a third control signal to the third switching tube, and the third control signal controls the third switching tube to be conducted.
10. A control method of an electronic apparatus, applied to the electronic apparatus according to claim 8, the method comprising:
the logic controller outputs a first control signal to the first switching tube and the second switching tube, wherein the first control signal comprises a third time phase and a fourth time phase;
in the third time phase, the first switch tube is switched off, and the second switch tube is switched on; in the fourth time phase, the first switch tube is conducted, and the second switch tube is conducted;
and in the third time phase and the fourth time phase, the logic controller outputs a third control signal to the third switching tube, and the third control signal controls the third switching tube to be conducted.
CN202110422582.2A 2021-04-20 2021-04-20 Control circuit, method for detecting voltage, electronic device and control method thereof Active CN112987625B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110422582.2A CN112987625B (en) 2021-04-20 2021-04-20 Control circuit, method for detecting voltage, electronic device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110422582.2A CN112987625B (en) 2021-04-20 2021-04-20 Control circuit, method for detecting voltage, electronic device and control method thereof

Publications (2)

Publication Number Publication Date
CN112987625A CN112987625A (en) 2021-06-18
CN112987625B true CN112987625B (en) 2021-09-03

Family

ID=76341218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110422582.2A Active CN112987625B (en) 2021-04-20 2021-04-20 Control circuit, method for detecting voltage, electronic device and control method thereof

Country Status (1)

Country Link
CN (1) CN112987625B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514194B (en) * 2022-11-24 2023-02-28 成都市易冲半导体有限公司 Load resistance value determining method and device, electronic equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2193614Y (en) * 1994-05-13 1995-03-29 谢长海 Protector for motor
US7319341B1 (en) * 2003-08-28 2008-01-15 Altera Corporation Method of maintaining signal integrity across a capacitive coupled solder bump
CN2824054Y (en) * 2005-07-12 2006-10-04 深圳麦逊电子有限公司 Universal four line type switch measurer
JP4974180B2 (en) * 2008-06-27 2012-07-11 株式会社京三製作所 Switching machine control device
CN101404461B (en) * 2008-11-13 2010-12-08 山东大学 Current decoupling control method used for three-phase three-line voltage type power transformer
CN102074972A (en) * 2010-12-23 2011-05-25 北京交通大学 Energy feedback type traction power supply device with reactive compensation function and control method thereof
CN102651925B (en) * 2011-02-23 2014-10-22 英飞特电子(杭州)股份有限公司 Auxiliary power supply of two-line dimmer
CN102543229A (en) * 2012-02-08 2012-07-04 上海昱章电气成套设备有限公司 Nuclear electric rod position measurement device based on single coils and difference value measurement method of nuclear power rod position thereof
CN202888081U (en) * 2012-08-27 2013-04-17 关平 AC contactor intelligent control apparatus with energy saving effect
CN103412032B (en) * 2013-08-31 2015-08-05 西安电子科技大学 The detection method that enhanced power MOS device grid internal lead comes off
CN110838853B (en) * 2019-11-08 2022-05-13 深圳麦克维尔空调有限公司 Two-wire system communication circuit

Also Published As

Publication number Publication date
CN112987625A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
US10813173B2 (en) Driving assembly in electronic cigarette having stable total particulate matter (TPM) value output
US9465081B2 (en) Battery power detecting device and method
US10051889B2 (en) Electronic cigarette
US9423446B2 (en) Insulation state detecting device
US11029200B2 (en) Ambient luminosity level detection
US20150015187A1 (en) Control circuit and method for electronic cigarette box
JP5828042B2 (en) Light distribution variable lamp control circuit and light distribution variable lamp control plate
CN103091562A (en) Capacitance capacity measurement circuit
US9750095B2 (en) Light modulation controller, lighting system, and equipment instrument
CN107994622A (en) Battery power supply circuit
JP6385315B2 (en) Switchgear, cable characteristic test system, and cable characteristic test method
CN112987625B (en) Control circuit, method for detecting voltage, electronic device and control method thereof
TWI713280B (en) Charging power supply circuit for portable electronic device and portable electronic device
CN106165548A (en) Light modulating device
CN106165547A (en) Light modulating device
CN103812340B (en) Switching regulaor
CN103167663A (en) Light-emitting diode (LED) control circuit
CN109090710A (en) A kind of atomizer resistance value detection circuit
CN204560976U (en) The electronic cigarette miaow head of electronic cigarette and support wireless charging
CN109444753A (en) Electric quantity detecting circuit, method and audio frequency apparatus
WO2015196609A1 (en) Sectional-type dimming circuit and dimmable lighting device
CN108882463B (en) AC/DC switching circuit applied to lamp set
US8866386B2 (en) Direction indication lamp control device, direction indication device and wire disconnection detection method of the direction indication device
CN113067453A (en) Voltage output circuit, electronic cigarette, and control method and device of electronic cigarette
CN219227878U (en) Frequency modulation circuit and intelligent switch

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: B201, zero one square, Xi'an Software Park, 72 Keji 2nd Road, high tech Zone, Xi'an City, Shaanxi Province, 710000

Patentee after: Tuoer Microelectronics Co.,Ltd.

Address before: B201, zero one square, Xi'an Software Park, 72 Keji 2nd Road, high tech Zone, Xi'an City, Shaanxi Province, 710000

Patentee before: Xi'an Tuoer Microelectronics Co.,Ltd.

Address after: B201, zero one square, Xi'an Software Park, 72 Keji 2nd Road, high tech Zone, Xi'an City, Shaanxi Province, 710000

Patentee after: Xi'an Tuoer Microelectronics Co.,Ltd.

Address before: B201, zero one square, Xi'an Software Park, 72 Keji 2nd Road, high tech Zone, Xi'an City, Shaanxi Province, 710000

Patentee before: XI'AN TUOER MICROELECTRONICS Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230403

Address after: Building 3, No.2528 Youyi Road, Guali Town, Xiaoshan District, Hangzhou City, Zhejiang Province, 311241

Patentee after: Hangzhou Shanger Semiconductor Co.,Ltd.

Address before: B201, zero one square, Xi'an Software Park, 72 Keji 2nd Road, high tech Zone, Xi'an City, Shaanxi Province, 710000

Patentee before: Tuoer Microelectronics Co.,Ltd.