LED driving circuit

By designing a mode control module and a regulation module in the LED drive circuit to regulate the current flowing through the LED and lock the over-discharge protection mode, the problem of LED flickering in the existing technology is solved, and the battery life and user experience are improved.

CN111787665BActive Publication Date: 2024-08-23SHANGHAI NATLINEAR ELECTRONICS CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202010786904.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-07
Publication Date
2024-08-23
Estimated Expiration
2040-08-07

AI Technical Summary

Technical Problem

The problem of LED flickering caused by repeated entry and exit of over-discharge protection mode in existing LED drive circuits is especially obvious when the battery power is low, the battery quality is variable, and the current is high.

Method used

An LED drive circuit including a mode control module, an enable signal generation module, a drive control module and a regulation module is designed. By sampling the battery positive voltage, mode control is performed based on the reference voltage, the current flowing through the LED is regulated, and the current flowing through the LED is controlled when the battery enters. In the over-discharge protection mode, it is close to 0, which reduces the recovery amplitude of the battery positive voltage and avoids repeatedly entering and exiting the over-discharge protection mode.

Benefits of technology

It effectively avoids the occurrence of LED flickering and ensures that the battery will not exit the over-discharge protection mode due to voltage recovery when the battery is low, thus improving battery life and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111787665B
    Figure CN111787665B
Patent Text Reader

Abstract

The present invention provides an LED driving circuit, comprising: a mode control module, which is used to sample a positive electrode voltage of a battery and compare the voltage based on a first and a second reference voltage to generate a mode control signal to control the LED driving circuit to work in different modes; an enable signal generating module, which is controlled by an LED switch control signal when the LED driving circuit works in a normal driving mode and generates an enable signal when the LED switch control signal is valid to turn on the driving control module, and turns off the driving control module when the LED driving circuit works in an over-discharge protection mode to control the switch tube to turn off; a driving control module, which is used to generate a driving signal based on the enable signal to control the switch tube to turn on when the LED driving circuit works in the normal driving mode; and a regulating module, which is used to generate an output sink current based on the difference between the positive electrode voltage of the battery and a third reference voltage when the enable signal is valid to regulate the size of the driving signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of integrated circuit design, and in particular to an LED drive circuit. Background Art

[0002] At present, there are many portable lighting drive appliances on the market that use batteries as power sources and LED lamp beads as light sources, such as emergency lights, flashlights, street stall lighting, etc. During the use of lighting drive appliances, the complete exhaustion of battery power will have a great impact on the battery life and even damage the battery; therefore, a battery over-discharge protection circuit is usually connected between the two poles of the battery. When the battery over-discharge protection circuit detects that the battery voltage is lower than the over-discharge protection threshold, it will disconnect the discharge path to stop the battery from discharging; for 4.3V lithium batteries, the over-discharge protection threshold voltage is generally 2.7V, and for 3.7V lithium batteries, the over-discharge protection threshold voltage is generally 2.2V.

[0003] Figure 1 This is an existing LED driving circuit with over-discharge protection function, which uses a battery as a power source to drive the LED; however, since the on-voltage value of the LED lamp bead load is very close to the battery over-discharge protection threshold, when the battery power is close to being exhausted and the over-discharge protection is turned on, the LED lamp may flicker, giving the user a bad experience, and even causing the user to mistakenly believe that the LED lamp is faulty.

[0004] Below Figure 1 The reasons why the LED light flickers due to the LED driver circuit with over-discharge protection function are analyzed as follows:

[0005] The battery itself has internal resistance. In practical applications, the battery can be equivalent to an ideal battery cell BAT without resistance and a resistor R1 with a certain resistance in series. The voltage of the ideal battery cell is Vbat, and the resistor R1 is the equivalent series resistance of the battery. When the battery is discharged, a certain voltage drop will be generated on the resistor R1.

[0006] The non-inverting input terminal of the hysteresis comparator A is connected to the positive electrode of the battery, which is used to detect the positive electrode voltage Vbatp of the battery. Its first and second inverting input terminals are respectively connected to the first reference voltage Vref1 and the second reference voltage Vref2, where Vref1 < Vref2. When the battery discharges and the positive electrode voltage Vbatp of the battery drops from higher than Vref2 to lower than Vref1, the output signal OD of the hysteresis comparator A changes from high level to low level, and the LED driving circuit enters the over-discharge protection mode; when the battery charges and the positive electrode voltage Vbatp of the battery rises from lower than Vref1 to higher than Vref2, the output signal OD of the hysteresis comparator A changes from low level to high level, and the LED driving circuit exits the over-discharge protection mode. Usually, in order to ensure that the battery has a relatively wide operating voltage range, Vref2 is only about 500 mV higher than Vref1.

