A LED control method and circuit based on multi-channel PWM signals

By adopting a multi-channel PWM signal control method in the LED control circuit, combining the output current through the multi-stage PWM signal input loop, the problem of LEDs being difficult to meet high refresh rate or high resolution is solved, and cost reduction and performance improvement are achieved.

CN115426742BActive Publication Date: 2024-11-01深せん市美せき微半導体股ふん有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211212951.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2024-11-01
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

In the existing LED control system, the minimum pulse width of the PWM signal is difficult to reduce, making it difficult for the LED to meet the user's high requirements for refresh rate or resolution, and the cost also increases.

Method used

By using the multi-channel PWM signal control method, the multi-stage PWM signal input loop is set in the LED control circuit, the constant current value and current resolution of each stage PWM signal are determined respectively, and the preset grayscale bit is matched by combining the output total current. , improves the refresh rate and current resolution of the LED without reducing the minimum pulse width of the PWM signal.

Benefits of technology

Without reducing the minimum pulse width of the PWM signal, the refresh rate and current resolution of the LED control system are improved, the cost is reduced, and the user's requirements for high refresh rate or high resolution are met.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115426742B_ABST
    Figure CN115426742B_ABST
Patent Text Reader

Abstract

The present application provides an LED control method based on multi-channel PWM signals, which is applied to an LED control circuit, wherein the LED control circuit includes a controlled LED and a PWM signal input circuit, and the method includes: determining the number of PWM signal input circuits in the LED control circuit according to the preset number of grayscale bits of the controlled LED, wherein the PWM signal input circuit includes a first-level PWM input circuit and a second-level PWM input circuit; determining the constant current value of the first-level PWM input circuit and the constant current value of the second-level PWM input circuit, wherein the constant current value of the first-level PWM input circuit is determined by the bias current of the first-level PWM input circuit, and the constant current value of the second-level PWM input circuit is determined by the bias current of the second-level PWM input circuit. The present application adopts the above method, so that the control current of the LED enables the LED to meet the number of grayscale bits required by the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of signal control, and in particular to a LED control method and circuit based on multi-channel PWM signals. Background Art

[0002] LED, also known as light-emitting diode, is widely used in LED display screens, traffic lights, car lights, lighting sources (such as lighting sources for mobile phones, cameras and other electronic devices) and other fields because of its advantages such as energy saving, long service life, green environmental protection and impact resistance.

[0003] At present, for the control of LED, pulse width modulation signal (PWM, Pulse Width Modulation) is usually used to control the brightness of LED. Because the application scenarios in various fields are different, the accuracy of LED control is different, and different requirements are also put forward for various parameters in the LED control system. For example, in the production and manufacturing of LED display screens, there are requirements for grayscale levels, so there are corresponding requirements for the current resolution of the output end of the LED control system.

[0004] In traditional LED control systems, a single PWM signal is often used to control a single LED. When users require a high resolution or high refresh rate for LED output, the minimum pulse width of PWM needs to be very small. Limited by the operating speed of semiconductor devices, the pulse width of the PWM signal cannot be reduced indefinitely. In other words, in order to meet the requirements of high resolution or high refresh rate for LED output, reducing the minimum pulse width of PWM requires more stringent requirements for the entire system, and the required cost will also increase significantly. On this basis, the control current of the LED in the LED control system makes it difficult for the LED to meet the refresh rate or resolution required by the user. In other words, the control current of the LED makes it difficult for the LED to meet the grayscale bit number required by the user.

[0005] Therefore, there is an urgent need for a method for controlling an LED through a PWM signal to solve the problems existing in the prior art. Summary of the invention

[0006] The present application provides an LED control method and circuit based on multi-channel PWM signals to solve the problem in the prior art that it is difficult for the control current of the LED to make the LED meet the grayscale bit number required by the user.

[0007] In a first aspect, the present application provides an LED control method based on multiple PWM signals, which is applied to an LED control circuit. The LED control circuit includes a controlled LED and a PWM signal input circuit. The method includes:

