Power supply switching circuit and electric equipment

By designing a power supply switching circuit including monitoring sub-circuit and energy storage devices, automatic switching and energy consumption savings are achieved in multiple power supply modes, and the problem of stable operation of equipment in the prior art in multiple power supply modes is solved. , ensuring the good working condition of the equipment and the optimization of battery energy consumption.

CN118920685APending Publication Date: 2024-11-08GUOYI PETROLEUM TECH (WUXI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410999182.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The prior art is difficult to design a reliable power supply switching circuit that can operate stably and efficiently in multiple power supply modes (such as battery power and generator power), especially in devices that need to be compatible with multiple power supply modes (such as resistivity). In well logging instruments), especially the problem of how to automatically switch power supply mode and save battery energy consumption.

Method used

A power supply switching circuit including a first electronic supply circuit, a second electronic supply circuit, an output sub-circuit and a monitoring sub-circuit is designed. By outputting a control signal when the target power is turned off, an automatic power supply mode is realized, and the power supply mode is used. The energy storage device provides backup power supply when the target power is turned off to ensure the equipment is operated stably under different power supply modes.

Benefits of technology

It realizes automatic power supply mode switching when the target power is turned on and off, reduces the energy consumption of the backup power supply, ensures that the equipment operates in a good working state, and has strong anti-interference ability and good stability, which is suitable for complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118920685A_ABST
    Figure CN118920685A_ABST
Patent Text Reader

Abstract

The invention discloses a power supply switching circuit and electric equipment, and relates to the technical field of power supply. The circuit comprises a first power supply sub-circuit which is used for outputting a first voltage of a standby power supply when a target power supply is turned on, outputting the first voltage according to a first control signal and stopping outputting the first voltage according to a second control signal when the target power supply is turned off; the second power supply sub-circuit is used for outputting a second voltage when the target power supply is turned on and stopping outputting when the target power supply is turned off; the output sub-circuit is used for outputting the second voltage when the second voltage exists and outputting the first voltage when the first voltage exists and the second voltage does not exist; and the monitoring sub-circuit is used for outputting a first control signal when the target power supply is turned off and the duration does not reach the target time threshold value, and outputting a second control signal when the target power supply is turned off and the duration lasts for the target time threshold value. The circuit can realize stable, reliable and automatic switching of power supply modes, so that equipment is in a good working state, and the energy consumption of a standby power supply can be saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power supply technology, and in particular to a power supply switching circuit and an electrical device. Background Art

[0002] For equipment (such as resistivity logging instruments) that needs to be compatible with multiple power supply modes (such as battery power supply mode and generator power supply mode), it is necessary to design a reliable power supply switching circuit to ensure that the equipment works stably and efficiently. Summary of the invention

[0003] The present application aims to solve at least one of the technical problems in the related art to a certain extent. To this end, one purpose of the present application is to propose a power supply switching circuit and an electrical device to achieve stable and reliable automatic switching of power supply modes, so that the device is in good working condition.

[0004] In a first aspect, the present application proposes a power supply switching circuit, comprising: a first power supply subcircuit, a second power supply subcircuit, an output subcircuit and a monitoring subcircuit; the first power supply subcircuit is used to output a first voltage to the output subcircuit when a target power supply is turned on, and to output the first voltage according to a first control signal and stop outputting the first voltage according to a second control signal when the target power supply is turned off; the second power supply subcircuit is used to output a second voltage to the output subcircuit when the target power supply is turned on, and to stop outputting the second voltage when the target power supply is turned off; the output subcircuit is used to output the second voltage to a load when the second voltage exists, and to output the first voltage to the load when the first voltage exists and the second voltage does not exist; the monitoring subcircuit is used to output the first control signal when the target power supply is turned off and the duration does not reach a target time threshold, and to output the second control signal when the target power supply is turned off and lasts for the target time threshold.

[0005] According to one embodiment of the present application, the monitoring sub-circuit is further used to output the first control signal when the target power supply is turned on; the first power supply sub-circuit has an energy storage device, and is further used to charge the energy storage device according to the first control signal when the target power supply is turned on, so that when the target power supply is turned off, the first power supply sub-circuit outputs the first voltage through the energy storage device, and the monitoring sub-circuit outputs the first control signal.

[0006] According to an embodiment of the present application, the second voltage is greater than the first voltage, and the output sub-circuit includes: a first unidirectional conduction unit and a second unidirectional conduction unit; the input end of the first unidirectional conduction unit is connected to the output end of the first power supply sub-circuit, the input end of the second unidirectional conduction unit is connected to the output end of the second power supply sub-circuit, and the output end of the first unidirectional conduction unit is connected to the output end of the second unidirectional conduction unit and serves as the output end of the output sub-circuit; wherein, when the input end voltage of the first unidirectional conduction unit is greater than the output end voltage, the first unidirectional conduction unit is unidirectionally conducted from the input end to the output end; when the input end voltage of the second unidirectional conduction unit is greater than the output end voltage, the second unidirectional conduction unit is unidirectionally conducted from the input end to the output end.