[0007] When the output signal OD of the hysteresis comparator A is at a low level, the output signal EN of the AND gate is at a low level, the charge pump does not work, and the NMOS transistor N1 is turned off because the gate voltage VG is pulled low. At this time, no current passes through the LED lamp and the LED lamp does not emit light; when the output signal OD of the hysteresis comparator A is at a high level and the signal Switch is at a low level, the output signal EN of the AND gate is at a low level, the charge pump does not work, and the NMOS transistor N1 is turned off because the gate voltage VG is pulled low. At this time, no current passes through the LED lamp and the LED lamp does not emit light; when the output signal OD of the hysteresis comparator A is at a high level and the signal Switch is at a high level, the output signal EN of the AND gate is at a high level, the charge pump works, and the NMOS transistor N1 is turned on because the voltage difference between the gate and the source is raised above its turn-on threshold. At this time, the battery supplies power to the LED lamp through the NMOS transistor N1, and current passes through the LED lamp, and the LED lamp emits light; among them, the signal Switch is a logic signal output by an external control circuit and serves as the switch control signal of the LED lamp.

[0008] When the LED lamp emits light, it consumes the battery power, the battery core voltage Vbat continuously drops, and the positive electrode voltage Vbatp of the battery follows and drops. Assume that the current passing through the LED lamp when the NMOS transistor N1 is turned on is I LED ;

[0009] After the positive electrode voltage Vbatp of the battery drops below Vref1, the output signal OD of the hysteresis comparator A changes from high level to low level, and the LED driving circuit enters the over-discharge protection mode; at this time, the positive electrode voltage Vbatp of the battery immediately before entering the over-discharge protection mode can be obtained as: Vbatp_before = Vref1 = Vbat - I LED *R1;

[0010] After the LED driving circuit enters the over-discharge protection mode, the NMOS transistor N1 is turned off, and the current passing through the LED lamp changes from ILED becomes 0; at this time, it can be obtained that the instantaneous battery positive electrode voltage Vbatp after entering the over-discharge protection mode is: Vbatp_after=Vbat.

[0011] From the above equation, we can see that after the LED driver circuit enters the over-discharge protection mode, the current through the LED lamp drops to 0, and the positive voltage Vbatp of the battery rises by I LED *R1; if I LED *R1>Vref2-Vref1, the battery positive voltage Vbatp=Vbatp_after>Vref2 at the moment when the LED driving circuit enters the over-discharge protection mode, thereby causing the output signal OD of the hysteresis comparator A to change from a low level to a high level, and the LED driving circuit exits the over-discharge protection mode.

[0012] After the LED driver circuit exits the over-discharge protection mode, the NMOS tube N1 changes from off to on again, and the current through the LED lamp changes from 0 to I LED , the battery positive voltage Vbatp changes from Vbatp_after to Vbatp_before, causing the LED driver circuit to enter the over-discharge protection mode again. Repeatedly entering and exiting the over-discharge protection mode will cause the LED light to turn off and on repeatedly, which appears to the user as flickering.

[0013] Moreover, since the quality of batteries on the market varies greatly, the worse the quality of the battery, the greater the equivalent series resistance, and the greater the possibility of the above-mentioned LED flickering phenomenon; and the greater the current passing through the LED lamp, the greater the possibility of the above-mentioned LED flickering phenomenon. Summary of the invention

[0014] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide an LED driving circuit for solving the problem of LED flickering caused by the prior LED driving circuit repeatedly entering and exiting the over-discharge protection mode.

[0015] To achieve the above-mentioned purpose and other related purposes, the present invention provides an LED driving circuit connected between a battery and an LED, wherein the LED driving circuit comprises: a mode control module, an enable signal generating module, a driving control module, a regulating module and a switch tube, wherein:

[0016] The mode control module is used to sample the positive voltage of the battery, and compare the positive voltage of the battery based on the first reference voltage and the second reference voltage to generate a mode control signal to control the LED driving circuit to operate in a normal driving mode or an over-discharge protection mode; wherein the first reference voltage is less than the second reference voltage;

[0017] The enable signal generating module is connected to the output end of the mode control module, and is used to be controlled by the LED switch control signal when the LED drive circuit works in the normal drive mode, and to generate an enable signal when the LED switch control signal is valid to turn on the drive control module; when the LED drive circuit works in the over-discharge protection mode, the drive control module is turned off to control the switch tube to be turned off;

[0018] The driving control module is connected to the output end of the enabling signal generating module, and is used to generate a driving signal based on the enabling signal to control the switching tube to be turned on when the LED driving circuit works in a normal driving mode;

[0019] The control module is connected to the output end of the enable signal generating module and the output end of the drive control module, and is used to generate an output sink current based on the difference between the battery positive electrode voltage and a third reference voltage when the enable signal is valid, so as to regulate the size of the drive signal; wherein the third reference voltage is greater than the first reference voltage.

[0020] Optionally, the regulation module includes: an amplifier, the control end of the amplifier is connected to the output end of the enable signal generating module, the first input end of the amplifier is connected to the positive electrode voltage of the battery, the second input end of the amplifier is connected to the third reference voltage, and the output end of the amplifier serves as the output end of the regulation module.

[0021] Optionally, the mode control module includes: a hysteresis comparator, the non-inverting input terminal of the hysteresis comparator is connected to the positive voltage of the battery, the first inverting input terminal of the hysteresis comparator is connected to the first reference voltage, the second inverting input terminal of the hysteresis comparator is connected to the second reference voltage, and the output terminal of the hysteresis comparator serves as the output terminal of the mode control module.

[0022] Optionally, the mode control module includes:

[0023] a sampling and comparing unit, configured to sample a positive electrode voltage of a battery, and compare the positive electrode voltage of the battery based on the first reference voltage and the second reference voltage to generate an initial control signal;

[0024] The auxiliary control unit is connected to the output end of the sampling and comparing unit, and is used to generate a mode control signal according to the initial control signal and the charging state detection signal to control the LED driving circuit to operate in a normal driving mode or an over-discharge protection mode.

[0025] Optionally, the sampling and comparison unit includes: a hysteresis comparator, the non-inverting input terminal of the hysteresis comparator is connected to the positive voltage of the battery, the first inverting input terminal of the hysteresis comparator is connected to the first reference voltage, the second inverting input terminal of the hysteresis comparator is connected to the second reference voltage, and the output terminal of the hysteresis comparator serves as the output terminal of the sampling and comparison unit.

[0026] Optionally, the auxiliary control unit includes: an inverter and an RS trigger, the input end of the inverter is connected to the output end of the sampling and comparison unit, the output end of the inverter is connected to the clear end of the RS trigger, the set end of the RS trigger is connected to the charging status detection signal, and the output end of the RS trigger serves as the output end of the mode control module; wherein the RS trigger is composed of two NAND gates.

[0027] Optionally, the enable signal generating module includes: an AND gate, a first input end of the AND gate is connected to the LED switch control signal, a second input end of the AND gate is connected to the output end of the mode control module, and the output end of the AND gate serves as the output end of the enable signal generating module.

[0028] Optionally, the driving control module includes: a charge pump, the input end of the charge pump is connected to the output end of the enable signal generating module, and the output end of the charge pump serves as the output end of the driving control module.

[0029] As described above, an LED driving circuit of the present invention, through the design of the control module, makes the current flowing through the LED change with the battery positive electrode voltage and close to 0 when the battery enters the over-discharge protection mode, thereby reducing the recovery amplitude of the battery positive electrode voltage after the LED is turned off, so that the battery will not exit the over-discharge protection mode due to the recovery of its positive electrode voltage after the LED is turned off, avoiding the LED from being repeatedly turned off and lit due to repeated entry and exit of the over-discharge protection mode, that is, avoiding the LED flickering problem. At the same time, through the design of the mode control module, the battery is locked after entering the over-discharge protection mode, and only when the battery is in a charging state and has sufficient power can it exit the over-discharge protection mode and enter the normal driving mode, avoiding the LED from being repeatedly turned off and lit due to repeated entry and exit of the over-discharge protection mode, that is, avoiding the LED flickering problem. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 Shown is a circuit diagram of an existing LED driving circuit with an over-discharge protection function.

