CN113992002A - Constant-current protection circuit and method, power supply and electronic equipment - Google Patents

Constant-current protection circuit and method, power supply and electronic equipment Download PDF

Info

Publication number
CN113992002A
CN113992002A CN202011605872.2A CN202011605872A CN113992002A CN 113992002 A CN113992002 A CN 113992002A CN 202011605872 A CN202011605872 A CN 202011605872A CN 113992002 A CN113992002 A CN 113992002A
Authority
CN
China
Prior art keywords
resistor
power supply
output
triode
microprocessor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011605872.2A
Other languages
Chinese (zh)
Inventor
田宝军
安飞虎
李欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen F&r Technologies Co ltd
Original Assignee
Shenzhen F&r Technologies Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen F&r Technologies Co ltd filed Critical Shenzhen F&r Technologies Co ltd
Priority to CN202011605872.2A priority Critical patent/CN113992002A/en
Publication of CN113992002A publication Critical patent/CN113992002A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M3/00Conversion of dc power input into dc power output
    • H02M3/02Conversion of dc power input into dc power output without intermediate conversion into ac
    • H02M3/04Conversion of dc power input into dc power output without intermediate conversion into ac by static converters
    • H02M3/10Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M3/145Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M3/155Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
    • H02M3/156Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/10Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for converters; for rectifiers
    • H02H7/12Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for converters; for rectifiers for static converters or rectifiers
    • H02H7/1213Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for converters; for rectifiers for static converters or rectifiers for DC-DC converters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • H02M1/08Circuits specially adapted for the generation of control voltages for semiconductor devices incorporated in static converters

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Emergency Protection Circuit Devices (AREA)

Abstract

The invention discloses a constant-current protection circuit, a constant-current protection method, a power supply and electronic equipment, and belongs to the field of circuits. The constant-current protection circuit comprises a microprocessor, a driving module, a control switch, a filtering module, a voltage detection module and a current sampling module, wherein the driving module is connected with the microprocessor, the control switch is connected with the driving module, the filtering module is connected with the control switch, and the voltage detection module is respectively connected with the filtering module and the microprocessor; the voltage detection module is used for detecting the output voltage of the power supply, the microprocessor is used for determining whether to output a control signal for turning off the control switch according to the abnormal condition of the output voltage, the driving module is used for changing the output signal of the control switch according to the control signal, and the control switch controls the power supply state of the power supply to the load according to the output signal. The constant-current protection circuit can detect overload of a load and adopt corresponding protection measures, so that the working safety of the circuit is improved.

Description