[0008] According to the preset number of grayscale bits of the controlled LED, determine the number of PWM signal input loops in the LED control circuit, wherein the PWM signal input loop includes a first-level PWM input loop and a second-level PWM input loop;

[0009] Determine a constant current value of the first-level PWM input loop and a constant current value of the second-level PWM input loop, wherein the constant current value of the first-level PWM input loop is determined by a bias current of the first-level PWM input loop, and the constant current value of the second-level PWM input loop is determined by a bias current of the second-level PWM input loop, and the constant current value is an inflow current value of the drain of the constant current driving tube;

[0010] Receiving a preset PWM digital signal of the first-level PWM input loop and a preset PWM digital signal of the second-level PWM input loop, obtaining an output current of the first-level PWM input loop and an output current of the second-level PWM input loop, wherein the PWM digital signal controls the output current by controlling the on and off of constant current drive tubes in each level of PWM signal input loop;

[0011] An output total current is sent to the controlled LED, where the output total current is the sum of the output current of the first-level PWM input loop and the output current of the second-level PWM input loop, and the output total current matches a preset number of grayscale bits of the controlled LED.

[0012] Optionally, the PWM digital signal includes a first-level PWM digital signal and a second-level PWM digital signal, and the PWM digital signal is binary data; wherein the first-level PWM digital signal is binary data. M-1 b M-2 ...b1b0, the second-level PWM digital signal is c N-1 c N-2 …c1c0;

[0013] The relationship between the number of bits of the first-level PWM digital signal, the number of bits of the second-level PWM digital signal and the number of grayscale bits of the controlled LED is as follows:

[0014] M+N=K

[0015] M is the number of bits of the first-level PWM digital signal; N is the number of bits of the second-level PWM digital signal; K is the number of grayscale bits of the controlled LED.

[0016] Optionally, the number of bits of the first-level PWM digital signal is equal to the number of bits of the second-level PWM digital signal.

[0017] Optionally, the current resolution of the first-stage PWM input loop is I min1, the current resolution of the second-level PWM input loop is I min2 ;

[0018] The current resolution of each PWM signal input circuit is determined by the following formula

[0019] I min(n) =I Nn / 2 α ;

[0020] Where n is the number of PWM signal input circuits, I Nn is the constant current value of the n-th level PWM input circuit, and α is the number of bits of the n-th level PWM digital signal.

[0021] Optionally, the current resolution of the first-level PWM input loop is the constant current value of the second-level PWM input loop.

[0022] Optionally, the total output current is determined by the following formula:

[0023] I out =I1+I2

[0024] Among them, I out is the total output current; I1 is the output current of the first-stage PWM input circuit of the first-stage PWM input circuit;

[0025] I2 is the output current of the second-level PWM input circuit;

[0026]

[0027] Among them, b n is the n+1th digit of the first-level PWM digital signal, c n It is the n+1th bit of the second-level PWM digital signal.

[0028] Optionally, the minimum pulse width of the PWM signal in each PWM signal input loop is determined according to the following formula:

[0029] The minimum pulse width of the first-level PWM signal = T1 / 2 M ;Minimum pulse width of the second-level PWM signal = T2 / 2 N ;

[0030] Wherein, T1 is the period of the first-level PWM signal, and T2 is the period of the second-level PWM signal.

[0031] In a second aspect, the present application provides an LED control circuit based on a multi-channel PWM signal, the circuit comprising a bias current input module, a PWM signal input loop and a controlled LED, the bias current output module comprising a first bias current input unit and a second bias current input unit, the PWM signal input loop comprising a first-level PWM input loop and a second-level PWM input loop, the bias current output by the bias current output module is used to adjust the constant current value in the first-level PWM input loop and the second-level PWM input loop;

[0032] The first bias current output unit inputs a first bias current to the first-level PWM input loop, and the second bias current output unit inputs a second bias current to the second-level PWM input loop; the current output end of the first-level PWM input loop is connected to the controlled LED, and the current output end of the second-level PWM input loop is connected to the controlled LED.