[0031] Figure 2 Shown is a circuit diagram of the LED driving circuit of the present invention.

[0032] Figure 3(a) shows a schematic diagram of a curve showing a change in the amplifier output sink current versus the battery positive voltage when the LED driving circuit of the present invention is used, and (b) shows a schematic diagram of a curve showing a change in the current flowing through the LED versus the battery positive voltage when the LED driving circuit of the present invention is used.

[0033] Figure 4 Shown is another circuit diagram of the LED driving circuit of the present invention.

[0034] Component number description

[0035] 100 Mode Control Module

[0036] 101 Sampling and comparison unit

[0037] 102 Auxiliary control unit

[0038] 200 Enable signal generation module

[0039] 300 Drive control module

[0040] 400 Adjustment Module DETAILED DESCRIPTION

[0041] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention.

[0042] See also Figures 2 to 4 It should be noted that the illustrations provided in this embodiment are only schematic illustrations of the basic concept of the present invention. Although the illustrations only show components related to the present invention and are not drawn according to the number, shape and size of components in actual implementation, the form, quantity and proportion of each component in actual implementation may be changed arbitrarily, and the component layout may also be more complicated.

[0043] Embodiment 1

[0044] like Figure 2 As shown, this embodiment provides an LED driving circuit connected between a battery and an LED, and the LED driving circuit includes: a mode control module 100, an enable signal generating module 200, a driving control module 300, a regulating module 400 and a switch tube 500, wherein:

[0045] The mode control module 100 is used to sample the battery positive electrode voltage Vbatp, and compare the battery positive electrode voltage Vbatp based on the first reference voltage Vref1 and the second reference voltage Vref2 to generate a mode control signal pro, so as to control the LED driving circuit to work in a normal driving mode or an over-discharge protection mode; wherein the first reference voltage Vref1 is less than the second reference voltage Vref2;

[0046] The enable signal generating module 200 is connected to the output end of the mode control module 100, and is used to be controlled by the LED switch control signal switch when the LED drive circuit works in the normal drive mode, and to generate the enable signal EN when the LED switch control signal switch is valid, so as to turn on the drive control module 300; when the LED drive circuit works in the over-discharge protection mode, the drive control module 300 is turned off to control the switch tube 500 to be turned off;

[0047] The driving control module 300 is connected to the output end of the enable signal generating module 200, and is used to generate a driving signal VG based on the enable signal EN to control the switch tube 500 to be turned on when the LED driving circuit works in a normal driving mode;

[0048] The control module 400 is connected to the output end of the enable signal generating module 200 and the output end of the drive control module 300, and is used to generate an output sink current Iout based on the difference between the battery positive voltage Vbatp and the third reference voltage Vref3 when the enable signal EN is valid, so as to control the size of the drive signal VG, thereby realizing the control of the current I flowing through the LED. LED ; wherein the third reference voltage Vref3 is greater than the first reference voltage Vref1.

[0049] As an example, Figure 2As shown, the mode control module 100 includes: a hysteresis comparator A, the non-inverting input terminal of the hysteresis comparator A is connected to the positive voltage Vbatp of the battery, the first inverting input terminal of the hysteresis comparator A is connected to the first reference voltage Vref1, the second inverting input terminal of the hysteresis comparator A is connected to the second reference voltage Vref2, and the output terminal of the hysteresis comparator A is used as the output terminal of the mode control module 100. In this example, when the battery is in a discharging state, if the positive voltage Vbatp of the battery drops from higher than the second reference voltage Vref2 to lower than the first reference voltage Vref1, the mode control signal pro output by the hysteresis comparator A changes from a high level to a low level, at which time the battery enters an over-discharge protection mode, and the LED driving circuit works in the over-discharge protection mode; when the battery is in a charging state, if the positive voltage Vbatp of the battery rises from lower than the first reference voltage Vref1 to higher than the second reference voltage Vref2, the mode control signal pro output by the hysteresis comparator A changes from a low level to a high level, at which time the battery exits the over-discharge protection mode and enters the normal driving mode, and the LED driving circuit works in the normal driving mode.