Constant-current protection circuit and method, power supply and electronic equipment
Technical Field
The invention relates to the field of circuits, in particular to a constant-current protection circuit, a constant-current protection method, a power supply and electronic equipment.
Background
For a direct current load device needing constant current operation, such as: the water sterilizing machine, the water electrolyzing machine, the fruit and vegetable cleaning machine, etc. usually adopt to change the on-off duty ratio of the MOS tube to adjust the output current to achieve the purpose of load constant current, but when the load is overloaded or has an unexpected short circuit, the current flowing through the sampling resistor and the MOS switch tube may be very large, the traditional load over-current detection method has the defects of long detection time consumption and slow response to the load heavy current (because the load current is normal fluctuation and is influenced by the continuous fine adjustment of the PWM duty ratio, the fluctuation and disorder of the load current are more serious than the load voltage, the load current needs dozens of times of repeated sampling and comparison of the magnitude value, the average value, etc. to perform a series of digital filtering and misjudgment prevention operation processing), so the MOS switch tube is easy to be burnt out, and even the sampling resistor, the microprocessor, etc. are burnt out, and the product quality problem is caused. If the sampling resistor burns out before the MOS tube and presents an internal short circuit when the load is heavily overloaded or accidentally short-circuited, the microprocessor can mistakenly judge that the PWM duty ratio of the driving MOS tube is continuously increased because the driven PWM duty ratio is not large enough because no voltage drop exists at the two ends of the sampling resistor, and the MOS tube can be quickly burnt out; if the damage of the sampling resistor is an internal open circuit, the output voltage of the MOS tube is completely applied to the I/O port of the microprocessor due to the open circuit of the sampling resistor, and the microprocessor is possibly damaged by overvoltage, so that product faults are caused. Therefore, how to detect the overload of the load in the circuit and take corresponding protection measures becomes a problem to be solved urgently.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a constant-current protection circuit which can detect overload of a load and adopt corresponding protection measures to improve the working safety of the circuit.
The invention also provides a constant current protection method with the constant current protection circuit.
The invention also provides a power supply with the constant-current protection circuit.
The invention also provides electronic equipment with the power supply.
A microprocessor;
the driving module is connected with the microprocessor;
the control switch is connected with the driving module;
the filtering module is connected with the control switch and is used for filtering an output signal output by the control switch;
the voltage detection module is respectively connected with the output end of the filtering module and the microprocessor;
the voltage detection module is used for detecting the output voltage of the power supply, the microprocessor is used for determining whether to output a control signal for turning off the control switch according to the abnormal condition of the output voltage, the drive module is used for changing the output signal of the control switch according to the control signal, and the control switch controls the power supply state of the power supply to the load according to the output signal.
The constant-current protection circuit provided by the embodiment of the invention at least has the following beneficial effects: the microprocessor of the constant-current protection circuit can judge whether the load overload occurs or not by detecting the output voltage of the MOS tube when the MOS tube reaches the set load current, judges the load overload according to the output voltage and outputs a control signal to turn off the output of the MOS tube, so that the working safety of the circuit is improved. The microprocessor also adjusts the duty ratio of the control signal in due time according to the sampling value of the load current, and the driving module can change the output signal output by the control switch according to the control signal so as to keep the load current constant.
According to some embodiments of the present invention, the control switch is an MOS transistor, a gate of the MOS transistor is connected to the driving module, a source of the MOS transistor is connected to the power supply, and a drain of the MOS transistor is connected to the input terminal of the filtering module.
According to some embodiments of the invention, the constant current protection circuit comprises:
the current sampling module is connected with the microprocessor and used for collecting the output current of the power supply and outputting the output current to the microprocessor for detection, and the microprocessor is used for outputting a control signal according to the output current so as to keep the output current of the control switch constant.
According to some embodiments of the present invention, the driving module includes a first transistor, a first resistor, a second transistor, a third transistor, a second resistor, a third resistor, an eighth resistor, and a fourth capacitor;
the first end of the fourth capacitor is connected with the power supply, and the second end of the fourth capacitor is grounded;
and the first end of the eighth resistor is connected with the microprocessor, and the second end of the eighth resistor is connected with the base electrode of the first triode.
The base electrode of the first triode is connected with the second end of the eighth resistor, the collector electrode of the first triode is respectively connected with the second end of the first resistor, the base electrode of the second triode and the base electrode of the third triode, and the emitting electrode of the first triode is grounded;
the first end of the first resistor is respectively connected with the power supply and the source electrode of the MOS tube, and the second end of the first resistor is connected with the collector electrode of the first triode;
a base electrode of the second triode is respectively connected with a second end of the first resistor and a collector electrode of the first triode, a collector electrode of the second triode is respectively connected with a source electrode of the MOS tube, the power supply and a first end of the third resistor, and an emitter electrode of the second triode is respectively connected with a grid electrode of the MOS tube, a second end of the third resistor and a first end of the second resistor;
the base electrode of the third triode is respectively connected with the collector electrode of the first triode, the base electrode of the second triode and the second end of the first resistor, the emitting electrode of the third triode is connected with the second end of the second resistor, and the collector electrode of the third triode is grounded;
the first end of the second resistor is respectively connected with the grid electrode of the MOS tube and the emitting electrode of the second triode, and the second end of the second resistor is connected with the emitting electrode of the third triode;
the first end of the third resistor is connected with the source electrode of the MOS tube, and the second end of the third resistor is connected with the grid electrode of the MOS tube.
According to some embodiments of the invention, the voltage detection module comprises a first zener diode, a fourth resistor, a fifth resistor, a first capacitor;
the cathode of the first voltage stabilizing diode is connected with the microprocessor, and the anode of the first voltage stabilizing diode is grounded;
a first end of the fourth resistor is connected with a cathode of the first voltage stabilizing diode, and a second end of the fourth resistor is respectively connected with an anode of the first voltage stabilizing diode and the ground;
a first end of the fifth resistor is connected with an output end of the filtering module, and a second end of the fifth resistor is connected with a first end of the fourth resistor;
the first end of the first capacitor is connected with the cathode of the first voltage stabilizing diode, the first end of the fourth resistor and the second end of the fifth resistor respectively, and the second end of the first capacitor is connected with the anode of the first voltage stabilizing diode, the second end of the fourth resistor and the ground respectively.
According to some embodiments of the invention, the filtering module comprises a second diode, a second capacitor and an inductor;
the cathode of the second diode is connected with the drain electrode of the MOS tube, and the anode of the second diode is grounded;
the first end of the second capacitor is respectively connected with the second end of the inductor and the voltage detection module, and the second end of the second capacitor is respectively connected with the anode of the second diode and the ground;
the first end of the inductor is connected with the drain electrode of the MOS tube and the cathode of the second diode respectively, and the second end of the inductor is connected with the voltage detection module and the first end of the second capacitor respectively.
According to some embodiments of the invention, the current sampling module comprises a third capacitor, a sixth resistor, a seventh resistor, and a third diode;
the first end of the third capacitor is connected with the microprocessor, and the second end of the third capacitor is grounded;
a first end of the sixth resistor is respectively connected with a second end of the seventh resistor and an anode of the third diode, and a second end of the sixth resistor is respectively connected with a second end of the third capacitor, a cathode of the third diode and the ground;
a first end of the seventh resistor is connected with a first end of the third capacitor and the microprocessor respectively, and a second end of the seventh resistor is connected with a first end of the sixth resistor and an anode of the third diode respectively;
and the anode of the third diode is respectively connected with the first end of the sixth resistor and the second end of the seventh resistor, and the cathode of the third diode is respectively connected with the second end of the sixth resistor and the ground.
The constant current protection method according to the second aspect of the embodiment of the invention comprises the following steps:
acquiring the output current of a power supply;
according to the output current, the microprocessor outputs a first control signal;
acquiring the output voltage of a power supply according to the first control signal;
according to the output voltage, the microprocessor outputs a second control signal;
and the driving module changes an output signal output by the control switch according to the second control signal.
The constant current protection method provided by the embodiment of the invention at least has the following beneficial effects: according to the constant current protection method, in the process of constant current protection, the output current of a power supply is obtained, a microprocessor outputs a first control signal, the output voltage of the power supply is obtained according to the first control signal, the microprocessor outputs a second control signal to change the output of a control switch, and then the power supply condition of the power supply to a load is cut off, specifically, the microprocessor outputs a continuous low-level control signal to cut off the control switch, so that the power supply stops supplying power to the load, electronic elements are protected, and the working safety of the circuit is improved.
A power supply according to an embodiment of the third aspect of the invention comprises the constant current protection circuit as described in the first aspect.
The power supply provided by the embodiment of the invention has at least the following beneficial effects: the power supply adopts the constant-current protection circuit, the microprocessor of the constant-current protection circuit can judge whether the load overload occurs or not by detecting the output voltage of the MOS tube when the MOS tube reaches the set load current, the microprocessor judges the load overload according to the output voltage and outputs a control signal to turn off the output of the MOS tube, and the working safety of the circuit is improved. The microprocessor also adjusts the duty ratio of the control signal in due time according to the sampling value of the load current, and the driving module can change the output signal output by the control switch according to the control signal so as to keep the load current constant.
An electronic device according to an embodiment of the fourth aspect of the invention comprises a power supply as described in the third aspect.
According to the electronic equipment provided by the embodiment of the invention, at least the following beneficial effects are achieved: the electronic equipment adopts the power supply, the microprocessor of the constant-current protection circuit contained in the power supply detects the output voltage of the MOS tube when the MOS tube reaches the set load current, so that whether the load overload occurs can be judged, the microprocessor judges the load overload according to the output voltage and outputs a control signal to shut off the output of the MOS tube, and the working safety of the circuit is improved. The microprocessor also adjusts the duty ratio of the control signal in due time according to the sampling value of the load current, and the driving module can change the output signal output by the control switch according to the control signal so as to keep the load current constant.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The invention is further described with reference to the following figures and examples, in which:
fig. 1 is a schematic block diagram of a constant current protection circuit according to an embodiment of the present invention;
fig. 2 is a circuit structure diagram of a constant current protection circuit according to another embodiment of the present invention;
fig. 3 is a flowchart of a constant current protection method according to another embodiment of the present invention.
Reference numerals: 110. a microprocessor; 120. a drive module; 130. a control switch; 140. a voltage detection module; 150. a filtering module; 160. a current sampling module; 170. and (4) loading.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it should be understood that the orientation or positional relationship referred to in the description of the orientation, such as the upper, lower, front, rear, left, right, etc., is based on the orientation or positional relationship shown in the drawings, and is only for convenience of description and simplification of description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
In the description of the present invention, the meaning of a plurality is one or more, the meaning of a plurality is two or more, and the above, below, exceeding, etc. are understood as excluding the present numbers, and the above, below, within, etc. are understood as including the present numbers. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless otherwise explicitly limited, terms such as arrangement, installation, connection and the like should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific contents of the technical solutions.
In the description of the present invention, reference to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In a first aspect, referring to fig. 1, the constant current protection circuit according to the embodiment of the present invention includes a microprocessor 110, a driving module 120, a control switch 130, a filtering module 150, a voltage detection module 140, and a current sampling module 160, where the driving module 120 is connected to the microprocessor 110, the control switch 130 is connected to the driving module 120, the filtering module 150 is connected to the control switch 130, and the filtering module 150 is configured to filter an output signal output by the control switch 130; the voltage detection module 140 is respectively connected with the output end of the filtering module 150 and the microprocessor 110; the voltage detection module 140 is configured to detect an output voltage of the control switch 130, the voltage detection module 140 is configured to detect an output voltage of the power supply, the microprocessor 110 is configured to determine whether to output a control signal for turning off the control switch 130 according to an abnormal condition of the output voltage, the driving module 120 is configured to change the output signal of the control switch 130 according to the control signal, and the control switch 130 controls a power supply state of the power supply to the load 170 according to the output signal. It should be noted that this output signal includes the on-off state of the control switch, and the control switch 130 controls the power supply state of the power supply to the load according to the output signal. In the working process of the circuit, in order to enable the power supply to supply a constant current to the load, the microprocessor 110 outputs a certain preset PWM signal to the driving module 120, so that the driving module 120 can control the control switch 130 to be turned on, and the on state of the control switch 130 is kept stable, and further the power supply can output a constant current to supply power to the load, at this time, the voltage detection module 140 can detect the output voltage of the control switch 130 in real time, the microprocessor 110 can determine whether to output a control signal for turning off the control switch 130 according to the abnormal condition of the output voltage, the driving module 120 can change the output signal of the control switch 130 according to the control signal, for example, when the voltage detection module 140 detects that the output voltage of the power supply is less than a preset voltage threshold, it indicates that the load is overloaded in the circuit, and therefore, the microprocessor 110 can output the control signal to the driving module 120, the control switch 130 is turned off by the driving module 120, so that the power supply stops supplying power to the outside, and electronic elements in the circuit are protected, thereby conveniently controlling the external power supply state of the power supply and improving the working safety of the circuit.
Referring to fig. 2, in some embodiments, the control switch 130 is a MOS transistor Q4, a gate of the MOS transistor Q4 is connected to the driving module 120, a source of the MOS transistor Q4 is connected to the power supply, a drain of the MOS transistor Q4 is connected to the input terminal of the filtering module 150, and the filtering module 150 is respectively connected to the load 170 and the voltage detection module 140. In order to make the power supply constant current to the load, when the output current of the power supply reaches the preset current threshold, the microprocessor 110 will output a certain preset PWM signal to the driving module 120, so that the driving module 120 can control the MOS transistor Q4 to be turned on, and the PWM duty ratio of the MOS transistor Q4 is no longer increased, at this time, the output current is also stabilized at a certain constant value, the circuit works normally, the power supply can output constant current to the load through the MOS transistor Q4, the voltage detection module 140 will detect the output voltage Vout of the MOS transistor Q4 in real time, the microprocessor 110 will determine whether to output a control signal for turning off the MOS transistor Q4 according to whether the output voltage Vout is abnormal, the driving module 120 can change the output of the MOS transistor Q4 according to the control signal, for example, when the voltage detection module 140 detects that the output voltage Vout of the power supply is less than the preset voltage threshold, it indicates that the load 170 is overloaded in the circuit, therefore, the microprocessor 110 outputs a control signal to the driving module 120, and the MOS transistor Q4 is turned off by the driving module 120, so that the power supply stops supplying power to the load 170, thereby avoiding overcurrent damage to the circuit devices when the load 170 is overloaded. Because the output voltage Vout of the MOS transistor Q4 is filtered by the filtering module 150, the ripple component is very small, the result can be quickly determined by a single sampling detection method, and the load current is affected by the fluctuation of the PWM duty cycle which is constantly adjusted in time and the capacity of the third capacitor C3 in the current sampling module 160 is too small (because of the requirement of quick response), the fluctuation disorder condition of the load current is much more serious than the output voltage, and a series of digital filtering and operation processes such as repeated sampling and comparison of magnitude and average value for tens of times are required to prevent misjudgment, so the load current detection speed is significantly slower than the output voltage Vout detection, the voltage detection module 140 can quickly detect the output voltage Vout, thereby determining whether a short circuit or overload of the load 170 occurs in the circuit, and the microprocessor 110 can quickly drive the MOS transistor Q4 to turn off, the MOS transistor Q4 stops supplying power to the load 170, and the response speed of the protection is obviously much faster than that of the current detection module 160, so that the power supply state of the power supply to the load 170 can be controlled quickly, and the working safety of the circuit is improved.
It should be noted that the MOS transistor Q4 may be a MOS transistor Q4 of NCE60P20K, and the MOS transistor Q4 of this type has a high voltage withstanding performance, and can improve the operation safety of the circuit, and in some other embodiments, a MOS transistor Q4 of another type may also be selected, but is not limited thereto.
Referring to fig. 2, in some embodiments, the driving module 120 includes a first transistor Q1, a first resistor R1, a second transistor Q2, a third transistor Q3, a second resistor R2, a third resistor R3, an eighth resistor R8, and a fourth capacitor C4, wherein a first end of the fourth capacitor C4 is connected to a power supply, and a second end of the fourth capacitor C4 is grounded; the second end of the eighth resistor R8 is connected with the base of the first triode Q1, the first end of the eighth resistor R8 is connected with the microprocessor 110, the base of the first triode Q1 is connected with the second end of the eighth resistor R8, the collector of the first triode Q1 is respectively connected with the second end of the first resistor R1, the base of the second triode Q2 and the base of the third triode Q3, and the emitter of the first triode Q1 is grounded; a first end of the first resistor R1 is respectively connected with a power supply and a source electrode of the MOS transistor Q4, and a second end of the first resistor R1 is connected with a collector electrode of the first triode Q1; the base electrode of the second triode Q1 is respectively connected with the second end of the first resistor R1 and the collector electrode of the first triode Q1, the collector electrode of the second triode Q2 is respectively connected with the source electrode of the MOS transistor Q4, the power supply and the first end of the third resistor R3, and the emitter electrode of the second triode Q2 is respectively connected with the gate electrode of the MOS transistor Q4, the second end of the third resistor R3 and the first end of the second resistor R2; the base electrode of the third triode Q3 is respectively connected with the collector electrode of the first triode Q1, the base electrode of the second triode Q2 and the second end of the first resistor R1, the emitter electrode of the third triode Q3 is connected with the second end of the second resistor R2, and the collector electrode of the third triode Q3 is grounded; a first end of the second resistor R2 is respectively connected with the gate of the MOS transistor Q4 and the emitter of the second triode Q2, and a second end of the second resistor R2 is connected with the emitter of the third triode Q3; a first end of the third resistor R3 is connected to the source of the MOS transistor Q4, and a second end of the third resistor R3 is connected to the gate of the MOS transistor Q4. In the working process of the circuit, the microprocessor 110 outputs a high-level PWM signal, the PWM signal drives the first transistor Q1 to be conducted through the eighth resistor R8, the third transistor Q3 is conducted after the first transistor Q1 is conducted, the second transistor Q2 is cut off because the base is in a low-level state, at this time, the gate of the MOS transistor Q4 is grounded after passing through the second resistor R2 and the third transistor Q3, and the MOS transistor Q4 is conducted; when the microprocessor 110 outputs the PWM signal of low level, the PWM signal passes through the eighth resistor R8 to turn off the first transistor Q1, the third transistor Q3 is turned off due to the high state of the base, the second transistor Q2 is forward biased to be turned on due to the base connected to the first resistor R1, and the MOS transistor Q4 is turned off due to the high state of the gate. This enables the MOS transistor Q4 to switch on and off according to the PWM signal output by the microprocessor 110, thereby controlling the power supply state of the power supply to the load.
It should be noted that, when the microprocessor 110 starts to work, the duty ratio of the PWM signal output by the microprocessor 110 is gradually decreased, so that the duty ratio of the MOS transistor Q4 is gradually increased, and thus, the output voltage Vout and the output current of the power supply for supplying power to the load are both increased accordingly, when the condition of constant current power supply is satisfied, the duty ratio of the PWM signal output by the microprocessor 110 is not changed any more, so that the output voltage Vout can be stabilized at a certain value, and only when the load changes, the duty ratio of the PWM signal output by the microprocessor 110 is changed accordingly to realize constant current control, so that the power supply can control the constant current output to supply power to the load through the MOS transistor Q4, thereby ensuring the normal work of the power supply. With the increase of the load (the resistance value is reduced), the output voltage is correspondingly reduced for the constant current, whether the load overload occurs or not can be judged by detecting the output voltage of the MOS tube and comparing the output voltage with the preset output voltage threshold value, the microprocessor judges the load abnormity according to the output voltage and outputs a control signal to turn off the output of the MOS tube, and the working safety of the circuit is improved.
In some embodiments, the first transistor Q1 and the second transistor Q2 may be NPN transistors of type 9014 or 2N5551, which have a good withstand voltage performance, and the third transistor Q3 may be a PNP transistor of type 9015 or 2N5401, which have a good withstand voltage performance, so as to improve the operating stability of the circuit. In some other embodiments, the first transistor Q1, the second transistor Q2, and the third transistor Q3 may be selected from other types, but are not limited thereto. The first resistor R1, the second resistor R2, the third resistor R3 and the eighth resistor R8 can be resistors 1/4W of 2.2K-4.7K, and the fourth capacitor C4 can be a 470uF electrolytic capacitor which is larger than the power supply voltage Vin by more than 10V.
Referring to fig. 2, in some embodiments, the voltage detection module 140 includes a first zener diode D1, a fourth resistor R4, a fifth resistor R5, and a first capacitor C1, wherein a cathode of the first zener diode D1 is connected to the microprocessor 110, and an anode of the first zener diode D1 is grounded; a first end of the fourth resistor R4 is connected to the cathode of the first zener diode D1, and a second end of the fourth resistor R4 is connected to the anode of the first zener diode D1 and the ground, respectively; a first end of the fifth resistor R5 is connected to the output end of the filtering module 150, and a second end of the fifth resistor R5 is connected to a first end of the fourth resistor R4; a first end of the first capacitor C1 is connected to the cathode of the first zener diode D1, a first end of the fourth resistor R4, and a second end of the fifth resistor R5, respectively, and a second end of the first capacitor C1 is connected to the anode of the first zener diode D1, a second end of the fourth resistor R4, and ground, respectively. It should be noted that the first zener diode D1 can perform overvoltage protection on the I/O port of the microprocessor 110, thereby improving the operational safety of the circuit. In the working process of the circuit, the output voltage Vout of the MOS transistor Q4 is divided by the fourth resistor R4 and the fifth resistor R5 and filtered by the first capacitor C1, and then is output to the port 2 of the microprocessor 110 for detection, when the output voltage Vout detected by the port 2 of the microprocessor 110 when reaching the preset limited PWM maximum duty cycle is smaller than the preset voltage threshold, it indicates that the circuit is overloaded, and at this time, the PWM port of the microprocessor 110 outputs a continuous low level signal to turn off the MOS transistor Q4, so that the power supply stops supplying power to the load, protect the electronic element, and improve the working safety of the circuit.
It should be noted that the first zener diode D1 may be a 0.5W 4.3V zener diode or a SMFJ5.0A TVS, which can protect the I/O port of the microprocessor 110 from overvoltage, or may be another type of diode, but is not limited thereto. The first capacitor C1 can select 1uF/50V, the resistance ratio of the fifth resistor R5 to the fourth resistor R4 can select 10:1, the fifth resistor R5 can select 5.1K-51K, and the fourth resistor R4 can select 510 omega-5.1K.
Referring to fig. 1, in some embodiments, in order to enable the power supply to stably supply power to the load, the constant current protection circuit further includes a filtering module 150, the filtering module 150 is connected to the control switch 130, and the filtering module 150 can perform smoothing filtering processing on an output signal of the control switch 130, so as to obtain a stable output voltage, implement power supply to the load, and ensure the operating stability of the circuit.
Referring to fig. 2, in some specific embodiments, in order to enable the power supply to stably supply power to the load, the filtering module 150 includes a second diode D2, a second capacitor C2, and an inductor L, a cathode of the second diode D2 is connected to the drain of the MOS transistor Q4, an anode of the second diode D2 is grounded, a first end of the second capacitor C2 is connected to the second end of the inductor L and the voltage detection module 140, and a second end of the second capacitor C2 is connected to the anode of the second diode D2 and the ground; a first end of the inductor L is connected to the drain of the MOS transistor Q4 and the cathode of the second diode D2, respectively, and a second end of the inductor L is connected to the voltage detection module 140 and the first end of the second capacitor C2, respectively. Therefore, the voltage output by the MOS tube Q4 can be filtered to be changed into smooth direct current output voltage, so that power is stably supplied to the load, and the working stability of the circuit is ensured.
It should be noted that, the second diode D2 may be a schottky diode of a type SS56, etc., which has a better voltage withstanding performance and can ensure the operation stability of the circuit, and in some other embodiments, a diode of another type may be selected as the second diode D2, but is not limited thereto. The inductor L can be a circular inductor with the inductance of 100uH and the withstand current larger than the maximum load current by more than 2A, and the second capacitor C2 is a 470uF electrolytic capacitor with the withstand voltage larger than the power supply voltage by more than 10V.
Referring to fig. 1, in some embodiments, the constant current protection circuit includes a current sampling module 160, the current sampling module 160 is connected to the microprocessor 110, and the current sampling module 160 is configured to collect an output current of the power supply and output the output current to the microprocessor 110 for detection. In order to ensure the constant current output of the power supply, the constant current protection circuit further comprises a current sampling module 160, the current sampling module 160 is connected with the microprocessor 110, the output current of the power supply can be conveniently sampled through the current sampling module 160, and whether the requirement of constant current output is met or not is judged according to the magnitude relation between the output current and a preset current threshold, so that the microprocessor 110 can output a PWM control signal with adjustable duty ratio to control the driving module 120 to change the on-off time duty ratio and the on-off state of the control switch 130, the power supply can continuously output the constant current to supply power for a load, and the working stability of the circuit is ensured.
Referring to fig. 2, in some embodiments, in order to ensure a constant current output of the power supply, the current sampling module 160 includes a third capacitor C3, a sixth resistor R6, a seventh resistor R7, and a third diode D3, a first end of the third capacitor C3 is connected to the microprocessor 110, and a second end of the third capacitor C3 is grounded; a first end of the sixth resistor R6 is connected to the second end of the seventh resistor R7 and the anode of the third diode D3, respectively, and a second end of the sixth resistor R6 is connected to the second end of the third capacitor C3, the cathode of the third diode D3, and the ground, respectively; a first end of the seventh resistor R7 is connected to the first end of the third capacitor C3 and the microprocessor 110, respectively, and a second end of the seventh resistor R7 is connected to the first end of the sixth resistor R6 and the anode of the third diode D3, respectively; an anode of the third diode D3 is connected to a first end of the sixth resistor R6 and a second end of the seventh resistor R7, a cathode of the third diode D3 is connected to a second end of the sixth resistor R6, a second end of the third capacitor C3 and ground, respectively, the sixth resistor R6 is a sampling resistor, the third diode D3 is a clamp diode, an output current of the power supply passes through two ends of the sampling resistor to generate a voltage waveform signal, the voltage waveform signal is filtered by the seventh resistor R7 and the third capacitor C3 and then output to the port 3 of the microprocessor 110 for current detection, when an output current value reaches a preset current threshold value, a duty ratio of a PWM signal output by the microprocessor 110 does not change any more, an output voltage Vout is stabilized at a certain value, the power supply can be performed with a constant current, and when the port 3 of the microprocessor 110 detects that voltages at two ends of the sampling resistor reach a clamp voltage value of the clamp diode, that is, the microprocessor 110 outputs a low-level signal to turn off the MOS transistor Q4, so that the power supply stops supplying power to the load, the electronic components are protected, and the working safety of the circuit is improved.
It should be noted that the third diode D3 is a power diode and can provide overcurrent protection for the sixth resistor R6, when the load current is abnormally excessive or short-circuited, so that the voltage drop across the sixth resistor rises to a value greater than the clamp voltage of the third diode D3, the load current will flow through the third diode D3, and the third diode D3 clamps the voltage to ground, which is sent to the microprocessor 110 by the current sampling module 160, to be less than 1V, so as to protect the microprocessor. The third diode D3 may be a diode of type 1N4007, or may be another diode, but is not limited thereto. The sixth resistor R6 responsible for sampling can select 0.1 omega, the power is not lower than 1W, the precision resistor or constantan wire with the precision of +/-1%, the seventh resistor R7 can select 1/4W resistor with the power of 1K-2.2K, the third capacitor C3 can select 100 pF/50V-470 pF/50V, the capacitance selection value cannot be too large, and the adjustment precision of the load constant current by PWM can not be influenced by the sensitive reaction of the fine change of the load current.
In a second aspect, referring to fig. 3, a constant current protection method according to an embodiment of the present invention includes:
s100, acquiring output current of a power supply;
s200, outputting a first control signal by the microprocessor according to the output current;
s300, acquiring the output voltage of the power supply according to the first control signal;
s400, outputting a second control signal by the microprocessor according to the output voltage;
and S500, the driving module changes the output signal output by the control switch according to the second control signal.
In the process of constant current protection, obtaining output current of a power supply, comparing the magnitude relation between the output current and a preset current threshold value, when the output current reaches the preset current threshold value, the fact that the output of the power supply meets the requirement of constant current power supply for a load is indicated, at the moment, a microprocessor outputs a first control signal, controls a driving module to enable the conduction duty ratio of a control switch to be in a certain value, the output voltage of the power supply is stabilized at a certain value, for constant current, the larger the load is (the smaller the resistance value is), the lower the output voltage is, the output voltage of the power supply is obtained, real-time detection is carried out on the output voltage, and whether the load is overloaded or not can be judged by comparing the magnitude relation between the output voltage and the preset voltage threshold value. It should be noted that the preset voltage threshold is also a corresponding normal output voltage value, when it is detected that the output voltage is smaller than the preset voltage threshold or the corresponding normal output voltage value, that is, it indicates that the circuit is overloaded, the microprocessor outputs the second control signal to change the output of the control switch, and then turns off the power supply to the load, specifically, the microprocessor outputs the control signal with a continuous low level to turn off the control switch, so that the power supply stops supplying power to the load, protects the electronic component, and improves the working safety of the circuit.
In a third aspect, a power supply according to an embodiment of the present invention includes a constant current protection circuit according to an embodiment of the first aspect.
The power supply provided by the embodiment of the invention has at least the following beneficial effects: the power supply adopts the constant-current protection circuit, the microprocessor of the constant-current protection circuit can judge whether the load overload occurs or not by detecting the output voltage of the MOS tube when the MOS tube reaches the set load current, the microprocessor judges the load overload according to the output voltage and outputs a control signal to turn off the output of the MOS tube, and the working safety of the circuit is improved. The microprocessor also adjusts the duty ratio of the control signal in due time according to the sampling value of the load current, and the driving module can change the output signal output by the control switch according to the control signal so as to keep the load current constant.
In a fourth aspect, an electronic device of an embodiment of the invention includes a power supply as in the embodiment of the third aspect.
According to the electronic equipment provided by the embodiment of the invention, at least the following beneficial effects are achieved: the electronic equipment adopts the power supply, the microprocessor of the constant-current protection circuit contained in the power supply detects the output voltage of the MOS tube when the MOS tube reaches the set load current, so that whether the load overload occurs can be judged, the microprocessor judges the load overload according to the output voltage and outputs a control signal to shut off the output of the MOS tube, and the working safety of the circuit is improved. The microprocessor also adjusts the duty ratio of the control signal in due time according to the sampling value of the load current, and the driving module can change the output signal output by the control switch according to the control signal so as to keep the load current constant.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention. Furthermore, the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict.