[0033] Optionally, the first-level PWM input loop includes at least one constant current driving tube, and the second-level PWM input loop includes at least one constant current driving tube.

[0034] Optionally, the periods of the PWM signals in the first-level PWM input loop and the second-level PWM input loop are equal.

[0035] Compared with the prior art, the beneficial effects of the present application are: without reducing the minimum pulse width of the PWM signal, the control current in the LED control system can meet the user's requirements for the refresh rate or resolution of the LED. When the minimum pulse width of the PWM signal cannot be reduced, the current resolution in the LED control system is improved. The user's cost is reduced, and the cost required is greatly increased when using a PWM signal generating device with a higher minimum pulse width requirement is avoided. When the number of grayscale bits of multiple PWM signals is set to be the same, the refresh rate of the LED can be improved when the total number of grayscale bits is the same. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a schematic diagram of a circuit structure of a related technology provided by an embodiment of the present application;

[0037] Figure 2 It is a schematic diagram of the principle of an LED control method based on multi-channel PWM signals provided in an embodiment of the present application;

[0038] Figure 3 It is a flowchart of an LED control method based on multi-channel PWM signals provided in an embodiment of the present application;

[0039] Figure 4It is a structural schematic diagram of an LED control circuit based on multi-channel PWM signals provided in an embodiment of the present application;

[0040] Figure 5 It is a schematic diagram of the principle of an LED control circuit based on multi-channel PWM signals provided in an embodiment of the present application;

[0041] Figure 6 It is a structural schematic diagram of an LED control circuit based on multi-channel PWM signals provided in an embodiment of the present application;

[0042] Figure 7 It is a structural schematic diagram of another LED control circuit based on multi-channel PWM signals provided in an embodiment of the present application;

[0043] Figure 8 It is a structural schematic diagram of another LED control circuit based on multi-channel PWM signals provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0045] In addition, the terms "first", "second" and "third" in the specification of the present application are used to distinguish different objects rather than to describe a specific order, and may explicitly or implicitly include one or more of the features.

[0046] The LED (Light-Emitting Diode) in this application refers to light-emitting diodes including but not limited to those used in the fields of LED display screens, traffic lights, LCD backlight sources, lighting sources, etc.

[0047] The grayscale bit number in this application can be understood as grayscale level, which means that when LED is applied in a certain field, for example, the LED display mainly adopts 8-bit processing system, that is, 256 (2^8) grayscale levels, and the grayscale bit number of the LED element in the LED display is 8 bits. Simply put, there are 256 brightness changes from black to white.

[0048] The constant current value in the embodiment of the present application is the current value flowing into the drain of the constant current driving tube.

[0049] Figure 1 FIG. 1 is a schematic diagram of the principle of using a PWM signal to control an LED in the related art of this application. Figure 1As shown, a constant current driving tube is adopted, and then a PWM signal is used to control the output current of the constant current driving tube, thereby controlling the LED lamp.

[0050] Figure 2 The waveform diagram of the constant current value I0 and the PWM signal period output in the PWM control circuit is shown in Figure 2. k The output constant current value of the driver tube is I0, then the resolution of the current is I0 / 2K, that is, the minimum output current is I0 / 2 k , maximum is I0-I0 / 2 k .

[0051] If the period of the PWM signal is T, the minimum pulse width is T / 2 k , the refresh frequency is f=1 / T.

[0052] The binary data corresponding to the K bits PWM digital signal is b K-1 b K-2 …b1b0;

[0053] Then the output current is:

[0054]

[0055] It is not difficult to deduce from the above formula that when the grayscale bit number K value of the controlled LED is required to be larger, the minimum pulse width of the required PWM signal is smaller.

[0056] For example, K = 8, I o =16mA, current resolution (minimum current) is I o / 28=0.0625mA.

[0057] T=1024us, the refresh frequency is about 1kHz, and the minimum pulse width is T / 28=4us.

[0058] If the refresh rate is increased to 8kHz, the period T = 128us. The corresponding minimum pulse width is T / 28 = 500ns. This requires that the rise and fall time of PWM must be less than 250ns, which puts higher requirements on the system.