[0050] As an example, Figure 2 As shown, the enable signal generating module 200 includes: an AND gate AND, a first input end of the AND gate AND is connected to the LED switch control signal switch, a second input end of the AND gate AND is connected to the output end of the mode control module 100, and the output end of the AND gate AND serves as the output end of the enable signal generating module 200. In this example, when the LED driving circuit works in the normal driving mode, the mode control signal pro output by the mode control module 100 is at a high level. At this time, the enable signal generating module 200 controls the opening or closing of the driving control module 300 based on the LED switch control signal switch; for example, when the LED switch control signal switch is at a high level, the AND gate AND performs an AND operation on the LED switch control signal switch and the mode control signal pro and outputs a high level enable signal to turn on the driving control module 300; when the LED switch control signal switch is at a low level, the AND gate AND performs an AND operation on the LED switch control signal switch and the mode control signal pro and outputs a low level to turn off the driving control module 300. When the LED driving circuit works in the over-discharge protection mode, the mode control signal pro output by the mode control module 100 is at a low level. At this time, the output of the AND gate AND is at a low level, so the driving control module 300 is directly turned off. It should be noted that the LED switch control signal switch is a logic signal generated by an external circuit. When it is at a high level, it indicates that the user chooses to turn on the LED, and when it is at a low level, it indicates that the user chooses to turn off the LED.

[0051] As an example, Figure 2 As shown, the driving control module 300 includes: a charge pump, the input end of the charge pump is connected to the output end of the enable signal generating module 200, and the output end of the charge pump serves as the output end of the driving control module 300. In this example, the charge pump is turned on when the enable signal generating module 200 outputs a high level (i.e., generates an enable signal) to generate a drive signal to control the switch tube 500 to be turned on, and is turned off when the enable signal generating module 200 outputs a low level. At this time, the charge pump does not work, so that the switch tube 500 is turned off.

[0052] As an example, Figure 2 As shown, the control module 400 includes: an amplifier OP, a control end of the amplifier OP is connected to the output end of the enable signal generating module 200, a first input end of the amplifier OP is connected to the battery positive voltage Vbatp, a second input end of the amplifier OP is connected to the third reference voltage Vref3, and an output end of the amplifier OP is used as the output end of the control module 400. Specifically, the amplifier OP is a low-gain amplifier, so that its output sink current Iout increases slowly as the battery positive voltage Vbatp decreases, thereby causing the current flowing through the LED to decrease slowly, thereby avoiding the problem of flickering of the LED due to rapid changes in brightness. In this example, the amplifier OP is controlled by the output of the enable signal generating module 200. When the output of the enable signal generating module 200 is at a low level, the output sink current Iout of the amplifier OP is 0; and when the output of the enable signal generating module 200 is at a high level (that is, the enable signal EN is valid), the output sink current Iout of the amplifier OP is determined by the difference between its two input signals (i.e., the battery positive electrode voltage Vbatp and the third reference voltage Vref3). Based on this, the output current of the drive control module 300 is discharged based on the output sink current Iout, so as to adjust the size of the drive signal VG, thereby adjusting the current I flowing through the LED. LED This example uses the output sink current Iout to regulate the current I flowing through the LED. LED , so that the current I flowing through the LED LED It changes with the battery positive voltage Vbatp and is close to 0 when the battery enters the over-discharge protection mode, thereby reducing the recovery amplitude of the battery positive voltage Vbatp after the LED is turned off, so that the battery will not exit the over-discharge protection mode due to the recovery of its positive voltage after the LED is turned off, avoiding the LED from being repeatedly turned off and on due to the battery repeatedly entering and exiting the over-discharge protection mode, that is, avoiding the flickering problem of the LED.

[0053] As an example, Figure 2As shown, the switch tube 500 is an NMOS tube N1, the gate terminal of the NMOS tube N1 is connected to the output terminal of the drive control module 300, the drain terminal of the NMOS tube N1 is connected to the positive electrode voltage Vbatp of the battery, and the source terminal of the NMOS tube N1 is connected to the anode terminal of the LED; of course, in other examples, the switch tube 500 may also be a PMOS tube, in which case the gate terminal of the PMOS tube is connected to the output terminal of the drive control module 300, the source terminal of the PMOS tube is connected to the positive electrode voltage Vbatp of the battery, and the drain terminal of the PMOS tube is connected to the anode terminal of the LED.

