Power switching circuit and electronic equipment

Through the power switching circuit that combines PMOS tubes, NMOS tubes and transistors, the MOS tube is automatically controlled using the level changes of the external power socket, which solves the problem of voltage inconsistency between the battery and the external power supply in electronic equipment, and achieves an efficient and reliable power supply. switching and isolation, reducing circuit complexity and cost.

CN109474042BActive Publication Date: 2024-09-06GOERTEK INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811601190.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-12-26
Publication Date
2024-09-06
Estimated Expiration
2038-12-26

AI Technical Summary

Technical Problem

The voltage inconsistency between the battery and the external power supply in existing electronic equipment makes power switching complicated. The existing technology has problems such as inconvenient mechanical switches, inefficient power consumption of Schottky diodes, and the need for high-voltage driving of PMOS tubes, resulting in low power supply efficiency and circuit failures. High complexity.

Method used

The power switching circuit uses a combination of PMOS tubes, NMOS tubes and transistors to automatically control the on and off of the MOS tube through the level change of the external power socket to achieve automatic switching and isolation of the battery and external power supply, using hardware circuits to achieve no manual operation. and software-programmed efficient power switching.

Benefits of technology

It achieves automation of power switching, high efficiency, high reliability, simple circuit and low cost, and avoids the problems of static leakage current and high-voltage driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109474042B
    Figure CN109474042B
Patent Text Reader

Abstract

The present invention discloses a power switching circuit and an electronic device. The power switching circuit comprises: a first MOS tube, a second MOS tube, a third MOS tube and a triode; the control end of the first MOS tube is connected to an external DC power socket, the first end is connected to a battery, and the second end is connected to a load power supply interface; the control end of the second MOS tube is connected to the first end of the triode, the first end is connected to the external DC power socket, and the second end is connected to the second end of the third MOS tube; the control end of the third MOS tube is connected to the first end of the triode, and the first end is connected to the load power supply interface; the control end of the triode is connected to the external DC power socket, and the second end is grounded; the first MOS tube is turned on in response to the disconnection of the external DC power socket from the external power supply and is turned off in response to the external DC power socket being connected to the external power supply; the second MOS tube and the third MOS tube are turned on in response to being connected and turned off in response to being disconnected. The power switching efficiency of the power switching circuit is high, the reliability is high, and the circuit is simple.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic circuits, and more specifically, to a power switching circuit and an electronic device. Background Art

[0002] At present, electronic devices, especially portable and low-power electronic devices, usually provide an external DC power socket while being powered by batteries, so that users can choose between external power and batteries. Usually, when the battery and external power are connected at the same time, the external power is preferred to power the electronic device. However, since the battery voltage changes with charging / discharging, there is an inconsistency between the voltage of the external power supply and the battery, and the battery and the external power supply must be isolated in the circuit design. An existing simple isolation method is to switch the power supply through a mechanical switch, such as a toggle switch, an electromagnetic relay, etc. However, this method has major drawbacks. The toggle switch requires manual operation by the user, which is very inconvenient; and the electromagnetic relay has the disadvantages of being large in size, having static leakage current, and having noise during operation.

[0003] In addition to the above-mentioned method of switching power supply by mechanical switch, there are two other methods in the prior art:

[0004] First, a large number of portable electronic devices use Schottky diodes to isolate power supplies from the perspective of reducing costs. However, the power consumption of portable electronic devices is limited, and the use of Schottky diodes will cause a slight voltage drop. The entire device can work, but the power supply efficiency is not high. In some cases, such as the entire device working at high power for a moment, the power supply voltage of the entire device will drop sharply, and in extreme cases, it may even cause the entire device to shut down abnormally.