[0007] According to one embodiment of the present application, the first power supply subcircuit further includes: a control unit and a switch unit; the control unit is used to control the switch unit to establish a connection between a backup power supply and the output subcircuit when the target power supply is turned on, so as to output the first voltage to the output subcircuit, and charge the energy storage device through the target power supply according to a first control signal, and to control the switch unit to establish a connection between the backup power supply and the output subcircuit according to the first control signal and to control the switch unit to disconnect the connection between the backup power supply and the output subcircuit according to the second control signal when the target power supply is turned off.

[0008] According to one embodiment of the present application, the control unit includes: a first resistor, a second resistor, a third resistor, a first diode and a second diode; the first end of the first resistor is connected to the anode of the first diode and the monitoring sub-circuit respectively, the second end of the first resistor is grounded, the cathode of the first diode is connected to the cathode of the second diode and the switching unit respectively, the first end of the second resistor is connected to the target power supply, the second end of the second resistor is connected to the anode of the second diode and the first end of the third resistor respectively, and the second end of the third resistor is grounded.

[0009] According to one embodiment of the present application, the switch unit includes: a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, a first switch tube and a second switch tube; the first end of the fourth resistor is connected to the control unit, the second end of the fourth resistor is connected to the first end of the fifth resistor, the first end of the energy storage device, and the control end of the second switch tube respectively, the second end of the fifth resistor is connected to the second end of the energy storage device and the first end of the second switch tube respectively, and is grounded, the second end of the second switch tube is connected to the first end of the sixth resistor and the control end of the first switch tube respectively through the seventh resistor, the second end of the sixth resistor is connected to the first end of the first switch tube and is connected to the backup power supply, and the second end of the first switch tube is connected to the output sub-circuit.

[0010] According to an embodiment of the present application, the second power supply sub-circuit includes: a third switch tube, a fourth switch tube, an eighth resistor, a ninth resistor, a tenth resistor and an eleventh resistor; the first end of the third switch tube is respectively connected to the first end of the eighth resistor and the first end of the tenth resistor, and is connected to the target power supply, the second end of the third switch tube is connected to the output sub-circuit, the first end of the fourth switch tube is respectively connected to the second end of the tenth resistor and the control end of the third switch tube through the eleventh resistor, the second end of the fourth switch tube is connected to the first end of the ninth resistor and is grounded, and the control end of the fourth switch tube is respectively connected to the second end of the eighth resistor and the second end of the ninth resistor.

[0011] According to one embodiment of the present application, the first unidirectional conducting unit includes a third diode, an anode of the third diode is connected to the output end of the first power supply electronic circuit, and a cathode of the third diode serves as the output end of the first unidirectional conducting unit; the second unidirectional conducting unit includes a fourth diode, an anode of the fourth diode is connected to the output end of the second power supply electronic circuit, and a cathode of the fourth diode serves as the output end of the second unidirectional conducting unit.

[0012] According to an embodiment of the present application, the energy storage device includes a first capacitor, a first end of the first capacitor serves as the first end of the energy storage device, and a second end of the first capacitor serves as the second end of the energy storage device.

[0013] In a second aspect, the present application proposes an electrical device, comprising: a load and the power supply switching circuit described in the first aspect above.

[0014] The power supply switching circuit and the power-consuming device of the embodiment of the present application can output the second voltage to the load when the target power supply is turned on, so that the target power supply supplies power to the load, and output the first voltage to the load when the target power supply is turned off, so that the backup power supply supplies power to the load, and at the same time, the power supply time of the backup power supply can also be controlled. Thus, the power supply mode can be switched automatically and stably and reliably, so that the device is in a good working state and the energy consumption of the backup power supply is reduced.

[0015] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a schematic diagram of the structure of a power supply switching circuit according to an embodiment of the present application;

[0017] Figure 2 is a structural schematic diagram of a power supply switching circuit according to another embodiment of the present application;

[0018] Figure 3 A schematic diagram of the structure of an output subcircuit according to an embodiment of the present application is shown;

[0019] Figure 4 A schematic structural diagram of a first power supply sub-circuit according to an embodiment of the present application is shown;

[0020] Figure 5 A topological diagram of a control unit according to an embodiment of the present application is shown;

[0021] Figure 6 A topological diagram of a switch unit according to an embodiment of the present application is shown;

[0022] Figure 7 is a topological diagram of a power supply switching circuit of a specific embodiment of the present application;

[0023] Figure 8 It is a schematic diagram of the structure of the electrical equipment of the embodiment of the present application.

[0024] Description of reference numerals:

[0025] Power supply switching circuit 100, power consumption device 800, first power supply sub-circuit 10, second power supply sub-circuit 20, output sub-circuit 30, monitoring sub-circuit 40, energy storage device 11, control unit 12, switch unit 13, first unidirectional conduction unit 31, second unidirectional conduction unit 32;

[0026] Target power supply U2, backup power supply U1, load LOAD, first resistor R1, second resistor R2, third resistor R3, fourth resistor R4, fifth resistor R5, sixth resistor R6, seventh resistor R7, eighth resistor R8, ninth resistor R9, tenth resistor R10, eleventh resistor R11, first diode D1, second diode D2, third diode D3, fourth diode D4, first switch tube Q1, second switch tube Q2, third switch tube Q3, fourth switch tube Q4, first capacitor C1. DETAILED DESCRIPTION

[0027] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0028] For equipment that needs to be compatible with multiple power supply modes, such as resistivity logging instruments that are compatible with generator power supply and battery power supply, in order to make the equipment work stably and efficiently and save battery energy, the power supply switching circuit must meet the following standards:

[0029] 1) When the generator is turned on, the device is powered by the generator, and when the generator is turned off, the device is powered by the battery;

[0030] 2) In battery-powered mode, you need to set the battery single working time. After the battery single working time is reached, the device automatically enters sleep mode;

[0031] 3) The device needs to be awakened by the generator to enter the working mode from the sleep mode.

[0032] Based on this, the present application proposes a power supply switching circuit and an electric device. The power supply switching circuit and the electric device of the embodiments of the present application are described below with reference to the accompanying drawings.

[0033] Figure 1 It is a structural block diagram of the power supply switching circuit of an embodiment of the present application.

[0034] like Figure 1 As shown, the power supply switching circuit 100 includes: a first power supply sub-circuit 10 , a second power supply sub-circuit 20 , an output sub-circuit 30 and a monitoring sub-circuit 40 .

[0035] See also Figure 1, the first power supply subcircuit 10 is used to output the first voltage V1 to the output subcircuit 30 when the target power supply U2 is turned on, and to output the first voltage V1 according to the first control signal and stop outputting the first voltage V1 according to the second control signal when the target power supply U2 is turned off. The second power supply subcircuit 20 is used to output the second voltage V2 to the output subcircuit 30 when the target power supply U2 is turned on, and to stop outputting the second voltage V2 to the output subcircuit 30 when the target power supply U2 is turned off. The output subcircuit 30 is used to output the second voltage V2 to the load LOAD when the second voltage V2 exists, and to output the first voltage V1 to the load LOAD when the first voltage V1 exists and the second voltage V2 does not exist. The monitoring subcircuit 40 is used to output the first control signal when the target power supply U2 is turned off and the duration does not reach the target time threshold (which can be set as needed, and can be the battery single working time in the above standard 2)), and output the second control signal when the target power supply U2 is turned off and lasts for the target time threshold.

[0036] Specifically, the first power supply subcircuit 10 can be a battery power supply subcircuit, the second power supply subcircuit 20 can be a non-battery power supply subcircuit, such as a generator power supply subcircuit, a power grid power supply subcircuit, etc., the backup power supply U1 can be a battery, and the target power supply U2 can be a generator, a power grid, etc. The first power supply subcircuit 10, the second power supply subcircuit 20, and the output subcircuit 30 can be implemented by hardware circuits or by software. The monitoring subcircuit 40 can be a single-chip microcomputer MCU (Micro-Control Unit, micro control unit), and its functions can be implemented by software. It can be powered by the backup power supply U1 or by the target power supply U2. For example, it is always powered by the backup power supply U1; for example, when the target power supply U2 is turned on, it is powered by the target power supply U2, and when the target power supply U2 is turned off, it is powered by the backup power supply U1. Compared with the former, this power supply method can reduce the energy consumption of the backup power supply U1.

[0037] Taking the case where the first power supply subcircuit 10 is a battery power supply subcircuit and the second power supply subcircuit 20 is a generator power supply subcircuit as an example, when the generator is turned on, the second power supply subcircuit 20 is set to output the second voltage V2 to the output subcircuit 30. At this time, the first power supply subcircuit 10 can output the first voltage V1 to the output subcircuit 30 under the action of the battery and the generator, and then the output subcircuit 30 is set to output the second voltage V2 to the load LOAD when the second voltage V2 is turned on, thereby realizing the power supply of the power-consuming equipment by the target power supply U2. When the generator is turned off, if the shutdown time is less than the target time threshold, the monitoring subcircuit 40 outputs a first control signal, so that the first power supply subcircuit 10 outputs the first voltage V1 according to the first control signal. Since the second power supply subcircuit 20 stops outputting the second voltage V2 at this time, the output subcircuit 30 can output the first voltage V1 to the load LOAD, realizing the automatic switching of the power supply mode from the target power supply U2 to the backup power supply U1; if the shutdown time reaches the target time threshold, the monitoring subcircuit 40 outputs a second control signal, so that the first power supply subcircuit 10 stops outputting the first voltage U1 according to the second control signal. Since the second power supply subcircuit 20 stops outputting the second voltage V2 at this time, the output subcircuit 30 has no voltage output, and the electrical equipment enters the sleep mode. When the target power supply U2 is turned on again, the above cycle is repeated.