[0054] See below Figure 2 and Figure 3 The working principle of the LED driving circuit described in this embodiment is described.

[0055] When the battery is in a discharging state, if the battery positive electrode voltage Vbatp drops from higher than the second reference voltage Vref2 to lower than the first reference voltage Vref1, the mode control signal pro output by the hysteresis comparator A changes from a high level to a low level, and the battery enters an over-discharge protection mode; at this time, the AND gate AND outputs a low level, the charge pump does not work, the NMOS tube N1 is turned off because the gate terminal is pulled down to zero, and the LED does not emit light because no current flows.

[0056] When the battery is in a charging state, if the battery positive electrode voltage Vbatp rises from lower than the first reference voltage Vref1 to higher than the second reference voltage Vref2, the mode control signal pro output by the hysteresis comparator A changes from a low level to a high level, and the battery exits the over-discharge protection mode and enters the normal driving mode; at this time, if the LED switch control signal switch is at a low level, the AND gate AND outputs a low level, the charge pump does not work, the NMOS tube N1 is turned off because the gate terminal is pulled down to zero, and the LED does not emit light because no current flows; if the LED switch control signal switch is at a high level, the AND gate AND outputs a high level, the charge pump works, the NMOS tube N1 is turned on because the voltage difference between the gate terminal and the source terminal is raised to greater than the turn-on threshold, the battery supplies power to the LED through the NMOS tube N1, and the LED emits light because the current flows;

[0057] When the LED emits light, it consumes battery power. The battery cell voltage Vbat continues to drop, and the battery positive voltage Vbatp follows the drop. At this time, assuming that the current flowing through the LED when the NMOS tube N1 is turned on is I LED ;

[0058] When the positive voltage Vbatp of the battery is much higher than the third reference voltage vref3, the output sink current Iout of the amplifier OP is 0. At this time, the gate voltage of the NMOS tube N1 is only determined by the output current capability of the charge pump. Since there is no leakage path at the gate of the NMOS tube N1, the gate voltage of the NMOS tube N1 is very high, so that the on-resistance Rdson of the NMOS tube N1 is small, and the current I flowing through the LED is LED Maximum, that is, the battery power is sufficient at this time and can drive the LED lighting normally;

[0059] As the battery power decreases, when the battery positive electrode voltage Vbatp drops to close to the third reference voltage vref3, the output sink current Iout of the amplifier OP gradually increases. At this time, part of the charge pump output current is discharged by the output sink current Iout of the amplifier OP, so the gate terminal voltage of the NMOS tube N1 decreases, thereby increasing the on-resistance Rdson of the NMOS tube N1 and the current I flowing through the LED. LED reduce;

[0060] As the battery power continues to decrease, when the battery positive electrode voltage Vbatp drops below the third reference voltage vref3 and equals the first reference voltage vref1, the output sink current Iout of the amplifier OP is very large. At this time, most of the charge pump output current is discharged by the output sink current Iout of the amplifier OP, so the gate terminal voltage of the NMOS tube N1 is very low, so that the on-resistance Rdson of the NMOS tube N1 is very large, and the current I flowing through the LED is LED Decreases to close to 0.

[0061] When the battery positive electrode voltage Vbatp drops below the first reference voltage vref1, the output of the hysteresis comparator A changes from a high level to a low level, and the battery enters the over-discharge protection mode;

[0062] The positive voltage value of the battery at the moment before the battery enters the over-discharge protection mode is Vbatp_before=Vref1=Vbat-I LED *R1; After the battery enters the over-discharge protection mode, the current flowing through the LED is I LED becomes 0, that is, the instantaneous battery positive electrode voltage value Vbatp_after=Vbat after the battery enters the over-discharge protection mode;

[0063] From the above equation, we can see that after the battery enters the over-discharge protection mode, the current I flowing through the LED LED The positive voltage Vbatp of the battery increases by I LED*R1; however, due to the regulation of the amplifier OP, as the positive battery voltage Vbatp drops to the first reference voltage vref1, the current I flowing through the LED LED also drops close to 0, at this time I LED *R1 is very small, satisfying I LED *R1 < Vref2 - Vref1; it can be seen that even after the battery enters the over-discharge protection mode and the positive battery voltage Vbatp rises slightly, since the rising amplitude is very small, it still satisfies Vbatp < Vref2, so that the output of the hysteresis comparator A always remains low level, that is, the battery is always in the over-discharge protection mode.