[0005] Second, some electronic devices use a PMOS tube combined with an NMOS tube to form two groups of switching switches, one group of power supplies corresponds to one group of switches. Among them, the PMOS tube is used as a power switch and is driven and controlled by the NMOS tube, and the driving state of the NMOS tube depends on whether the external power supply is connected. If the external power supply is connected, the NMOS tube turns on the PMOS tube corresponding to the external power supply and turns off the PMOS tube corresponding to the battery, and vice versa. Compared with the method using Schottky diodes, this method has improved performance. Since the voltage drop of the PMOS tube in the fully turned-on state is generally smaller than that of the Schottky diode, the power supply efficiency of the whole machine is improved. However, the disadvantage is that the drive of the NMOS tube needs to meet Vgs greater than the turn-on threshold Vgs (th), which requires the NMOS tube to be driven by a high-voltage source higher than the power supply voltage. For example, the battery voltage is 4.2V and the external power supply voltage is 5.0V. In order to ensure that the NMOS tube can work normally, it is necessary to provide it with a stable voltage of more than 7V. Obviously, in this way, an external high-voltage power supply or a system power supply must be able to generate high voltage and introduce it into the control circuit, which increases the circuit cost and circuit complexity.

[0006] In addition, there are also design schemes using comparators, microcontrollers MCU, etc. The basic idea of ​​these design schemes is that the logic devices switch the power switch tube according to certain conditions, such as whether the external power supply is detected, the size of the power supply voltage, etc., but the circuit implementation of these design schemes is relatively complicated.

[0007] Therefore, it is necessary to provide a new power switching circuit and electronic equipment. Summary of the invention

[0008] An object of the present invention is to provide a power switching circuit and an electronic device to solve at least one of the problems existing in the prior art.

[0009] In order to achieve the above object, the present invention adopts the following technical solutions:

[0010] A first aspect of the present invention provides a power switching circuit, comprising a first MOS tube, a second MOS tube, a third MOS tube and a triode; the control end of the first MOS tube is connected to an external DC power socket, the first end is connected to a battery, and the second end is connected to a load power supply interface; the control end of the second MOS tube is connected to the first end of the triode, the first end is connected to the external DC power socket, and the second end is connected to the second end of the third MOS tube; the control end of the third MOS tube is connected to the first end of the triode, and the first end is connected to the load power supply interface; the control end of the triode is connected to the external DC power socket, and the second end is grounded;

[0011] The first MOS tube is turned on in response to the external DC power socket being disconnected from the external power supply and is turned off in response to the external DC power socket being connected to the external power supply; the second MOS tube and the third MOS tube are respectively turned on in response to the connection and turned off in response to the disconnection.

[0012] Preferably, the first MOS transistor, the second MOS transistor and the third MOS transistor are PMOS transistors respectively.

[0013] Preferably, the second end of the second MOS tube and the second end of the third MOS tube are sources respectively, and the power switching circuit also includes a first resistor, a first end of the first resistor is connected to the source of the second MOS tube, and a second end is connected to the first end of the transistor.

[0014] Preferably, a second resistor is further included, wherein a first end of the second resistor is connected to the control end of the first MOS tube, and a second end is grounded.

[0015] Preferably, the external DC power socket is a normally closed PWR2.5 socket, the transistor is an NPN transistor, the first end is a collector, the control end of the first MOS tube, the first end of the second MOS tube and the control end of the transistor are respectively connected to the first pin of the normally closed PWR2.5 socket.

[0016] Preferably, the external DC power socket is a normally open PWR2.5 socket, the transistor is a PNP transistor, the first end is an emitter, the control end of the first MOS transistor and the first end of the second MOS transistor are respectively connected to the first pin of the normally closed PWR2.5 socket, and the control end of the transistor is connected to the third pin of the normally open PWR2.5 socket.

[0017] Preferably, it also includes a delay circuit, the input end of the delay circuit is connected to the external DC power socket, and the output end is connected to the control end of the transistor.

[0018] Preferably, the delay circuit is an RC delay circuit.

[0019] Preferably, it further comprises a second resistor, wherein a first end of the second resistor is connected to the control end of the first MOS tube, and a second end of the second resistor is connected to the external DC power socket.

[0020] A second aspect of the present invention provides an electronic device, comprising a battery and the power switching circuit provided by the first aspect of the present invention.

[0021] The beneficial effects of the present invention are as follows:

[0022] The technical solution of the present invention controls the on / off state of the MOS tube by the level state change after the external power supply is connected, thereby realizing automatic switching and isolation between the battery and the external power supply. It is realized by a pure hardware circuit without manual operation and software programming. The power switching efficiency is high, the reliability is high, the circuit is simple and the circuit cost is low. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The specific embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings;

[0024] Figure 1 A circuit diagram showing a power switching circuit provided by an embodiment of the present invention.

[0025] Figure 2 A circuit diagram showing a delay circuit.

[0026] Figure 3 A circuit diagram showing a power switching circuit provided by another embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to more clearly illustrate the present invention, the present invention is further described below in conjunction with preferred embodiments and accompanying drawings. Similar components in the accompanying drawings are represented by the same reference numerals. It should be understood by those skilled in the art that the content specifically described below is illustrative rather than restrictive, and should not be used to limit the scope of protection of the present invention.

[0028] like Figure 1 As shown, an embodiment of the present invention provides a power switching circuit, including a first MOS transistor Q101, a second MOS transistor Q102, a third MOS transistor Q103 and a triode Q104.

[0029] The control end of the first MOS tube Q101 is connected to the external DC power socket J101, the first end is connected to the battery through the battery interface VBAT, and the second end is connected to the load power supply interface VCC of the load U101. Figure 1 As shown, the control end of the first MOS transistor Q101 is its gate, the first end connected to the battery is its drain, and the second end connected to the load power supply interface VCC is its source. In addition, it can also be set that the source of the first MOS transistor Q101 is connected to the battery, and the drain is connected to the load power supply interface VCC, which is not limited in this embodiment.

[0030] The control end of the second MOS transistor Q102 is connected to the first end of the transistor Q104, the first end is connected to the external DC power socket J101, and the second end is connected to the second end of the third MOS transistor Q103. The control end of the third MOS transistor Q103 is connected to the first end of the transistor Q104, and the first end is connected to the load power supply interface VCC. The control end of the transistor Q104 is connected to the external DC power socket J101, and the second end is grounded. Figure 1 As shown, in this embodiment, the control end of the transistor Q104 is the base, the first end is the collector, and the second end is the emitter.

[0031] The first MOS transistor Q101 is turned on in response to the external DC power socket J101 being disconnected from the external power supply and is turned off in response to the external DC power socket J101 being connected to the external power supply; the second MOS transistor Q102 and the third MOS transistor Q103 are respectively turned on in response to the external DC power socket J101 being connected to the external power supply and are turned off in response to the external DC power socket J101 being disconnected from the external power supply.

[0032] The power switching circuit provided in this embodiment cleverly utilizes the drain and source symmetry characteristics and parasitic body diode effect of the MOS tube, and cooperates with the transistor (BJT) for driving control to effectively realize automatic power switching and isolation, wherein isolation prevents the external power supply from directly charging the battery, because almost all charging designs are implemented through a separate charging module, and the power supply and the battery cannot be short-circuited directly, otherwise it will cause abnormal circuit operation and even safety accidents. The power switching circuit provided in this embodiment is implemented in a pure hardware circuit, without manual operation and software programming, and has high power switching efficiency, high reliability, simple circuit and low circuit cost.

[0033] In this embodiment, the first MOS transistor Q101, the second MOS transistor Q102, and the third MOS transistor Q103 are PMOS transistors. Figure 1 As shown. It is understandable that it is also possible to Figure 1 The circuit shown is adjusted accordingly so that the three MOS tubes in this embodiment are NMOS tubes. However, if NMOS tubes are used, there is a problem of needing an external high-voltage drive, and the bias resistor value of the NMOS tube needs to be accurately calculated, and the resistance value of the peripheral resistor needs to be accurately matched with the NMOS tube. Once the resistance value, power supply voltage or NMOS tube parameters change (such as temperature change, MOS tube model change, etc.), there is a risk of causing circuit abnormality. Therefore, the first MOS tube Q101, the second MOS tube Q102, and the third MOS tube Q103 in this embodiment are all PMOS tubes.

