CN113162160A - Control circuit, charging circuit and electronic equipment - Google Patents

Control circuit, charging circuit and electronic equipment Download PDF

Info

Publication number
CN113162160A
CN113162160A CN202110371321.2A CN202110371321A CN113162160A CN 113162160 A CN113162160 A CN 113162160A CN 202110371321 A CN202110371321 A CN 202110371321A CN 113162160 A CN113162160 A CN 113162160A
Authority
CN
China
Prior art keywords
voltage
circuit
driving
module
switch
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.)
Pending
Application number
CN202110371321.2A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110371321.2A priority Critical patent/CN113162160A/en
Publication of CN113162160A publication Critical patent/CN113162160A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00711Regulation of charging or discharging current or voltage with introduction of pulses during the charging process

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application relates to a control circuit, a charging circuit and electronic equipment, wherein the control circuit comprises a controller circuit, a voltage driving circuit and a voltage control circuit, the driving end of the controller circuit controls the output of a driving signal, when the voltage driving circuit and the voltage control circuit both receive the driving signal, the voltage driving circuit adjusts a first power supply voltage into a driving voltage according to the driving signal, and the voltage control circuit controls a switch circuit to be switched on according to the driving voltage; when the voltage driving circuit and the voltage control circuit do not receive the driving signal, the voltage driving circuit outputs a first power supply voltage, and the voltage control circuit controls the switch circuit to be switched off according to the first power supply voltage. Therefore, through the matching of one port of the controller circuit with the voltage driving circuit and the voltage control circuit, the on-off control of the switch circuit is realized, the port resource of the controller circuit can be effectively saved, and the cost is reduced.

Description