[0059] If K = 16 and the refresh frequency is still 1kHz, the minimum pulse width is T / 216 = 15.6ns, which is impossible to achieve in the current general LED system.

[0060] An embodiment of the present application provides an LED control method based on multi-channel PWM, which is applied to an LED control circuit. The LED control circuit includes a controlled LED and a PWM signal input circuit. Figure 3 Schematic diagram of the method flow of an embodiment of the present application.

[0061] like Figure 3 As shown, the method includes steps S301-S304. Among them,

[0062] Step S301, determining the number of PWM signal input loops in the LED control circuit according to a preset number of grayscale bits of the controlled LED, wherein the PWM signal input loops include a first-level PWM input loop and a second-level PWM input loop.

[0063] For example, if Figure 4 As shown in the figure, the grayscale bit number of the controlled LED is preset to 8 bits, and the brightness of the LED is controlled by adopting two separate PWM signal input loops.

[0064] Step S302, determining a constant current value of the first-stage PWM input loop and a constant current value of the second-stage PWM input loop.

[0065] Determine a constant current value of a first-level PWM input loop and a constant current value of a second-level PWM input loop, wherein the constant current value of the first-level PWM input loop is determined by a bias current of the first-level PWM input loop, and the constant current value of the second-level PWM input loop is determined by a bias current of the second-level PWM input loop;

[0066] Step S303, receiving a preset PWM digital signal of the first-level PWM input loop and a preset PWM digital signal of the second-level PWM input loop, and obtaining an output current of the first-level PWM input loop and an output current of the second-level PWM input loop.

[0067] Receive the preset PWM digital signal of the first-level PWM input loop and the PWM digital signal of the second-level PWM input loop, obtain the output current of the first-level PWM input loop and the output current of the second-level PWM input loop, and the PWM digital signal controls the output current by controlling the on and off of the constant current drive tube in each level of the PWM signal input loop.

[0068] In a possible implementation, the PWM digital signal includes a first-level PWM digital signal and a second-level PWM digital signal, and the PWM digital signal is binary data; wherein,

[0069] The first-level PWM digital signal is b M-1 b M-2 ...b1b0, the second-level PWM digital signal is c N-1 c N-2 …c1c0; The relationship between the number of bits of the first-level PWM digital signal, the number of bits of the second-level PWM digital signal, and the number of grayscale bits of the controlled LED is as follows:

[0070] M+N=KM is the number of bits of the first-level PWM digital signal; N is the number of bits of the second-level PWM digital signal; K is the number of grayscale bits of the controlled LED.

[0071] In a possible implementation manner, the minimum pulse width of the PWM signal in each level of the PWM signal input loop is determined according to the following formula:

[0072] The minimum pulse width of the first-level PWM signal = T1 / 2 M ;Minimum pulse width of the second-level PWM signal = T2 / 2 N ;

[0073] Wherein, T1 is the period of the first-level PWM signal, and T2 is the period of the second-level PWM signal.

[0074] For example, the preset grayscale bit number of the LED is 10 bits, the grayscale bit number of the first-level PWM signal is 6 bits, and the period of the first-level PWM signal is 256us; the grayscale bit number of the second-level PWM signal is 4 bits, and the period of the second-level PWM signal is 64us. According to the above formula, it is not difficult to deduce that the minimum pulse width of the first-level PWM signal is 4us, and the minimum pulse width of the second-level PWM signal is also 4us.

[0075] In a possible implementation manner, the number of bits of the first-level PWM digital signal is equal to the number of bits of the second-level PWM digital signal.

[0076] For example, if Figure 4 As shown, the number of bits of the first-level PWM digital signal corresponding to the input end (PWM1) of the first-level PWM input loop is 4 bits, and the binary data of the first-level PWM digital signal can be expressed as b3b2b1b0.

[0077] The number of bits of the second-level PWM digital signal corresponding to the input end (PWM2) of the second-level PWM input loop is also 4 bits. The binary data of the second-level PWM digital signal can be expressed as c3c2c1c0.

