Internal and external battery power supply switching circuit and method
Through the hardware circuit, the switching circuit is used to control the power supply status of the internal battery according to the on-off signal of the external battery in the external battery, and the problems of untimely power supply switching and unsatisfactory stability in the prior art are solved, and the rapidity of the power supply switching is achieved. Responsive and highly reliable power supply switching.
Patent Information
- Application Number
- CN202411155202.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-08-22
AI Technical Summary
The existing external battery and internal battery switching circuits rely on software programs to process, resulting in untimely power supply switching and unsatisfactory stability and reliability.
Through the hardware circuit design, the first switching circuit is used to control the cutoff and path state of the internal battery power supply circuit according to the on-off situation of the external battery, and the power supply switching between the external battery and the internal battery is realized without the participation of software programs and microprocessors.
It realizes fast response, high stability and high reliability of power supply switching, ensuring that the electrical equipment can be switched to the internal battery power supply in a timely manner when the external battery is abnormal.
Smart Images

Figure CN119010305A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power supply switching, and in particular to an internal and external battery power supply switching circuit and method. Background Art
[0002] When the power consumption device is powered by an external battery, if the external battery fails to supply power normally due to an abnormality, the normal operation of the power consumption device is directly affected. In order to ensure the normal operation of the power consumption device, the power consumption device is powered by switching between external batteries and internal batteries. However, the current external battery and internal battery switching circuit mostly relies on a microprocessor to process the information of the external battery and the internal battery, and then implements the switching of the power supply circuit through a software program. The switching of the power supply circuit is affected by the stability of the software program, and there is a phenomenon that the power supply switching is not timely, or even the power supply switching cannot be implemented normally, and the switching stability and reliability are not ideal. Summary of the invention
[0003] The present invention provides an internal and external battery power supply switching circuit and method, wherein a first switching circuit controls the cut-off and on-state switching of an internal battery power supply circuit according to the on-off state of an external battery, and a hardware circuit is used to implement the power supply switching of an external battery and an internal battery, without the participation of software programs and a microprocessor, and has fast switching response, high stability and high reliability.
[0004] In order to solve the above technical problems, the technical solution of the present invention is as follows:
[0005] An internal and external battery power supply switching circuit, comprising:
[0006] An external battery power supply circuit electrically connected to an external battery, wherein the external battery power supply circuit is electrically connected to an electrical device;
[0007] An internal battery power supply circuit electrically connected to the internal battery, wherein the internal battery power supply circuit is electrically connected to the power-consuming device;
[0008] a first switching circuit electrically connected to the external battery power supply circuit and the internal battery power supply circuit;
[0009] Wherein, the first switching circuit receives a path electrical signal of an external battery, the first switching circuit is in a path state, and the first switching circuit controls the internal battery power supply circuit to be in a cut-off state according to the path signal;
[0010] The first switching circuit receives a cut-off electrical signal from an external battery, and the first switching circuit is in a cut-off state. The first switching circuit controls the internal battery power supply circuit to be in a conducting state according to the cut-off signal.
[0011] Optionally, the external battery power supply circuit includes:
[0012] A first terminal electrically connected to an external battery, wherein a first pin of the first terminal is electrically connected to the external battery, and a second pin of the first terminal is grounded;
[0013] a first MOS transistor electrically connected to the first wiring terminal, a source pin of the first MOS transistor electrically connected to a first pin of the first wiring terminal, a gate pin of the first MOS transistor grounded, a first capacitor electrically connected between the source pin and the gate pin of the first MOS transistor, and a source pin of the first MOS transistor grounded through a first resistor;
[0014] a first diode electrically connected to the first MOS transistor, wherein an anode pin of the first diode is electrically connected to a drain pin of the first MOS transistor;
[0015] A second terminal electrically connected to the electrical device, a first pin of the second terminal electrically connected to the cathode pin of the first diode, a first pin of the second terminal electrically connected to the electrical device, and a second pin of the second terminal grounded.
[0016] Optionally, the internal battery power supply circuit comprises:
[0017] A third terminal electrically connected to the internal battery, wherein a first pin of the third terminal is electrically connected to the internal battery, and a second pin of the third terminal is grounded;
[0018] a fifth MOS transistor electrically connected to the third wiring terminal, a source pin of the fifth MOS transistor electrically connected to a first pin of the third wiring terminal, and a fourth capacitor electrically connected between the source pin and the gate pin of the fifth MOS transistor;
[0019] A second diode electrically connected to the fifth MOS tube, wherein an anode pin of the second diode is electrically connected to a drain pin of the fifth MOS tube; and a cathode pin of the second diode is electrically connected to a first pin of the second terminal.
[0020] Optionally, the first switching circuit includes:
[0021] A third MOS tube electrically connected to the first wiring terminal, a gate pin of the third MOS tube electrically connected to the first pin of the first wiring terminal, a gate pin of the third MOS tube grounded through a sixth resistor, a source pin of the third MOS tube grounded through a seventh resistor, a source pin of the third MOS tube electrically connected to the gate pin of the fifth MOS tube, and a drain pin of the third MOS tube electrically connected to the source pin of the fifth MOS tube.
[0022] Optionally, the internal and external battery power supply switching circuit further includes:
[0023] a second switching circuit electrically connected to the external battery power supply circuit and the internal battery power supply circuit;
[0024] Wherein, the second switching circuit receives a path electrical signal of an external battery, the second switching circuit is in a path state, and the second switching circuit controls the internal battery power supply circuit to be in a cut-off state according to the path electrical signal;
[0025] The second switching circuit receives a cut-off electrical signal from an external battery, the second switching circuit is in a cut-off state, and the second switching circuit controls the internal battery power supply circuit to be in a conductive state according to the cut-off electrical signal.
[0026] Optionally, the second switching circuit includes:
[0027] A photoelectric coupler electrically connected to the first wiring terminal, wherein the anode pin of the photoelectric coupler is electrically connected to the first pin of the first wiring terminal through an eighth resistor, a fifth capacitor is electrically connected between the anode pin and the cathode pin of the photoelectric coupler, the cathode pin of the photoelectric coupler is grounded, the collector pin of the photoelectric coupler is electrically connected to the source pin of the fifth MOS tube, the emitter pin of the photoelectric coupler is grounded through a ninth resistor, and the emitter pin of the photoelectric coupler is electrically connected to the gate pin of the fifth MOS tube.
[0028] Optionally, the internal and external battery power supply switching circuit further includes:
[0029] A charging circuit is electrically connected to the external battery power supply circuit and the internal battery power supply circuit. When the external battery supplies power, the internal battery is charged through the external battery power supply circuit and the charging circuit.
[0030] Optionally, the charging circuit includes:
[0031] a fourth MOS transistor electrically connected to the first diode, a source pin of the fourth MOS transistor electrically connected to a cathode pin of the first diode, a second capacitor electrically connected between a source pin and a gate pin of the fourth MOS transistor, and a drain pin of the fourth MOS transistor electrically connected to a first pin of the third wiring terminal;
[0032] a second MOS tube electrically connected to the fourth MOS tube, a drain pin of the second MOS tube electrically connected to the source pin of the fourth MOS tube through a second resistor, a drain pin of the second MOS tube electrically connected to the gate pin of the fourth MOS tube through a third resistor, a source pin of the second MOS tube grounded, a gate pin of the second MOS tube grounded through a fifth resistor, a third capacitor electrically connected between the gate pin and the source pin of the second MOS tube, and a gate pin of the second MOS tube electrically connected to the first pin of the third wiring terminal through a fourth resistor.
[0033] The present invention also provides an internal and external battery power supply switching method, which is applied to the internal and external battery power supply switching circuit described above, and the method comprises:
[0034] The first switching circuit receives a path electrical signal of an external battery;
[0035] The first switching circuit controls the internal battery power supply circuit to be in a cut-off state according to the path electrical signal;
[0036] The first switching circuit receives a cut-off electrical signal from an external battery;
[0037] The first switching circuit controls the internal battery power supply circuit to be in a conducting state according to the cut-off electrical signal.
[0038] Optionally, the method further includes:
[0039] The second switching circuit receives a path electrical signal of an external battery;
[0040] The second switching circuit controls the internal battery power supply circuit to be in a cut-off state according to the path electrical signal;
[0041] The second switching circuit receives a cut-off electrical signal from an external battery;
[0042] The second switching circuit controls the internal battery power supply circuit to be in a conducting state according to the cut-off electrical signal.
[0043] The above solution of the present invention includes at least the following beneficial effects:
[0044] The above scheme of the present invention controls the cut-off and on state switching of the internal battery power supply circuit according to the on-off status of the external battery through the first switching circuit, and realizes the power supply switching between the external battery and the internal battery with a hardware circuit, without the participation of software programs and microprocessors, and has fast switching response, high stability and high reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 is a module diagram of an internal and external battery power supply switching circuit provided by an embodiment of the present invention;
[0046] Figure 2 4 is a circuit diagram of an internal and external battery power supply switching circuit provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0047] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0048] like Figure 1 and Figure 2 As shown, an embodiment of the present invention provides an internal and external battery power supply switching circuit, comprising:
[0049] An external battery power supply circuit 10 electrically connected to an external battery 20, wherein the external battery power supply circuit 10 is electrically connected to an electric device 30;
[0050] An internal battery power supply circuit 40 electrically connected to the internal battery 50, wherein the internal battery power supply circuit 40 is electrically connected to the power-consuming device 30;
[0051] A first switching circuit 60 electrically connected to the external battery power supply circuit 10 and the internal battery power supply circuit 40;
[0052] The first switching circuit 60 receives a path electrical signal from the external battery 20, the first switching circuit 60 is in a path state, and the first switching circuit 60 controls the internal battery power supply circuit 40 to be in a cut-off state according to the path signal;
[0053] The first switching circuit 60 receives a cut-off electrical signal from the external battery 20 , and the first switching circuit 60 is in a cut-off state. The first switching circuit 60 controls the internal battery power supply circuit 40 to be in a conducting state according to the cut-off signal.
[0054] In this embodiment, when the external battery 20 supplies power normally, the external battery power supply circuit 10 is in a connection state, the first switching circuit 60 receives a connection electrical signal from the external battery 20, the first switching circuit 60 is in a connection state, and the first switching circuit 60 controls the internal battery power supply circuit 40 to be in a cut-off state according to the connection signal, and the power-consuming device 30 is powered by the external battery 20 and the external battery power supply circuit 10;
[0055] When the external battery 20 cannot supply power normally, the external battery power supply circuit 10 is in a cut-off state, the first switching circuit 60 receives a cut-off electrical signal from the external battery 20, the first switching circuit 60 is in a cut-off state, and the first switching circuit 60 controls the internal battery power supply circuit 40 to be in a pass state according to the cut-off signal, and supplies power to the electrical device 30 through the internal battery 50 and the internal battery power supply circuit 40;
[0056] Through the above method, the power supply switching between the external battery 20 and the internal battery 50 can be realized by hardware circuit without the participation of software programs and microprocessors, and the switching response is fast, the stability is high, and the reliability is high.
[0057] like Figure 2 As shown, in an optional embodiment of the present invention, the external battery power supply circuit 10 includes:
[0058] A first wiring terminal P1 electrically connected to the external battery 20, wherein a first pin of the first wiring terminal P1 is electrically connected to the external battery 20, and a second pin of the first wiring terminal P1 is grounded;
[0059] a first MOS transistor Q1 electrically connected to the first wiring terminal P1, a source pin of the first MOS transistor Q1 electrically connected to a first pin of the first wiring terminal P1, a gate pin of the first MOS transistor Q1 grounded, a first capacitor C1 electrically connected between the source pin and the gate pin of the first MOS transistor Q1, and a source pin of the first MOS transistor Q1 grounded through a first resistor R12;
[0060] a first diode D1 electrically connected to the first MOS transistor Q1, wherein an anode pin of the first diode D1 is electrically connected to a drain pin of the first MOS transistor Q1;
[0061] A second terminal P2 is electrically connected to the electrical device 30, a first pin of the second terminal P2 is electrically connected to the cathode pin of the first diode D1, a first pin of the second terminal P2 is electrically connected to the electrical device 30, and a second pin of the second terminal P2 is grounded.
[0062] In this embodiment, when the external battery 20 supplies power normally, the first MOS tube Q1 is turned on, the external battery power supply circuit 10 is in a conducting state, and the first diode D1 limits the singleness of the current flow direction, thereby supplying power to the power-consuming device 30;
[0063] When the external battery 20 is abnormally unable to supply power, the first MOS tube Q1 is turned off, and the external battery power supply circuit 10 is in a cut-off state, thereby being unable to supply power to the power-consuming device 30; the cut-off of the first MOS tube Q1 serves to isolate the external battery 20 and the power-consuming device 30, thereby preventing the external battery 20 from being damaged by abnormal conditions such as a short circuit or the like.
[0064] like Figure 2 As shown, in an optional embodiment of the present invention, the internal battery power supply circuit 40 includes:
[0065] A third terminal P3 electrically connected to the internal battery 50, wherein a first pin of the third terminal P3 is electrically connected to the internal battery 50, and a second pin of the third terminal P3 is grounded;
[0066] a fifth MOS transistor Q5 electrically connected to the third wiring terminal P3, a source pin of the fifth MOS transistor Q5 electrically connected to a first pin of the third wiring terminal P3, and a fourth capacitor C4 electrically connected between the source pin and the gate pin of the fifth MOS transistor Q5;
[0067] A second diode D2 is electrically connected to the fifth MOS transistor Q5, wherein an anode pin of the second diode D2 is electrically connected to a drain pin of the fifth MOS transistor Q5; and a cathode pin of the second diode D2 is electrically connected to a first pin of the second wiring terminal P2.
[0068] In this embodiment, when the external battery 20 supplies power normally, the first switching circuit 60 turns off the fifth MOS transistor Q5, so that the internal battery power supply circuit 40 is in a cut-off state, and the power-consuming device 30 cannot be powered by the internal battery 50 and the internal battery power supply circuit 40;
[0069] When the external battery 20 cannot supply power normally, the first switching circuit 60 turns on the fifth MOS transistor Q5, and the internal battery power supply circuit 40 is in a conducting state, and the second diode D2 limits the singleness of the current flow direction, thereby supplying power to the power-consuming device 30;
[0070] When the internal battery 50 supplies power to the electrical equipment, if the internal battery 50 is in an abnormal state such as a short circuit, the fifth MOS tube Q5 is turned off. The turning off of the fifth MOS tube Q5 isolates the internal battery 50 and the electrical equipment 30, thereby preventing the abnormal state such as the short circuit of the internal battery 50 from damaging the electrical equipment 30.
[0071] like Figure 2 As shown, in an optional embodiment of the present invention, the first switching circuit 60 includes:
[0072] a third MOS tube Q3 electrically connected to the first wiring terminal P1, a gate pin of the third MOS tube Q3 electrically connected to the first pin of the first wiring terminal P1, a gate pin of the third MOS tube Q3 grounded through a sixth resistor R6, a source pin of the third MOS tube Q3 grounded through a seventh resistor R7, a source pin of the third MOS tube Q3 electrically connected to the gate pin of the fifth MOS tube Q5, and a drain pin of the third MOS tube Q3 electrically connected to the source pin of the fifth MOS tube Q5.
[0073] In this embodiment, when the external battery 20 supplies power normally, the third MOS transistor Q3 is turned on, so that the fifth MOS transistor Q5 is turned off, and the internal battery power supply circuit 40 is in a cut-off state, so that the external battery 20 and the external battery power supply circuit 10 supply power to the power-consuming device 30;
[0074] When the external battery 20 is abnormal and cannot supply power normally, the third MOS tube Q3 is turned off, so that the fifth MOS tube Q5 is turned on, so that the internal battery power supply circuit 40 is in a pass state, so that the power-consuming device 30 is powered by the internal battery 50 and the internal battery power supply circuit 40, and power supply switching is realized; the power supply switching between the external battery 20 and the internal battery 50 is realized by a hardware circuit, without the participation of software programs and microprocessors, and the switching response is fast, the stability is high, and the reliability is high.
[0075] like Figure 1 As shown, in an optional embodiment of the present invention, the internal and external battery power supply switching circuit further includes:
[0076] A second switching circuit 70 electrically connected to the external battery power supply circuit 10 and the internal battery power supply circuit 40;
[0077] The second switching circuit 70 receives a path electrical signal from the external battery 20, the second switching circuit 70 is in a path state, and the second switching circuit 70 controls the internal battery power supply circuit 40 to be in a cut-off state according to the path electrical signal;
[0078] The second switching circuit 70 receives a cut-off electrical signal from the external battery 20 , and the second switching circuit 70 is in a cut-off state. The second switching circuit 70 controls the internal battery power supply circuit 40 to be in a conducting state according to the cut-off electrical signal.
[0079] In this embodiment, when the external battery 20 is supplying power normally, the external battery power supply circuit 10 is in a connection state, the second switching circuit 70 receives a connection electrical signal from the external battery 20, the second switching circuit 70 is in a connection state, and the second switching circuit 70 controls the internal battery power supply circuit 40 to be in a cut-off state according to the connection electrical signal, and the power-consuming device 30 is supplied with power through the external battery 20 and the external battery power supply circuit 10;
[0080] When the external battery 20 cannot supply power normally, the external battery power supply circuit 10 is in a cut-off state, the second switching circuit 70 receives a cut-off electrical signal from the external battery 20, the second switching circuit 70 is in a cut-off state, and the second switching circuit 70 controls the internal battery power supply circuit 40 to be in a pass state according to the cut-off electrical signal, and supplies power to the power-consuming device 30 through the internal battery 50 and the internal battery power supply circuit 40;
[0081] Through the second switching circuit 70, the power supply switching between the external battery 20 and the internal battery 50 can be realized by hardware circuit without the participation of software programs and microprocessors, and the switching response is fast, the stability is high, and the reliability is high;
[0082] The first switching circuit 60 and the second switching circuit 70 cooperate with each other to switch the power supply of the external battery 20 and the internal battery 50, which can further ensure the normal power supply switching of the external battery 20 and the internal battery 50 and ensure the stability and reliability of the power supply switching.
[0083] like Figure 2 As shown, in an optional embodiment of the present invention, the second switching circuit 70 includes:
[0084] A photocoupler U1 electrically connected to the first wiring terminal P1, an anode pin of the photocoupler U1 electrically connected to the first pin of the first wiring terminal P1 through an eighth resistor R8, a fifth capacitor C5 electrically connected between the anode pin and the cathode pin of the photocoupler U1, the cathode pin of the photocoupler U1 is grounded, the collector pin of the photocoupler U1 is electrically connected to the source pin of the fifth MOS tube Q5, the emitter pin of the photocoupler U1 is grounded through a ninth resistor R9, and the emitter pin of the photocoupler U1 is electrically connected to the gate pin of the fifth MOS tube Q5.
[0085] In this embodiment, when the external battery 20 supplies power normally, the photocoupler U1 is turned on, so that the fifth MOS transistor Q5 is turned off, and the internal battery power supply circuit 40 is in a cut-off state, so that the external battery 20 and the external battery power supply circuit 10 supply power to the power-consuming device 30;
[0086] When the external battery 20 is abnormal and cannot supply power normally, the photocoupler U1 is cut off, so that the fifth MOS tube Q5 is turned on, and the internal battery power supply circuit 40 is in a pass state, so that the power-consuming device 30 is powered by the internal battery 50 and the internal battery power supply circuit 40, and power supply switching is realized; the power supply switching between the external battery 20 and the internal battery 50 is realized by a hardware circuit, without the participation of software programs and microprocessors, and the switching response is fast, the stability is high, and the reliability is high.
[0087] like Figure 1 As shown, in an optional embodiment of the present invention, the internal and external battery power supply switching circuit further includes:
[0088] The charging circuit 80 is electrically connected to the external battery power supply circuit 10 and the internal battery power supply circuit 40 . When the external battery 20 supplies power, the internal battery 50 is charged through the external battery power supply circuit 10 and the charging circuit 80 .
[0089] In this embodiment, when the external battery 20 supplies power normally and the internal battery 50 is normal, the charging circuit 80 is in a pass state, and the internal battery 50 is charged through the external battery 20, the external battery power supply circuit 10 and the charging circuit 80;
[0090] During the charging process, if the internal battery 50 is short-circuited to the ground, the charging circuit 80 is in a cut-off state, and the charging of the internal battery 50 is stopped, thereby ensuring the safety of the entire circuit.
[0091] like Figure 2 As shown, in an optional embodiment of the present invention, the charging circuit 80 includes:
[0092] a fourth MOS transistor Q4 electrically connected to the first diode D1, a source pin of the fourth MOS transistor Q4 electrically connected to the cathode pin of the first diode D1, a second capacitor C2 electrically connected between the source pin and the gate pin of the fourth MOS transistor Q4, and a drain pin of the fourth MOS transistor Q4 electrically connected to the first pin of the third wiring terminal P3;
[0093] a second MOS transistor Q2 electrically connected to the fourth MOS transistor Q4, a drain pin of the second MOS transistor Q2 electrically connected to the source pin of the fourth MOS transistor Q4 through a second resistor R2, a drain pin of the second MOS transistor Q2 electrically connected to the gate pin of the fourth MOS transistor Q4 through a third resistor R3, a source pin of the second MOS transistor Q2 is grounded, a gate pin of the second MOS transistor Q2 is grounded through a fifth resistor R5, a third capacitor C3 is electrically connected between the gate pin and the source pin of the second MOS transistor Q2, and the gate pin of the second MOS transistor Q2 is electrically connected to the first pin of the third wiring terminal P3 through a fourth resistor R4.
[0094] In this embodiment, when the external battery 20 supplies power normally and the internal battery 50 is normal, the second MOS transistor Q2 is turned on, so that the fourth MOS transistor Q4 is turned on, and the external battery 20 charges the internal battery 50 through the external battery power supply circuit 10 and the fourth MOS transistor Q4;
[0095] During the charging process, if the internal battery 50 is short-circuited to the ground, the second MOS tube Q2 is turned off, so that the fourth MOS tube Q4 is turned off, and the charging of the internal battery 50 is stopped, thereby ensuring the safety of the entire circuit. The charging of the internal battery 50 and the charging stop protection are realized by the hardware circuit, which has high stability and reliability.
[0096] An embodiment of the present invention further provides an internal and external battery power supply switching method, which is applied to the internal and external battery power supply switching circuit described in any of the above embodiments, and the method includes:
[0097] The first switching circuit 60 receives a path electrical signal from the external battery 20;
[0098] The first switching circuit 60 controls the internal battery power supply circuit 40 to be in a cut-off state according to the path electrical signal;
[0099] The first switching circuit 60 receives a cut-off electrical signal from the external battery 20;
[0100] The first switching circuit 60 controls the internal battery power supply circuit 40 to be in a conducting state according to the cut-off electrical signal.
[0101] Furthermore, the method further comprises:
[0102] The second switching circuit 70 receives a path electrical signal from the external battery 20;
[0103] The second switching circuit 70 controls the internal battery power supply circuit 40 to be in a cut-off state according to the path electrical signal;
[0104] The second switching circuit 70 receives a cut-off electrical signal from the external battery 20;
[0105] The second switching circuit 70 controls the internal battery power supply circuit 40 to be in a conducting state according to the cut-off electrical signal.
[0106] In this embodiment, when the external battery 20 supplies power normally, the first MOS transistor Q1 is turned on, the external battery power supply circuit 10 is in a conducting state, the third MOS transistor Q3 and the photocoupler U1 are both turned on, so that the fifth MOS transistor Q5 is turned off, and the internal battery power supply circuit 40 is in a cut-off state, so that the external battery 20 and the external battery power supply circuit 10 supply power to the power-consuming device 30;
[0107] When the external battery 20 is abnormal and cannot supply power normally, the first MOS tube Q1 is turned off, the external battery power supply circuit 10 is in a cut-off state, the third MOS tube Q3 and the photocoupler U1 are both turned off, so that the fifth MOS tube Q5 is turned on, and the internal battery power supply circuit 40 is in a pass state, so that the internal battery 50 and the internal battery power supply circuit 40 are powered on to the power-consuming device 30;
[0108] During the implementation of the above internal and external battery power supply switching method, no software program and microprocessor are required to participate, and the switching response is fast, the stability is high, and the reliability is high.
[0109] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. An internal and external battery power supply switching circuit, characterized in that: include: An external battery power supply circuit (10) electrically connected to an external battery (20), wherein the external battery power supply circuit (10) is electrically connected to an electrical device (30); An internal battery power supply circuit (40) electrically connected to an internal battery (50), wherein the internal battery power supply circuit (40) is electrically connected to an electrical device (30); a first switching circuit (60) electrically connected to the external battery power supply circuit (10) and the internal battery power supply circuit (40); The first switching circuit (60) receives a path electrical signal from an external battery (20), the first switching circuit (60) is in a path state, and the first switching circuit (60) controls the internal battery power supply circuit (40) to be in a cut-off state according to the path signal; The first switching circuit (60) receives a cut-off electrical signal from an external battery (20), the first switching circuit (60) is in a cut-off state, and the first switching circuit (60) controls the internal battery power supply circuit (40) to be in a conductive state according to the cut-off signal.
2. The internal and external battery power supply switching circuit according to claim 1, characterized in that: The external battery power supply circuit (10) comprises: a first wiring terminal (P1) electrically connected to an external battery (20), a first pin of the first wiring terminal (P1) electrically connected to the external battery (20), and a second pin of the first wiring terminal (P1) grounded; a first MOS transistor (Q1) electrically connected to the first wiring terminal (P1), a source pin of the first MOS transistor (Q1) electrically connected to a first pin of the first wiring terminal (P1), a gate pin of the first MOS transistor (Q1) grounded, a first capacitor (C1) electrically connected between the source pin and the gate pin of the first MOS transistor (Q1), and a source pin of the first MOS transistor (Q1) grounded via a first resistor (R12); a first diode (D1) electrically connected to the first MOS transistor (Q1), wherein an anode pin of the first diode (D1) is electrically connected to a drain pin of the first MOS transistor (Q1); A second wiring terminal (P2) electrically connected to an electrical device (30), a first pin of the second wiring terminal (P2) electrically connected to a cathode pin of the first diode (D1), a first pin of the second wiring terminal (P2) electrically connected to the electrical device (30), and a second pin of the second wiring terminal (P2) grounded.
3. The internal and external battery power supply switching circuit according to claim 2, characterized in that: The internal battery power supply circuit (40) comprises: a third terminal (P3) electrically connected to the internal battery (50), a first pin of the third terminal (P3) electrically connected to the internal battery (50), and a second pin of the third terminal (P3) grounded; a fifth MOS transistor (Q5) electrically connected to the third wiring terminal (P3), a source pin of the fifth MOS transistor (Q5) electrically connected to a first pin of the third wiring terminal (P3), and a fourth capacitor (C4) electrically connected between the source pin and the gate pin of the fifth MOS transistor (Q5); A second diode (D2) electrically connected to the fifth MOS tube (Q5), wherein an anode pin of the second diode (D2) is electrically connected to a drain pin of the fifth MOS tube (Q5); and a cathode pin of the second diode (D2) is electrically connected to a first pin of the second wiring terminal (P2).
4. The internal and external battery power supply switching circuit according to claim 3, characterized in that: The first switching circuit (60) comprises: A third MOS tube (Q3) electrically connected to the first wiring terminal (P1), a gate pin of the third MOS tube (Q3) electrically connected to a first pin of the first wiring terminal (P1), a gate pin of the third MOS tube (Q3) grounded via a sixth resistor (R6), a source pin of the third MOS tube (Q3) grounded via a seventh resistor (R7), a source pin of the third MOS tube (Q3) electrically connected to a gate pin of the fifth MOS tube (Q5), and a drain pin of the third MOS tube (Q3) electrically connected to a source pin of the fifth MOS tube (Q5).
5. The internal and external battery power supply switching circuit according to claim 3, characterized in that: Also includes: a second switching circuit (70) electrically connected to the external battery power supply circuit (10) and the internal battery power supply circuit (40); The second switching circuit (70) receives a path electrical signal from the external battery (20), the second switching circuit (70) is in a path state, and the second switching circuit (70) controls the internal battery power supply circuit (40) to be in a cut-off state according to the path electrical signal; The second switching circuit (70) receives a cut-off electrical signal from the external battery (20), the second switching circuit (70) is in a cut-off state, and the second switching circuit (70) controls the internal battery power supply circuit (40) to be in a conductive state according to the cut-off electrical signal.
6. The internal and external battery power supply switching circuit according to claim 5, characterized in that: The second switching circuit (70) comprises: A photoelectric coupler (U1) electrically connected to the first wiring terminal (P1), the anode pin of the photoelectric coupler (U1) electrically connected to the first pin of the first wiring terminal (P1) through an eighth resistor (R8), a fifth capacitor (C5) electrically connected between the anode pin and the cathode pin of the photoelectric coupler (U1), the cathode pin of the photoelectric coupler (U1) grounded, the collector pin of the photoelectric coupler (U1) electrically connected to the source pin of the fifth MOS tube (Q5), the emitter pin of the photoelectric coupler (U1) grounded through a ninth resistor (R9), and the emitter pin of the photoelectric coupler (U1) electrically connected to the gate pin of the fifth MOS tube (Q5).
7. The internal and external battery power supply switching circuit according to claim 3, characterized in that: Also includes: A charging circuit (80) is electrically connected to the external battery power supply circuit (10) and the internal battery power supply circuit (40). When the external battery (20) supplies power, the internal battery (50) is charged through the external battery power supply circuit (10) and the charging circuit (80).
8. The internal and external battery power supply switching circuit according to claim 7, characterized in that: The charging circuit (80) comprises: a fourth MOS tube (Q4) electrically connected to the first diode (D1), a source pin of the fourth MOS tube (Q4) electrically connected to a cathode pin of the first diode (D1), a second capacitor (C2) electrically connected between the source pin and the gate pin of the fourth MOS tube (Q4), and a drain pin of the fourth MOS tube (Q4) electrically connected to a first pin of the third wiring terminal (P3); A second MOS tube (Q2) electrically connected to the fourth MOS tube (Q4), a drain pin of the second MOS tube (Q2) electrically connected to a source pin of the fourth MOS tube (Q4) through a second resistor (R2), a drain pin of the second MOS tube (Q2) electrically connected to a gate pin of the fourth MOS tube (Q4) through a third resistor (R3), a source pin of the second MOS tube (Q2) grounded, a gate pin of the second MOS tube (Q2) grounded through a fifth resistor (R5), a third capacitor (C3) electrically connected between the gate pin and the source pin of the second MOS tube (Q2), and a gate pin of the second MOS tube (Q2) electrically connected to a first pin of the third wiring terminal (P3) through a fourth resistor (R4).
9. A method for switching power supply between internal and external batteries, characterized in that: Applied to the internal and external battery power supply switching circuit according to any one of claims 1 to 8, the method comprises: The first switching circuit (60) receives a path electrical signal from an external battery (20); The first switching circuit (60) controls the internal battery power supply circuit (40) to be in a cut-off state according to the path electrical signal; The first switching circuit (60) receives a cut-off electrical signal from an external battery (20); The first switching circuit (60) controls the internal battery power supply circuit (40) to be in a conducting state according to the cut-off electrical signal.
10. The method for switching power supply between internal and external batteries according to claim 9, characterized in that: Also includes: The second switching circuit (70) receives a path electrical signal from an external battery (20); The second switching circuit (70) controls the internal battery power supply circuit (40) to be in a cut-off state according to the path electrical signal; The second switching circuit (70) receives a cut-off electrical signal from an external battery (20); The second switching circuit (70) controls the internal battery power supply circuit (40) to be in a conducting state according to the cut-off electrical signal.
Citation Information
Patent Citations
Collection relay equipment protection circuit and device
CN115864626A
Battery under-voltage turn-off circuit
CN219018511U
Dual-power switching circuit
CN219918493U