[0034] In some optional implementations of the present embodiment, the second end of the second MOS transistor Q102 and the second end of the third MOS transistor Q103 are respectively source electrodes, and the power switching circuit further includes a first resistor R111, wherein the first end of the first resistor R111 is connected to the source electrode of the second MOS transistor Q102, and the second end is connected to the control end of the triode Q104. With this implementation, by setting the source electrode and the drain electrode of the second MOS transistor Q102 and the third MOS transistor Q103, the source electrodes are connected to avoid the generation of reverse current. It is understandable that the second MOS transistor Q102 and the third MOS transistor Q103 can also be set to a mode in which the drain electrodes are connected, and this mode only needs to be coordinated with changing the setting mode of the resistor, and the generation of reverse current can also be avoided.

[0035] In some optional implementations of this embodiment, the power switching circuit provided in this embodiment further includes a second resistor R106, a first end of the second resistor R106 is connected to the control end of the first MOS transistor Q101, and a second end is grounded. With this implementation, it is ensured that the level of the control end of the first MOS transistor Q101 is low when the external DC power socket is disconnected from the external power supply, so that the first MOS transistor Q101 is turned on.

[0036] In some optional implementations of this embodiment, such as Figure 1As shown, the external DC power socket J101 is a normally closed PWR2.5 socket, the transistor Q104 is an NPN transistor, the first end is the collector, the second end is the emitter, the control end of the first MOS transistor Q101, the first end of the second MOS transistor Q102 and the base of the transistor Q104 are respectively connected to the first pin of the normally closed PWR2.5 socket. Among them, the first pin of the normally closed PWR2.5 socket is connected to the external power supply, the second pin is grounded, and the third pin is connected to the first pin; when the external power supply is connected, the third pin is separated from the second pin, and the third pin is suspended. In this implementation, when the external DC power socket is disconnected from the external power supply and only the battery is connected, the gate of the first MOS transistor Q101 is low level, the first MOS transistor Q101 is turned on, and the battery supplies power to the load U101. When the external DC power socket is connected to an external power source, the third pin of the normally closed PWR2.5 is popped apart from the second pin, and the third pin is suspended, and the input of the external power source is respectively sent to the gate of the first MOS tube Q101 and the base of the triode Q104 through the voltage-dividing resistor R110. Thus, on the one hand, the gate of the first MOS tube Q101 is at a high level, and the first MOS tube Q101 is turned off. At this time, regardless of whether the battery interface is connected to a battery, the battery connection will be forcibly disconnected; on the other hand, the base of the NPN-type triode Q104 is also at a high level, and the triode Q104 is turned on, and the gate levels of the second MOS tube Q102 and the third MOS tube Q103 are pulled down to a low level, so that the second MOS tube Q102 and the third MOS tube Q103 are turned on at the same time, and the external power supply supplies power to the load U101.

[0037] In some optional implementations of this embodiment, a second resistor R109 is further included, wherein a first end of the second resistor R109 is connected to the control end of the first MOS transistor Q101, and a second end of the second resistor R109 is connected to the external DC power socket J101. In combination with the above implementations, the second end of the second resistor R109 is connected to the first pin of the normally closed PWR2.5 socket.

[0038] In some optional implementations of this embodiment, the power switching circuit provided in this embodiment further includes a delay circuit, the input end of the delay circuit is connected to the external DC power socket J101, and the output end is connected to the control end of the transistor Q104. Further, the delay circuit in this embodiment adopts the following method: Figure 1The RC delay circuit composed of the third resistor R115 and the first capacitor C113 shown in the figure has an order of magnitude of about 50ms. It can filter the mechanical jitter during the external power supply connection process to prevent the switching oscillation of each device in a short period of time. In addition, the delay can be controlled to about 20 to 100ms by simply adjusting the resistance and capacitance parameters of the first-order RC delay circuit to filter out the inserted jitter, and there is almost no requirement for timing accuracy. In combination with the above implementation, the first end of the third resistor R115, which is the input end of the delay circuit, is connected to the first pin of the normally closed PWR2.5 socket. In addition to Figure 1 In addition to the first-order RC delay circuit composed of the third resistor R115 and the first capacitor C113, the delay circuit in this embodiment can also adopt a second-order or higher-order delay circuit, or other forms of delay circuits such as LC, active filtering, etc., such as Figure 2 shown.