[0078] In a possible implementation, the current resolution of the first-stage PWM input loop is I min1 , the current resolution of the second-level PWM input loop is I min2 ; The current resolution of each PWM signal input loop is determined by the following formula:

[0079] I min(n) =I Nn / 2 α ;

[0080] Where n is the number of PWM signal input circuits, I Nnis the constant current value of the n-th level PWM input circuit, and α is the number of bits of the n-th level PWM digital signal.

[0081] In a possible implementation manner, the current resolution of the first-level PWM input loop is the constant current value of the second-level PWM input loop.

[0082] For example, see Figure 4 as well as Figure 5 , by setting the bias current I in the first-stage PWM input loop b1 , the constant current value in the first-level PWM input loop can be controlled to be I0. By setting the bias current I b2 , the constant current value in the second-level PWM input circuit can be controlled to be I0 / 2 M .

[0083] For the first-level PWM input loop and the second-level PWM input loop, their bias currents can be set by the user according to actual needs. When the number of bits of the first-level PWM signal in the first-level PWM input loop is Mbits and the number of bits of the second-level PWM signal in the second-level PWM input loop is N bits, the current resolution of the first-level PWM input loop is I0 / 2 M , the current resolution of the second-level PWM input circuit is I0 / 2 M / 2 N By adopting the above method, the current resolution of the first-level PWM input loop is equal to the constant current value of the second-level PWM input loop.

[0084] Step S304: sending the total output current to the controlled LED.

[0085] The total output current is sent to the controlled LED. The total output current is the sum of the output current of the first-level PWM input loop and the output current of the second-level PWM input loop. The total output current matches the preset grayscale bit number of the controlled LED.

[0086] In one possible implementation, the total output current is determined by the following formula:

[0087] I out =I1+I2

[0088] Among them, I out is the total output current; I1 is the output current of the first-level PWM input circuit of the first-level PWM input circuit; I2 is the output current of the second-level PWM input circuit;

[0089]

[0090] Among them, b nis the n+1th digit of the first-level PWM digital signal, c n It is the n+1th bit of the second-level PWM digital signal.

[0091] Using the above method, the total output current I out The maximum value that can be achieved is

[0092] (I N1 -I N1 / 2 M )+(I N2 -I N2 / 2 N ); minimum value (I N1 / 2 M +I N2 / 2 N ). Among them, I N2 =I N1 / 2 M .

[0093] The above total output current I out The value of is determined in the actual LED control system according to the specific PWM digital signals of the input system.

[0094] For example, by combining the above method Figure 4 as well as Figure 5 The circuit provided, when K=8, M=N=4, sets the minimum pulse width of all PWM signals in the entire circuit to 4us. The PWM1 constant current value is 16mA, and the current resolution is I o / 2 4 =1mA. The period is T1=4*2 4 = 64us, refresh frequency is 16KHz. PWM2 constant current value is 1mA, current resolution is 1 / 2 4 =0.0625mA. The period is T2=4*2 4 =64us, and the refresh frequency is 16KHz. In this way, through the two-group PWM method, the refresh frequency is increased to 16kHz, which is 16 times higher, while the minimum pulse width is still 4us.

[0095] For example, combining Figure 4 as well as Figure 5 The circuit provided, for example, when the controlled LED is required to have a grayscale bit number of 16 bits, if the minimum pulse width of the PWM signal is 0.5us, if the traditional PWM method is used, the period T = 0.5us*2 16 =32768us, so the frequency of the PWM obtained according to the formula is about 30Hz. In the related art, the values ​​of the above period and frequency obviously cannot meet the requirements.

[0096] For example, by this method, let M = 5, N = 11, T1 = 0.5*2 5 =16us, the corresponding refresh frequency is 62.5kHz; T2 = 0.5*2 11 =1024us, then the corresponding refresh frequency is about 1kHz (actually 976.5625Hz). In this way, the PWM refresh frequency of the system is 1kHz. When there are multiple PWM signals of different frequencies in the system, the total PWM refresh frequency of the system takes the lowest value.