[0038] The power supply switching circuit can meet the above standards 1)-3) and can automatically switch the power supply mode stably and reliably, thereby ensuring the good working state of the equipment and saving the power consumption of the backup power supply such as battery.

[0039] In some embodiments of the present application, the monitoring sub-circuit 40 is further configured to output a first control signal when the target power source U2 is turned on.

[0040] In this embodiment, if Figure 2 As shown, the first power supply sub-circuit 10 has an energy storage device 11 (which can be a capacitor, or a plurality of capacitors connected in parallel, whose capacity can be set as needed, such as being set to a larger capacity greater than a target capacity threshold), and is also used to charge the energy storage device 11 according to a first control signal when the target power supply U2 is turned on, so that when the target power supply U2 is turned off, the first power supply sub-circuit 10 outputs a first voltage through the energy storage device 11, and the monitoring sub-circuit 40 outputs a first control signal.

[0041] Specifically, the monitoring subcircuit 40 can be powered by the target power supply U2 when the target power supply U2 is turned on, and can be powered by the backup power supply U1 when the target power supply U2 is turned off. When the target power supply U2 is turned on, the monitoring subcircuit 40 can detect that the voltage of the target power supply U2 is greater than the first voltage threshold, and can output the first control signal at this time, and the first power supply subcircuit 10 can charge the energy storage device 11 according to the first control signal (such as through the target power supply U2). When the target power supply U2 is turned off, the energy storage device 11 discharges, and the first power supply subcircuit 10 can continuously output the first voltage V1 to the output subcircuit 30, so that the power supply mode is switched from the target power supply U2 to the backup power supply U1, and the monitoring subcircuit 40 is powered at the same time. The monitoring subcircuit 40 continues to work, and can continuously output the first control signal when it is detected that the voltage of the target power supply U2 is less than the second voltage threshold and the duration does not reach the target time threshold. At this time, the first power supply subcircuit 10 can continuously output the first voltage V1 according to the first control signal, thereby realizing reliable power supply of the backup power supply U1.

[0042] In some embodiments of the present application, the second voltage V2 is greater than the first voltage V1. Figure 3 As shown, the output sub-circuit 30 includes: a first unidirectional conduction unit 31 and a second unidirectional conduction unit 32 .

[0043] See also Figure 3 , the input end of the first unidirectional conduction unit 31 is connected to the output end of the first power supply sub-circuit 10, the input end of the second unidirectional conduction unit 32 is connected to the output end of the second power supply sub-circuit 20, and the output end of the first unidirectional conduction unit 31 is connected to the output end of the second unidirectional conduction unit 32, and serves as the output end of the output sub-circuit 30. Wherein, when the input end voltage of the first unidirectional conduction unit 31 is greater than the output end voltage, the first unidirectional conduction unit 31 is unidirectionally conducted from the input end to the output end; when the input end voltage of the second unidirectional conduction unit 32 is greater than the output end voltage, the second unidirectional conduction unit 32 is unidirectionally conducted from the input end to the output end.

[0044] As an implementation mode, the first unidirectional conduction unit 31 and the second unidirectional conduction unit 32 may include one or more diodes connected in series. Since the second voltage V2 is greater than the first voltage V1, when the second voltage V2 and the first voltage V1 exist at the same time, the output subcircuit 30 may output the second voltage V2 through the first unidirectional conduction unit 31 and the second unidirectional conduction unit 32, thereby realizing the power supply of the target power source U2.

[0045] In some embodiments of the present application, Figure 3 As shown, the first power supply subcircuit 10 further includes: a control unit 12 and a switch unit 13 .

[0046] Among them, the control unit 12 is used to control the switch unit 13 to establish a connection between the backup power supply U1 and the output sub-circuit 30 when the target power supply U2 is turned on, so as to output the first voltage V1 to the output sub-circuit 30, and charge the energy storage device 11 through the target power supply U2 according to the first control signal, and when the target power supply U2 is turned off, control the switch unit 13 to establish a connection between the backup power supply U1 and the output sub-circuit 30 according to the first control signal and control the switch unit 13 to disconnect the connection between the backup power supply U1 and the output sub-circuit 30 according to the second control signal.