Control circuit, charging circuit and electronic equipment
Technical Field
The present application relates to the field of technology, and in particular, to a control circuit, a charging circuit, and an electronic device.
Background
The switching tube is widely applied to a charging system and used for switching charging, state switching, safety protection and the like. The switch tube may be an NMOS (N-Metal-Oxide-Semiconductor) switch tube. In order to ensure the normal operation of the charging system, the controller needs to use two I/O (Input/Output) ports to complete the on and off states of the NMOS switch tube, for example, when the switch tube needs to be turned off, in addition to one of the I/O ports stopping outputting the signal, the other I/O port needs to pull down the gate voltage of the NMOS switch tube, so as to avoid the device burnout caused by the incomplete turn-off of the NMOS switch tube.
However, the I/O port resources of the controller are very precious, and usually multiple I/O ports are needed to cooperate in the circuit to perform other complex functions, and if two I/O ports are used to control the on and off of the channel, the design of other functional modules of the system may be affected, thereby increasing the system design cost.
Disclosure of Invention
The embodiment of the application provides a control circuit, a charging circuit and an electronic device, which can save the I/O port of a controller and further reduce the design cost of a system.
In order to achieve the purpose of the application, the following technical scheme is adopted:
a control circuit for controlling the turn-on and turn-off of a switching circuit, comprising:
the controller circuit comprises a driving end, wherein the driving end is used for controlling the output of a driving signal;
a voltage driving circuit, a first input end of which is connected to the driving end, a second input end of which is connected to a first power voltage, the voltage driving circuit being configured to adjust the first power voltage to a driving voltage according to the driving signal when receiving the driving signal, and being further configured to output the first power voltage when not receiving the driving signal;
the first input end of the voltage control circuit is connected with the driving end, the second input end of the voltage control circuit is connected with the output end of the voltage driving circuit, the control end of the voltage control circuit is connected with the controlled end of the switch circuit, the voltage control circuit is used for controlling the switch circuit to be switched on according to the driving voltage when the driving signal is received, and is also used for controlling the switch circuit to be switched off according to the first power voltage when the driving signal is not received.
A charging circuit, comprising:
the charging circuit comprises a switching circuit, a charging unit and a control unit, wherein the input end of the switching circuit is used for being connected with a charging power supply, the output end of the switching circuit is used for being connected with a battery unit, and the switching circuit is used for switching on or off a charging path between the charging power supply and the battery unit;
a control circuit as described above.
An electronic device, comprising:
a charging circuit as described above.
The control circuit comprises a controller circuit, a voltage driving circuit and a voltage control circuit, wherein the driving end of the controller circuit controls the output of a driving signal, when the voltage driving circuit and the voltage control circuit both receive the driving signal, the voltage driving circuit adjusts a first power supply voltage into a driving voltage according to the driving signal, and the voltage control circuit controls the switch circuit to be switched on according to the driving voltage; when the voltage driving circuit and the voltage control circuit do not receive the driving signal, the voltage driving circuit outputs a first power supply voltage, and the voltage control circuit controls the switch circuit to be switched off according to the first power supply voltage. Therefore, through the matching of one port of the controller circuit with the voltage driving circuit and the voltage control circuit, the on-off control of the switch circuit is realized, the port resource of the controller circuit can be effectively saved, and the cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a circuit diagram of a control circuit according to an embodiment;
FIG. 2 is a circuit diagram of a control circuit according to an embodiment;
FIG. 3 is a circuit diagram of a control circuit according to an embodiment;
FIG. 4 is a detailed circuit diagram of a control circuit according to an embodiment;
fig. 5 is a circuit diagram of a charging circuit according to an embodiment.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present application are illustrated in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element, and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
Referring to fig. 1, fig. 1 is a circuit diagram of a control circuit 100 according to an embodiment.
In the present embodiment, the control circuit 100 includes a controller circuit 110, a voltage driving circuit 120, and a voltage control circuit 130. The control circuit 100 is used to control the switching circuit 200 to be turned on and off. Specifically, the control terminal of the control circuit 10 is connected to the controlled terminal of the switch circuit 200, and the control circuit 100 controls the on and off of the switch circuit 200 through the control terminal voltage. Among them, the control circuit 100 and the switching circuit 200 may be applied to a charging circuit. Illustratively, in the charging circuit, the input terminal of the switching circuit 200 is used for connecting the charging power supply, and the output terminal of the switching circuit 200 is used for connecting the battery unit, and the switching circuit 200 turns on or off the corresponding path between the charging power supply and the battery unit.
In the present embodiment, the controller circuit 110 is used to control the output of the driving signal.
The controller circuit 110 includes a driving end, the driving end of the controller circuit 110 is connected to the first input end of the voltage driving circuit 120 and the first input end of the voltage control circuit 130, respectively, and the driving end of the controller circuit 110 is used for controlling output of the driving signal.
The driving end controls the output of the driving signal, and may output the driving signal to the voltage driving circuit 120 and the voltage control circuit 130 respectively when the switching circuit 200 is required to be turned on, and stop outputting the driving signal when the switching circuit 200 is required to be turned off; when the switching circuit 200 needs to be turned on, the driving signals may be output to the voltage driving circuit 120 and the voltage control circuit 130, respectively, and when the switching circuit 200 needs to be turned off, the low-level signal may be output. Therefore, the on/off driving of the switch circuit 200 can be realized through one port of the controller circuit 110, and the port resource of the controller circuit 110 is effectively saved.
The controller circuit 110 includes a Microcontroller (MCU), and an I/O port of the MCU may be directly or indirectly connected to the first input terminal of the voltage driving circuit 120 and the first input terminal of the voltage control circuit 130. When the switch circuit 200 is required to be turned on, the I/O port of the microcontroller outputs a driving signal, and when the switch circuit 200 is required to be turned off, the I/O port of the microcontroller stops outputting. Therefore, the on-off driving of the switch circuit 200 can be realized through one I/O port of the microcontroller, the I/O port resources are effectively saved, the microcontroller can select a smaller and lower-cost packaging specification, and the cost is reduced. Meanwhile, a single I/O port controls the switch logic, and compared with the matching of two I/O ports, the control is more convenient and faster, the stability is higher, and the service life is favorably prolonged.
In one embodiment, the driving signal is a PWM (Pulse Width Modulation) wave, and the I/O port of the microcontroller outputs the PWM wave by continuously outputting high and low levels. When the switching circuit 200 is required to be switched on, the I/O port of the microcontroller realizes PWM wave output by continuously outputting high and low levels; when the switching circuit 200 is required to be turned off, the I/O port of the microcontroller stops outputting the PWM wave or outputs only the low level signal.
In this embodiment, a first input terminal of the voltage driving circuit 120 is connected to the driving terminal of the controller circuit 110, a second input terminal of the voltage driving circuit 120 is connected to a first power voltage, and the voltage driving circuit 120 is configured to adjust the first power voltage to a driving voltage according to the driving signal when receiving the driving signal, and is further configured to output the first power voltage when not receiving the driving signal.
When the driving end of the controller circuit 110 outputs a driving signal, the voltage driving circuit 120 realizes a voltage adjustment function under the driving of the driving signal, and can adjust the first power voltage to a driving voltage; when the controller circuit 110 stops outputting the driving signal, the voltage driving circuit 120 directly outputs the first power voltage without adjustment.
In one embodiment, the voltage driving circuit 120 adjusts the first power voltage to a boost adjustment, and the voltage driving circuit 120 performs the boost adjustment on the first power voltage according to a voltage peak of the driving signal under the driving of the driving signal, and adjusts the first power voltage to a voltage N times the voltage peak of the first power voltage, for example, to a voltage 2 times the voltage peak of the first power voltage. In other embodiments, the first power voltage may be adjusted to be reduced, specifically, adjusted according to the on condition and the off condition of the switch circuit 200.
In this embodiment, the first input terminal of the voltage control circuit 130 is connected to the driving terminal, the second input terminal of the voltage control circuit 130 is connected to the output terminal of the voltage driving circuit 120, the control terminal of the voltage control circuit 130 is connected to the controlled terminal of the switch circuit 200, and the voltage control circuit 130 is configured to control the switch circuit 200 to be turned on according to the driving voltage when receiving the driving signal, and is further configured to control the switch circuit 200 to be turned off according to the first power voltage when not receiving the driving signal.
The control end of the voltage control circuit 130 is used for controlling the on/off of the switch circuit 200, and the control end of the voltage control circuit 130 controls the voltage of the controlled end of the switch circuit 200 according to the input voltage of the first input end and the input voltage of the second input end of the voltage control circuit 130, so as to control the on/off of the switch circuit 200.
In one embodiment, the input terminal of the switch circuit 200 is connected to a first power voltage, the output terminal of the switch circuit 200 is connected to a load, and if the controlled terminal voltage of the switch circuit 200 is greater than the output terminal voltage of the switch circuit 200, the switch circuit 200 is turned on, then: the voltage driving circuit 120 boosts the first power voltage according to the driving signal to obtain a driving voltage, and the voltage control circuit 130 maintains the voltage of the controlled terminal of the switching circuit 200 as the driving voltage according to the driving voltage when receiving the driving signal, so as to turn on the switching circuit 200; when the driving signal is not received, the controlled terminal voltage of the switch circuit 200 is pulled down to be close to zero from the first power voltage so as to turn off the switch circuit 200.
In one embodiment, the input terminal of the switching circuit 200 is connected to a first power voltage, the output terminal of the switching circuit 200 is connected to a load, and if the controlled terminal voltage of the switching circuit 200 is less than the input terminal voltage of the switching circuit 200, the switching circuit 200 is turned on, then: the voltage driving circuit 120 performs voltage reduction processing on the first power voltage according to the driving signal to obtain a driving voltage, and when receiving the driving signal, the voltage control circuit 130 keeps the voltage of the controlled end of the switching circuit 200 as the driving voltage or is pulled down to be close to zero by the driving voltage according to the driving voltage, so as to turn on the switching circuit 200; when the driving signal is not received, the controlled terminal voltage of the switching circuit 200 is maintained at the first power supply voltage to turn off the switching circuit 200.
The control circuit provided in this embodiment includes a controller circuit 110, a voltage driving circuit 120, and a voltage control circuit 130, wherein a driving end of the controller circuit 110 controls output of a driving signal, when both the voltage driving circuit 120 and the voltage control circuit 130 receive the driving signal, the voltage driving circuit 120 adjusts a first power voltage to a driving voltage according to the driving signal, and the voltage control circuit 130 controls the switching circuit 200 to be turned on according to the driving voltage; when neither the voltage driving circuit 120 nor the voltage control circuit 130 receives the driving signal, the voltage driving circuit 120 outputs the first power voltage, and the voltage control circuit 130 controls the switching circuit 200 to be turned off according to the first power voltage. Therefore, through the cooperation of one port of the controller circuit 110 with the voltage driving circuit 120 and the voltage control circuit 130, the on/off control of the switch circuit 200 can be realized, the port resources of the controller circuit 110 can be effectively saved, and the cost is reduced.
Referring to fig. 2, fig. 2 is a circuit diagram of a control circuit in an embodiment.
In the present embodiment, the voltage control circuit 130 includes a voltage control module 131, a first switch module 132 and a second switch module 133.
Wherein, the input end of the voltage control module 131 is the first input end of the voltage control circuit 130; the input end of the first switch module 132 is a second input end of the voltage control circuit 130, and the controlled end of the first switch module 132 is connected to the output end of the voltage control module 131; the input end of the second switch module 133 is a second input end of the voltage control circuit 130, the controlled end of the second switch module 133 is connected to the control end of the first switch module 132, and the control end of the second switch module 133 is a control end of the voltage control circuit 130.
In this embodiment, the voltage control module 131 is configured to control the first switch module 132 to be turned on when receiving the driving signal, and control the first switch module 132 to be turned off when not receiving the driving signal.
The voltage control module 131 is used for controlling the first switch module 132 to be turned on and off.
In one embodiment, the voltage control module 131 controls the first switch module 132 to turn on and off through the voltage or current at the output terminal: when receiving the driving signal, the output terminal of the voltage control module 131 outputs a stable voltage or current enough to turn on the first switch module 132, and when not receiving the driving signal, the output terminal of the voltage control module 131 outputs a voltage or current of zero.
In one embodiment, the voltage control module 131 is a voltage regulator module, the driving signal provides power to the voltage control module 131, and the voltage control module 131 performs voltage regulation on the power and outputs the power to turn on the first switch module 132. For example, the voltage control module 131 may implement a regulated output or a regulated output through a freewheeling diode and a capacitor.
In this embodiment, the first switch module 132 is configured to control the second switch module 133 to turn off when the first switch module 132 is turned on, and control the second switch module 133 to turn on when the first switch module 132 is turned off.
The first switching module 132 is used for controlling the second switching module 133 to be turned on and off.
In one embodiment, the first switch module 132 controls the second switch module 133 to turn on and off through a control terminal voltage, the control terminal voltage of the first switch module 132 is related to the switching state of the first switch module 132 and the input terminal voltage of the first switch module 132, the control terminal voltage is close to the input terminal voltage when the first switch module 132 is in the off state, and the control terminal voltage is pulled down to be close to zero when the first switch module 132 is in the on state.
Specifically, when the first switch module 132 is turned on, the voltage at its input terminal is the driving voltage, the voltage at its control terminal will be pulled down to near zero by the driving voltage, and the voltage at the control terminal is not enough to control the second switch module 133 to turn on, so that the second switch module 133 is in the off state; when the first switch module 132 is turned off, the voltage at its input terminal is the first power voltage, and the voltage at its control terminal is close to the voltage at its input terminal, i.e. close to the first power voltage, enough to control the second switch module 133 to be turned on, so that the second switch module 133 is in a conducting state.
In this embodiment, the second switch module 133 is configured to input a driving voltage when the second switch module 133 is turned off, control a control terminal voltage of the second switch module 133 to be the driving voltage to turn on the switch circuit 200, input a first power voltage when the second switch module 133 is turned on, and pull down the control terminal voltage from the first power voltage to zero to turn off the switch circuit 200.
The second switch module 133 is configured to control the switching on and off of the switch circuit 200 by controlling the magnitude of the control terminal voltage thereof. The control terminal voltage of the second switch module 133 is related to the switching state of the second switch module 133 and the input terminal voltage of the second switch module 133, the control terminal voltage of the second switch module 133 is close to the input terminal voltage when the second switch module 133 is in the off state, and the control terminal voltage of the second switch module 133 is pulled down to be close to zero when the second switch module 133 is in the on state.
Specifically, when the second switch module 133 is turned on, the voltage at the input terminal thereof is the first power voltage, the voltage at the control terminal is pulled down from the first power voltage to be close to zero, and the voltage at the control terminal is not enough to control the switch circuit 200 to be turned on, so that the switch circuit 200 is in the off state; when the second switch module 133 is turned off, the voltage at its input terminal is a driving voltage, and the voltage at its control terminal is close to the voltage at its input terminal, i.e. close to the driving voltage, which is enough to control the switch circuit 200 to be turned on, so that the switch circuit 200 is in a conducting state.
Referring to fig. 3, fig. 3 is a circuit diagram of a control circuit in an embodiment.
In the present embodiment, the voltage driving circuit 120 includes a first voltage regulating module 121 and a second voltage regulating module 122.
A first input end of the first voltage regulating module 121 is a first input end of the voltage driving circuit 120, and a second input end of the first voltage regulating module 121 is a second input end of the voltage driving circuit 120; a first input end of the second voltage regulating module 122 is connected to an output end of the first voltage regulating module 121, a second input end of the second voltage regulating module 122 is a first input end of the voltage driving circuit 120, and an output end of the second voltage regulating module 122 is an output end of the voltage driving circuit 120.
A first input end of the first voltage regulating module 121 and a second input end of the second voltage regulating module 122 are both first input ends of the voltage driving circuit 120, and are configured to receive a driving signal; a second input terminal of the first voltage regulating module 121 is used for receiving a first power voltage.
In this embodiment, when the voltage driving circuit 120 receives the driving signal, the first voltage regulating module 121 is configured to regulate the first power voltage to the second power voltage according to the driving signal, and the second voltage regulating module 122 is configured to regulate the second power voltage to the driving voltage according to the driving signal.
When receiving the driving signal, the first voltage regulating module 121 and the second voltage regulating module 122 can realize the function of voltage regulation under the driving of the driving signal, the first voltage regulating module 121 can regulate the first power voltage to the second power voltage, and the second voltage regulating module 122 can regulate the second power voltage to the driving voltage.
In one embodiment, the first voltage regulating module 121 adjusts the first power voltage to a boost adjustment, and performs the boost adjustment on the first power voltage according to a voltage peak of the driving signal under the driving of the driving signal, so as to adjust the first power voltage to a voltage 1 times the voltage peak of the first power voltage. The second voltage regulation module 122 regulates the second power supply voltage to boost regulation, and performs boost regulation on the second power supply voltage according to the voltage peak value of the driving signal under the driving of the driving signal, so as to regulate the second power supply voltage to a voltage which is 1 time of the voltage peak value relative to the second power supply voltage. Therefore, under the driving of the driving signal, the first voltage regulation module 121 and the second voltage regulation module 122 regulate the first power voltage to a voltage 2 times of the peak voltage value relative to the first power voltage through the boosting process, that is, the driving voltage is equal to the first power voltage plus the peak voltage value 2 times.
In this embodiment, when the voltage driving circuit 120 does not receive the driving signal, the first voltage regulating module 121 is configured to output the first power voltage to the second voltage regulating module 122, and the second voltage regulating module 122 is configured to output the first power voltage to the voltage control circuit 130.
When the first voltage regulating module 121 and the second voltage regulating module 122 do not receive the driving signal, they do not have a voltage adjusting function and do not perform voltage regulating processing on the first power voltage.
Referring to fig. 4, fig. 4 is a circuit diagram of a control circuit in an embodiment.
In this embodiment, the second switching module 133 includes: a first resistor R1 and a first triode Q1; the first end of the first resistor R1 is an input end of the second switch module 133, the second end of the first resistor R1 and the collector of the first transistor Q1 are connected in common to form a control end of the second switch module 133, the base of the first transistor Q1 is a controlled end of the second switch module 133, and the emitter of the first transistor Q1 is grounded.
In the present embodiment, the first switch module 132 includes: a second resistor R2 and a second triode Q2; a first end of the second resistor R2 is an input end of the first switch module 132, a second end of the second resistor R2 and a collector of the second transistor Q2 are commonly connected to form a control end of the first switch module 132, a base of the second transistor Q2 is a controlled end of the first switch module 132, and an emitter of the second transistor Q2 is grounded.
In this embodiment, the voltage control module 131 includes: a first diode D1 and a first capacitor C1; the positive electrode of the first diode D1 is the input terminal of the voltage control module 131, the negative electrode of the first diode D1 and the first end of the first capacitor C1 are commonly connected to the output terminal of the voltage control module 131, and the second end of the first capacitor C1 is grounded.
In this embodiment, the first voltage regulating module 121 includes: a second diode D2, a third diode D3, a second capacitor C2, and a third capacitor C3; the anode of the second diode D2 is connected to the first power voltage, the cathode of the second diode D2, the first end of the second capacitor C2, and the anode of the third diode D3 are connected in common, the second end of the second capacitor C2 is the input end of the first voltage regulating module 121, the cathode of the third diode D3 and the first end of the third capacitor C3 are connected in common to the output end of the first voltage regulating module 121, and the second end of the third capacitor C3 is connected to the ground.
In this embodiment, the second voltage regulating module 122 includes: a fourth diode D4, a fifth diode D5, a fourth capacitor C4, and a fifth capacitor C5; the anode of the fourth diode D4 is the first input terminal of the second voltage regulating module 122, the cathode of the fourth diode D4, the first end of the fourth capacitor C4, and the anode of the fifth diode D5 are connected together, the second end of the fourth capacitor C4 is the input terminal of the second voltage regulating module 122, the cathode of the fifth diode D5 and the first end of the fifth capacitor C5 are connected together as the output terminal of the second voltage regulating module 122, and the second end of the fifth capacitor C5 is grounded.
In this embodiment, the switch circuit 200 includes an NMOS switch transistor M1, the gate of the NMOS switch transistor M1 is the controlled terminal of the switch circuit 200, the drain of the NMOS switch transistor M1 is connected to the first power voltage, and the source of the NMOS switch transistor M1 is connected to the load. It should be noted that, in other embodiments, the switch circuit 200 may include a plurality of NMOS switch transistors or a plurality of PMOS switch transistors or a combination of NMOS switch transistors and PMOS switch transistors, and the control circuit performs logic adjustment according to the setting condition of the specific device of the switch circuit 200. For example, when the switch circuit 200 may include a plurality of NMOS switch transistors connected in series, the control terminals of the control circuit are respectively connected to the gates of the NMOS switch transistors, and the voltage driving circuit 120 boosts the first power voltage; when the switch circuit 200 may include a plurality of PMOS switch transistors connected in series, the control terminals of the control circuit are respectively connected to the gates of the plurality of PMOS switches, and the voltage driving circuit 120 steps down the first power voltage.
In the present embodiment, the controller circuit 110 outputs a PWM signal having a voltage peak value of V1, and the following explains the principle of the control circuit in the present embodiment:
when the driving terminal of the controller circuit 110 outputs the PWM signal:
when a first voltage regulating module 121 composed of a second diode D2, a third diode D3, a second capacitor C2 and a third capacitor C3 is connected to a PWM signal, the first voltage regulating module charges a second capacitor C2 and a third capacitor C3 to boost a first power supply voltage V2 to generate a second power supply voltage; the second voltage regulating module 122, which is composed of the fourth diode D4, the fifth diode D5, the fourth capacitor C4, and the fifth capacitor C5, further boosts the second power voltage, and finally the negative electrode of the fifth diode D5 generates a voltage which is two times higher than the voltage of the V1 peak value with respect to the voltage of the V2, that is, the driving voltage is equal to V2+2V1 (ideally, 4 diodes drop to zero), which is enough to turn on the NMOS switch M1.
When the voltage control module 131 composed of the first diode D1 and the first capacitor C1 is connected to a PWM signal, a stable current sufficient to turn on the first triode Q1 can be generated through the first diode D1 and the first capacitor C1, the base voltage of the second triode Q2 is pulled down after the first triode Q1 is turned on, the base voltage of the second triode Q2 is not sufficient to generate a current sufficient to turn on the second triode Q2, the base voltage of the second triode Q2 is turned off, the collector voltage of the second triode Q2 is kept at a driving voltage sufficient to turn on the NMOS switch M1.
When the driving terminal of the controller circuit 110 stops outputting the PWM signal:
the first voltage regulating module 121 and the second voltage regulating module 122 composed of the second diode D2, the third diode D3, the second capacitor C2 and the third capacitor C3, the fourth diode D4, the fifth diode D5, the fourth capacitor C4 and the fifth capacitor C5 do not boost the first power voltage, and finally the cathode of the fifth diode D5 outputs the first power voltage.
The voltage control module 131 formed by the first diode D1 and the first capacitor C1 does not generate a stable current sufficient to turn on the first transistor Q1, the first transistor Q1 is turned off, the collector of the first transistor Q1 and the gate voltage of the second transistor Q2 are higher enough to turn on the second transistor Q2, the collector and the emitter of the second transistor Q2 are turned on, the gate voltage of the NMOS switch M1 is pulled low and close to 0, and the NMOS switch M1 is turned off.
Referring to fig. 5, fig. 5 is a circuit diagram of the charging circuit 10 according to an embodiment.
In the present embodiment, the charging circuit 10 includes the switching circuit 200 and the control circuit 100 as in the above embodiments.
The input end of the switch circuit 200 is used for connecting with a charging power supply, the output end of the switch circuit 200 is used for connecting with a battery unit, and the switch circuit 200 is used for switching on or off a charging path between the charging power supply and the battery unit.
The control end of the control circuit 100 is connected to the controlled end of the switch circuit 200, and the control circuit 100 is used for controlling the switch circuit 200 to be turned on or off.
In one embodiment, the switching circuit 200 includes: and the controlled end of the switch tube is connected with the control end of the control circuit 100, the input end of the switch tube is used for being connected with a charging power supply, and the output end of the switch tube is used for being connected with a battery unit.
The charging circuit provided by the embodiment includes the switch circuit 200 and the control circuit, and the control circuit can cooperate with the voltage driving circuit 120 and the voltage control circuit 130 through one port of the controller circuit 110 to realize the control of the on state and the off state of the switch circuit 200, thereby realizing the control of the on state and the off state of the charging path between the charging power supply and the battery unit, effectively saving the port resource of the controller circuit 110, and reducing the cost.
The application also provides an electronic device comprising the charging circuit.
In one embodiment, the battery unit is disposed in the device to be charged, and the electronic device is configured to charge the battery unit of the device to be charged when the switch circuit is turned on.
The electronic device may be a charging device having a function of charging a device to be charged, such as an adapter, a portable power source (e.g., a charger, a travel charger), and a vehicle-mounted charger.
In one embodiment, the charging power supply is disposed in a charging device, and the electronic device includes a battery unit. When the switching circuit is turned on, the charging device charges the battery cell of the electronic device.
The electronic device may be a to-be-charged device having a battery unit, such as a mobile phone, a computer, an electric vehicle, a game device, a camera device, a mobile power source, an intelligent electronic device (e.g., an electronic book, an electronic cigarette, a watch, a bracelet, smart glasses, a sweeping robot, etc.), a small electronic product (e.g., a wireless headset, a bluetooth sound, an electric toothbrush, a rechargeable wireless mouse, etc.), and the like.
The electronic equipment provided by the embodiment comprises the charging circuit, wherein the charging circuit can realize the control of two states of conduction and disconnection of the switching circuit through the cooperation of one port of the controller circuit, the voltage driving circuit and the voltage control circuit, so that the charging power supply and the charging channel between the battery units are controlled to be in the two states of conduction and disconnection, further the electronic equipment is charged or charged, the port resources of the controller circuit can be effectively saved, and the manufacturing cost of the electronic equipment is reduced.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (13)