[0097] In actual application, the values ​​of M and N can be set according to the specific requirements and actual situation of the user, or more PWM methods can be used to increase the PWM frequency. For the specific three-way PWM LED control circuit, please refer to Figure 8 .

[0098] In a possible implementation, when the controlled LED is required to have a grayscale bit number of 16 bits, if the minimum pulse width that the PWM signal can achieve is 0.5us. Use three PWM signals to control the LED, such as Figure 8 As shown, the number of bits of the first-level PWM input loop is set to 8 bits, the number of bits of the second-level PWM input loop is set to 4 bits, and the number of bits of the third-level PWM input loop is set to 4 bits. The period of the first-level PWM input loop is T1 = 0.5us*2 6 =32us; the period of the second-level PWM input loop and the third-level PWM input loop is T2=T3=0.5us*2 4 =16us. The minimum value of the system's total PWM refresh frequency is 31.25kHz.

[0099] In a possible implementation, the PWM signal input loop includes a first-level PWM input loop, a second-level PWM input loop, and a third-level PWM input loop. Figure 8 The constant current value of the third-level PWM input loop is the current resolution of the upper circuit (i.e., the third-level PWM input loop). The implementation principle of the three-way PWM LED control method and the two-way PWM LED control method are based on the same concept, which will not be repeated here.

[0100] The number of each level of PWM input loops in the PWM signal input loop in this embodiment is A, and A is greater than or equal to 2 and is an integer.

[0101] By adopting the above method, the present application can achieve the following beneficial effects:

[0102] Without reducing the minimum pulse width of the PWM signal, the control current in the LED control system can meet the user's requirements for the refresh rate or resolution of the LED. When the minimum pulse width of the PWM signal cannot be reduced, the refresh rate of the controlled LED and the current resolution in the LED control system are improved. Reduce the user's cost and avoid the need to use a PWM signal generator with a higher minimum pulse width requirement, which will cause a significant increase in the required cost. When the number of grayscale bits of multiple PWM signals is set to the same, the refresh rate of the LED can be increased when the total number of grayscale bits is the same.

[0103] The present application embodiment provides a LED control circuit based on multi-channel PWM, such as Figure 6 As shown, the circuit includes a bias current input module, a PWM signal input loop and a controlled LED, the bias current output module includes a first bias current input unit and a second bias current input unit, the PWM signal input loop includes a first-level PWM input loop and a second-level PWM input loop, and the bias current output by the bias current output module is used to adjust the constant current value in the first-level PWM input loop and the second-level PWM input loop;

[0104] The first bias current output unit inputs a first bias current to the first-stage PWM input loop, and the second bias current output unit inputs a second bias current to the second-stage PWM input loop;

[0105] The current output end of the first-stage PWM input loop is connected to the controlled LED, and the current output end of the second-stage PWM input loop is connected to the controlled LED.

[0106] In a possible implementation, Figure 4 As shown, the first-level PWM input loop includes at least one constant current driving tube, and the second-level PWM input loop includes at least one constant current driving tube.

[0107] In a possible implementation manner, the periods of the PWM signals in the first-level PWM input loop and the second-level PWM input loop are equal.

[0108] In a possible implementation, Figure 7 As shown, the circuit includes a third-level PWM input loop, and the bias current input module also includes a third bias current output unit.

[0109] The third-level PWM input circuit receives the PWM signal input from the PWM signal input terminal;

[0110] The third bias current output unit inputs a second bias current to the third-level PWM input loop;

[0111] The current output end of the third-level PWM input loop is connected to the controlled LED.

[0112] In a possible implementation, Figure 8 As shown, a three-way PWM signal LED control circuit is provided.

[0113] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure.

Claims