[0064] Embodiment 2

[0065] As Figure 4 shown, the difference between this embodiment and Embodiment 1 lies in the mode control module. Among them, the mode control module described in this embodiment includes:

[0066] A sampling and comparing unit 101, configured to sample the positive battery voltage Vbatp and compare the positive battery voltage Vbatp based on the first reference voltage Vref1 and the second reference voltage Vref2 to generate an initial control signal OD;

[0067] An auxiliary control unit 102, connected to the output end of the sampling and comparing unit 101, configured to generate a mode control signal pro according to the initial control signal OD and the charge state detection signal recharge to control the LED driving circuit to operate in a conventional driving mode or an over-discharge protection mode.

[0068] Specifically, as Figure 3As shown, the sampling and comparing unit 101 includes: a hysteresis comparator A, the non-inverting input end of the hysteresis comparator A is connected to the positive voltage Vbatp of the battery, the first inverting input end of the hysteresis comparator A is connected to the first reference voltage Vref1, the second inverting input end of the hysteresis comparator A is connected to the second reference voltage Vref2, and the output end of the hysteresis comparator A serves as the output end of the sampling and comparing unit 101. The auxiliary control unit 102 includes: an inverter inv and an RS trigger, the input end of the inverter inv is connected to the output end of the sampling and comparing unit 101, the output end of the inverter inv is connected to the clear end of the RS trigger, the set end of the RS trigger is connected to the charging state detection signal recharge, and the output end of the RS trigger serves as the output end of the mode control module 100; wherein, the RS trigger is composed of two NAND gates NAND1 and NAND2. In this example, when the battery is in a discharging state, if the battery positive electrode voltage Vbatp drops from higher than the second reference voltage Vref2 to lower than the first reference voltage Vref1, the initial control signal OD output by the hysteresis comparator A changes from a high level to a low level, and the output of the inverter inv changes to a high level. At this time, since the charging state detection signal recharge is a low level, the RS trigger is cleared, and the output signal of the RS trigger changes from a high level to a low level. At this time, the battery enters the over-discharge protection mode, and the LED drive circuit operates in the over-discharge protection mode; when the battery is in a charging state, if the battery positive electrode voltage Vbatp rises from lower than the first reference voltage Vref1 to higher than the second reference voltage Vref2, the initial control signal OD output by the hysteresis comparator A changes from a low level to a high level, and the output of the inverter inv changes to a low level. At this time, since the charging state detection signal recharge is a high level, the RS trigger is set, and the output signal of the RS trigger changes from a low level to a high level. At this time, the battery exits the over-discharge protection mode and enters the normal drive mode, and the LED drive circuit operates in the normal drive mode. This example uses the design of the auxiliary control module 102, and uses the initial control signal OD and the charging state detection signal recharge to jointly generate a mode control signal, so that the battery is locked after entering the over-discharge protection mode. Only when the battery is in a charging state and has sufficient power can it exit the over-discharge protection mode and enter the normal driving mode, thereby avoiding the LED from repeatedly turning off and lighting up due to the battery repeatedly entering and exiting the over-discharge protection mode, that is, avoiding the LED flickering problem. It should be noted that the charging state detection signal recharge is a logic signal generated by an external circuit, which is used to identify whether the battery is charged; when the battery is in a charging state, the charging state detection signal recharge is a high level, otherwise the charging state detection signal recharge is a low level.

[0069] In summary, the LED driving circuit of the present invention, through the design of the control module, makes the current flowing through the LED change with the battery positive voltage and close to 0 when the battery enters the over-discharge protection mode, thereby reducing the recovery amplitude of the battery positive voltage after the LED is turned off, so that the battery will not exit the over-discharge protection mode due to the recovery of its positive voltage after the LED is turned off, avoiding the LED being repeatedly turned off and lit due to the battery repeatedly entering and exiting the over-discharge protection mode, that is, avoiding the LED flickering problem. At the same time, through the design of the mode control module, the battery is locked after entering the over-discharge protection mode, and only when the battery is in a charging state and has sufficient power can it exit the over-discharge protection mode and enter the normal driving mode, avoiding the LED being repeatedly turned off and lit due to the battery repeatedly entering and exiting the over-discharge protection mode, that is, avoiding the LED flickering problem. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has a high industrial utilization value.

