A power supply control circuit based on MOS switch circuit components

By designing a power control circuit based on MOS switch circuit components, the problems of power supply stability and automatic switching in charging equipment are solved, and high stability and automatic switching functions are realized to adapt to various power supply scenarios.

CN114142572BActive Publication Date: 2025-02-07GUANGDONG KEYIA SEMICON TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111530714.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-14
Publication Date
2025-02-07
Estimated Expiration
2041-12-14

AI Technical Summary

Technical Problem

Existing charging equipment has problems with power stability and automatic switching, making it difficult to achieve high stability and automatic power switching based on load.

Method used

Design a power control circuit based on MOS switch circuit components, including the main MOS switch tube, the auxiliary MOS switch tube and the forced MOS switch tube. The conduction and turn-off of these MOS switch tubes are controlled through a digital switch to realize external power supply circuit and Automatic switching of battery powered circuit.

Benefits of technology

It realizes the high stability and automatic switching function of the power supply, adapts to various power supply scenarios, and can automatically switch to the optimal power supply method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114142572B_ABST
    Figure CN114142572B_ABST
Patent Text Reader

Abstract

The present invention provides a power supply control circuit based on a MOS switch circuit component. It includes a digital switch and an external power supply circuit and a battery power supply circuit connected to the digital switch, and also includes: a main MOS switch tube: the main MOS switch tube is electrically connected to the digital switch and used to control the on and off of the external power supply circuit; an auxiliary MOS switch tube: the auxiliary MOS switch tube is electrically connected to the digital switch and used to control the on and off of the battery power supply circuit when the external power supply circuit is short-circuited; a forced MOS switch tube: the forced MOS switch tube is electrically connected to the digital switch and controls the forced on and off of the external power supply circuit / battery power supply circuit; a power supply controller: the power supply controller is used to be electrically connected to the main MOS switch tube, the auxiliary MOS switch tube and the forced MOS switch tube, and control the on and off of the main MOS switch tube, the auxiliary MOS switch tube and the forced MOS switch tube.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power supply control, and in particular to a power supply control circuit based on a MOS switch circuit component. Background Art

[0002] At present, with the development of new energy technology, all walks of life are introducing new energy technology, and a large number of charging devices have emerged. However, the existing charging equipment has great problems in power control. First of all, the stability of the power supply has always been a very difficult technical problem to solve; secondly, most of the power switching is manually controlled, rather than automatically switched according to the real-time status of the load.

[0003] Therefore, those skilled in the art are committed to developing a power control circuit with high stability and automatic power switching function. Summary of the invention

[0004] The present invention provides a power supply control circuit based on a MOS switch circuit component, which is used to solve the technical problem that the stability of the power supply has always been a very difficult problem to solve in the prior art; secondly, the switching of the power supply is mostly controlled manually, rather than automatically switched according to the real-time status of the load.

[0005] A power supply control circuit based on a MOS switch circuit component, comprising a digital switch and an external power supply circuit and a battery power supply circuit connected to the digital switch, comprising:

[0006] Main MOS switch tube: the main MOS switch tube is electrically connected to the digital switch and is used to control the on and off of the external power supply circuit;

[0007] Auxiliary MOS switch tube: the auxiliary MOS switch tube is electrically connected to the digital switch and is used to control the on and off of the battery power supply circuit when the external power supply circuit is short-circuited;

[0008] Forced MOS switch tube: the forced MOS switch tube is electrically connected to the digital switch and controls the forced on and off of the external power supply circuit / battery power supply circuit;

[0009] Power supply controller: The power supply controller is used to be electrically connected to the main MOS switch tube, the auxiliary MOS switch tube and the forced MOS switch tube, and to control the conduction and cutoff of the main MOS switch tube, the auxiliary MOS switch tube and the forced MOS switch tube.

[0010] As an embodiment of the present invention: the circuit further includes:

[0011] When the main MOS switch tube is in the on state, the auxiliary MOS switch tube and the forced MOS switch tube are in the off state;

[0012] When the auxiliary MOS switch tube is in the on state, the main MOS switch tube and the forced MOS switch tube are in the off state;

[0013] When the forced MOS switch tube is in the on state, the auxiliary MOS switch tube and the main MOS switch tube are in the off state.

[0014] As an embodiment of the present invention: the circuit further includes:

[0015] Inverter: the inverter output end is respectively connected to the main MOS switch tube, the auxiliary MOS switch tube and the forced MOS switch tube, and receives the level signal of the inverter;

[0016] Driving current regulator: The driving current regulator is connected in parallel with the inverter and receives the current signal of the current source.

[0017] As an embodiment of the present invention: the circuit further includes:

[0018] FPGA circuit: the FPGA circuit is electrically connected to the current source and controls the real-time current output by the current source;

[0019] Test circuit: the test circuit is electrically connected to the FPGA circuit and is used to detect the real-time current and determine the real-time current state;

[0020] Voltage control circuit: The drive circuit is electrically connected to the FPGA circuit and the test circuit, and is used to control the output voltage of the external power supply circuit and the battery power supply circuit according to the real-time current state; wherein,

[0021] The voltage control circuit is composed of a voltage regulator and an equivalent circuit;

[0022] Timing output circuit: The timing output circuit is used to receive an external input signal and control the digital switch to generate a digital switching signal.

[0023] As an embodiment of the present invention: the test circuit includes:

[0024] Detector: The detector is used to be electrically connected to the output end of the external power supply circuit and the battery power supply circuit to determine the real-time current;

[0025] Converter: The converter is connected in series with the detector and converts the real-time current into a sawtooth wave;

[0026] Error amplifier: the error amplifier is electrically connected to the output end of the converter and amplifies the sawtooth wave;

[0027] Sawtooth wave comparator: The first output terminal of the sawtooth wave comparator is electrically connected to the error amplifier, and the second input terminal of the sawtooth wave comparator is electrically connected to the sawtooth wave reference signal terminal on the FPGA circuit.

[0028] As an embodiment of the present invention: the circuit further includes:

[0029] Input rectifier and filter circuit: the input rectifier and filter circuit is electrically connected to the input end of the battery power supply circuit;

[0030] Current sampling resistor: The first current sampling resistor is electrically connected to the output end of the external power supply circuit and the battery power supply circuit; wherein,

[0031] The current sampling resistor includes a first output terminal, a second output terminal and a third output terminal;

[0032] The first output terminal is used to output a first sampling current when the main MOS switch tube is turned on;

[0033] The second output terminal is used to output a second sampling current when the auxiliary MOS switch tube is turned on;

[0034] The third output end is used to be connected in parallel with the first output end or the second output end according to the turned-on power supply when the forced MOS switch tube is turned on.

[0035] As an embodiment of the present invention: the circuit further includes:

[0036] Multi-channel controller: the multi-channel controller is electrically connected to the FPGA circuit, and the multi-channel controller is electrically connected to a load device connected to the output end of the external power supply circuit / battery power supply circuit;

[0037] Digital-to-analog converter: The digital-to-analog converter is used to be electrically connected to the multi-channel controller and generate a digital signal;

[0038] Output-input buffer: The output-input buffer is electrically connected to the digital-to-analog converter and stores the digital signal.

[0039] As an embodiment of the present invention: the circuit further includes:

[0040] Switching quantity input device: The switching quantity input device is used to receive input instructions from the user and generate switching quantity signals;

[0041] DSP identifier: the DSP identifier is used to be electrically connected to the switch input device and generate a power control signal;

[0042] Communicator: The communicator is electrically connected to the DSP identifier and receives real-time control instructions;

[0043] Leakage detector: The leakage detector is electrically connected to the external power supply circuit and the battery power supply circuit, and determines whether leakage occurs in the external power supply circuit and the battery power supply circuit;

[0044] Phase loss detector: The phase loss detector is electrically connected to the external power supply and determines whether the external power supply has a phase loss.

[0045] As an embodiment of the present invention: the power supply controller is also connected to a main controller, and the main controller is used for circuit detection and power supply control; wherein,

[0046] The circuit detection includes: leakage detection, phase loss detection, overcurrent detection, overvoltage detection and undervoltage detection;

[0047] The power supply control includes: external power supply, battery power supply and switching power supply.

[0048] As an embodiment of the present invention: the main controller performs circuit detection and power supply control including the following steps:

[0049] The power supply control includes:

[0050] Step 1: according to the power start signal input by the user, determine whether the external power supply circuit is connected. When the external power supply is connected, control the main MOS switch tube to be turned on, and send a power supply instruction to the external power supply, so that the external power supply circuit supplies power to the load device; when the external power supply is not connected, control the auxiliary MOS switch tube to be turned on, and send a power supply instruction to the battery power supply circuit, so that the battery circuit supplies power to the load device;