[0047] Specifically, the control unit 12 may be implemented by hardware circuits or by software. When implemented by hardware circuits, as an implementation method, Figure 5 As shown, the control unit 12 includes: a first resistor R1, a second resistor R2, a third resistor R3, a first diode D1 and a second diode D2.

[0048] See also Figure 5 The first end of the first resistor R1 is connected to the anode of the first diode D1 and the monitoring sub-circuit 30 respectively, the second end of the first resistor R1 is grounded, the cathode of the first diode D1 is connected to the cathode of the second diode D2 and the switch unit 13 respectively, the first end of the second resistor R2 is connected to the target power supply U2, the second end of the second resistor R2 is connected to the anode of the second diode D2 and the first end of the third resistor R3 respectively, and the second end of the third resistor R3 is grounded.

[0049] Specifically, see Figure 5 , when the target power supply U2 is turned on, the monitoring subcircuit 40 can detect that the voltage of the target power supply U2 is greater than the first voltage threshold, and can set MCU_U1_EN to a high level (that is, the first control signal is a high level), and the second diode D2 can be turned on and the first diode D1 can be turned off by setting the resistance values ​​of the first resistor R1 and the second resistor R2. Due to the setting of the energy storage device 11, the target power supply U2 will slowly charge the energy storage device 11 through the fourth resistor R4. At the same time, the switch unit 13 can also be controlled to establish a connection between the backup power supply U1 and the output subcircuit 30 to output the first voltage V1 to the output subcircuit 30. The electric energy of this process is provided by the target power supply U2, that is, the power supply mode is to power the target power supply U2.

[0050] When the target power supply U2 is turned off, the energy storage device 11 discharges, which enables the switch unit 13 to continuously establish a connection between the backup power supply U1 and the output subcircuit 30, so that the output subcircuit 30 outputs the first voltage V1, thereby realizing the switching of the power supply mode. At the same time, the monitoring subcircuit 40 can be powered by the backup power supply U1, and when it is detected that the target power supply U2 voltage is less than the second voltage threshold for a duration less than the target time threshold, MCU_U1_EN is set to a high level (i.e., the first control signal is a high level), and the switch unit 13 can be continuously controlled to establish a connection between the backup power supply U1 and the output subcircuit 30, thereby realizing reliable power supply of the backup battery U1.

[0051] Optionally, the number of the first resistor R1, the second resistor R2, the third resistor R3, the first diode D1 and the second diode D2 can be Figure 5 The one shown in the figure may also be multiple, and the specific quantity, model, etc. can be selected according to needs.

[0052] In some embodiments of the present application, Figure 6 As shown, the switch unit 13 includes: a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a first switch tube Q1 and a second switch tube Q2.

[0053] See also Figure 6 The first end of the fourth resistor R4 is connected to the control unit 12, the second end of the fourth resistor R4 is respectively connected to the first end of the fifth resistor R5, the first end of the energy storage device 11, and the control end of the second switch tube Q2, the second end of the fifth resistor R5 is respectively connected to the second end of the energy storage device 11 and the first end of the second switch tube Q2, and is grounded, the second end of the second switch tube Q2 is respectively connected to the first end of the sixth resistor R6 and the control end of the first switch tube Q1 through the seventh resistor R7, the second end of the sixth resistor Q6 is connected to the first end of the first switch tube Q1, and is connected to the backup power supply U1, and the second end of the first switch tube Q1 is connected to the output sub-circuit 30.

[0054] Specifically, see Figure 6When the target power supply U2 is turned on, the power-consuming device is awakened. At this time, the switch tubes Q1 and Q2 are all turned on, and the target power supply U2 and the backup power supply U1 supply power to the load LOAD at the same time. Since the voltage of the target power supply U2 is greater than the voltage of the backup power supply U1, the output subcircuit 30 outputs the second voltage V2 to the load LOAD, and the current of the load LOAD is provided by the target power supply U2. At the same time, the monitoring subunit 40 monitors that the voltage of the target power supply U2 is greater than the first voltage threshold, and sets MCU_BAT_EN to a high level (that is, the first control signal is a high level). By setting the resistance values ​​of the first resistor R1 and the second resistor R2, the second diode D2 can be turned on, and the first diode D1 is turned off. The target power supply U2 will slowly charge the energy storage device 11 through the fourth resistor R4; at this time, the target power supply U2 is in working state, and the electric energy is provided by the target power supply U2.