Claims (10)

1. The constant current protection circuit is characterized by comprising:
a microprocessor;
the driving module is connected with the microprocessor;
the control switch is connected with the driving module;
the filtering module is connected with the control switch and is used for filtering an output signal output by the control switch;
the voltage detection module is respectively connected with the output end of the filtering module and the microprocessor;
the voltage detection module is used for detecting the output voltage of the power supply, the microprocessor is used for determining whether to output a control signal for turning off the control switch according to the abnormal condition of the output voltage, the drive module is used for changing the output signal of the control switch according to the control signal, and the control switch controls the power supply state of the power supply to the load according to the output signal.
2. The constant-current protection circuit according to claim 1, wherein the control switch is an MOS transistor, a gate of the MOS transistor is connected to the driving module, a source of the MOS transistor is connected to the power supply, and a drain of the MOS transistor is connected to the input terminal of the filtering module.
3. The constant-current protection circuit according to claim 2, wherein the constant-current protection circuit comprises:
the current sampling module is connected with the microprocessor and used for collecting the output current of the power supply and outputting the output current to the microprocessor for detection, and the microprocessor is used for outputting a control signal according to the output current so as to keep the output current of the control switch constant.
4. The constant current protection circuit according to claim 3, wherein the driving module comprises a first triode, a first resistor, a second triode, a third triode, a second resistor, a third resistor, an eighth resistor and a fourth capacitor;
the first end of the fourth capacitor is connected with the power supply, and the second end of the fourth capacitor is grounded;
and the first end of the eighth resistor is connected with the microprocessor, and the second end of the eighth resistor is connected with the base electrode of the first triode.
The base electrode of the first triode is connected with the second end of the eighth resistor, the collector electrode of the first triode is respectively connected with the second end of the first resistor, the base electrode of the second triode and the base electrode of the third triode, and the emitting electrode of the first triode is grounded;
the first end of the first resistor is respectively connected with the power supply and the source electrode of the MOS tube, and the second end of the first resistor is connected with the collector electrode of the first triode;
a base electrode of the second triode is respectively connected with a second end of the first resistor and a collector electrode of the first triode, a collector electrode of the second triode is respectively connected with a source electrode of the MOS tube, the power supply and a first end of the third resistor, and an emitter electrode of the second triode is respectively connected with a grid electrode of the MOS tube, a second end of the third resistor and a first end of the second resistor;
the base electrode of the third triode is respectively connected with the collector electrode of the first triode, the base electrode of the second triode and the second end of the first resistor, the emitting electrode of the third triode is connected with the second end of the second resistor, and the collector electrode of the third triode is grounded;
the first end of the second resistor is respectively connected with the grid electrode of the MOS tube and the emitting electrode of the second triode, and the second end of the second resistor is connected with the emitting electrode of the third triode;
the first end of the third resistor is connected with the source electrode of the MOS tube, and the second end of the third resistor is connected with the grid electrode of the MOS tube.
5. The constant-current protection circuit according to claim 4, wherein the voltage detection module comprises a first voltage regulator diode, a fourth resistor, a fifth resistor, a first capacitor;
the cathode of the first voltage stabilizing diode is connected with the microprocessor, and the anode of the first voltage stabilizing diode is grounded;
a first end of the fourth resistor is connected with a cathode of the first voltage stabilizing diode, and a second end of the fourth resistor is respectively connected with an anode of the first voltage stabilizing diode and the ground;
a first end of the fifth resistor is connected with an output end of the filtering module, and a second end of the fifth resistor is connected with a first end of the fourth resistor;
the first end of the first capacitor is connected with the cathode of the first voltage stabilizing diode, the first end of the fourth resistor and the second end of the fifth resistor respectively, and the second end of the first capacitor is connected with the anode of the first voltage stabilizing diode, the second end of the fourth resistor and the ground respectively.
6. The constant current protection circuit according to claim 5, wherein the filter module comprises a second diode, a second capacitor and an inductor;
the cathode of the second diode is connected with the drain electrode of the MOS tube, and the anode of the second diode is grounded;
the first end of the second capacitor is respectively connected with the second end of the inductor and the voltage detection module, and the second end of the second capacitor is respectively connected with the anode of the second diode and the ground;
the first end of the inductor is connected with the drain electrode of the MOS tube and the cathode of the second diode respectively, and the second end of the inductor is connected with the voltage detection module and the first end of the second capacitor respectively.
7. The constant-current protection circuit according to claim 6, wherein the current sampling module comprises a third capacitor, a sixth resistor, a seventh resistor and a third diode;
the first end of the third capacitor is connected with the microprocessor, and the second end of the third capacitor is grounded;
a first end of the sixth resistor is respectively connected with a second end of the seventh resistor and an anode of the third diode, and a second end of the sixth resistor is respectively connected with a second end of the third capacitor, a cathode of the third diode and the ground;
a first end of the seventh resistor is connected with a first end of the third capacitor and the microprocessor respectively, and a second end of the seventh resistor is connected with a first end of the sixth resistor and an anode of the third diode respectively;
and the anode of the third diode is respectively connected with the first end of the sixth resistor and the second end of the seventh resistor, and the cathode of the third diode is respectively connected with the second end of the sixth resistor and the ground.
8. The constant current protection method is characterized by comprising the following steps:
acquiring the output current of a power supply;
according to the output current, the microprocessor outputs a first control signal;
acquiring the output voltage of a power supply according to the first control signal;
according to the output voltage, the microprocessor outputs a second control signal;
and the driving module changes an output signal output by the control switch according to the second control signal.
9. A power supply comprising the constant current protection circuit according to any one of claims 1 to 7.
10. An electronic device comprising the power supply of claim 9.
CN202011605872.2A 2020-12-30 2020-12-30 Constant-current protection circuit and method, power supply and electronic equipment Pending CN113992002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011605872.2A CN113992002A (en) 2020-12-30 2020-12-30 Constant-current protection circuit and method, power supply and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011605872.2A CN113992002A (en) 2020-12-30 2020-12-30 Constant-current protection circuit and method, power supply and electronic equipment