[0051] Step 2: Detect the circuit states of the external power supply circuit and the battery power supply circuit, and when the external power supply circuit is powered off, control the forced MOS switch tube, and send a power supply instruction to the battery power supply circuit, so that the battery circuit supplies power to the load device; when the battery circuit is powered off, control the forced MOS switch tube, and send a power supply instruction to the external power supply circuit, so that the external power supply circuit supplies power to the load device;

[0052] The circuit detection includes:

[0053] Step 1: Data acquisition, obtaining real-time current and real-time voltage;

[0054] Step 2: digitally filter the real-time current, calculate the power factor, and perform leakage detection and phase loss detection according to the power factor;

[0055] Step 3: Obtain a first detection result, and determine whether to perform power switching according to the first detection result;

[0056] Step 4: Perform overvoltage detection and undervoltage detection according to the first detection result to determine whether to perform power switching;

[0057] Step 5: Generate circuit data according to the power switching result.

[0058] The beneficial effects of the present invention are as follows: the present invention can firstly control the power supply circuit, realize power supply by an external power supply, that is, AC power supply, automatic power generation power supply, etc., and can also realize DC power supply based on a battery. Of course, the battery can also be connected to an external solar device to store clean energy. The present invention has three power supply modes, which can be adapted to various power supply scenarios.

[0059] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.

[0060] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0062] Figure 1 A circuit schematic diagram of a power supply control circuit based on a MOS switch circuit component in an embodiment of the present invention;

[0063] Figure 2 4 is a schematic diagram of a reverse control circuit in an embodiment of the present invention. DETAILED DESCRIPTION

[0064] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0065] Embodiment 1:

[0066] As attached Figure 1As shown, the present invention is a power supply control circuit based on a MOS switch circuit component, including a digital switch and an external power supply circuit and a battery power supply circuit connected to the digital switch, including:

[0067] Main MOS switch tube: the main MOS switch tube is electrically connected to the digital switch and is used to control the on and off of the external power supply circuit;

[0068] The digital switch plays a very important role in the present invention. Its role is to control the on and off of different MOS switches, which naturally controls the on and off of the external power supply circuit. The present invention is not a power supply circuit of pure electronic components. The present invention includes digital control and direct control of external control equipment.

[0069] Auxiliary MOS switch tube: the auxiliary MOS switch tube is electrically connected to the digital switch and is used to control the on and off of the battery power supply circuit when the external power supply circuit is short-circuited;

[0070] Forced MOS switch tube: the forced MOS switch tube is electrically connected to the digital switch and controls the forced on and off of the external power supply circuit / battery power supply circuit;

[0071] Power supply controller: The power supply controller is used to be electrically connected to the main MOS switch tube, the auxiliary MOS switch tube and the forced MOS switch tube, and to control the conduction and cutoff of the main MOS switch tube, the auxiliary MOS switch tube and the forced MOS switch tube.

[0072] The principle of the above technical solution is that the technical solution of the present invention is to control the external power supply circuit and the battery circuit by turning on and off the MOS tubes through three MOS tubes. When controlling the external power supply circuit and the battery circuit, the present invention directly supplies power through the external power supply when the external power supply is connected. At this time, the main MOS switch tube is turned on first, and the main MOS switch tube receives the on signal of the digital switch. When the external power supply is not connected and only the battery power is connected, the battery is used for power supply. At this time, the auxiliary MOS switch tube receives the on signal of the digital switch, and finally realizes the control of the overall power supply. In addition to the above two situations, the present invention takes into account the sudden power supply damage. In this case, the present invention sends a forced switching signal to the forced MOS switch tube through the digital switch, or realizes forced signal switching under human control.

[0073] The beneficial effect of the above technical solution is that the present invention can firstly control the power supply circuit to realize power supply by an external power supply, that is, AC power supply, automatic power generation power supply, etc., and can also realize DC power supply based on a battery. Of course, the battery can also be connected to an external solar device to store clean energy. The present invention has three power supply modes, which can be adapted to various power supply scenarios.

[0074] Because the present invention is powered by batteries and external power, when powered by batteries, if it is not in a forced power supply state, the auxiliary MOS switch tube will determine whether to shut down according to the loss on the N channel and switch to external power supply. At this stage, there is a certain delay time. The role of this delay time is to protect the load. In this process:

[0075] The battery voltage drops, and then the current of the auxiliary MOS switch tube N channel continues to drop; after a period of drop, the voltage of the auxiliary MOS switch tube N channel drops to 0, and at this time, the auxiliary MOS switch tube is completely turned off.

[0076] This process can be expressed by the following formula:

[0077] When the battery output voltage drops, the driving voltage of the auxiliary MOS switch tube can be expressed by the following formula:

[0078] That is, the driving voltage of the auxiliary MOS switch tube of the present invention meets the following formula:

[0079]

[0080] In the above formula, U N (t) represents the auxiliary MOS switch tube driving voltage at time t i The voltage value at the moment, which is a variable value; U 低 It indicates the low level voltage value sent by the digital switch; U 高 It indicates the low-level voltage value sent by the digital switch; the meaning of this formula table is to calculate the voltage value of the N channel of the auxiliary MOS switch tube, because in the process of voltage drop, the high-level voltage is also constantly decreasing, U 低 It keeps rising until the high level becomes 0 and the low level reaches the maximum value of the low level, which is usually 0.4V; t i represents the moment, i is just a serial number, representing the present moment and also the end moment; t0 represents the initial moment; t i-t0 represents the time value, that is, the time of decline; the high-level voltage is added to the above formula because the driving voltage will be higher than the high voltage no matter how low it is, but when the high-level voltage drops to a certain level, the driving voltage is 0, and when the high-level voltage is 0, the driving voltage is a negative number. Of course, it is impossible for the driving voltage to be negative, and there must be a moment when the driving voltage is equal to 0. A driving voltage of 0 means that the voltage of the N channel of the auxiliary MOS switch tube is 0, that is, the auxiliary MOS switch tube is turned off.

[0081] When the auxiliary MOS switch is turned off, the digital switch sends a signal to automatically control the conduction of the main MOS switch:

[0082] The main MOS switch tube and the auxiliary MOS switch tube conform to the following formula:

[0083]

[0084] That is, only one of the main MOS switch tube and the auxiliary MOS switch tube is in the on state.

[0085] The forced MOS switch tube is used to receive external instructions and has a higher priority than the main MOS switch tube and the auxiliary MOS switch tube.

[0086] Embodiment 2:

[0087] As an embodiment of the present invention: the circuit further includes:

[0088] When the main MOS switch tube is in the on state, the auxiliary MOS switch tube and the forced MOS switch tube are in the off state;

[0089] When the auxiliary MOS switch tube is in the on state, the main MOS switch tube and the forced MOS switch tube are in the off state;

[0090] When the forced MOS switch tube is in the on state, the auxiliary MOS switch tube and the main MOS switch tube are in the off state.

[0091] The principle of the above technical solution is that only one of the three MOS switch tubes of the present invention can be in the on state at the same time, and the MOS switch tube in the on state performs the power supply task. When any one of the main MOS switch tube, the auxiliary MOS switch tube and the forced MOS switch tube of the present invention is in the on state, the other switch tubes are in the off state.

[0092] The beneficial effect of the above technical solution is that the present invention can realize accurate control of a single switch tube, ensuring that the power supply circuit can provide stable power supply.

[0093] Embodiment 3:

[0094] As an embodiment of the present invention: Figure 2 As shown, the circuit further includes:

[0095] Inverter: The output end of the inverter is respectively connected to the main MOS switch tube, the auxiliary MOS switch tube and the forced MOS switch tube to receive the level signal of the inverter; the inverter receives information sent by the user, and the inverter is electrically connected to an external control device, and the external control device is a master control device, such as: a control cabinet in an electric power room.

[0096] Driving current regulator: The driving current regulator is connected in parallel with the inverter and receives the current signal of the current source.

[0097] The principle of the above technical solution is that: the present invention is also provided with an inverter, the purpose of the inverter is to invert the phase signal, thereby realizing the logic control of the circuit, and the driving current regulator sends a current regulation signal to the inverter through the parallel inverter when receiving the current signal of the current source.

[0098] The beneficial effect of the above technical solution is that the present invention controls the current through the inverter and the driving current regulator, thereby controlling the stability of the current in the circuit.

[0099] Embodiment 4:

[0100] As an embodiment of the present invention: the circuit further includes:

[0101] FPGA circuit: The FPGA circuit is electrically connected to the current source and controls the real-time current output by the current source; the FPGA circuit is a programmable circuit based on the prior art, the FPGA circuit is connected to the inverter, and the FPGA circuit can send a control signal to the inverter. The FPGA circuit is a circuit with flexible and diverse configurations. It connects different electronic components according to the FPGA chip and performs different functions. The present invention is mainly a machine model FPGA circuit, and the FPGA circuit can also be connected to the CPU to achieve control based on the mobile phone and computer.

[0102] Test circuit: The test circuit is electrically connected to the FPGA circuit, and is used to detect the real-time current and determine the real-time current state; the test circuit is a circuit that measures the circuit state at all times, and determines the value of the method strategy based on the state changes of current and voltage.

[0103] Voltage control circuit: The drive circuit is electrically connected to the FPGA circuit and the test circuit, and is used to control the output voltage of the external power supply circuit and the battery power supply circuit according to the real-time current state; wherein,

[0104] The voltage control circuit is composed of a voltage regulator and an equivalent circuit;

[0105] Timing output circuit: The timing output circuit is used to receive an external input signal and control the digital switch to generate a digital switching signal.

[0106] The principle of the above technical solution is that: the present invention is also provided with an FPGA circuit, which is a control circuit for controlling the real-time current outputted by the power supply circuit. When controlling the output current, it needs to receive the control of the circuit stability in the load circuit. The test current is an auxiliary circuit of the FPGA circuit, which is used to detect the current of the current source. The voltage control circuit adjusts the voltage according to the state of the current outputted by the current source. In the process of voltage adjustment, the purpose of the equivalent circuit is to adjust the voltage by equivalent comparison in the process of voltage adjustment.

[0107] The beneficial effect of the above technical solution is that the present invention can not only detect the current of the current source and determine the real-time current state, but also realize the regulation and control of the voltage according to the current state.

[0108] Embodiment 5:

[0109] As an embodiment of the present invention: the test circuit includes:

[0110] Detector: The detector is used to be electrically connected to the output end of the external power supply circuit and the battery power supply circuit to determine the real-time current;

[0111] Converter: The converter is connected in series with the detector and converts the real-time current into a sawtooth wave. The function of the sawtooth wave is to highlight the abnormal data of the current and the elegance. The characteristic of the sawtooth wave is that when an abnormal signal is encountered,

[0112] Error amplifier: the error amplifier is electrically connected to the output end of the converter and amplifies the sawtooth wave;

[0113] Sawtooth wave comparator: The first output terminal of the sawtooth wave comparator is electrically connected to the error amplifier, and the second input terminal of the sawtooth wave comparator is electrically connected to the sawtooth wave reference signal terminal on the FPGA circuit.

[0114] The principle of the above technical solution is that: when detecting the current, the test circuit of the present invention first detects and determines the real-time current based on a detector. After the real-time current is determined, the waveform is converted through the converter and the detector to convert the waveform of the real-time current into a sawtooth wave. The purpose of this conversion is to achieve accurate judgment of the current stability. After the current sawtooth wave is amplified, the present invention will also compare the sawtooth wave of the real-time current with the sawtooth wave of the reference signal to determine the amplified current error, thereby determining the current state.

[0115] The beneficial effect of the above technical solution is that the present invention can amplify the current, convert the waveform of the current into a sawtooth wave, and realize accurate calculation of the current error by amplifying the sawtooth wave.

[0116] Embodiment 6:

[0117] As an embodiment of the present invention: the circuit further includes:

[0118] Input rectifier and filter circuit: The input rectifier and filter circuit is electrically connected to the input end of the battery power supply circuit; the rectifier circuit and the filter circuit have different functions. The function of the rectifier circuit is to convert the sinusoidal AC voltage into a unidirectional pulsating voltage, while the function of the filter circuit is to convert the unidirectional pulsating voltage into a DC voltage. Therefore, the rectifier and filter circuit actually outputs a DC voltage.

[0119] Current sampling resistor: The first current sampling resistor is electrically connected to the output end of the external power supply circuit and the battery power supply circuit; wherein,

[0120] The current sampling resistor includes a first output terminal, a second output terminal and a third output terminal;

[0121] The first output terminal is used to output a first sampling current when the main MOS switch tube is turned on;

[0122] The second output terminal is used to output a second sampling current when the auxiliary MOS switch tube is turned on;