[0055] When the target power supply U2 is turned off, the energy storage device 11 discharges, so that the second switch tube Q2 can still remain on for a period of time, so that the first switch tube Q1 can also remain on for a period of time, and the output subcircuit 30 outputs the first voltage V1 to the load LOAD, and the current of the load LOAD is provided by the backup power supply U1. At the same time, the backup power supply U1 can supply power to the monitoring subcircuit 40. When the target power supply U2 is turned off for less than the target time threshold, the monitoring subcircuit 40 can set MCU_BAT_EN to a high level to maintain Q1 and Q2 on, so as to ensure that the power-consuming device enters a reliable backup power supply U1 power supply mode. Afterwards, when the monitoring subcircuit 40 monitors that the target power supply U2 is turned off for a period of time that reaches the target time threshold, MCU_BAT_EN is pulled down (that is, the second control signal is at a low level), and the switch tubes Q1 and Q2 are turned off, and the power-consuming device enters a dormant state. When the target power supply U2 is supplied with power next time, the power-consuming device can be activated, and the above cycle is repeated.

[0056] Optionally, the number of the fourth resistor R4, the fifth resistor R5, the sixth resistor R6, and the seventh resistor R7 can be Figure 6 The one shown in the figure may also be multiple, and the specific quantity, model, etc. can be selected as needed. The first switch tube Q1 and the second switch tube Q2 can be triodes, MOS (Metal-Oxide-Semiconductor Field-Effect Transistor, Metal Oxide Semiconductor Field Effect Transistor) tubes, IGBT (Insulate-Gate Bipolar Transistor, Insulated Gate Bipolar Transistor) tubes, etc.

[0057] In some embodiments of the present application, Figure 7 As shown, the second power supply sub-circuit 20 includes: a third switch tube Q3, a fourth switch tube Q4, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10 and an eleventh resistor R11.

[0058] See also Figure 7 , a first end of the third switch tube Q3 is connected to the first end of the eighth resistor R8 and the first end of the tenth resistor R10 respectively, and is connected to the target power supply U2, a second end of the third switch tube Q3 is connected to the output sub-circuit 30, a first end of the fourth switch tube Q4 is connected to the second end of the tenth resistor R10 and the control end of the third switch tube Q3 respectively through the eleventh resistor R11, a second end of the fourth switch tube Q4 is connected to the first end of the ninth resistor R9 and is grounded, and a control end of the fourth switch tube Q9 is connected to the second end of the eighth resistor R8 and the second end of the ninth resistor R9 respectively.

[0059] Specifically, see Figure 7 , when the target power supply U2 (such as the generator GEN) is turned on, the electrical equipment is awakened, and at this time, the switch tubes Q1, Q2, Q3, and Q4 are all turned on, and the target power supply U2 and the backup power supply U1 (such as the battery BAT) supply power to the load LOAD at the same time. Since the voltage of the target power supply U2 is greater than the voltage of the backup power supply U1, the output subcircuit 30 outputs the second voltage V2 to the load LOAD, and the current of the load LOAD is provided by the target power supply U2. At the same time, the monitoring subunit 40 monitors that the voltage of the target power supply U2 is greater than the first voltage threshold, and sets MCU_BAT_EN to a high level (that is, the first control signal is a high level). By setting the resistance values ​​of the first resistor R1 and the second resistor R2, the second diode D2 can be turned on, and the first diode D1 is turned off. The target power supply U2 will slowly charge the energy storage device 11 through the fourth resistor R4; at this time, the target power supply U2 is in a working state, and the electric energy is provided by the target power supply U2.

[0060] When the target power supply U2 is turned off, the switch tubes Q3 and Q4 are turned off, and the second power supply subcircuit 20 stops outputting the second cigarette V2; the energy storage device 11 discharges, so that the second switch tube Q2 can still remain on for a period of time, so that the first switch tube Q1 can also remain on for a period of time, and the output subcircuit 30 outputs the first voltage V1 to the load LOAD, and the current of the load LOAD is provided by the backup power supply U1. At the same time, the backup power supply U1 can supply power to the monitoring subcircuit 40. When the target power supply U2 is turned off for less than the target time threshold, the monitoring subcircuit 40 can set MCU_U1_EN to a high level to maintain Q1 and Q2 on, so as to ensure that the power-consuming device enters a reliable backup power supply U1 power supply mode. Afterwards, when the monitoring subcircuit 40 monitors that the target power supply U2 is turned off for a period of time that reaches the target time threshold, MCU_BAT_EN is pulled down (that is, the second control signal is low), and the switch tubes Q1 and Q2 are turned off, and the power-consuming device enters a dormant state. When the target power supply U2 is supplied with power next time, the power-consuming device can be activated, and the above cycle is repeated.

[0061] Optionally, the number of the eighth resistor R8, the ninth resistor R9, the tenth resistor R10 and the eleventh resistor R11 may be Figure 6 The third switch tube Q3 and the fourth switch tube Q4 can be a triode, a MOS tube, an IGBT tube, etc.