1. A control circuit for controlling the turn-on and turn-off of a switching circuit, comprising:
the controller circuit comprises a driving end, wherein the driving end is used for controlling the output of a driving signal;
a voltage driving circuit, a first input end of which is connected to the driving end, a second input end of which is connected to a first power voltage, the voltage driving circuit being configured to adjust the first power voltage to a driving voltage according to the driving signal when receiving the driving signal, and being further configured to output the first power voltage when not receiving the driving signal;
the first input end of the voltage control circuit is connected with the driving end, the second input end of the voltage control circuit is connected with the output end of the voltage driving circuit, the control end of the voltage control circuit is connected with the controlled end of the switch circuit, the voltage control circuit is used for controlling the switch circuit to be switched on according to the driving voltage when the driving signal is received, and is also used for controlling the switch circuit to be switched off according to the first power voltage when the driving signal is not received.
2. The control circuit of claim 1, wherein the voltage control circuit comprises:
the input end of the voltage control module is a first input end of the voltage control circuit;
the input end of the first switch module is the second input end of the voltage control circuit, and the controlled end of the first switch module is connected with the output end of the voltage control module;
the input end of the second switch module is the second input end of the voltage control circuit, the controlled end of the second switch module is connected with the control end of the first switch module, and the control end of the second switch module is the control end of the voltage control circuit;
the voltage control module is used for controlling the first switch module to be switched on when receiving the driving signal and controlling the first switch module to be switched off when not receiving the driving signal;
the first switch module is used for controlling the second switch module to be switched off when the first switch module is switched on, and controlling the second switch module to be switched on when the first switch module is switched off;
the second switch module is used for inputting the driving voltage when the second switch module is turned off, controlling the control end voltage of the second switch module to be the driving voltage so as to enable the switch circuit to be conducted, inputting the first power supply voltage when the second switch module is conducted, and reducing the control end voltage from the first power supply voltage to zero so as to enable the switch circuit to be turned off.
3. The control circuit of claim 2, wherein the second switching module comprises:
a first resistor and a first triode; the first end of the first resistor is the input end of the second switch module, the second end of the first resistor and the collector of the first triode are connected in common to form the control end of the second switch module, the base of the first triode is the controlled end of the second switch module, and the emitter of the first triode is grounded.
4. The control circuit of claim 2, wherein the first switching module comprises:
a second resistor and a second triode; the first end of the second resistor is the input end of the first switch module, the second end of the second resistor and the collector of the second triode are connected in common to form the control end of the first switch module, the base of the second triode is the controlled end of the first switch module, and the emitter of the second triode is grounded.
5. The control circuit of claim 2, wherein the voltage control module comprises:
a first diode and a first capacitor; the positive electrode of the first diode is the input end of the voltage control module, the negative electrode of the first diode and the first end of the first capacitor are connected in common to be the output end of the voltage control module, and the second end of the first capacitor is grounded.
6. The control circuit of claim 1, wherein the voltage drive circuit comprises:
a first input end of the first voltage regulating module is a first input end of the voltage driving circuit, and a second input end of the first voltage regulating module is a second input end of the voltage driving circuit;
a first input end of the second voltage regulating module is connected with an output end of the first voltage regulating module, a second input end of the second voltage regulating module is a first input end of the voltage driving circuit, and an output end of the second voltage regulating module is an output end of the voltage driving circuit;
when the voltage driving circuit receives the driving signal, the first voltage regulating module is used for regulating the first power supply voltage into a second power supply voltage according to the driving signal, and the second voltage regulating module is used for regulating the second power supply voltage into the driving voltage according to the driving signal;
when the voltage driving circuit does not receive the driving signal, the first voltage regulating module is used for outputting the first power voltage to the second voltage regulating module, and the second voltage regulating module is used for outputting the first power voltage to the voltage control circuit.
7. The control circuit of claim 6, wherein the first voltage regulation module comprises:
the second diode, the third diode, the second capacitor and the third capacitor; the positive pole of the second diode is connected to the first power voltage, the negative pole of the second diode, the first end of the second capacitor and the positive pole of the third diode are connected in common, the second end of the second capacitor is the input end of the first voltage regulating module, the negative pole of the third diode and the first end of the third capacitor are connected in common, the output end of the first voltage regulating module is connected, and the second end of the third capacitor is grounded.
8. The control circuit of claim 6, wherein the second voltage regulation module comprises:
a fourth diode, a fifth diode, a fourth capacitor and a fifth capacitor; the positive pole of the fourth diode is the first input end of the second voltage regulating module, the negative pole of the fourth diode, the first end of the fourth capacitor and the positive pole of the fifth diode are connected together, the second end of the fourth capacitor is the input end of the second voltage regulating module, the negative pole of the fifth diode and the first end of the fifth capacitor are connected together to be the output end of the second voltage regulating module, and the second end of the fifth capacitor is grounded.
9. A charging circuit, comprising:
the charging circuit comprises a switching circuit, a charging unit and a control unit, wherein the input end of the switching circuit is used for being connected with a charging power supply, the output end of the switching circuit is used for being connected with a battery unit, and the switching circuit is used for switching on or off a charging path between the charging power supply and the battery unit;
a control circuit as claimed in any one of claims 1 to 8.
10. The charging circuit of claim 9, wherein the switching circuit comprises:
the controlled end of the switch tube is connected with the control end of the control circuit, the input end of the switch tube is used for being connected with the charging power supply, and the output end of the switch tube is used for being connected with the battery unit.
11. An electronic device, comprising:
a charging circuit as claimed in claim 9 or 10.
12. The electronic device according to claim 11, wherein the battery unit is provided in a device to be charged;
the electronic device is used for charging the battery unit of the device to be charged when the switch circuit is conducted.
13. The electronic device of claim 11, wherein the charging power supply is disposed in a charging device;
the electronic device further includes the battery unit;
wherein the charging device charges the battery cell of the electronic device when the switching circuit is turned on.
CN202110371321.2A 2021-04-07 2021-04-07 Control circuit, charging circuit and electronic equipment Pending CN113162160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110371321.2A CN113162160A (en) 2021-04-07 2021-04-07 Control circuit, charging circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110371321.2A CN113162160A (en) 2021-04-07 2021-04-07 Control circuit, charging circuit and electronic equipment