[0123] The third output end is used to be connected in parallel with the first output end or the second output end according to the turned-on power supply when the forced MOS switch tube is turned on.

[0124] The principle of the above technical solution is that when the present invention controls the external power supply, it is necessary to judge the power status of the external power supply circuit and the battery circuit. In the process of judging the power status, the present invention collects circuit signals by sampling, and then determines the current status after judging the collected circuit signals.

[0125] The beneficial effect of the above technical solution is that the present invention can realize the control of the current sampling signal, realize the judgment of the current state, and control the external power supply circuit and the battery circuit.

[0126] Embodiment 7:

[0127] As an embodiment of the present invention: the circuit further includes:

[0128] Multi-channel controller: the multi-channel controller is electrically connected to the FPGA circuit, and the multi-channel controller is electrically connected to a load device connected to the output end of the external power supply circuit / battery power supply circuit;

[0129] Digital-to-analog converter: The digital-to-analog converter is used to be electrically connected to the multi-channel controller and generate a digital signal;

[0130] Output-input buffer: The output-input buffer is electrically connected to the digital-to-analog converter and stores the digital signal.

[0131] The principle of the above technical solution is that: the present invention has multi-channel control, the function of this multi-channel controller is to realize the control of the load device, the purpose of digital-to-analog conversion is to convert the digital signal and electrical signal of the load device into a digital signal, and the output buffer stores all the digital signals in the current regulation process.

[0132] The beneficial effect of the above technical solution is that the present invention can achieve stable regulation of the circuit. The present invention receives the signal of the load device through multi-channel control, and then controls the load device based on the output of the circuit.

[0133] Embodiment 8:

[0134] As an embodiment of the present invention: the circuit further includes:

[0135] Switching quantity input device: The switching quantity input device is used to receive input instructions from the user and generate switching quantity signals;

[0136] DSP identifier: the DSP identifier is used to be electrically connected to the switch input device and generate a power control signal;

[0137] Communicator: The communicator is electrically connected to the DSP identifier and receives real-time control instructions;

[0138] Leakage detector: The leakage detector is electrically connected to the external power supply circuit and the battery power supply circuit, and determines whether leakage occurs in the external power supply circuit and the battery power supply circuit;

[0139] Phase loss detector: The phase loss detector is electrically connected to the external power supply and determines whether the external power supply has a phase loss.

[0140] The principle of the above technical solution is that in addition to controlling the circuit, the present invention also performs circuit detection. In the present invention, the present invention continues circuit detection by performing leakage and phase loss detection based on switch quantity, thereby determining whether the circuit is faulty.

[0141] The beneficial effect of the above technical solution is that the present invention can realize real-time detection of the circuit and determine whether the circuit has leakage and phase loss.

[0142] Embodiment 9:

[0143] As an embodiment of the present invention: the power supply controller is also connected to a main controller, and the main controller is used for circuit detection and power supply control; wherein,

[0144] The circuit detection includes: leakage detection, phase loss detection, overcurrent detection, overvoltage detection and undervoltage detection;

[0145] The power supply control includes: external power supply, battery power supply and switching power supply.

[0146] The principle of the above technical solution is that: in terms of circuit detection, the present invention includes multiple circuit detection methods such as leakage detection, phase loss detection, overcurrent detection, overvoltage detection and undervoltage detection, and also has three methods of circuit power supply during the power supply process: external power supply, battery power supply and switching power supply.

[0147] The beneficial effects of the above technical solution are: the present invention can realize real-time detection of the circuit, and the present invention can also realize efficient air control and circuit switching during the power supply process.

[0148] Embodiment 10:

[0149] As an embodiment of the present invention: the main controller performs circuit detection and power supply control including the following steps:

[0150] The power supply control includes:

[0151] Step 1: according to the power start signal input by the user, determine whether the external power supply circuit is connected. When the external power supply is connected, control the main MOS switch tube to be turned on, and send a power supply instruction to the external power supply, so that the external power supply circuit supplies power to the load device; when the external power supply is not connected, control the auxiliary MOS switch tube to be turned on, and send a power supply instruction to the battery power supply circuit, so that the battery circuit supplies power to the load device;