Publications (1)

Publication Number Publication Date
CN113992002A true CN113992002A (en) 2022-01-28

Family

ID=79731651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011605872.2A Pending CN113992002A (en) 2020-12-30 2020-12-30 Constant-current protection circuit and method, power supply and electronic equipment

Country Status (1)

Country Link
CN (1) CN113992002A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015018093A1 (en) * 2013-08-09 2015-02-12 吉瑞高新科技股份有限公司 Charger with overvoltage and overcurrent protection and protection method therefor
CN106535390A (en) * 2016-10-09 2017-03-22 深圳创维-Rgb电子有限公司 Constant current driving power supply and display equipment
CN206225983U (en) * 2016-11-07 2017-06-06 广东美的制冷设备有限公司 Over-voltage over-current protection circuit
CN111436174A (en) * 2018-12-25 2020-07-21 中山市牛宝电子科技有限公司 High-efficient constant current drive power supply equipment
CN214900662U (en) * 2020-12-30 2021-11-26 深圳飞安瑞科技股份有限公司 Constant current protection circuit, power supply and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015018093A1 (en) * 2013-08-09 2015-02-12 吉瑞高新科技股份有限公司 Charger with overvoltage and overcurrent protection and protection method therefor
CN106535390A (en) * 2016-10-09 2017-03-22 深圳创维-Rgb电子有限公司 Constant current driving power supply and display equipment
CN206225983U (en) * 2016-11-07 2017-06-06 广东美的制冷设备有限公司 Over-voltage over-current protection circuit
CN111436174A (en) * 2018-12-25 2020-07-21 中山市牛宝电子科技有限公司 High-efficient constant current drive power supply equipment
CN214900662U (en) * 2020-12-30 2021-11-26 深圳飞安瑞科技股份有限公司 Constant current protection circuit, power supply and electronic equipment