Publications (1)

Publication Number Publication Date
CN113162160A true CN113162160A (en) 2021-07-23

Family

ID=76888513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110371321.2A Pending CN113162160A (en) 2021-04-07 2021-04-07 Control circuit, charging circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN113162160A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023130880A1 (en) * 2022-01-07 2023-07-13 荣耀终端有限公司 Charging circuit, electronic device and charging system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023130880A1 (en) * 2022-01-07 2023-07-13 荣耀终端有限公司 Charging circuit, electronic device and charging system

Similar Documents

Publication Publication Date Title
EP2528186B1 (en) Management device for charging circuit and wireless terminal
WO2021135987A1 (en) Terminal, power supply method therefor, and charge and discharge management circuit
CN113328504B (en) Wireless earphone charging circuit and charging box
CN113162160A (en) Control circuit, charging circuit and electronic equipment
US20210249870A1 (en) Battery control circuit, battery and unmanned aerial vehicle
CN212112264U (en) Electronic equipment and power supply circuit thereof
CN111446515B (en) Charging method and device and electronic equipment
CN210430939U (en) Charging control switching circuit and charging control switching system
CN216904653U (en) Drive circuit, chip and electronic equipment
WO2022178856A1 (en) Charging circuit and electronic device
CN113196641B (en) Voltage regulation module, charging module and charging pile
CN113949127A (en) Power supply management circuit for system power supply and control method
CN209419314U (en) A kind of double power supply circuit
CN212517041U (en) Switching circuit for ammeter
CN216851373U (en) Charging circuit and chip
CN215733590U (en) Charge and discharge control device, semiconductor chip, battery management system and electric equipment
WO2024007983A1 (en) Dual-battery switching apparatus and electronic device
CN103532377A (en) Charge pump device and power management circuit using same
CN218482697U (en) Adjustable charger circuit and charger based on solar energy
CN111835044B (en) Charging device, load device, and charging system
CN210577871U (en) Power supply power path management circuit and intelligent wearable device
CN216357392U (en) Output current control circuit and system
CN115022760A (en) Earphone box circuit, earphone box and earphone charging system
CN117879116B (en) Output driving system and method based on battery voltage adjustment
CN214543738U (en) Charging circuit of battery

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