[0062] In some embodiments of the present application, see Figure 7 The first unidirectional conduction unit 31 includes a third diode D3, the anode of the third diode D3 is connected to the output end of the first power supply sub-circuit 10, and the cathode of the third diode D3 serves as the output end of the first unidirectional conduction unit 31; the second unidirectional conduction unit 32 includes a fourth diode D4, the anode of the fourth diode D4 is connected to the output end of the second power supply sub-circuit 20, and the cathode of the fourth diode D4 serves as the output end of the second unidirectional conduction unit 32. The energy storage device 11 includes a first capacitor C1, the first end of the first capacitor C1 serves as the first end of the energy storage device 11, and the second end of the first capacitor C1 serves as the second end of the energy storage device 11.

[0063] In the following, the first power supply sub-circuit 10 is a battery power supply sub-circuit (the backup power supply U1 is a battery BAT), the second power supply sub-circuit 20 is a generator power supply sub-circuit (the target power supply U2 is a generator GEN), and the monitoring sub-circuit 40 is a single-chip microcomputer MCU. Figure 7 Describe the working principle of the power supply switching circuit of the embodiment of the present application:

[0064] See also Figure 7 When the electrical equipment including the power supply switching circuit 100 is completed after factory assembly, the switch tubes Q1, Q2, Q3, and Q4 are all turned off, and the subsequent load LOAD has no power supply, and the electrical equipment is in a dormant state. When the electrical equipment enters the field, the generator GEN is powered on to wake up the electrical equipment. At this time, the switch tubes Q1, Q2, Q3, and Q4 are all turned on, and the battery BAT and the generator GEN supply power to the load LOAD at the same time. Since the voltage of the battery BAT is less than the voltage of the generator GEN, the third diode D3 is turned off and the fourth diode D4 is turned on, then the load LOAD current is provided by the generator GEN. At the same time, the MCU monitors that the voltage of the generator GEN is greater than the first voltage threshold, and sets MCU_BAT_EN to a high level (that is, the first control signal is a high level). By setting the resistance values ​​of the first resistor R1 and the second resistor R2, the second diode D2 can be turned on and the first diode D1 can be turned off. Since the capacitance of the first capacitor C1 is designed to be relatively large, the generator GEN will slowly charge the first capacitor C1 through the fourth resistor R4 at this time; at this time, the generator GEN is in a working state, and the electric energy is provided by the generator GEN.

[0065] When the generator GEN is turned off, the switch tubes Q3 and Q4 are turned off and the second voltage V2 is stopped from being output; since the first capacitor C1 has a large capacity and stores electrical energy, the second switch tube Q2 can still remain on for a period of time, so that the first switch tube Q1 can also remain on for a period of time, so that the MCU can keep working. When the MCU monitors that the generator GEN is turned off (i.e., the voltage of the generator GEN is less than the second voltage threshold) and the duration is less than the target time threshold, MCU_BAT_EN can be set to a high level to maintain Q1 and Q2 on, ensuring that the electrical equipment enters the battery power supply mode. Afterwards, when the MCU monitors that the duration of the generator GEN shutdown reaches the target time threshold, MCU_BAT_EN is pulled down (i.e., the second control signal is low), at which time the switch tubes Q1, Q2, Q3, and Q4 are all turned off, and the electrical equipment enters a dormant state. When the next generator GEN power supply comes, the electrical equipment can be activated, and the above cycle is repeated.

[0066] The power supply switching circuit of the embodiment of the present application can stably and reliably switch the power supply mode automatically while meeting the above standards 1)-3), thereby ensuring the good working state of the power-consuming equipment and saving battery power consumption. At the same time, the power supply switching circuit has the characteristics of strong anti-interference ability, good stability, and convenient debugging, and is suitable for underground high temperature and complex environment.

[0067] Based on the power supply switching circuit of the above embodiment, the present application proposes an electrical device.

[0068] Figure 8 It is a structural block diagram of the electrical equipment of an embodiment of the present application.

[0069] like Figure 8 As shown, the power-consuming device 800 includes: a load LOAD and the power supply switching circuit 100 of the above embodiment. The power-consuming device 800 may be a resistivity logging instrument or the like.

[0070] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0071] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0072] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0073] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

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

[0075] In the present application, unless otherwise clearly specified and limited, a first feature being “above” or “below” a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being “above”, “above”, and “above” a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being “below”, “below”, and “below” a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0076] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A power supply switching circuit, It is characterized in that include: a first power supply sub-circuit, a second power supply sub-circuit, an output sub-circuit and a monitoring sub-circuit; The first power supply subcircuit is used to output a first voltage to the output subcircuit when the target power supply is turned on, and to output the first voltage according to a first control signal and stop outputting the first voltage according to a second control signal when the target power supply is turned off; The second power supply subcircuit is used to output a second voltage to the output subcircuit when the target power supply is turned on, and stop outputting the second voltage when the target power supply is turned off; The output subcircuit is configured to output the second voltage to the load when the second voltage exists, and to output the first voltage to the load when the first voltage exists but the second voltage does not exist; The monitoring subcircuit is configured to output the first control signal when the target power is turned off and the duration does not reach a target time threshold, and to output the second control signal when the target power is turned off and the duration lasts for the target time threshold.