[0152] Step 2: Detect the circuit states of the external power supply circuit and the battery power supply circuit, and when the external power supply circuit is powered off, control the forced MOS switch tube, and send a power supply instruction to the battery power supply circuit, so that the battery circuit supplies power to the load device; when the battery circuit is powered off, control the forced MOS switch tube, and send a power supply instruction to the external power supply circuit, so that the external power supply circuit supplies power to the load device;

[0153] The circuit detection includes:

[0154] Step 1: Data acquisition, obtaining real-time current and real-time voltage;

[0155] Step 2: digitally filter the real-time current, calculate the power factor, and perform leakage detection and phase loss detection according to the power factor;

[0156] Step 3: Obtain a first detection result, and determine whether to perform power switching according to the first detection result;

[0157] Step 4: Perform overvoltage detection and undervoltage detection according to the first detection result to determine whether to perform power switching;

[0158] Step 5: Generate circuit data according to the power switching result.

[0159] The principle of the above technical solution is that the present invention is mainly powered by two ways, external circuit power supply and battery power supply, during the process of circuit control, so as to ensure that the circuit can achieve efficient circuit switching. In terms of circuit detection, the present invention is based on real-time current and real-time voltage, and uses the power factor calculation of digital filtering to determine whether there is a phase loss and leakage through the power factor. In the case of a phase loss and leakage, another circuit is switched to supply power. Finally, based on the detection result of the first circuit detection, it is determined to perform overvoltage and undervoltage detection. Only when there is no overvoltage or undervoltage, can the power supply be switched.

[0160] The beneficial effect of the above technical solution is that the present invention can not only actively switch and automatically switch the circuit in terms of circuit power supply control and circuit detection, but also detect circuit phase loss leakage, undervoltage and overvoltage.

[0161] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A power supply control circuit based on a MOS switch circuit component, comprising a digital switch and an external power supply circuit and a battery power supply circuit connected to the digital switch, characterized in that: include: Main MOS switch tube: the main MOS switch tube is electrically connected to the digital switch and is used to control the on and off of the external power supply circuit; Auxiliary MOS switch tube: the auxiliary MOS switch tube is electrically connected to the digital switch and is used to control the on and off of the battery power supply circuit when the external power supply circuit is short-circuited; Forced MOS switch tube: the forced MOS switch tube is electrically connected to the digital switch and controls the forced on and off of the external power supply circuit and the battery power supply circuit; Power supply controller: the power supply controller is used to be electrically connected to the main MOS switch tube, the auxiliary MOS switch tube and the forced MOS switch tube, and to control the conduction and cutoff of the main MOS switch tube, the auxiliary MOS switch tube and the forced MOS switch tube; The circuit further comprises: Inverter: the inverter output end is electrically connected to the main MOS switch tube, the auxiliary MOS switch tube and the forced MOS switch tube respectively, and receives the level signal of the inverter; Driving current regulator: the driving current regulator is connected in parallel with the inverter and receives the current signal of the current source; FPGA circuit: the FPGA circuit is electrically connected to the current source and controls the real-time current output by the current source; Test circuit: the test circuit is electrically connected to the FPGA circuit and is used to detect the real-time current and determine the real-time current state; Voltage control circuit: The voltage control circuit is electrically connected to the FPGA circuit and the test circuit, and is used to control the output voltage of the external power supply circuit and the battery power supply circuit according to the real-time current state; wherein, The voltage control circuit is composed of a voltage regulator and an equivalent circuit; Timing output circuit: The timing output circuit is used to receive an external input signal and control the digital switch to generate a digital switching signal.

2. A power control circuit based on a MOS switch circuit component as claimed in claim 1, characterized in that: The circuit further comprises: When the main MOS switch tube is in the on state, the auxiliary MOS switch tube and the forced MOS switch tube are in the off state; When the auxiliary MOS switch tube is in the on state, the main MOS switch tube and the forced MOS switch tube are in the off state; When the forced MOS switch tube is in the on state, the auxiliary MOS switch tube and the main MOS switch tube are in the off state.

3. A power control circuit based on a MOS switch circuit component as claimed in claim 1, characterized in that: The test circuit comprises: Detector: The detector is used to be electrically connected to the output end of the external power supply circuit and the battery power supply circuit to determine the real-time current; Converter: The converter is connected in series with the detector and converts the real-time current into a sawtooth wave; Error amplifier: the error amplifier is electrically connected to the output end of the converter and amplifies the sawtooth wave; Sawtooth wave comparator: The first input terminal of the sawtooth wave comparator is electrically connected to the error amplifier, and the second input terminal of the sawtooth wave comparator is electrically connected to the sawtooth wave reference signal terminal on the FPGA circuit.