1. A LED control method based on multi-channel PWM signals, characterized in that: Applied to an LED control circuit, the LED control circuit includes a controlled LED and a PWM signal input circuit, and the method includes: According to the preset number of grayscale bits of the controlled LED, determine the number of PWM signal input loops in the LED control circuit, wherein the PWM signal input loop includes a first-level PWM input loop and a second-level PWM input loop; Determine a constant current value of the first-level PWM input loop and a constant current value of the second-level PWM input loop, wherein the constant current value of the first-level PWM input loop is determined by a bias current of the first-level PWM input loop, and the constant current value of the second-level PWM input loop is determined by a bias current of the second-level PWM input loop, and the constant current value is an inflow current value of the drain of the constant current driving tube; Receiving a preset PWM digital signal of the first-level PWM input loop and a preset PWM digital signal of the second-level PWM input loop, obtaining an output current of the first-level PWM input loop and an output current of the second-level PWM input loop, wherein the PWM digital signal controls the output current by controlling the on and off of a constant current driving tube in the PWM input loop; Sending a total output current to the controlled LED, the total output current being the sum of the output current of the first-level PWM input loop and the output current of the second-level PWM input loop, the total output current matching a preset number of grayscale bits of the controlled LED; The PWM digital signal includes a first-level PWM digital signal and a second-level PWM digital signal, and the PWM digital signal is binary data; wherein, The first-level PWM digital signal is b M-1 b M-2 ...b1b0, the second-level PWM digital signal is c N-1 c N-2 ...c1c0; The relationship between the number of bits of the first-level PWM digital signal, the number of bits of the second-level PWM digital signal and the number of grayscale bits of the controlled LED is as follows: M+N=K M is the number of bits of the first-level PWM digital signal; N is the number of bits of the second-level PWM digital signal; K is the number of grayscale bits of the controlled LED; The current resolution of the first-level PWM input loop is I min1 , the current resolution of the second-level PWM input loop is I min2 ; The current resolution of the first-level PWM input loop and the second-level PWM input loop is determined by the following formula: I min(n) =I Nn / 2 α ; Where n is the number of PWM signal input circuits, I Nn is the constant current value of the n-th level PWM input circuit, and α is the number of bits of the n-th level PWM digital signal; The current resolution of the first-level PWM input loop is the constant current value of the second-level PWM input loop; The total output current is determined by the following formula: I out =I1+I2 Among them, I out is the total output current; I1 is the output current of the first-level PWM input circuit; I2 is the output current of the second-level PWM input circuit; Among them, b n is the n+1th digit of the first-level PWM digital signal, c n It is the n+1th bit of the second-level PWM digital signal.

2. The method according to claim 1, characterized in that The number of bits of the first-level PWM digital signal is equal to the number of bits of the second-level PWM digital signal.

3. The method according to claim 1, characterized in that The minimum pulse width of the PWM signal in the first-level PWM input loop and the second-level PWM input loop is determined according to the following formula: The minimum pulse width of the first-level PWM signal = T1 / 2 M ;Minimum pulse width of the second-level PWM signal = T2 / 2 N ; Wherein, T1 is the period of the first-level PWM signal, and T2 is the period of the second-level PWM signal.

4. An LED control circuit based on multi-channel PWM signals, characterized in that: A LED control method based on multiple PWM signals according to any one of claims 1 to 3 is applied, wherein the circuit comprises a bias current input module, a PWM signal input loop and a controlled LED, wherein the bias current input module comprises a first bias current input unit and a second bias current input unit, wherein the PWM signal input loop comprises a first-level PWM input loop and a second-level PWM input loop, and wherein the bias current output by the bias current input module is used to adjust the constant current value in the first-level PWM input loop and the second-level PWM input loop; The first bias current input unit inputs a first bias current into the first-stage PWM input loop, and the second bias current input unit inputs a second bias current into the second-stage PWM input loop; The current output end of the first-stage PWM input loop is connected to the controlled LED, and the current output end of the second-stage PWM input loop is connected to the controlled LED.

5. The circuit according to claim 4, characterized in that The first-stage PWM input loop includes at least one constant-current driving tube, and the second-stage PWM input loop includes at least one constant-current driving tube.

6. The circuit according to claim 4, characterized in that The periods of the PWM signals in the first-stage PWM input loop and the second-stage PWM input loop are equal.