[0070] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. An LED driving circuit connected between a battery and an LED. It is characterized in that The LED driving circuit includes: a mode control module, an enable signal generating module, a driving control module, a regulating module and a switch tube, wherein the mode control module is used to sample the positive voltage of the battery, and compare the positive voltage of the battery based on a first reference voltage and a second reference voltage to generate a mode control signal, so as to control the LED driving circuit to work in a normal driving mode or an over-discharge protection mode; wherein the first reference voltage is less than the second reference voltage; The enable signal generating module is connected to the output end of the mode control module, and is used to be controlled by the LED switch control signal when the LED drive circuit works in the normal drive mode, and to generate an enable signal when the LED switch control signal is valid to turn on the drive control module; when the LED drive circuit works in the over-discharge protection mode, the drive control module is turned off to control the switch tube to be turned off; The driving control module is connected to the output end of the enabling signal generating module, and is used to generate a driving signal based on the enabling signal to control the switching tube to be turned on when the LED driving circuit works in a normal driving mode; The control module is connected to the output end of the enable signal generating module and the output end of the drive control module, and is used to generate an output sink current based on the difference between the positive electrode voltage of the battery and a third reference voltage when the enable signal is valid, so as to control the size of the drive signal; wherein the third reference voltage is greater than the first reference voltage; Wherein, the control module includes: an amplifier, the control end of the amplifier is connected to the output end of the enable signal generating module, the first input end of the amplifier is connected to the positive electrode voltage of the battery, the second input end of the amplifier is connected to the third reference voltage, and the output end of the amplifier serves as the output end of the control module.

2. The LED driving circuit according to claim 1, It is characterized in that The mode control module includes: a hysteresis comparator, wherein the non-inverting input terminal of the hysteresis comparator is connected to the positive voltage of the battery, the first inverting input terminal of the hysteresis comparator is connected to the first reference voltage, the second inverting input terminal of the hysteresis comparator is connected to the second reference voltage, and the output terminal of the hysteresis comparator serves as the output terminal of the mode control module.

3. The LED driving circuit according to claim 1, It is characterized in that The mode control module comprises: a sampling and comparing unit, configured to sample a positive electrode voltage of a battery, and compare the positive electrode voltage of the battery based on the first reference voltage and the second reference voltage to generate an initial control signal; The auxiliary control unit is connected to the output end of the sampling and comparing unit, and is used to generate a mode control signal according to the initial control signal and the charging state detection signal to control the LED driving circuit to operate in a normal driving mode or an over-discharge protection mode.

4. The LED driving circuit according to claim 3, It is characterized in that The sampling and comparing unit comprises: a hysteresis comparator, wherein the non-inverting input terminal of the hysteresis comparator is connected to the positive voltage of the battery, the first inverting input terminal of the hysteresis comparator is connected to the first reference voltage, the second inverting input terminal of the hysteresis comparator is connected to the second reference voltage, and the output terminal of the hysteresis comparator serves as the output terminal of the sampling and comparing unit.

5. The LED driving circuit according to claim 3, It is characterized in that The auxiliary control unit includes: an inverter and an RS trigger, the input end of the inverter is connected to the output end of the sampling and comparison unit, the output end of the inverter is connected to the clear end of the RS trigger, the set end of the RS trigger is connected to the charging state detection signal, and the output end of the RS trigger serves as the output end of the mode control module; wherein the RS trigger is composed of two NAND gates.

6. The LED driving circuit according to claim 1, It is characterized in that The enable signal generating module comprises: an AND gate, a first input end of the AND gate is connected to the LED switch control signal, a second input end of the AND gate is connected to the output end of the mode control module, and the output end of the AND gate serves as the output end of the enable signal generating module.

7. The LED driving circuit according to claim 1, It is characterized in that The driving control module comprises: a charge pump, the input end of the charge pump is connected to the output end of the enable signal generating module, and the output end of the charge pump serves as the output end of the driving control module.

Citation Information

Patent Citations

  • Overcharging protection circuit of rechargeable battery

    CN101651334A

  • Over-discharge protection circuit for rechargeable battery

    CN102769275A

  • LED driving circuit

    CN212381445U

  • Step-down switching regulator

    JP2009303384A