4. A power control circuit based on a MOS switch circuit component as claimed in claim 1, characterized in that: The circuit further comprises: Input rectifier and filter circuit: the input rectifier and filter circuit is electrically connected to the input end of the battery power supply circuit; Current sampling resistor: The current sampling resistor is electrically connected to the output end of the external power supply circuit and the battery power supply circuit; wherein, The current sampling resistor includes a first output terminal, a second output terminal and a third output terminal; The first output terminal is used to output a first sampling current when the main MOS switch tube is turned on; The second output terminal is used to output a second sampling current when the auxiliary MOS switch tube is turned on; The third output end is used to be connected in parallel with the first output end or the second output end according to the turned-on power supply when the forced MOS switch tube is turned on.

5. A power control circuit based on a MOS switch circuit component as claimed in claim 1, characterized in that: The circuit further comprises: Multi-channel controller: the multi-channel controller is electrically connected to the FPGA circuit, and the multi-channel controller is electrically connected to a load device connected to the output end of the external power supply circuit and the battery power supply circuit; Digital-to-analog converter: The digital-to-analog converter is used to be electrically connected to the multi-channel controller and generate a digital signal; Output-input buffer: The output-input buffer is electrically connected to the digital-to-analog converter and stores the digital signal.

6. A power control circuit based on a MOS switch circuit component as claimed in claim 1, characterized in that: The circuit further comprises: Switching quantity input device: The switching quantity input device is used to receive input instructions from the user and generate switching quantity signals; DSP identifier: the DSP identifier is used to be electrically connected to the switch input device and generate a power control signal; Communicator: The communicator is electrically connected to the DSP identifier and receives real-time control instructions; Leakage detector: The leakage detector is electrically connected to the external power supply circuit and the battery power supply circuit, and determines whether leakage occurs in the external power supply circuit and the battery power supply circuit; Phase loss detector: The phase loss detector is electrically connected to the external power supply circuit and determines whether the external power supply circuit has a phase loss.

7. A power control circuit based on a MOS switch circuit component as claimed in claim 1, characterized in that: The power supply controller is also connected to a main controller, which is used for circuit detection and power supply control; wherein, The circuit detection includes: leakage detection, phase loss detection, overcurrent detection, overvoltage detection and undervoltage detection; The power supply control includes: external power supply, battery power supply and switching power supply.

8. A power control circuit based on a MOS switch circuit component as claimed in claim 7, characterized in that: The main controller performs circuit detection and power supply control including the following steps: The power supply control includes: Step 1: according to the power start signal input by the user, determine whether the external power supply circuit is connected. When the external power supply circuit is connected, control the main MOS switch tube to be turned on, and send a power supply instruction to the external power supply circuit, so that the external power supply circuit supplies power to the load device; when the external power supply circuit is not connected, control the auxiliary MOS switch tube to be turned on, and send a power supply instruction to the battery power supply circuit, so that the battery circuit supplies power to the load device; Step 2: Detect the circuit states of the external power supply circuit and the battery power supply circuit, and when the external power supply circuit is powered off, control the forced MOS switch tube, and send a power supply instruction to the battery power supply circuit, so that the battery circuit supplies power to the load device; when the battery circuit is powered off, control the forced MOS switch tube, and send a power supply instruction to the external power supply circuit, so that the external power supply circuit supplies power to the load device; The circuit detection includes: Step 1: Data acquisition, obtaining real-time current and real-time voltage; Step 2: digitally filter the real-time current, calculate the power factor, and perform leakage detection and phase loss detection according to the power factor; Step 3: Obtain a first detection result, and determine whether to perform power switching according to the first detection result; Step 4: Perform overvoltage detection and undervoltage detection according to the first detection result to determine whether to perform power switching; Step 5: Generate circuit data according to the power switching result.

Citation Information

Patent Citations

  • Switch circuit and switch control method of battery and external power supply

    CN101179205A

  • Commutation circuit of external power supply and battery and control method thereof

    CN101447691A

  • Universal power state monitoring system and monitoring method thereof

    CN106772120A

  • Power supply apparatus capable of switching between commercial power and fuel cell

    CN202363963U

  • Emergency energy storage device and household appliance

    CN213027534U