LED driving circuit, LED driving method and LED lighting device
By monitoring the LED load voltage and energy storage inductor demagnetization signal through resistive voltage division, and accurately controlling the switching status, the overvoltage protection and demagnetization detection accuracy problems in existing LED driver circuits are solved, and the system performance and reliability are improved.
Patent Information
- Application Number
- CN201910766144.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-19
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2039-08-19
AI Technical Summary
The existing LED driver circuits have accuracy problems in overvoltage protection and energy storage inductor demagnetization detection, resulting in overvoltage protection failure and abnormal operation.
Resistor voltage division is used to monitor the oscillation signal at the end of the demagnetization of the LED load voltage and the energy storage inductor. The control circuit detects and processes the current and voltage signals, and accurately controls the switch to turn on and off to ensure the accuracy of overvoltage protection and demagnetization detection.
It improves the accuracy of overvoltage protection and the reliability of demagnetization detection, saves costs, and improves system performance and reliability.
Smart Images

Figure CN110461064B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of integrated circuits, and in particular to an LED driving circuit and an LED driving method, and an LED lighting device using the LED driving circuit or the LED driving method. Background Art
[0002] Figure 1 It is an existing LED driving circuit, wherein the first end of the LED load is coupled to the input voltage VIN, the second end is coupled to the first end of the energy storage inductor L1, the second end of the energy storage inductor L1 is coupled to the first end of the switch tube M1, and is also coupled to the anode of the freewheeling diode D1, the control end of the switch tube M1 is coupled to the control circuit, the second end of the switch tube is coupled to the first end of the current detection resistor Rcs, the second end of the current detection resistor Rcs is grounded, the cathode of the freewheeling diode D1 is coupled to the input voltage VIN, and the control circuit also has an HV end directly coupled to the input voltage, an overvoltage protection setting resistor ROVP coupled to the control circuit, and an output filter capacitor CO connected in parallel with the LED load.
[0003] The above conventional LED driving circuit has two shortcomings. First, the LED driving circuit uses the demagnetization time of the energy storage inductor to compare with the reference time inside the chip to set the overvoltage protection of the LED driving circuit. Since the demagnetization time of the energy storage inductor is closely related to the accuracy of the energy storage inductor, the accuracy of the overvoltage protection point is not high, and the problem of overvoltage protection failure may occur easily. Secondly, the LED driving circuit uses the parasitic Cgd capacitance of the switching tube M1 to couple the oscillation signal generated by the end of the energy storage inductor continuous current to detect the end point of the energy storage inductor demagnetization, which is easily affected by different types of switching tubes. In particular, when the energy storage inductor is an I-shaped inductor, it is very easy to cause the energy storage inductor demagnetization end point detection to fail, causing the LED lighting device to work abnormally. Summary of the invention
[0004] The invention provides an LED driving circuit and an LED driving method, and an LED lighting device adopting the LED driving circuit or the LED driving method.
[0005] According to an embodiment of the present invention, an LED driving circuit includes: an energy storage inductor having a first end and a second end, wherein the first end is electrically coupled to a power supply input voltage, and the second end is electrically coupled to a first end of an LED load; an LED load having a first end and a second end, wherein the second end is electrically coupled to a first end of a first switch; a first switch having a first end, a second end and a control end, wherein the control end is electrically coupled to a second end of a control circuit, and the second end is electrically coupled to a first end of a sampling resistor; a sampling resistor having a first end and a second end, wherein the second end is electrically coupled to ground, and the sampling resistor detects a current flowing through the first switch and outputs a voltage sampling signal; a freewheeling diode having a first end anode and a second end cathode, wherein the first end is an anode and a cathode, and the second end is a cathode. The anode of the first end is electrically coupled to the common end of the LED load and the first switch, and the cathode of the second end is electrically coupled to the power input voltage and the first end of the energy storage inductor; the control circuit has a first end, a second end and a third end, wherein the first end is electrically coupled to the common end of the energy storage inductor and the LED load, and the third end is electrically coupled to the common end of the first switch and the sampling resistor; the control circuit controls the first switch to be turned on to charge the energy storage inductor based on the detection result of the energy storage inductor current state and the LED load voltage at the first end, and based on the detection result of the voltage sampling signal at the third end, so as to control the first switch to be turned off so that the energy storage inductor discharges through the freewheeling diode.
[0006] According to an LED driving circuit of an embodiment of the present invention, the control circuit includes: a demagnetization detection module, having an input end and an output end, wherein the input end is electrically coupled to the common end of the energy storage inductor and the LED load, and the output end is electrically coupled to the control driving module, by detecting the current state of the energy storage inductor after the first switch is disconnected, after the current of the energy storage inductor drops to zero, a zero current detection signal is output and electrically coupled to the control driving module; an overvoltage detection module, having an input end and an output end, wherein the input end is electrically coupled to the common end of the energy storage inductor and the LED load, and the output end is electrically coupled to the control driving module, by detecting the voltage of the first end of the LED load after the first switch is turned on, after the voltage exceeds a set value, an overvoltage detection signal is output and electrically coupled to the control driving module; a power supply module, having an input end and an output end, wherein the input end is electrically coupled to the common end of the energy storage inductor and the LED load, and the output end is electrically coupled to the control driving module. The common end is electrically coupled, and a stable power supply voltage and a reference voltage are provided to the control circuit by sampling the voltage of the first end of the LED load; the current detection control module has a first input end, a second input end and an output end, wherein the first input end is electrically coupled to the common end of the first switch and the sampling resistor, the second input end is electrically coupled to the first reference voltage, and the output end is electrically coupled to the control drive module, and based on the processing result of the voltage sampling signal on the sampling resistor, a shutdown control signal is output to be electrically coupled to the control drive module; the control drive module is electrically coupled to the demagnetization detection module, the overvoltage detection module and the current detection control module respectively, receives the zero current detection signal, the overvoltage detection signal and the shutdown control signal, and outputs a control signal to control the first switch to be turned on to charge the energy storage inductor, or controls the first switch to be turned off so that the energy storage inductor discharges through the freewheeling diode.
[0007] According to an LED driving circuit of an embodiment of the present invention, the current detection control module includes a peak comparison module, and the peak comparison module has a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are electrically coupled to the voltage sampling signal on the sampling resistor and the first reference voltage respectively, and the output terminal outputs a shutdown control signal electrically coupled to the control driving module.
[0008] According to an LED driving circuit of an embodiment of the present invention, the current detection control module includes: a sampling operation module, having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are respectively electrically coupled to the voltage sampling signal on the sampling resistor and the control signal of the first switch control terminal, and outputs a sampling operation signal electrically coupled to the error amplification module; an error amplification module, having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are respectively electrically coupled to the first reference voltage and the sampling operation signal, and outputs an error amplification signal electrically coupled to the mean comparison module; a ramp generation module, outputs a voltage ramp signal electrically coupled to the mean comparison module; and a mean comparison module, having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are respectively electrically coupled to the error amplification signal and the voltage ramp signal, and the output terminal outputs a shutdown control signal electrically coupled to the control driving module.
[0009] According to an LED driving circuit of an embodiment of the present invention, the overvoltage detection module includes: a first voltage divider circuit, having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are respectively electrically coupled to the control signal of the first switch control terminal, and the common terminal of the LED load and the energy storage inductor, and the output terminal outputs a first LED load voltage divider signal related to the LED load voltage and is electrically coupled to the overvoltage comparison module; an overvoltage comparison module, having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are respectively electrically coupled to the first LED load voltage divider signal and the second reference voltage signal, and the output terminal outputs an overvoltage protection signal and is electrically coupled to the control driving module.
[0010] According to an LED driving circuit of an embodiment of the present invention, the demagnetization detection module includes: a second voltage divider circuit, having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are respectively electrically coupled to the inverted logic signal of the control signal of the first switch control terminal and the common terminal of the LED load and the energy storage inductor, and the output terminal outputs a second LED load voltage divider signal related to the LED load voltage to be electrically coupled to the demagnetization comparison module; a sampling and holding module, having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are respectively electrically coupled to the inverted logic signal of the control signal of the first switch control terminal and the second LED load voltage divider signal, and the output terminal outputs a sampling and holding signal related to the second LED load voltage divider signal to be electrically coupled to the demagnetization comparison module; a demagnetization comparison module, having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are respectively electrically coupled to the second LED load voltage divider signal and the sampling and holding signal, and the output terminal outputs a demagnetization detection signal to be electrically coupled to the control driving module.
[0011] According to an LED driving circuit of an embodiment of the present invention, the sampling and holding module includes: a single pulse circuit, having an input end and an output end, wherein the input end is an inverted logic signal of the control signal of the first switch control end, and the output end outputs a single pulse signal related to the inverted logic signal, which is used to control the sampling switch to sample and hold the second LED load voltage-dividing signal when the inverted logic signal becomes a high level; a sampling switch, having an input end, an output end and a control end, wherein the input end is electrically coupled to the second LED load voltage-dividing signal, the control end is electrically coupled to the single pulse signal, and the output end is electrically coupled to the first end of the sampling capacitor; a sampling capacitor, having a first end and a second end, wherein the second end is electrically coupled to the ground, and the first end of the sampling capacitor is also electrically coupled to the demagnetization comparator.
[0012] According to an LED driving circuit of an embodiment of the present invention, the first switch is an NMOS tube, the gate of the NMOS tube is electrically coupled to the second end of the control circuit, the source is electrically coupled to the first end of the sampling resistor, and the drain is electrically coupled to the second end of the LED load; or the first switch is a transistor, the base of the transistor is electrically coupled to the second end of the control circuit, the emitter is electrically coupled to the first end of the sampling resistor, and the collector is electrically coupled to the second end of the LED load.
[0013] According to an embodiment of the present invention, an LED driving circuit further includes: a ripple filtering capacitor connected in parallel with the LED load, suitable for filtering the current ripple of the load.
[0014] According to an embodiment of the present invention, an LED driving method includes: during a first switch-off period, monitoring a common port signal at which a positive terminal of an LED load is connected to an energy storage inductor, and after detecting that the energy storage inductor is in a zero current state, turning on the first switch to charge the energy storage inductor; during a first switch-on period, monitoring a common port signal at which a positive terminal of an LED load is connected to an energy storage inductor, and after detecting that the LED load is over-voltage, turning off the first switch to discharge the energy storage inductor through a freewheeling diode; during a first switch-on period, if the LED load is not over-voltage, turning off the first switch by a shutdown control signal output by a current detection control module to discharge the energy storage inductor through a freewheeling diode.
[0015] An LED lighting device according to an embodiment of the present invention includes the LED driving circuit or adopts the LED driving method.
[0016] The LED driving circuit architecture proposed in the present invention utilizes a resistor voltage divider to monitor the actual LED load voltage, and utilizes a resistor voltage divider to monitor the oscillation signal after the energy storage inductor is demagnetized. This can effectively solve the overvoltage protection accuracy problem and the unreliable demagnetization detection problem involved in the traditional LED driving circuit, thereby saving costs and improving the performance and reliability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 Shown is a schematic diagram of an existing LED driving circuit;
[0018] Figure 2 FIG. 1 is a schematic diagram of an LED driving circuit according to an embodiment of the present invention;
[0019] Figure 3A Shown is a schematic diagram of a current detection control module according to an embodiment of the present invention;
[0020] Figure 3B Shown is a schematic diagram of a current detection control module according to another embodiment of the present invention;
[0021] Figure 3C FIG. 1 is a schematic diagram of an overvoltage detection module according to an embodiment of the present invention;
[0022] Figure 3D FIG. 1 is a schematic diagram of a demagnetization detection module according to an embodiment of the present invention;
[0023] Figure 3E FIG. 1 is a schematic diagram of a sample-and-hold module according to an embodiment of the present invention;
[0024] Figure 4 Shown is a schematic diagram of a typical working waveform of an embodiment of the present invention;
[0025] Figure 5 is a flow chart of an LED driving method according to an embodiment of the present invention; DETAILED DESCRIPTION
[0026] The specific embodiments of the present invention will be described in detail below. It should be noted that the embodiments described herein are only for illustration and are not intended to limit the present invention. In the following description, a large number of specific details are set forth in order to provide a thorough understanding of the present invention. However, it is obvious to those of ordinary skill in the art that these specific details do not have to be used to implement the present invention. In other examples, in order to avoid confusing the present invention, known circuits, materials or methods are not specifically described.
[0027] Throughout the specification, reference to "one embodiment", "embodiment", "one example" or "example" means that a particular feature, structure or characteristic described in conjunction with the embodiment or example is included in at least one embodiment of the present invention. Therefore, the phrases "in one embodiment", "in an embodiment", "one example" or "example" that appear in various places throughout the specification do not necessarily refer to the same embodiment or example. In addition, specific features, structures or characteristics can be combined in one or more embodiments or examples in any appropriate combination and / or sub-combination. In addition, it should be understood by those of ordinary skill in the art that the drawings provided herein are for illustrative purposes and that the drawings are not necessarily drawn to scale. It should be understood that when an element is said to be "connected to" or "coupled to" another element, it can be directly connected or coupled to another element or there can be an intermediate element. On the contrary, when an element is said to be "directly connected to" or "directly coupled to" another element, there is no intermediate element. The same reference numerals indicate the same element. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0028] Figure 2 The figure shows a schematic diagram 200 of an LED driving circuit according to an embodiment of the present invention, comprising: an energy storage inductor 202, having a first end and a second end, wherein the first end is electrically coupled to a power supply input voltage VIN, and the second end is electrically coupled to a first end (positive end) of an LED load 203; the LED load 203 has a first end and a second end, wherein the second end (negative end) is electrically coupled to a first end of a first switch 206; the first switch 206 has a first end, a second end and a control end, wherein the control end is electrically coupled to a second end of a control circuit 201, and the second end is electrically coupled to a first end of a sampling resistor 207; the sampling resistor 207 has a first end and a second end, wherein the second end is electrically coupled to ground, and the sampling resistor 207 detects a current flowing through the first switch 206 and outputs a voltage sampling signal VCS; a freewheeling diode 205, having a first end anode and a second end cathode , wherein the anode of the first end is electrically coupled to the common end of the LED load 203 and the first switch 206, and the cathode of the second end is electrically coupled to the power input voltage VIN and the first end of the energy storage inductor 202; the control circuit 201 has a first end, a second end and a third end, wherein the first end is electrically coupled to the common end of the energy storage inductor 202 and the LED load 203, and the third end is electrically coupled to the common end of the first switch 206 and the sampling resistor 207; the control circuit 201 controls the first switch 206 to conduct to charge the energy storage inductor 202 based on the detection result of the current state of the energy storage inductor 202 and the detection result of the voltage of the LED load 203 by the first end, and based on the detection result of the voltage sampling signal VCS by the third end, so as to control the first switch 206 to be disconnected so that the energy storage inductor 202 is discharged through the freewheeling diode 205.
[0029] In one embodiment of the present invention, Figure 2 As shown, the control circuit 201 includes: a demagnetization detection module 210, having an input end and an output end, wherein the input end LEDP is electrically coupled to the common end of the energy storage inductor 202 and the LED load 203, and the output end is electrically coupled to the control drive module 240, and by detecting the current state of the energy storage inductor 202 after the first switch 206 is disconnected, after the current of the energy storage inductor 202 drops to zero, a zero current detection signal ZXC is output and electrically coupled to the control drive module 240; an overvoltage detection module 220, having an input end and an output end, wherein the input end LEDP is electrically coupled to the common end of the energy storage inductor 202 and the LED load 203, and the output end is electrically coupled to the control drive module 240; The power supply module 230 is electrically coupled to the common end of the energy storage inductor 202 and the LED load 203, and the output end is electrically coupled to the control driving module 240. After the first switch 206 is turned on, the voltage LEDP at the first end of the LED load 203 is detected. After the voltage exceeds the set value, an overvoltage detection signal OVP is output and electrically coupled to the control driving module 240. The power supply module 230 has an input end and an output end, wherein the input end LEDP is electrically coupled to the common end of the energy storage inductor 202 and the LED load 203, and the first end LE of the LED load 203 is sampled. The voltage of DP provides a stable power supply voltage and a reference voltage to the control circuit 201. In one embodiment, the reference voltage is VREF1 and the power supply voltage is VDD. The current detection control module 250 has a first input terminal, a second input terminal and an output terminal, wherein the first input terminal is electrically coupled to the common terminal of the first switch 206 and the sampling resistor 207, the second input terminal is electrically coupled to the first reference voltage VREF1, and the output terminal is electrically coupled to the control driving module 240. Based on the processing result of the voltage sampling signal VCS on the sampling resistor 207, the output terminal A shutdown control signal OFF is electrically coupled to the control drive module 240; the control drive module 240 is electrically coupled to the demagnetization detection module 210, the overvoltage detection module 220 and the current detection control module 250, respectively, receives the zero current detection signal ZXC, the overvoltage detection signal OVP and the shutdown control signal OFF, and outputs a control signal PWM to control the first switch 206 to be turned on to charge the energy storage inductor 202, or to control the first switch 206 to be turned off so that the energy storage inductor 202 discharges through the freewheeling diode 205.
[0030] In one embodiment of the present invention, Figure 3AAs shown, the current detection control module 250 includes a peak value comparison module 251, and the peak value comparison module 251 has a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are electrically coupled to the voltage sampling signal VCS and the first reference voltage VREF1 on the sampling resistor 207, respectively, and the output terminal outputs a shutdown control signal OFF and is electrically coupled to the control driving module 240. In one embodiment, the shutdown control signal OFF triggers the control signal of the first switch 206 to become a low level, and the first switch 206 is turned off.
[0031] In one embodiment, the first reference voltage VREF1 sets the peak value of the voltage sampling signal VCS. After the first switch 206 is turned on, the input voltage VIN passes through the LED load 203, and the first switch 206 and the sampling resistor 207 charge the energy storage inductor 202. The constant charging voltage causes the current flowing through the energy storage inductor 202 to increase linearly. The charging current of the energy storage inductor 202 flows through the sampling resistor 207, and the obtained voltage sampling signal VCS also increases linearly. When the peak value of the voltage sampling signal VCS reaches and exceeds the first reference voltage VREF1, the peak value comparison module 251 compares and outputs the shutdown control signal OFF to the control drive module 240, triggering the control signal PWM output by the control drive module 240 to become a low level, disconnecting the first switch 206, and realizing the peak value control of the voltage sampling signal VCS.
[0032] In another embodiment of the present invention, Figure 3BAs shown, the current detection control module 250 includes: a sampling operation module 252, having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are electrically coupled to the voltage sampling signal VCS on the sampling resistor 207 and the control signal PWM of the control terminal of the first switch 206, respectively, and outputs a sampling operation signal VCS_avg electrically coupled to the error amplification module 253; in one embodiment, the sampling operation signal Vcs_avg represents the average value of the voltage sampling signal VCS in one cycle, such as VCS_avg = VCS * PWM + VCS_pk * PWMB * 0.5, wherein VCS_pk represents the peak voltage of the voltage sampling signal VCS, and PWMB represents the logical inversion signal of the PWM signal; the error amplification module 253, having The module 254 has a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are electrically coupled to the first reference voltage VREF1 and the sampling operation signal VCS_avg respectively, and outputs an error amplification signal VERR to be electrically coupled to the mean comparison module 255; in one embodiment, the error amplification module includes a compensation capacitor for maintaining the error amplification module in a steady state; the ramp generation module 254 outputs a voltage ramp signal VRAMP to be electrically coupled to the mean comparison module 255; the mean comparison module 255 has a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are electrically coupled to the error amplification signal VERR and the voltage ramp signal VRAMP respectively, and the output terminal outputs a shutdown control signal OFF to be electrically coupled to the control driving module 240. In one embodiment, the shutdown control signal OFF triggers the control signal of the first switch 206 to become a low level, and disconnects the first switch 206.
[0033] In one embodiment, the first reference voltage VREF1 sets the average value of the voltage sampling signal VCS. After the first switch 206 is turned on, the input voltage VIN passes through the LED load 203, and the first switch 206 and the sampling resistor 207 charge the energy storage inductor 202. The constant charging voltage causes the current flowing through the energy storage inductor 202 to increase linearly. The charging current of the energy storage inductor 202 flows through the sampling resistor 207, and the obtained voltage sampling signal VCS also increases linearly. The sampling operation module 252 inputs the average value of the voltage sampling signal VCS in each switching cycle together with the first reference voltage VREF1 into the error amplification module 253 for error amplification, thereby generating an error amplification signal VERR. The error amplification signal VERR is compared with the voltage ramp VRAMP generated by the ramp generation module 254 in the mean value comparison module 255, and the comparison outputs the shutdown control signal OFF to the control drive module 240, thereby realizing the control of the average value of the voltage sampling signal VCS.
[0034] In one embodiment of the present invention, Figure 3CAs shown, the overvoltage detection module 220 includes: a first voltage divider circuit 221, having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are respectively electrically coupled to the control signal PWM of the control terminal of the first switch 206, and the common terminal of the LED load 203 and the energy storage inductor 202, and the output terminal outputs a first LED load voltage divider signal VN1 related to the voltage of the LED load 203 and is electrically coupled to the overvoltage comparison module 222; the overvoltage comparison module 222 has a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are respectively electrically coupled to the first LED load voltage divider signal VN1 and the second reference voltage signal VREF2, and the output terminal outputs an overvoltage protection signal OVP and is electrically coupled to the control driving module 240, and the overvoltage protection signal OVP will trigger the control signal of the first switch 206 to become a low level, thereby disconnecting a switch 206.
[0035] In one embodiment, in combination Figure 2 The LED driving circuit schematic diagram 200 and Figure 4 It can be seen from the typical working waveform diagram that the voltage VLED of the LED load 203 is superimposed on the first end VSW of the first switch 206, so the first end voltage LEDP of the LED load 203 = VSW + VLED. During the conduction period of the first switch 206, the input voltage VIN charges the energy storage inductor 202 through the LED load 203, the first switch 206 and the sampling resistor 207. The constant charging voltage makes the current flowing through the energy storage inductor 202 increase linearly. Ignoring the conduction voltage drop of the first switch, the low level of the first end voltage VSW of the first switch 206 is approximately equal to the voltage sampling signal VCS. For the high level of VSW, the low level of VSW is approximately equal to zero. Therefore, during the conduction period of the first switch 206, LEDP=VLED+VCS, and after ignoring the VCS voltage, LEDP=VLED; therefore, during the conduction period of the first switch 206, the first voltage divider circuit 221 can accurately sample the voltage VN1=K1*VLED of the LED load 203 (wherein K1 is the voltage divider coefficient, which is a constant), and by comparing VN1 with the second reference voltage VREF2, the overvoltage protection point VREF2=K1*VLED of the LED load 203 can be accurately determined, VLED=VREF2 / K1.
[0036] In one embodiment of the present invention, Figure 3DAs shown, the demagnetization detection module 210 includes: a second voltage divider circuit 211, having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are respectively electrically coupled to the inverted logic signal PWMB of the control signal PWM of the control terminal of the first switch 206, and the common terminal of the LED load 203 and the energy storage inductor 202, and the output terminal outputs a second LED load voltage divider signal VN2 related to the voltage of the LED load 203 and is electrically coupled to the demagnetization comparison module 213; a sampling and holding module 212, having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are respectively electrically coupled to the inverted logic signal PWMB of the control signal PWM of the control terminal of the first switch 206, and the common terminal of the LED load 203 and the energy storage inductor 202, and the output terminal outputs a second LED load voltage divider signal VN2 related to the voltage of the LED load 203 and is electrically coupled to the demagnetization comparison module 213; The first switch 206 is electrically coupled to the inverted logic signal PWMB of the control signal PWM at the control end of the first switch 206, and the second LED load voltage division signal VN2, and the output end outputs a sampling and holding signal VSMP related to the second LED load voltage division signal VN2 and is electrically coupled to the demagnetization comparison module 213; the demagnetization comparison module 213 has a first input end, a second input end and an output end, wherein the first input end and the second input end are electrically coupled to the second LED load voltage division signal VN2 and the sampling and holding signal VSMP, respectively, and the output end outputs a demagnetization detection signal ZXC and is electrically coupled to the control driving module 240. In one embodiment, the second voltage division circuit 211 can demultiplex the same voltage division resistor with the first voltage division circuit 221 through different working states of the control signals PWM and PWMB.
[0037] In one embodiment of the present invention, Figure 3E As shown, the sampling and holding module includes: a single pulse circuit 212a, having an input end and an output end, wherein the input end is the inverted logic signal PWMB of the control signal PWM of the control end of the first switch 206, and the output end outputs a single pulse signal related to the inverted logic signal PWMB, which is used to control the sampling switch 212b to sample and hold the second LED load voltage-dividing signal VN2 when the inverted logic signal PWMB becomes a high level; the sampling switch 212b, having an input end, an output end and a control end, wherein the input end is electrically coupled to the second LED load voltage-dividing signal VN2, the control end is electrically coupled to the single pulse signal, and the output end is electrically coupled to the first end of the sampling capacitor 212c; the sampling capacitor 212c, having a first end and a second end, wherein the second end is electrically coupled to the ground, and the first end of the sampling capacitor 212c is also electrically coupled to the demagnetization comparator 213.
[0038] In one embodiment, in combination Figure 2 The LED driving circuit schematic diagram 200 and Figure 4It can be seen from the schematic diagram of the typical working waveform that during the period when the first switch 206 is turned off, the energy storage inductor 202 discharges to the LED load 203 through the freewheeling diode 205, and the current of the energy storage inductor 202 decreases linearly. Ignoring the conduction voltage drop of the freewheeling diode 205, the VSW voltage during this period is approximately equal to the input voltage VIN, and the first terminal voltage LEDP of the LED load 203 is approximately equal to VLED+VIN; after the current of the energy storage inductor 202 drops to zero, due to the parasitic capacitance at the second end of the energy storage inductor 202, the voltage at the second end of the energy storage inductor 202, that is, the first terminal voltage LEDP of the LED load 203, will have LC oscillation. Therefore, the second voltage divider circuit 211 can obtain the oscillation state of the LEDP voltage by resistor voltage division detection during the period when the first switch 206 is turned off, and obtain the second LED load voltage division signal VN2; after the control signal PWMB becomes high level, a high level single pulse is generated under the action of the single pulse circuit 212a to turn on the sampling switch 212b, so as to sample the voltage of the second LED load voltage-dividing signal VN2. After the high level of the single pulse ends, the sampling capacitor 212c will keep the sampled second LED load voltage-dividing signal VN2, and keep the level VSMP; after the current of the energy storage inductor 202 drops to zero, the first terminal voltage LEDP of the LED load 203 will have LC oscillation, and the second LED load voltage-dividing signal VN2 will also have the same oscillation. When the oscillation causes the voltage of VN2 to be lower than the voltage VSMP maintained by the sampling capacitor 212c, the demagnetization comparison module 213 compares and outputs the ZXC signal to become high level, indicating that the demagnetization of the energy storage inductor 202 has ended. In one embodiment, when the ZXC signal becomes high level, it will also trigger the control signal PWM of the first switch 206 to become high level, turn on the first switch 206, and enter the next cycle.
[0039] In one embodiment of the present invention, Figure 2 As shown, the first switch 206 is an NMOS tube, the gate of the NMOS tube is electrically coupled to the second end of the control circuit 201, the source is electrically coupled to the first end of the sampling resistor 207, and the drain is electrically coupled to the second end of the LED load 203; or the first switch 206 is a transistor, the base of the transistor is electrically coupled to the second end of the control circuit 201, the emitter is electrically coupled to the first end of the sampling resistor 207, and the collector is electrically coupled to the second end of the LED load 203.
[0040] In one embodiment of the present invention, Figure 2 As shown, the LED driving circuit 200 further includes a ripple filter capacitor 204 connected in parallel with the LED load 203, which is suitable for filtering the current ripple of the load.
[0041] Figure 5FIG. 5 is a flow chart of an LED driving method according to an embodiment of the present invention, comprising steps 501 to 503.
[0042] Step 501, during the first switch off period, monitoring the common port signal of the LED load positive terminal connected to the energy storage inductor,
[0043] After detecting the zero current state of the energy storage inductor, turning on the first switch to charge the energy storage inductor;
[0044] Step 502, during the conduction period of the first switch, monitor the signal of the common port where the positive terminal of the LED load is connected to the energy storage inductor,
[0045] After detecting that the LED load is over-voltage, the first switch is disconnected, so that the energy storage inductor is discharged through the freewheeling diode;
[0046] Step 503 , when the first switch is turned on, if the LED load is not over-voltaged, the first switch is turned off by a shutdown control signal output by the current detection control module, so that the energy storage inductor is discharged through the freewheeling diode.
[0047] An LED lighting device according to an embodiment of the present invention includes the LED driving circuit or adopts the LED driving method.
[0048] Although the present invention has been described with reference to several typical embodiments, it should be understood that the terms used are illustrative and exemplary, rather than restrictive. Since the present invention can be embodied in a variety of forms without departing from the spirit or essence of the invention, it should be understood that the above embodiments are not limited to any of the foregoing details, but should be interpreted broadly within the spirit and scope defined by the appended claims, and therefore all changes and modifications falling within the scope of the claims or their equivalents should be covered by the appended claims. For those of ordinary skill in the art, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. An LED driving circuit, characterized in that: include: An energy storage inductor having a first end and a second end, wherein the first end is electrically coupled to a power supply input voltage, and the second end is electrically coupled to a first end of an LED load; The LED load has a first terminal and a second terminal, wherein the second terminal is electrically coupled to the first terminal of the first switch; A first switch having a first end, a second end and a control end, wherein the control end is electrically coupled to the second end of the control circuit, and the second end is electrically coupled to the first end of the sampling resistor; A sampling resistor having a first end and a second end, wherein the second end is electrically coupled to the ground, and the sampling resistor detects a current flowing through the first switch and outputs a voltage sampling signal; A freewheeling diode having a first anode and a second cathode, wherein the first anode is electrically coupled to the LED load and the common terminal of the first switch, and the second cathode is electrically coupled to the power input voltage and the first terminal of the energy storage inductor; A control circuit having a first end, a second end and a third end, wherein the first end is electrically coupled to a common end of an energy storage inductor and an LED load, and the third end is electrically coupled to a common end of a first switch and a sampling resistor; the control circuit controls the first switch to be turned on to charge the energy storage inductor, or controls the first switch to be turned off to discharge the energy storage inductor through the freewheeling diode, based on a detection result of the energy storage inductor current state and the LED load voltage by the first end, and a detection result of the voltage sampling signal by the third end; A ripple filter capacitor connected in parallel with the LED load, suitable for filtering the current ripple of the LED load; Wherein, the control circuit comprises: The demagnetization detection module has an input end and an output end, wherein the input end is electrically coupled to the common end of the energy storage inductor and the LED load, and the output end is electrically coupled to the control drive module. After the first switch is disconnected, the current state of the energy storage inductor is detected, and after the current of the energy storage inductor drops to zero, a zero current detection signal is output to be electrically coupled to the control drive module; An overvoltage detection module, having an input end and an output end, wherein the input end is electrically coupled to the common end of the energy storage inductor and the LED load, and the output end is electrically coupled to the control drive module, and outputs an overvoltage detection signal electrically coupled to the control drive module by detecting the voltage at the first end of the LED load after the first switch is turned on and after the voltage exceeds a set value; A power supply module has an input terminal and an output terminal, wherein the input terminal is electrically coupled to a common terminal of the energy storage inductor and the LED load, and provides a stable power supply voltage and a reference voltage to the control circuit by sampling the voltage of the first terminal of the LED load; A current detection control module, having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal is electrically coupled to a common terminal of a first switch and a sampling resistor, the second input terminal is electrically coupled to a first reference voltage, and the output terminal is electrically coupled to a control driving module, and based on a processing result of a voltage sampling signal on the sampling resistor, a shutdown control signal is output to be electrically coupled to the control driving module; A control driving module, electrically coupled to the demagnetization detection module, the overvoltage detection module and the current detection control module respectively, receives the zero current detection signal, the overvoltage detection signal and the shutdown control signal, outputs a control signal, controls the first switch to be turned on to charge the energy storage inductor, or controls the first switch to be turned off to discharge the energy storage inductor through the freewheeling diode; Wherein, the current detection control module includes: A sampling operation module, having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are electrically coupled to the voltage sampling signal on the sampling resistor and the control signal of the first switch control terminal respectively, and outputs a sampling operation signal electrically coupled to the error amplification module; An error amplification module, comprising a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are electrically coupled to the first reference voltage and the sampling operation signal respectively, and outputs an error amplification signal electrically coupled to the mean value comparison module; A slope generating module outputs a voltage slope signal electrically coupled to the mean value comparing module; The mean value comparison module has a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are electrically coupled to the error amplification signal and the voltage ramp signal respectively, and the output terminal outputs a shutdown control signal electrically coupled to the control drive module.
2. The LED driving circuit according to claim 1, characterized in that: The overvoltage detection module comprises: A first voltage divider circuit has a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are electrically coupled to the control signal of the first switch control terminal and the common terminal of the LED load and the energy storage inductor respectively, and the output terminal outputs a first LED load voltage divider signal related to the LED load voltage and is electrically coupled to the overvoltage comparison module; The overvoltage comparison module has a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are electrically coupled to the first LED load voltage division signal and the second reference voltage signal respectively, and the output terminal outputs an overvoltage protection signal electrically coupled to the control driving module.
3. The LED driving circuit according to claim 1, characterized in that: The demagnetization detection module comprises: A second voltage divider circuit has a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are electrically coupled to the inverted logic signal of the control signal of the first switch control terminal, and the common terminal of the LED load and the energy storage inductor, respectively, and the output terminal outputs a second LED load voltage divider signal related to the LED load voltage and is electrically coupled to the demagnetization comparison module; A sampling and holding module having a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are electrically coupled to the inverted logic signal of the control signal of the first switch control terminal and the second LED load voltage division signal, respectively, and the output terminal outputs a sampling and holding signal related to the second LED load voltage division signal to be electrically coupled to the demagnetization comparison module; The demagnetization comparison module has a first input terminal, a second input terminal and an output terminal, wherein the first input terminal and the second input terminal are electrically coupled to the second LED load voltage division signal and the sampling and holding signal respectively, and the output terminal outputs a demagnetization detection signal electrically coupled to the control driving module.
4. The LED driving circuit according to claim 3, characterized in that: The sampling and holding module comprises: a single pulse circuit, having an input end and an output end, wherein the input end is an inverted logic signal of the control signal of the first switch control end, and the output end outputs a single pulse signal related to the inverted logic signal, and is used to control the sampling switch to sample and hold the second LED load voltage division signal when the inverted logic signal becomes a high level; A sampling switch, comprising an input terminal, an output terminal and a control terminal, wherein the input terminal is electrically coupled to the second LED load voltage-divided signal, the control terminal is electrically coupled to the single pulse signal, and the output terminal is electrically coupled to the first terminal of the sampling capacitor; The sampling capacitor has a first end and a second end, wherein the second end is electrically coupled to the ground, and the first end of the sampling capacitor is also electrically coupled to the demagnetization comparison module.
5. The LED driving circuit according to claim 1, characterized in that: The first switch is an NMOS tube, a gate of the NMOS tube is electrically coupled to the second end of the control circuit, a source of the NMOS tube is electrically coupled to the first end of the sampling resistor, and a drain of the NMOS tube is electrically coupled to the second end of the LED load; or the first switch is a transistor, a base of the transistor is electrically coupled to the second end of the control circuit, an emitter of the transistor is electrically coupled to the first end of the sampling resistor, and a collector of the NMOS tube is electrically coupled to the second end of the LED load.
6. An LED driving method of the LED driving circuit according to any one of claims 1 to 5, comprising: During the period when the first switch is off, the signal of the common port connecting the positive end of the LED load and the energy storage inductor is monitored, and after the zero current state of the energy storage inductor is detected, the first switch is turned on to charge the energy storage inductor; During the conduction period of the first switch, the signal of the common port where the positive end of the LED load is connected to the energy storage inductor is monitored, and after detecting that the LED load is over-voltage, the first switch is disconnected to discharge the energy storage inductor through the freewheeling diode; During the conduction period of the first switch, if the LED load has no overvoltage, the shutdown control signal output by the current detection control module disconnects the first switch, so that the energy storage inductor discharges through the freewheeling diode.
7. An LED lighting device, characterized in that: The invention comprises the LED driving circuit as claimed in any one of claims 1 to 5 or adopts the LED driving method as claimed in claim 6.