2. The power supply switching circuit according to claim 1, It is characterized in that The monitoring subcircuit is further configured to output the first control signal when the target power supply is turned on; The first power supply subcircuit has an energy storage device, and is further used to charge the energy storage device according to the first control signal when the target power supply is turned on, so that when the target power supply is turned off, the first power supply subcircuit outputs the first voltage through the energy storage device and the monitoring subcircuit outputs the first control signal.

3. The power supply switching circuit according to claim 1, It is characterized in that The second voltage is greater than the first voltage, and the output subcircuit includes: a first unidirectional conduction unit and a second unidirectional conduction unit; The input end of the first one-way conducting unit is connected to the output end of the first power supply sub-circuit, the input end of the second one-way conducting unit is connected to the output end of the second power supply sub-circuit, and the output end of the first one-way conducting unit is connected to the output end of the second one-way conducting unit and serves as the output end of the output sub-circuit; When the input terminal voltage of the first unidirectional conductive unit is greater than the output terminal voltage, the first unidirectional conductive unit is unidirectionally conductive from the input terminal to the output terminal; when the input terminal voltage of the second unidirectional conductive unit is greater than the output terminal voltage, the second unidirectional conductive unit is unidirectionally conductive from the input terminal to the output terminal.

4. The power supply switching circuit according to claim 2, It is characterized in that The first power supply subcircuit further includes: a control unit and a switch unit; The control unit is used to control the switch unit to establish a connection between the backup power supply and the output sub-circuit when the target power supply is turned on, so as to output the first voltage to the output sub-circuit, and charge the energy storage device through the target power supply according to a first control signal, and to control the switch unit to establish a connection between the backup power supply and the output sub-circuit according to the first control signal and to control the switch unit to disconnect the connection between the backup power supply and the output sub-circuit according to the second control signal when the target power supply is turned off.

5. The power supply switching circuit according to claim 4, It is characterized in that The control unit comprises: a first resistor, a second resistor, a third resistor, a first diode and a second diode; The first end of the first resistor is connected to the anode of the first diode and the monitoring sub-circuit respectively, the second end of the first resistor is grounded, the cathode of the first diode is connected to the cathode of the second diode and the switching unit respectively, the first end of the second resistor is connected to the target power supply, the second end of the second resistor is connected to the anode of the second diode and the first end of the third resistor respectively, and the second end of the third resistor is grounded.

6. The power supply switching circuit according to claim 4, It is characterized in that The switch unit includes: a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, a first switch tube and a second switch tube; The first end of the fourth resistor is connected to the control unit, the second end of the fourth resistor is connected to the first end of the fifth resistor, the first end of the energy storage device, and the control end of the second switch tube respectively, the second end of the fifth resistor is connected to the second end of the energy storage device and the first end of the second switch tube respectively, and is grounded, the second end of the second switch tube is connected to the first end of the sixth resistor and the control end of the first switch tube respectively through the seventh resistor, the second end of the sixth resistor is connected to the first end of the first switch tube and is connected to the backup power supply, and the second end of the first switch tube is connected to the output sub-circuit.

7. The power supply switching circuit according to claim 1, It is characterized in that The second power supply sub-circuit comprises: a third switch tube, a fourth switch tube, an eighth resistor, a ninth resistor, a tenth resistor and an eleventh resistor; The first end of the third switch tube is connected to the first end of the eighth resistor and the first end of the tenth resistor, respectively, and is connected to the target power supply. The second end of the third switch tube is connected to the output sub-circuit. The first end of the fourth switch tube is connected to the second end of the tenth resistor and the control end of the third switch tube through the eleventh resistor, respectively. The second end of the fourth switch tube is connected to the first end of the ninth resistor and is grounded. The control end of the fourth switch tube is connected to the second end of the eighth resistor and the second end of the ninth resistor, respectively.

8. The power supply switching circuit according to claim 3, It is characterized in that The first unidirectional conductive unit comprises a third diode, an anode of the third diode is connected to the output end of the first power supply sub-circuit, and a cathode of the third diode serves as the output end of the first unidirectional conductive unit; The second unidirectional conducting unit comprises a fourth diode, an anode of the fourth diode is connected to the output end of the second power supply circuit, and a cathode of the fourth diode serves as the output end of the second unidirectional conducting unit.

9. The power supply switching circuit according to claim 6, It is characterized in that The energy storage device includes a first capacitor, a first end of the first capacitor serves as the first end of the energy storage device, and a second end of the first capacitor serves as the second end of the energy storage device.

10. An electrical device, It is characterized in that include: A load and a power supply switching circuit according to any one of claims 1 to 9.