Similar Documents

Publication Publication Date Title
DE112007001293B4 (en) Power supply controller
US8040652B2 (en) Programmable power distribution switches with two-level current sensing
US8779692B2 (en) Light emitting element drive device
US9781789B1 (en) Apparatus and methods for LED control
US10243344B2 (en) Semiconductor device
CN214900662U (en) Constant current protection circuit, power supply and electronic equipment
CN111146928B (en) Regulating circuit and BUCK circuit
CN110785933A (en) Short-circuit protection circuit for semiconductor switching element
CN212660100U (en) Overvoltage protection circuit and flyback switching power supply
CN106104951B (en) Protect circuit
CN115954853A (en) Reverse electromotive force suppression circuit and turbofan power supply system
CN113992002A (en) Constant-current protection circuit and method, power supply and electronic equipment
CN213484505U (en) Short-circuit protection circuit
DE102004028990B4 (en) Method for the automatic adaptation of a controller to a load
CN113296028B (en) Direct current load fault detection circuit and household electrical appliance with same
KR20170030725A (en) Method and system for protecting over current
CN112421563B (en) Short-circuit protection circuit and method
CN213783662U (en) Constant voltage output dimming circuit of lamp source
CN112636584B (en) Electronic equipment, DC-DC power supply and control circuit thereof
EP2133996A1 (en) Switch for controlling an electrical consumer
CN211530997U (en) Regulating circuit and BUCK circuit
JP4082547B2 (en) Power supply control device for light emitting element
CN114597864A (en) Power supply protection circuit and circuit system
WO2010034162A1 (en) Control device for controlling a motor in a low voltage dc power tool and control method thereof
CN219697478U (en) Air conditioner

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination