LED drive circuit and integrated circuit chip

By introducing control filter circuits and suppression circuits into the LED driver circuit, the problems of current mismatch and EMI are solved, achieving stable, low-power, and small-area LED driving, and ensuring the normal brightness and electromagnetic compatibility performance of the LED.

CN119031533APending Publication Date: 2024-11-26CHENGDU GEEHY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411355650.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

Existing LED driver circuits suffer from large current mismatch, large errors, sudden current changes, and electromagnetic interference (EMI) problems. In addition, the circuit area is large, making it difficult to achieve stable and efficient LED driving.

Method used

The control filter circuit filters noise during the adjustment process. Multiple PWM currents are generated by using a common resistor. Multiple filtering and low-frequency closed-loop bandwidth are combined to suppress mid-to-high frequency noise. When necessary, overshoot or undershoot suppression circuits are added to optimize noise and EMI performance. At the same time, the current slope is increased when the duty cycle is small to prevent the LED from not lighting up.

Benefits of technology

It achieves stable current output, reduces EMI, saves circuit area, improves system stability and signal integrity, and avoids problems such as sudden current changes and LEDs not lighting up.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119031533A_ABST
    Figure CN119031533A_ABST
Patent Text Reader

Abstract

The invention discloses an LED drive circuit and an integrated circuit chip, and relates to the technical field of electronics. The LED drive circuit comprises a current generation circuit, a voltage generation circuit and a control filter circuit, the current generation circuit is connected with at least two LEDs, and the current generation circuit is used for correspondingly adjusting working currents of the at least two LEDs based on at least two input voltages; the voltage generation circuit is used for generating output voltage; the control filter circuit is connected between the voltage generation circuit and the current generation circuit, and the control filter circuit is used for correspondingly adjusting the output voltage into at least two input voltages based on at least two groups of PWM signals and filtering generated noise in the adjusting process. According to the invention, the filter circuit is controlled to filter the generated noise in the adjusting process, so that the sudden change of the current is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] The driving circuit of the prior art is as follows Figure 1 As shown, the prior art uses MOS as a current mirror to amplify current, which has a large area, a large current mismatch, and a large error. At the same time, the power tube is clamped by an op amp as a switch tube. Although it can be turned on slowly, the Vdsat (saturated drain-source voltage) is very small and the Vds (drain-source voltage) changes very quickly, resulting in a sudden change in current, which eventually causes the problem of rapid current appearance. Summary of the invention

[0003] In view of the deficiencies in the prior art, an object of the present invention is to provide an LED driving circuit and an integrated circuit chip, which are used to at least solve one of the technical problems.

[0004] According to a first aspect of the present invention, there is provided an LED driving circuit, comprising:

[0005] A current generating circuit, the current generating circuit being connected to at least two LEDs, the current generating circuit being used to adjust the operating current of the at least two LEDs correspondingly based on at least two input voltages;

[0006] A voltage generating circuit, wherein the voltage generating circuit is used to generate an output voltage;

[0007] A control filter circuit is connected between the voltage generating circuit and the current generating circuit, and is used to adjust the output voltage to at least two input voltages based on at least two groups of PWM signals, and to filter the noise generated during the adjustment process.

[0008] The LED driving circuit of the present invention filters the noise generated during the adjustment process by controlling the filter circuit to avoid the generation of current mutation.

[0009] In some embodiments, the control filter circuit includes:

[0010] At least two mutually exclusive switch circuits, at least two of the mutually exclusive switch circuits are connected to the current generating circuit, and at least two of the mutually exclusive switch circuits are used to adjust the output voltage to at least two input voltages based on at least two groups of the PWM signals;

[0011] At least two bidirectional filtering circuits, at least two of the bidirectional filtering circuits are correspondingly connected between at least two of the mutually exclusive switching circuits and the voltage generating circuit, and at least two of the bidirectional filtering circuits are used to perform bidirectional filtering on the noise generated during the adjustment process of at least two of the mutually exclusive switching circuits.

[0012] In some embodiments, at least two of the bidirectional filtering circuits include:

[0013] at least two second resistors, wherein first ends of at least two second resistors are connected to the voltage generating circuit;

[0014] At least two third resistors, wherein the first ends of at least two of the third resistors are connected to the second ends of at least two of the second resistors in a one-to-one correspondence, and the second ends of at least two of the third resistors are connected to at least two mutually exclusive switch circuits in a one-to-one correspondence;

[0015] at least two second capacitors, wherein first ends of at least two of the second capacitors are connected to second ends of at least two of the second resistors in a one-to-one correspondence, and second ends of at least two of the second capacitors are grounded;

[0016] The second resistor and the second capacitor are used together to filter the noise entering through the second resistor, and the third resistor and the second capacitor are used together to filter the noise entering through the third resistor.

[0017] In some embodiments, the voltage generating circuit comprises:

[0018] A first current source, wherein the first current source is used to output a first current;

[0019] a first resistor, wherein a first end of the first resistor is connected to a first current source, a second end of the first resistor is grounded, and the first resistor is used to generate the output voltage based on the first current;

[0020] A first capacitor is connected in parallel with the first resistor, and the first capacitor is used to filter the output voltage.

[0021] In some implementations, each of the second resistors is also used together with the first capacitor and the first resistor to filter noise entering through the second resistor.

[0022] In some embodiments, it further comprises:

[0023] an overshoot suppression circuit, the overshoot suppression circuit being connected to the first end of the first resistor, the overshoot suppression circuit being used to suppress voltage overshoot; and / or

[0024] An undershoot suppression circuit is connected to the first end of the first resistor, and is used to suppress voltage undershoot.

[0025] In some embodiments, the current generating circuit comprises:

[0026] At least two first power tubes, wherein first ends of at least two first power tubes are connected to at least two LEDs in a one-to-one correspondence;

[0027] At least two operational amplifiers, wherein the first input terminals of at least two of the operational amplifiers are connected to the control filter circuit, the second input terminals of at least two of the operational amplifiers are connected to the second terminals of at least two of the first power tubes in a one-to-one correspondence, and the output terminals of at least two of the operational amplifiers are connected to the control terminals of at least two of the first power tubes in a one-to-one correspondence;

[0028] At least two fifth variable resistors, wherein the first ends of the at least two fifth variable resistors are connected to the second ends of the at least two first power tubes in a one-to-one correspondence, and the second ends of the at least two fifth variable resistors are grounded;

[0029] At least two sixth resistors, the first ends of at least two of the sixth resistors are connected to the second ends of at least two of the first power tubes in a one-to-one correspondence, and the second ends of at least two of the sixth resistors are grounded.

[0030] In some embodiments, the at least two mutually exclusive switch circuits include:

[0031] At least two first switches, wherein first ends of at least two of the first switches are connected to at least two of the bidirectional filter circuits in a one-to-one correspondence;

[0032] at least two second switches, wherein first ends of at least two of the second switches are connected to second ends of at least two of the first switches in a one-to-one correspondence, and second ends of at least two of the second switches are grounded;

[0033] At least two fourth resistors are connected between the second ends of at least two first switches and the current generating circuit respectively.

[0034] In some embodiments, it further comprises:

[0035] At least two overshoot suppression circuits, the at least two overshoot suppression circuits being connected to the output terminals of at least two operational amplifiers in a one-to-one correspondence, the overshoot suppression circuits being used to suppress voltage overshoot; and / or

[0036] At least two undershoot suppression circuits are connected to the output terminals of at least two operational amplifiers in a one-to-one correspondence, and the undershoot suppression circuits are used to suppress voltage undershoot.

[0037] In some implementations, the overshoot suppression circuit includes:

[0038] A second power tube, wherein a first end of the second power tube is connected to a circuit as a connection end, and a second end of the second power tube is grounded;

[0039] a third capacitor, wherein a first end of the third capacitor is connected to the first end of the second power tube, and a second end of the third capacitor is connected to the control end of the second power tube;

[0040] a seventh resistor, a first end of the seventh resistor being connected to the second end of the third capacitor, and a second end of the seventh resistor being grounded; and / or

[0041] The undershoot suppression circuit comprises:

[0042] A third power tube, wherein a first end of the third power tube is connected to the circuit as a connection end, and a second end of the third power tube is connected to the voltage input end;

[0043] a fourth capacitor, wherein a first end of the fourth capacitor is connected to the first end of the second power tube, and a second end of the fourth capacitor is connected to the control end of the second power tube;

[0044] An eighth resistor, wherein a first end of the eighth resistor is connected to the second end of the fourth capacitor, and a second end of the eighth resistor is connected to the voltage input end.

[0045] In some embodiments, the first resistor is a variable resistor, and the circuit further includes:

[0046] A digital module, the digital module is used to adjust the resistance value of the first resistor and generate at least two groups of the PWM signals;

[0047] At least two second current sources, the at least two second current sources correspondingly generating at least two second currents, wherein the at least two second currents serve as bias currents of at least two operational amplifiers;

[0048] At least two digital-to-analog current converters are provided, and the at least two digital-to-analog current converters are used to adjust the magnitudes of at least two second currents generated by at least two second current sources based on at least two groups of PWM signals.

[0049] In some embodiments, the digital module increases the duty cycle of the at least two groups of the PWM signals generated, and correspondingly adjusts the resistance value of the first resistor to increase, and decreases the duty cycle of the at least two groups of the PWM signals generated, and correspondingly adjusts the resistance value of the first resistor to decrease;

[0050] At least two of the digital-to-analog current converters increase the duty cycle of at least two groups of the PWM signals, and correspondingly adjust at least two of the second currents generated by at least two of the second current sources to decrease, and based on the duty cycle of at least two groups of the generated PWM signals decrease, correspondingly adjust at least two of the second currents generated by at least two of the second current sources to increase.

[0051] In some implementations, the second resistor or the fourth resistor is a variable resistor, and the circuit further includes:

[0052] At least two digital modules, wherein the at least two digital modules are used to correspondingly adjust the resistance values ​​of at least two of the second resistors or at least two of the fourth resistors, and generate at least two groups of the PWM signals;

[0053] At least two second current sources, the at least two second current sources correspondingly generating at least two second currents, wherein the at least two second currents serve as bias currents of at least two operational amplifiers;

[0054] At least two digital-to-analog current converters are provided, and the at least two digital-to-analog current converters are used to adjust the magnitudes of at least two second currents generated by at least two second current sources based on at least two groups of PWM signals.

[0055] In some embodiments, at least two of the digital modules increase the duty cycle of the at least two groups of the PWM signals generated, and correspondingly adjust the resistance values ​​of at least two of the second resistors or at least two of the fourth resistors to increase, and decrease the duty cycle of the at least two groups of the PWM signals generated, and correspondingly adjust the resistance values ​​of at least two of the second resistors or at least two of the fourth resistors to decrease;

[0056] At least two of the digital-to-analog current converters increase the duty cycle of at least two groups of the PWM signals, and correspondingly adjust at least two of the second currents generated by at least two of the second current sources to decrease, and based on the duty cycle of at least two groups of the generated PWM signals decrease, correspondingly adjust at least two of the second currents generated by at least two of the second current sources to increase.

[0057] According to a second aspect of the present invention, an integrated circuit chip is provided, the integrated circuit chip comprising the above-mentioned LED driving circuit.

[0058] Compared with the prior art, the LED driving circuit and integrated circuit chip of the present invention filter the noise generated during the adjustment process by controlling the filter circuit to avoid the generation of current mutations; the circuit realizes the voltage of a shared resistor, realizes the generation of multiple groups of PWM currents, drives the LED, and saves the area of ​​circuit design; when PWM works at different frequencies and different duty cycles, the problem of mutual crosstalk will be introduced. Through multiple filtering and op amps to reduce the closed-loop bandwidth, the medium and high frequency noise is suppressed, and EMI is reduced; after filtering and low-frequency closed-loop bandwidth, the output signal still has overshoot or undershoot. By connecting the overshoot or undershoot suppression circuit, the noise and EMI effects are further optimized; when PWM is in action, when the duty cycle is small, the slope is increased, that is, the equivalent current is increased, to avoid the situation where the equivalent current provided to the outside is too small, causing the LED outside the chip to not light up. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 is a circuit schematic diagram of a driving circuit in the background technology;

[0060] Figure 2 A circuit schematic diagram of a basic circuit serving as a starting point for improvement of an embodiment of the present invention;

[0061] Figure 3 A first circuit schematic diagram of an LED driving circuit according to an embodiment of the present invention;

[0062] Figure 4 A first waveform diagram of an output signal according to an embodiment of the present invention;

[0063] Figure 5 is a circuit schematic diagram of an overshoot suppression circuit according to an embodiment of the present invention;

[0064] Figure 6 is a circuit schematic diagram of an undershoot suppression circuit according to an embodiment of the present invention;

[0065] Figure 7 A second waveform diagram of an output signal according to an embodiment of the present invention;

[0066] Figure 8 A second circuit schematic diagram of an LED driving circuit according to an embodiment of the present invention;

[0067] Fig. 9 A third circuit schematic diagram of the LED driving circuit according to an embodiment of the present invention;

[0068] Fig.10 A first waveform diagram of the duty cycle and the equivalent output current according to an embodiment of the present invention;

[0069] Fig.11 A second waveform diagram of the duty cycle and the equivalent output current according to an embodiment of the present invention;

[0070] Fig.12 FIG. 4 is a third waveform diagram of the output signal according to the embodiment of the present invention. DETAILED DESCRIPTION

[0071] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0072] The circuit requires low electromagnetic interference (EMI), which means that the current generated must be linear and without glitches. At the same time, it requires low power consumption and small area, saving resources as much as possible, sharing as much as possible, and power consumption should be as low as possible.

[0073] In this regard, an embodiment of the present invention provides an integrated circuit chip, the integrated circuit chip includes an internally integrated LED driving circuit, wherein the LED driving circuit is Figure 2 The design is based on the most basic circuit shown.

[0074] like Figure 2 As shown, the most basic circuit includes a current source I0, a resistor R01, an operational amplifier A0, a resistor R02 and a power tube M0. The first end of the current source I0 is connected to the voltage input end, the first end of the resistor R01 is connected to the second end of the current source I0, the second end of the resistor R01 is grounded, the first input end (i.e., the positive input end) of the operational amplifier A0 is connected to the second end of the current source I0, the output end of the operational amplifier A0 is connected to the control end of the power tube M0, the first end of the power tube M0 is connected to the voltage input end, the second end of the power tube M0 is connected to the second input end (i.e., the negative input end) of the operational amplifier A0, and the second end of the power tube M0 is also grounded through the resistor R02; when the current generated by the current source I0 is injected into the resistor R01, a voltage is generated, and then the closed-loop control is realized by means of the operational amplifier A0 so that the voltages of the resistors R01 and R02 are consistent, and then the current is proportionally amplified (according to the resistor ratio), i.e., Iout(R02)=I0*R01 / R02. The mismatch factor of the resistors will be relatively less through this design.

[0075] like Figure 3 As shown, the LED drive circuit Figure 2On the basis of the most basic circuit shown, further improvements have been made. The LED driving circuit includes a voltage generating circuit 100, a control filter circuit 200 and a current generating circuit 300 connected in sequence. The current generating circuit 300 is used to connect LEDs 11, 12, ..., 1n, wherein n is an integer greater than or equal to 1, LEDs 11, 12, ..., 1n are located outside the chip (i.e., integrated circuit chip, hereinafter referred to as chip), LEDs 11, 12, ..., 1n are light emitting diodes, and a single light emitting diode can be any one of the three-color light emitting diodes of red (R), green (G), and blue (B). Exemplarily, LEDs 11, 12, ..., 1n can be three-color light emitting diodes of red (R), green (G), and blue (B), respectively; of course, LEDs can also be added or reduced based on the above examples.

[0076] The voltage generating circuit 100 is used to generate an output voltage, and the output voltage is transmitted to the current generating circuit 300 through the control filter circuit 200. Specifically, the current generating circuit 100 includes a first current source I1, a first resistor R1 and a first capacitor C1. The first end of the first current source I1 is connected to the voltage input end, the first end of the first resistor R1 is connected to the first current source I1, the second end of the first resistor R1 is grounded, the first capacitor C1 is connected to the first resistor R1 in parallel, the second end of the first current source I1 is used to output a first current injected into the first resistor R1, the first resistor R1 is used to generate an output voltage based on the first current, and output it from its own first end; the first capacitor C1 is used to perform noise filtering on the output voltage output through the first end of the first resistor R1, wherein the first resistor R1 can be a variable resistor.

[0077] The control filter circuit 200 is connected between the voltage generating circuit 100 and the current generating circuit 300. The control filter circuit 200 is used to adjust the output voltage to n input voltages corresponding to the current generating circuit 300 based on n groups of PWM signals, and filter the noise generated during the adjustment process; specifically, the control filter circuit 200 includes bidirectional filter circuits 211, 212, ..., 21n and mutually exclusive switch circuits 221, 222, ..., 22n. The bidirectional filter circuits 211, 212, ..., 21n are correspondingly connected between the mutually exclusive switch circuits 221, 222, ..., 22n and the voltage generating circuit 100, that is, the bidirectional filter circuit The first ends of 211, 212, ..., 21n are connected to the second end of the first resistor R1, and the second ends of the bidirectional filtering circuits 211, 212, ..., 21n are connected to the mutually exclusive switch circuits 221, 222, ..., 22n in a one-to-one correspondence; the mutually exclusive switch circuits 221, 222, ..., 22n are connected to the current generating circuit 300, and the mutually exclusive switch circuits 221, 222, ..., 22n are used to adjust the output voltage to n input voltages based on n groups of PWM signals; the bidirectional filtering circuits 211, 212, ..., 21n are used to perform bidirectional filtering on the noise generated during the adjustment process of the mutually exclusive switch circuits 221, 222, ..., 22n.

[0078] In an optional embodiment, if Figure 3 As shown, the bidirectional filtering circuits 211, 212, ..., 21n include second resistors R21, R22, ..., R2n, third resistors R31, R32, ..., R3n and second capacitors C21, C22, ..., C2n, the first ends of the second resistors R21, R22, ..., R2n are connected to the second end of the first resistor R1 of the voltage generating circuit 100, the first ends of the third resistors R31, R32, ..., R3n are connected to the second ends of the second resistors R21, R22, ..., R2n in a one-to-one correspondence, the second ends of the third resistors R31, R32, ..., R3n are connected to the mutually exclusive switch circuits 221, 222, ..., 22n in a one-to-one correspondence, and the second capacitors C21, C22, ..., C2n are connected. , R2n, the first ends of the second resistors R21, R22, ..., R2n are connected one-to-one with the second ends of the second resistors R21, R22, ..., R2n, and the second ends of the second capacitors C21, C22, ..., C2n are grounded, wherein the second resistors R21, R22, ..., R2n and the second capacitors C21, C22, ..., C2n correspond one-to-one to form a filter, which are commonly used to filter the noise entering from the first ends of the second resistors R21, R22, ..., R2n, and the third resistors R31, R32, ..., R3n and the second capacitors C21, C22, ..., C2n correspond one-to-one to form a filter, which are commonly used to filter the noise entering from the second ends of the third resistors R31, R32, ..., R3n.

[0079] In an optional embodiment, if Figure 3As shown, the second resistors R21, R22, ..., R2n also form a low-pass filter together with the first capacitor C1 and the first resistor R1, and are used together to filter the noise entering from the second ends of the second resistors R21, R22, ..., R2n.

[0080] In an optional embodiment, if Figure 3 As shown, the mutually exclusive switch circuits 221, 222, ..., 22n include first switches S11, S12, ..., S1n, second switches S21, S22, ..., S2n and fourth resistors R41, R42, ..., R4n, the first ends of the first switches S11, S12, ..., S1n are connected one-to-one with the second ends of the third resistors R31, R32, ..., R3n in the bidirectional filtering circuits 211, 212, ..., 21n, the first ends of the second switches S21, S22, ..., S2n are connected one-to-one with the second ends of the first switches S11, S12, ..., S1n, and the second switches S21, S22, ..., S2n are connected one-to-one with the second ends of the first switches S11, S12, ..., S1n. 1, S22, ..., S2n are grounded, and the second ends of the fourth resistors R41, R42, ..., R4n are correspondingly connected between the second ends of the first switches S11, S12, ..., S1n and the current generating circuit 300, wherein the first switch S11 and the second switch S21 constitute mutually exclusive switches, the first switch S12 and the second switch S22 constitute mutually exclusive switches, and similarly, the first switch S1n and the second switch S2n constitute mutually exclusive switches, each mutually exclusive switch is controlled by a group of PWM signals, and during the control process, one output voltage can be correspondingly adjusted to n input voltages to input the current generating circuit 300.

[0081] like Figure 3As shown, the current generating circuit 300 is used to adjust the working current of LEDs 11, 12, ..., 1n based on n input voltages; specifically, the current generating circuit 300 includes operational amplifiers A11, A12, ..., A1n, first power tubes M11, M12, ..., M1n, fifth variable resistors R51, R52, ..., R5n and sixth resistors R61, R62, ..., R6n, the first input terminals (i.e., non-inverting input terminals) of the operational amplifiers A11, A12, ..., A1n are connected one-to-one with the second terminals of the fourth resistors R41, R42, ..., R4n of the mutually exclusive switch circuits 221, 222, ..., 22n in the control filter circuit 200, the second input terminals (i.e., inverting input terminals) of the operational amplifiers A11, A12, ..., A1n are connected one-to-one with the second terminals of the first power tubes M11, M12, ..., M1n, and the operational amplifiers A11, A12, ..., A1n are connected one-to-one with the second terminals of the first power tubes M11, M12, ..., M1n. The output ends of the devices A11, A12, ..., A1n (i.e., net1, net2, ..., netn) are connected to the control ends of the first power tubes M11, M12, ..., M1n in a one-to-one correspondence, the first ends of the first power tubes M11, M12, ..., M1n are connected to the second ends of the LEDs 11, 12, ..., 1n in a one-to-one correspondence, and the first ends of the LEDs 11, 12, ..., 1n are connected to the voltage input end; the first ends of the fifth variable resistors R51, R52, ..., R5n are connected to the second ends of the first power tubes M11, M12, ..., M1n in a one-to-one correspondence, the second ends of the fifth variable resistors R51, R52, ..., R5n are grounded, the first ends of the sixth resistors R61, R62, ..., R6n are connected to the second ends of the first power tubes M11, M12, ..., M1n in a one-to-one correspondence, and the second ends of the sixth resistors R61, R62, ..., R6n are grounded.

[0082] The first resistor R1 and the fifth resistors R51, R52, ..., R5n are variable resistors and can be used for trimming after chip manufacturing to ensure the consistency of currents in multiple circuits from the first resistor R1 to the fifth resistors R51, R52, ..., R5n.

[0083] The first current source I1 outputs a first current and injects it into the first resistor R1 to generate a voltage. The first capacitor C1 filters the noise there, and the voltage on the first resistor R1 is eventually transmitted to the non-inverting input terminal of the operational amplifier A11, A12, ..., A1n. This circuit can be regarded as multiple reuse of the same circuit, except that the input terminal connections are different. Each part has mutually exclusive switch control. The first current source I1 injects current into the first resistor R1 to generate a voltage, and then uses this voltage to generate a secondary current, which can effectively reduce the crosstalk and noise problems in long-distance wiring and improve the system's anti-interference ability and signal integrity. This design method is particularly suitable for peripheral circuits such as LED drivers that require stable current output, thereby achieving higher stability and reliability.

[0084] The switches of the first switch S11 and the second switch S21, the first switch S12 and the second switch S22, ..., the first switch S1n and the second switch S2n are PWM-controlled by digital signals (i.e., controlled by n groups of PWM signals), but the PWM switch control frequency and duty cycle of each switch are allowed to be different. Since the switches of the multiple parts share the voltage of the first resistor R1, when the switches of the multiple parts work at different frequencies and different duty cycles, crosstalk may be caused.

[0085] Taking the first switch S11 and the second switch S21 as an example, when the switch here is in action, the noise may crosstalk to the terminal voltage of the sixth resistor R62, R63, ..., R6n through different paths, thereby affecting the output current and damaging the EMI performance. Specifically, when the switch at the first switch S11 and the second switch S21 is in action, the noise will first be filtered through the third resistor R31 and the second capacitor C21 for the first time, and further filtered through the low-pass filter composed of the first resistor R1, the second resistor R21, and the first capacitor C1 for the second time, and then filtered through the filter composed of the second resistor R22 and the second capacitor C22 of each part, the filter composed of the second resistor R23 and the second capacitor C23, ..., and the filter composed of the second resistor R2n and the second capacitor C2n for the third time. In this process, the noise actually undergoes three filterings. Since the values ​​of these resistors and capacitors will not be particularly large, the corner frequency of the filter will not be very low, and only medium and high frequency noise can be effectively filtered. Similarly, when the first switch S12 and the second switch S22, . . . , the first switch S1n and the second switch S2n are in operation, the noise filtering step can refer to the first switch S11 and the second switch S21.

[0086] Furthermore, operational amplifiers A11, A12, ..., A1n work in a closed loop state. When designing the circuit, we can lower the closed loop bandwidth to emphasize the limitation of the closed loop bandwidth. For example, if the PWM frequency is 4kHz, the closed loop bandwidth can be set to 40kHz. For the low-pass filter, the corner frequency of 40kHz is a relatively low frequency, which further effectively suppresses the mid- and high-frequency noise, thereby reducing the possibility of mutual crosstalk. The operational amplifiers A11, A12, ..., A1n can also be regarded as the fourth filtering.

[0087] During the circuit design process, the inventor paid special attention to the requirements of low power consumption and small area of ​​the circuit. Voltage transmission is achieved by sharing the first resistor R1, and by optimizing the selection of capacitors and resistors, effective filtering function can be achieved while saving resources, meeting the requirements of low EMI of the circuit.

[0088] Even if these multiple switches are operated at the same time, the frequency and duty cycle are different, the mutual crosstalk can be greatly suppressed through the above design, which does not require the use of very complex technology. Through clever design, we have achieved the voltage of the common first resistor R1 and successfully generated multiple groups of PWM current outputs.

[0089] In summary, this circuit achieves the goals of low EMI, low power consumption and small area through multiple filtering and precise control of closed-loop bandwidth, while effectively suppressing the mutual crosstalk problem during switching action.

[0090] PWM (Pulse Width Modulation) control essentially introduces a step signal to the input of the closed-loop system. This step signal contains abundant high-frequency components. When the bandwidth of the closed-loop system is high, more high-frequency components can pass through the system and appear at the output. The output signal is Figure 4 As shown by the red line, this may cause glitches or overshoots in the output signal, which will have an adverse effect on electromagnetic interference (EMI). On the contrary, for a closed-loop system with low bandwidth, it can only respond to low-frequency signals, and the high-frequency components are suppressed by the system. Therefore, no matter how fast the input signal changes, the output signal will slowly build up and show low-frequency characteristics. In order to ensure the stability of the system and reduce EMI problems, it is often necessary to appropriately reduce the closed-loop bandwidth and increase the phase margin to ensure the system's ability to suppress high-frequency noise and the smoothness of the response. By emphasizing the low-frequency closed-loop bandwidth, the system's response speed and anti-interference ability can be effectively balanced, thereby achieving a stable and reliable control effect.

[0091] In an optional implementation, if overshoot or undershoot still occurs after the above operation, Figure 3 Based on the LED driver circuit shown in the figure, add Figure 5 The overshoot suppression circuit 400 shown, and / or Figure 6The shown undershoot suppression circuit 500, wherein the overshoot suppression circuit 400 may be n, and the n overshoot suppression circuits 400 are connected to the output terminals (i.e., net1, net2, ..., netn) of the operational amplifiers A11, A12, ..., A1n in one-to-one correspondence, and the overshoot suppression circuit 400 is used to suppress voltage overshoot. Similarly, the undershoot suppression circuit 500 may be n, and the n undershoot suppression circuits 500 are connected to the output terminals (i.e., net1, net2, ..., netn) of the operational amplifiers A11, A12, ..., A1n in one-to-one correspondence, and the undershoot suppression circuit is used to suppress voltage undershoot; to avoid glitches in the gate (control terminal) voltage of the first power tube M11, M12, ..., M1n, thereby preventing these glitches from being transmitted to the resistor below the source (second terminal) and affecting the output signal. These filtering networks can effectively suppress high-frequency noise, reduce the interference of overshoot and undershoot on the system, thereby optimizing the noise and electromagnetic interference (EMI) effects, and improving the stability and signal integrity of the system.

[0092] In an optional embodiment, the overshoot suppression circuit 400 can be one, the overshoot suppression circuit 400 is connected to the first end of the first resistor R1, and the overshoot suppression circuit 400 is used to suppress voltage overshoot; similarly, the undershoot suppression circuit 500 can be one, the undershoot suppression circuit 500 is connected to the first end of the first resistor R1, and the undershoot suppression circuit 500 is used to suppress voltage undershoot; when the resistance voltage at the end of the first resistor R1 generates an overshoot or undershoot, the overshoot suppression circuit 400 and the undershoot suppression circuit 500 will suppress these transient changes, thereby improving noise and EMI effects. In this way, the stability of the system can be further optimized, the impact of high-frequency glitches on the output signal can be reduced, and a smoother control effect and better electromagnetic compatibility performance can be achieved.

[0093] In an optional embodiment, if Figure 5 As shown, the overshoot suppression circuit 400 includes a second power tube M2, a third capacitor C3 and a seventh resistor R7. The first end of the second power tube M2 is connected to the circuit as a connection end, and the second end of the second power tube M2 is grounded; the first end of the third capacitor C3 is connected to the first end of the second power tube M2, and the second end of the third capacitor C3 is connected to the control end of the second power tube M2; the first end of the seventh resistor R7 is connected to the second end of the third capacitor C3, and the second end of the seventh resistor R7 is grounded.

[0094] In an optional embodiment, if Figure 6As shown, the undershoot suppression circuit 500 includes a third power tube M3, a fourth capacitor C4 and an eighth resistor R8. The first end of the third power tube M3 is connected to the circuit as a connection end, and the second end of the third power tube M3 is connected to the voltage input end; the first end of the fourth capacitor C4 is connected to the first end of the second power tube M3, and the second end of the fourth capacitor C4 is connected to the control end of the second power tube M3; the first end of the eighth resistor R8 is connected to the second end of the fourth capacitor C4, and the second end of the eighth resistor R8 is connected to the voltage input end.

[0095] based on Figure 3 The circuit design shown in the figure makes the output signal (such as the power tube drain voltage or output current) change at a fixed slope when PWM is in action. This means that when the duty ratio of the PWM signal is small, such as Figure 7 As shown in the figure, the output signal cannot rise quickly due to its slow slope, resulting in insufficient equivalent current provided to the off-chip LED diode, which may cause the LED diode to not light up. To solve this problem, it is necessary to increase the slope of the output signal when the duty cycle is small so that it can reach the required level faster, thereby increasing the equivalent current and ensuring that the off-chip LED diode can light up normally.

[0096] In an optional implementation, for the above problem, Figure 8 As shown, in Figure 3 On the basis of the circuit shown, n digital modules (Logic) 600, n digital-to-analog current converters (IDAC) 700 and n second current sources I2 are added, wherein the second resistors R21, R22, ..., R2n are variable resistors, and the n digital modules 600 are used to correspondingly adjust the resistance values ​​of the second resistors R21, R22, ..., R2n, and generate n groups of PWM signals; the n digital-to-analog current converters 700 correspondingly adjust the magnitudes of the n second currents generated by the n second current sources I2 based on the n groups of PWM signals, and the n second current sources I2 correspondingly generate n second currents under the adjustment of the n digital-to-analog current converters 700, wherein the n second currents are used as Bias current of operational amplifiers A11, A12, ..., A1n; specifically, the n digital modules 600 increase the duty cycle of the n groups of PWM signals generated, and correspondingly adjust the resistance values ​​of the second resistors R21, R22, ..., R2n to increase, and reduce the duty cycle of the n groups of PWM signals generated, and correspondingly adjust the resistance values ​​of the second resistors R21, R22, ..., R2n to decrease; the n digital-to-analog current converters 700 increase the duty cycle of the n groups of PWM signals, and correspondingly adjust the n second currents generated by the n second current sources I2 to decrease, and correspondingly adjust the n second currents generated by the n second current sources I2 to increase based on the duty cycle of the n groups of PWM signals generated.

[0097] Taking the first switch S11 and the second switch S21 as an example, a digital module 600 generates a set of PWM signals to control the first switch S11 and the second switch S21, and the duty cycle of this PWM signal is controlled by the digital module 600. Then, the second current generated by the second current source I2 is sent to the operational amplifier A11 as a bias current. Generally, when the bias current becomes larger, the bandwidth of the operational amplifier will increase, thereby increasing the closed-loop bandwidth. The size of this bias current is adjusted by the digital-to-analog current converter 700. When the duty cycle of the PWM signal is relatively high, the bias current decreases, and when the duty cycle is relatively low, the bias current increases.

[0098] In addition, the digital module 600 also controls a second resistor R21 of a variable resistor, and the resistance of the first resistor R1 does not change (that is, it can be a fixed resistor or a variable resistor. When it is used as a variable resistor, the resistance remains fixed and does not change). Figure 8 As shown, the corner frequency of the first-order RC filter composed of the second resistor R21 and the first capacitor C1 is affected. The larger the resistance of the second resistor R21, the lower the corner frequency of the filter; the smaller the resistance of the second resistor R21, the higher the corner frequency.

[0099] In an optional implementation, the fourth resistors R41, R42, ..., R4n are variable resistors, the second resistors R21, R22, ..., R2n are fixed resistors, and the n digital modules 600 are used to adjust the resistance of the fourth resistors R41, R42, ..., R4n accordingly, and no longer adjust the resistance of the second resistors R21, R22, ..., R2n; taking the fourth resistor R41 as an example for explanation, the change in the resistance of the fourth resistor R41 can also affect the corner frequency of the first-order RC filter composed of the second resistor R21 and the first capacitor C1. The larger the resistance of the fourth resistor R41, the lower the corner frequency of the filter; the smaller the resistance of the fourth resistor R41, the higher the corner frequency.

[0100] In an optional embodiment, if Fig. 9 As shown, the first resistor R1 can be a variable resistor, and the second resistors R21, R22, ..., R2n are fixed resistors. Figure 3A digital module 600, n digital-to-analog current converters 700 and n second current sources I2 are added to the circuit shown in the figure. The digital module 600 is used to adjust the resistance value of the first resistor R1 and generate n groups of PWM signals. The n digital-to-analog current converters 700 correspondingly adjust the magnitudes of the n second currents generated by the n second current sources I2 based on the n groups of PWM signals. The n second current sources I2 correspondingly generate n second currents under the regulation of the n digital-to-analog current converters 700. The n second currents are used as the operational amplifiers A11, A12, ..., A 1n bias current; specifically, the digital module 600 increases the resistance of the first resistor R1 based on the increase in the duty cycle of the n groups of PWM signals generated, and decreases the resistance of the first resistor R1 based on the decrease in the duty cycle of the n groups of PWM signals generated; the n digital-to-analog current converters 700 increase the duty cycle of the n groups of PWM signals based on the increase in the duty cycle of the n groups of PWM signals, and increase the n second currents generated by the n second current sources I2 based on the decrease in the duty cycle of the n groups of PWM signals generated.

[0101] Fig. 9 The circuit shown is Figure 8 The circuit shown is similar, such as Fig. 9 As shown, the digital module 600 controls the resistance value of the first resistor R1, thereby affecting the corner frequency of the first-order RC filter composed of the first resistor R1 and the first capacitor C1. The larger the first resistor R1, the lower the corner frequency of the filter; the smaller the first resistor R1, the higher the corner frequency. When the duty cycle of the PWM signal is high, the system will use a larger resistor, and when the duty cycle is low, a smaller resistor will be used.

[0102] Finally, the scheme also allows the variable resistor and the bias current of the op amp to be adjusted separately or to work in coordination to achieve the best system performance. In this way, the system can dynamically adjust the characteristics of the op amp and filter according to demand to ensure the best performance under different conditions.

[0103] Of course, the variable current and variable resistance can be set to fixed values, such as Fig.10 As shown in the figure, when the duty cycle is very small, the slope becomes faster and faster as the duty cycle becomes smaller, and when the duty cycle is greater than a certain value, the slope is fixed. This is conducive to improving DNL (differential nonlinear relationship, involving the linearity and uniformity of LED brightness changes) and has better linearity, but at the same time its EMI will be worse.

[0104] If the variable current and variable resistance can be adjusted, there are disadvantages, such as Fig.11As shown, when the duty cycle is large, the slope becomes slower, and the equivalent increase in current step (the increment or change in current in each PWM cycle) becomes smaller, which affects the DNL (differential nonlinear relationship, involving the linearity and uniformity of LED brightness changes) of the output current and duty cycle. Although this DNL will be worse, its EMI will be better.

[0105] Therefore, these two solutions have their own advantages and disadvantages. If you want to use them specifically, you can choose and control them according to the usage scenario and needs.

[0106] like Fig.12 As shown, through the above control of the first resistor R1 or the second resistor R2 and the bias current, when the duty cycle is small, the slope increases and the output equivalent current is large, thereby ensuring that the external LED diode can be lit; when the duty cycle is large, the slope decreases, thereby optimizing EMI at high currents.

[0107] The duty cycle and the slope can be associated, and the slope can be flexibly variable. This can also avoid the situation where the LED diode does not light up when the duty cycle is extremely small.

[0108] The LED driving circuit and integrated circuit chip of the present embodiment filter the noise generated during the adjustment process by controlling the filter circuit to avoid the generation of current mutations; the circuit realizes the voltage of a shared resistor, realizes the generation of multiple groups of PWM currents, drives the LED, and saves the area of ​​circuit design; when PWM works at different frequencies and different duty cycles, the problem of mutual crosstalk will be introduced. Through multiple filtering and op amps to reduce the closed-loop bandwidth, the medium and high frequency noise is suppressed and EMI is reduced; after filtering and low-frequency closed-loop bandwidth, the output signal still has overshoot or undershoot. By connecting the overshoot or undershoot suppression circuit, the noise and EMI effects are further optimized; when PWM is in action, when the duty cycle is small, the slope is increased, that is, the equivalent current is increased to avoid the situation where the equivalent current provided to the outside is too small, causing the LED outside the chip to not light up.

[0109] The above are only some embodiments of the present invention. For those skilled in the art, several modifications and improvements can be made without departing from the creative concept of the present invention, which all belong to the protection scope of the present invention.

Claims

1. An LED driving circuit, characterized in that: include: A current generating circuit, the current generating circuit being connected to at least two LEDs, the current generating circuit being used to adjust the operating current of the at least two LEDs correspondingly based on at least two input voltages; A voltage generating circuit, wherein the voltage generating circuit is used to generate an output voltage; A control filter circuit is connected between the voltage generating circuit and the current generating circuit, and is used to adjust the output voltage to at least two input voltages based on at least two groups of PWM signals, and to filter the noise generated during the adjustment process.

2. The LED driving circuit according to claim 1, characterized in that: The control filter circuit comprises: At least two mutually exclusive switch circuits, at least two of the mutually exclusive switch circuits are connected to the current generating circuit, and at least two of the mutually exclusive switch circuits are used to adjust the output voltage to at least two input voltages based on at least two groups of the PWM signals; At least two bidirectional filtering circuits, at least two of the bidirectional filtering circuits are correspondingly connected between at least two of the mutually exclusive switching circuits and the voltage generating circuit, and at least two of the bidirectional filtering circuits are used to perform bidirectional filtering on the noise generated during the adjustment process of at least two of the mutually exclusive switching circuits.

3. The LED driving circuit according to claim 2, characterized in that: At least two of the bidirectional filtering circuits include: at least two second resistors, wherein first ends of at least two second resistors are connected to the voltage generating circuit; At least two third resistors, wherein the first ends of at least two of the third resistors are connected to the second ends of at least two of the second resistors in a one-to-one correspondence, and the second ends of at least two of the third resistors are connected to at least two mutually exclusive switch circuits in a one-to-one correspondence; at least two second capacitors, wherein first ends of at least two of the second capacitors are connected to second ends of at least two of the second resistors in a one-to-one correspondence, and second ends of at least two of the second capacitors are grounded; The second resistor and the second capacitor are used together to filter the noise entering through the second resistor, and the third resistor and the second capacitor are used together to filter the noise entering through the third resistor.

4. The LED driving circuit according to claim 3, characterized in that: The voltage generating circuit comprises: A first current source, wherein the first current source is used to output a first current; a first resistor, wherein a first end of the first resistor is connected to a first current source, a second end of the first resistor is grounded, and the first resistor is used to generate the output voltage based on the first current; A first capacitor is connected in parallel with the first resistor, and the first capacitor is used to filter the output voltage.

5. The LED driving circuit according to claim 4, characterized in that: Each of the second resistors is also used together with the first capacitor and the first resistor to filter noise entering through the second resistor.

6. The LED driving circuit according to claim 4, characterized in that: Also includes: an overshoot suppression circuit, the overshoot suppression circuit being connected to the first end of the first resistor, the overshoot suppression circuit being used to suppress voltage overshoot; and / or An undershoot suppression circuit is connected to the first end of the first resistor, and is used to suppress voltage undershoot.

7. The LED driving circuit according to claim 4, characterized in that: The current generating circuit comprises: At least two first power tubes, wherein first ends of at least two first power tubes are connected to at least two LEDs in a one-to-one correspondence; At least two operational amplifiers, wherein the first input terminals of at least two of the operational amplifiers are connected to the control filter circuit, the second input terminals of at least two of the operational amplifiers are connected to the second terminals of at least two of the first power tubes in a one-to-one correspondence, and the output terminals of at least two of the operational amplifiers are connected to the control terminals of at least two of the first power tubes in a one-to-one correspondence; At least two fifth variable resistors, wherein the first ends of the at least two fifth variable resistors are connected to the second ends of the at least two first power tubes in a one-to-one correspondence, and the second ends of the at least two fifth variable resistors are grounded; At least two sixth resistors, the first ends of at least two of the sixth resistors are connected to the second ends of at least two of the first power tubes in a one-to-one correspondence, and the second ends of at least two of the sixth resistors are grounded.

8. The LED driving circuit according to claim 7, characterized in that: At least two mutually exclusive switch circuits include: At least two first switches, wherein first ends of at least two of the first switches are connected to at least two of the bidirectional filter circuits in a one-to-one correspondence; at least two second switches, wherein first ends of at least two of the second switches are connected to second ends of at least two of the first switches in a one-to-one correspondence, and second ends of at least two of the second switches are grounded; At least two fourth resistors are connected between the second ends of at least two first switches and the current generating circuit respectively.

9. The LED driving circuit according to claim 7, characterized in that: Also includes: At least two overshoot suppression circuits, the at least two overshoot suppression circuits being connected to the output terminals of at least two operational amplifiers in a one-to-one correspondence, the overshoot suppression circuits being used to suppress voltage overshoot; and / or At least two undershoot suppression circuits are connected to the output terminals of at least two operational amplifiers in a one-to-one correspondence, and the undershoot suppression circuits are used to suppress voltage undershoot.

10. The LED driving circuit according to claim 6 or 9, characterized in that: The overshoot suppression circuit comprises: A second power tube, wherein a first end of the second power tube is connected to the circuit as a connection end, and a second end of the second power tube is grounded; a third capacitor, wherein a first end of the third capacitor is connected to the first end of the second power tube, and a second end of the third capacitor is connected to the control end of the second power tube; a seventh resistor, a first end of the seventh resistor being connected to the second end of the third capacitor, and a second end of the seventh resistor being grounded; and / or The undershoot suppression circuit comprises: A third power tube, wherein a first end of the third power tube is connected to the circuit as a connection end, and a second end of the third power tube is connected to the voltage input end; a fourth capacitor, wherein a first end of the fourth capacitor is connected to the first end of the second power tube, and a second end of the fourth capacitor is connected to the control end of the second power tube; An eighth resistor, wherein a first end of the eighth resistor is connected to the second end of the fourth capacitor, and a second end of the eighth resistor is connected to the voltage input end.

11. The LED driving circuit according to claim 7, characterized in that: The first resistor is a variable resistor, and the circuit further includes: A digital module, the digital module is used to adjust the resistance value of the first resistor and generate at least two groups of the PWM signals; At least two second current sources, the at least two second current sources correspondingly generating at least two second currents, wherein the at least two second currents serve as bias currents of at least two operational amplifiers; At least two digital-to-analog current converters are provided, and the at least two digital-to-analog current converters are used to adjust the magnitudes of at least two second currents generated by at least two second current sources based on at least two groups of PWM signals.

12. The LED driving circuit according to claim 11, characterized in that: The digital module increases the duty cycle of the at least two groups of PWM signals generated, and correspondingly adjusts the resistance value of the first resistor to increase, and decreases the duty cycle of the at least two groups of PWM signals generated, and correspondingly adjusts the resistance value of the first resistor to decrease; At least two of the digital-to-analog current converters increase the duty cycle of at least two groups of the PWM signals, and correspondingly adjust at least two of the second currents generated by at least two of the second current sources to decrease, and based on the duty cycle of at least two groups of the generated PWM signals decrease, correspondingly adjust at least two of the second currents generated by at least two of the second current sources to increase.

13. The LED driving circuit according to claim 8, characterized in that: The second resistor or the fourth resistor is a variable resistor, and the circuit further includes: At least two digital modules, wherein the at least two digital modules are used to correspondingly adjust the resistance values ​​of at least two of the second resistors or at least two of the fourth resistors, and generate at least two groups of the PWM signals; At least two second current sources, the at least two second current sources correspondingly generating at least two second currents, wherein the at least two second currents serve as bias currents of at least two operational amplifiers; At least two digital-to-analog current converters are provided, and the at least two digital-to-analog current converters are used to adjust the magnitudes of at least two second currents generated by at least two second current sources based on at least two groups of PWM signals.

14. The LED driving circuit according to claim 13, characterized in that: At least two of the digital modules increase the duty cycle of the at least two groups of the PWM signals generated, and correspondingly adjust the resistance values ​​of at least two of the second resistors or at least two of the fourth resistors to increase; and decrease the duty cycle of the at least two groups of the PWM signals generated, and correspondingly adjust the resistance values ​​of at least two of the second resistors or at least two of the fourth resistors to decrease; At least two of the digital-to-analog current converters increase the duty cycle of at least two groups of the PWM signals, and correspondingly adjust at least two of the second currents generated by at least two of the second current sources to decrease, and based on the duty cycle of at least two groups of the generated PWM signals decrease, correspondingly adjust at least two of the second currents generated by at least two of the second current sources to increase.

15. An integrated circuit chip, characterized in that: The LED driving circuit comprises the LED driving circuit according to any one of claims 1 to 14.