[0039] in addition, Figure 1 The second capacitor C105 and the third capacitor C107 shown connected in parallel to ground are used for filtering and noise removal.

[0040] like Figure 3 As shown, the power switching circuit provided by another embodiment of the present invention is different from the power switching circuit provided by the above embodiment in that: the external DC power socket J101 is a normally open PWR2.5 socket, the transistor Q104 is a PNP transistor, the first end is the collector and the emitter, the second end is the collector, the control end of the first MOS transistor Q101 and the first end of the second MOS transistor Q102 are respectively connected to the first pin of the normally closed PWR2.5 socket, and the control end of the transistor Q104 is connected to the third pin of the normally open PWR2.5 socket. Among them, the first pin of the normally open PWR2.5 socket is connected to the connected external power supply, and the second pin is grounded; when the external power supply is connected, the third pin is in contact with the second pin.

[0041] Another embodiment of the present invention provides an electronic device, including a battery and the power switching circuit provided by any of the above embodiments.

[0042] It should be noted that, in the description of the present invention, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0043] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not limitations on the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the embodiments here. All obvious changes or modifications derived from the technical solution of the present invention are still within the protection scope of the present invention.

Claims

1. A power switching circuit, characterized in that: It comprises a first MOS tube, a second MOS tube, a third MOS tube and a triode; the control end of the first MOS tube is connected to an external DC power socket, the first end is connected to a battery, and the second end is connected to a load power supply interface; the control end of the second MOS tube is connected to the first end of the triode, the first end is connected to the external DC power socket, and the second end is connected to the second end of the third MOS tube; the control end of the third MOS tube is connected to the first end of the triode, and the first end is connected to the load power supply interface; the control end of the triode is connected to the external DC power socket, and the second end is grounded; The first MOS transistor is turned on in response to the external DC power socket being disconnected from the external power supply and is turned off in response to the external DC power socket being connected to the external power supply; the second MOS transistor and the third MOS transistor are turned on in response to the connection and turned off in response to the disconnection, respectively; The first MOS tube, the second MOS tube, and the third MOS tube are PMOS tubes respectively; The power switching circuit also includes a delay circuit, the input end of the delay circuit is connected to the external DC power socket, and the output end is connected to the control end of the transistor; The external DC power socket is a normally closed PWR2.5 socket, the transistor is an NPN transistor, the first end is a collector, the control end of the first MOS transistor, the first end of the second MOS transistor and the control end of the transistor are respectively connected to the first pin of the normally closed PWR2.5 socket; or, the external DC power socket is a normally open PWR2.5 socket, the transistor is a PNP transistor, the first end is an emitter, the control end of the first MOS transistor and the first end of the second MOS transistor are respectively connected to the first pin of the normally closed PWR2.5 socket, and the control end of the transistor is connected to the third pin of the normally open PWR2.5 socket.

2. The power switching circuit according to claim 1, characterized in that: The second end of the second MOS tube and the second end of the third MOS tube are sources respectively. The power switching circuit also includes a first resistor, a first end of the first resistor is connected to the source of the second MOS tube, and a second end is connected to the first end of the transistor.

3. The power switching circuit according to claim 1, characterized in that: It also includes a second resistor, a first end of which is connected to the control end of the first MOS tube, and a second end of which is grounded.

4. The power switching circuit according to claim 1, characterized in that: The delay circuit is an RC delay circuit.

5. The power switching circuit according to claim 1, characterized in that: It also includes a third resistor, a first end of which is connected to the control end of the first MOS tube, and a second end of which is connected to the external DC power socket.

6. An electronic device, comprising a battery, characterized in that: It also includes a power switching circuit as described in any one of claims 1-5.