Disclosure of Invention
The invention mainly aims at the defects of the related prior art and provides an output overvoltage protection control circuit and a driving circuit for an LED driving power supply, which realize the pre-stage PWM closing when the output voltage rises to a set overvoltage protection point so as to achieve the effects of protecting an LED light source and the driving power supply, have high efficiency, simple structure and convenient use, and improve the overall reliability of the LED driving power supply.
In order to achieve the above object, the present invention employs the following techniques:
an output overvoltage protection control circuit comprising:
the voltage sampling circuit is used for detecting the output voltage and generating a sampling signal to output;
the control circuit is used for outputting a control level when the output voltage obtained by sampling is higher than a set overvoltage protection voltage value;
and the switching circuit is used for conducting or switching off under the control of the control level output by the control circuit so as to lock the input voltage of the shutdown pin by controlling the switching power supply chip to enable the switching power supply chip to enter an output overvoltage protection state.
Further, the voltage sampling circuit is connected with the positive voltage at the output end of the switching power supply circuit and is used for detecting the direct-current output voltage at the output end of the switching power supply circuit and generating a sampling signal for output; the switching power supply circuit is a main circuit which is connected with the voltage output end of the alternating-current bus and used for supplying power to the switching power supply chip and providing driving voltage output; the switching power supply chip is a device which is connected with the switching power supply circuit and is used for adjusting the output of the switching power supply circuit; the switching circuit is connected between the switching power supply circuit and the switching power supply chip.
Further, the voltage sampling circuit comprises a resistor R4 and a resistor R5, the resistor R4 and the resistor R5 are connected in series and then connected between the positive pole and the negative pole of the voltage of the power output end of the switching power supply circuit, and the sampling signal output end of the voltage sampling circuit is arranged between the resistor R4 and the resistor R5 and connected with the control end of the control circuit.
Further, the control circuit is connected between a sampling signal output end of the voltage sampling circuit and a control end of the switch circuit and comprises a controllable precise voltage-stabilizing source U3 and a capacitor C3, a reference electrode of the controllable precise voltage-stabilizing source U3 serves as a control end of the control circuit and is connected with the sampling signal output end of the voltage sampling circuit, an anode of the controllable precise voltage-stabilizing source U3 is connected with a negative electrode of a power output end voltage of the switch power circuit, a cathode of the controllable precise voltage-stabilizing source U3 is connected with the switch circuit, and the capacitor C3 is connected between a reference electrode R and a cathode of the controllable precise voltage-stabilizing source U3.
Further, the switch circuit comprises a voltage stabilizing diode ZD1, a voltage stabilizing diode ZD2, a resistor R2, a resistor R3 and an optocoupler U2, the cathode of the voltage stabilizing diode ZD1 is connected with the anode of the power output end of the switch power supply circuit, the anode of the voltage stabilizing diode ZD1 is connected with the cathode of the voltage stabilizing diode ZD2, the anode of the voltage stabilizing diode ZD2 is connected with one end of the resistor R2, the other end of the resistor R2 is connected with one end of the resistor R3 and the anode 1 pin of the photodiode in the primary end of the optocoupler 737U 3, and the other end of the resistor R3 is connected with the cathode 2 pin of the photodiode in the primary end.
Further, the switch circuit further comprises a direct current power supply 14V, a resistor R1 and a capacitor C1, the switch power supply chip comprises a main control chip U1, the positive electrode of the direct current power supply 14V is connected with a secondary 4 pin of an optocoupler U2, a secondary 3 pin of the optocoupler U2 is connected with one end of a capacitor C1 and a DIS pin of the main control chip U1, the other end of the capacitor C1 is connected with the negative electrode of the direct current power supply 14V, and the resistor R1 is connected with two ends of a capacitor C1 in parallel.
A driver circuit with output overvoltage protection control, comprising:
the switching power supply circuit is connected with the voltage output end of the alternating-current bus and used for supplying power to the switching power supply chip and providing driving voltage output;
the PWM module is connected with the switching power supply circuit and comprises a switching power supply chip and a device for adjusting the output of the switching power supply circuit;
the output overvoltage protection control circuit is connected between the power output end of the switching power supply circuit and the switching power supply chip.
Further, a switching power supply circuit includes: the electromagnetic filtering and full-bridge rectifying module is connected with the voltage output end of the alternating current bus; the PFC module is connected with the electromagnetic filtering and full-bridge rectifying module; the PWM module is connected with the PFC module; the rectification filtering module is coupled with the PWM module through a transformer; the overload protection module and the constant current and constant voltage module are connected with the output end of the rectification filter module, and the output end of the constant current and constant voltage module is the power supply output end of the switching power supply circuit; the overload protection module and the constant current and constant voltage module are also connected with the PWM module; the output overvoltage protection control circuit is connected between the positive electrode of the output end of the constant-current constant-voltage module and the PWM module.
Further, the electromagnetic filtering and full-bridge rectifying module is used for converting alternating current commercial power into direct current and outputting the direct current to the PFC module; the PFC module is used for boosting the input direct current and then outputting high-voltage direct current to the PWM module; the PWM module is used for converting the high-voltage direct current into a square wave power supply and then coupling and outputting the square wave power supply to the rectification filtering module through a transformer; the rectification filtering module is used for converting the received square wave power supply into direct current low voltage power and outputting the direct current low voltage power to the constant current and constant voltage module; the constant-current constant-voltage module is used for converting the direct-current low-voltage electricity and then outputting the converted direct-current low-voltage electricity; the overload protection module and the constant current and constant voltage module are used for collecting direct current low-voltage parameters output by the rectification filter module and feeding back the direct current low-voltage parameters to the PWM module; and the PWM module is used for adjusting the duty ratio of the square wave power supply output by the PWM module according to the fed back direct current low voltage electrical parameter.
The invention has the beneficial effects that: the LED drive circuit has the advantages of simple structure and low implementation cost, can solve the problem of overvoltage protection in the LED drive circuit and the problem of overvoltage protection of other switch power supplies, can realize the original and secondary side photoelectric isolation control of the circuit, and increases the overall safety of the circuit.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the following detailed description of the embodiments of the present invention is provided with reference to the accompanying drawings, but the described embodiments of the present invention are a part of the embodiments of the present invention, not all of the embodiments of the present invention.
At present, most of LED driving circuits are powered by ac mains, and in an application scenario shown in fig. 1, in the LED driving circuit, an electromagnetic filtering and full-bridge rectification module, a PFC module, a rectification filtering module, a transformer, a constant-current and constant-voltage module, an overload protection module, and the like form a switching power supply circuit.
And the switching power supply circuit is connected with the voltage output end of the alternating current bus, supplies power for the switching power supply chip and provides driving voltage output.
The electromagnetic filtering and full-bridge rectifying module is connected with the voltage output end of the alternating current bus; the electromagnetic filtering and full-bridge rectifying module is connected with the PFC module; the PFC module is connected with the PWM module; the PWM module is coupled with the rectification filtering module through a transformer; the output end of the rectification filter module is connected with the overload protection module and the constant-current and constant-voltage module, and the output end of the constant-current and constant-voltage module is the power supply output end of the switching power supply circuit; the overload protection module and the constant current and constant voltage module are also connected with the PWM module.
The PWM module is connected with the switching power supply circuit and comprises a switching power supply chip.
The electromagnetic filtering and full-bridge rectifying module converts alternating current commercial power into direct current and outputs the direct current to the PFC module; the PFC module boosts the input direct current and outputs high-voltage direct current to the PWM module; the PWM module converts the high-voltage direct current into a square wave power supply, and then the square wave power supply is coupled and output to the rectification filtering module through a transformer; the rectification filtering module converts the received square wave power supply into direct current low voltage power and outputs the direct current low voltage power to the constant current and constant voltage module; the constant-current constant-voltage module converts the direct-current low-voltage electricity and outputs the converted direct-current low-voltage electricity; the overload protection module and the constant current and constant voltage module collect direct current low voltage parameters output by the rectification filter module and feed back the direct current low voltage parameters to the PWM module; and the PWM module adjusts the duty ratio of the square wave power supply output by the PWM module according to the feedback direct current low-voltage electrical parameter. And the LED light source module is controlled by the constant-current constant-voltage module to be a constant-current power supply to drive the LED light source module to emit light.
In the application scenario shown in fig. 1, the output overvoltage protection control circuit provided in this example is connected between the positive electrode of the output end of the constant current and constant voltage module and the PWM module.
Specifically, as a detailed implementation manner of this example, as shown in fig. 2, the output overvoltage protection control circuit includes a voltage sampling circuit, a control circuit, and a switch circuit.
The voltage sampling circuit is connected with the positive voltage of the output end of the switch power supply circuit, namely, the voltage sampling circuit is connected with the positive voltage of the output end of the constant-current constant-voltage module, detects the direct-current output voltage of the output end of the switch power supply circuit, and generates a sampling signal to be output.
The control circuit is connected between the sampling signal output end of the voltage sampling circuit and the control end of the switch circuit, and when the output voltage obtained by sampling is higher than the set overvoltage protection voltage value, the control circuit outputs a control level to the switch circuit.
The switch circuit is connected between the switch power supply circuit and the switch power supply chip and is connected with the control circuit.
The switching circuit is switched on or switched off under the control of the control level output by the control circuit, so that the switching power supply chip enters an output overvoltage protection state by controlling the switching power supply chip to lock the input voltage of the shutdown pin.
More specifically, as shown in figure 2,
the voltage sampling circuit comprises a resistor R4 and a resistor R5, the resistor R4 and the resistor R5 are connected in series and then connected between the positive pole and the negative pole of the voltage of the power output end of the switching power supply circuit, and the sampling signal output end Vref of the voltage sampling circuit is arranged between the resistor R4 and the resistor R5 and connected with the control end of the control circuit.
The control circuit is connected between a sampling signal output end of the voltage sampling circuit and a control end of the switch circuit and comprises a controllable precise voltage-stabilizing source U3 and a capacitor C3, a reference electrode of the controllable precise voltage-stabilizing source U3 serves as a control end of the control circuit and is connected with a sampling signal output end Vref of the voltage sampling circuit, an anode of the controllable precise voltage-stabilizing source U3 is connected with a negative electrode of a power output end voltage of the switch power supply circuit, and a cathode of the controllable precise voltage-stabilizing source U3 is connected with the switch circuit. The capacitor C3 is connected between the reference pole and the cathode of the controllable precision voltage-stabilizing source U3.
The controllable precision voltage regulator source U3 can be realized by a controllable precision voltage regulator source TL 431.
The capacitor C3 provides a delay for the TL431 in ensuring complete conduction in addition to being a filter capacitor, and the capacitance value is measured and selected according to actual requirements.
The switch circuit comprises a voltage stabilizing diode ZD1, a voltage stabilizing diode ZD2, a resistor R2, a resistor R3, an optocoupler U2, a direct current power supply 14V, a resistor R1 and a capacitor C1. The cathode of a voltage-regulator diode ZD1 is connected with the anode of the power output end of the switching power supply circuit, the anode of a voltage-regulator diode ZD1 is connected with the cathode of a voltage-regulator diode ZD2, the anode of a voltage-regulator diode ZD2 is connected with one end of a resistor R2, the other end of the resistor R2 is connected with one end of a resistor R3 and the anode 1 pin of a photodiode in the primary end of an optocoupler U2, and the other end of the resistor R3 is connected with the cathode 2 pin of the photodiode in the primary end of the optocoupler U2 and the reference electrode. The switching power supply chip comprises a main control chip U1, the positive pole of a direct current power supply 14V is connected with a secondary 4 pin of an optocoupler U2, a secondary 3 pin of the optocoupler U2 is connected with one end of a capacitor C1 and a DIS pin of the main control chip U1, the other end of the capacitor C1 is connected with the negative pole of the direct current power supply 14V, and a resistor R1 is connected with two ends of the capacitor C1 in parallel.
The voltage stabilizing diode ZD1 and the voltage stabilizing diode ZD2, the resistor R2 and the resistor R3 mainly have a current limiting function, are used for protecting the TL431 and the optocoupler U2, and can specifically select a proper resistance value according to an actual circuit.
The optical coupler U2 adopts a common low-speed optical coupler. And an optical coupler with proper withstand voltage can be selected according to the VDD.
The output overvoltage protection control circuit samples voltage output by constant current, when the constant current and constant voltage modules have faults, the output voltage can rise and fall, when the output voltage of a power supply rises to an overvoltage protection point, a controllable precise voltage stabilization source U3 is changed from cut-off to a conduction state, the bias voltage of a 14V + power supply enables a secondary side of an optical coupler U2 to be conducted, the optical coupler U2 works, the 14V + power supply outputs a feedback signal input end, namely a DIS pin, to a main control chip U1 of a switching power supply chip of the PWM module through the secondary side of the optical coupler U2, when the voltage of the DIS pin rises to exceed the voltage of an internal comparator by 1.85V, the main control chip U1 outputs a control signal to the PWM module to enable the PWM module to be closed, and therefore the purpose of closing the output voltage protection LED light source.
The protection point is a preset value, in the embodiment, the overvoltage protection point is 120% or more of the voltage of the power supply in the constant voltage state, and other conditions can be flexibly set according to the actual requirements of the circuit.
When the voltage at the upper end of the resistor R5 is collected and connected to the reference electrode of the TL431 by serially connecting the resistor R4 and the resistor R5, and when Vout is greater than or equal to a set value, the U3 TL431 is turned on, and the cathode voltage is about 2V. Make the elementary inside photodiode of opto-coupler U2 switch on, and then the secondary connection of opto-coupler U2 connects 14V + power and passes through the secondary output of opto-coupler U2 and give the DIS pin of the main control chip U1 of PWM module, when DIS pin voltage rises and surpasss the voltage 1.85V of inside comparator, the main control chip U1 output control signal of PWM module gives the PWM module, make the PWM module close, switching power supply stop work, play secondary guard action.
In the embodiment of the present invention, since Vout + is the output high voltage, and the detection voltage of the reference pole voltage of U3 when the protection is turned on is 2.5V, the resistor R4 is generally a kohm-level resistor, and the accuracy of the selected resistance value is less than or equal to 1%. The resistor R5 can be set according to the actually set voltage protection value, and the specific calculation formula is as follows:
Vout+=2.49*R4/R5+2.49。
the output overvoltage protection circuit provided by the invention has high universality, and the output filtering voltage is detected through a simple circuit, and the PWM output of the switching power supply chip is closed, so that the switching power supply stops working, and the LED light source module and the driving power supply are protected.
The above is only a preferred embodiment of the present invention and is not intended to limit the present invention, and it is apparent that 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 such 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 such modifications and variations.