A time-misaligned opening algorithm for LED display driving chip
By using a staggered turn-on algorithm for the LED display driver chip, the problem of bright lines caused by the coupling phenomenon between channels in high-contrast LED screens is solved, thus improving the display effect.
Patent Information
- Application Number
- CN202311720872.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-14
- Publication Date
- 2026-07-14
- Estimated Expiration
- 2043-12-14
AI Technical Summary
Existing LED screens suffer from display problems such as bright lines due to coupling between channels when displaying high-contrast images.
The staggered turn-on algorithm of the LED display driver chip is adopted. By setting the counting mode of counters CNT1 and CNT2, the turn-on timing of the output channel is determined according to the comparison result between the displayed grayscale binary data and the counters, thereby reducing the coupling phenomenon between channels.
It effectively reduces the problem of bright lines and improves the display effect.
Smart Images

Figure CN117524093B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of LED display technology, and in particular to a staggered turn-on algorithm for an LED display driver chip. Background Technology
[0002] As a novel semiconductor lighting material, LEDs have been widely used in lighting equipment, displays, and other electronic devices due to their advantages such as low power consumption, long lifespan, small size, low cost, high efficiency, safety, and environmental friendliness. Small-pitch LED displays offer advantages such as seamless splicing, natural and realistic colors, clear images, modular maintenance, and good display uniformity, meeting the demands of displays for high definition, high detail, and close-up viewing effects, and are gradually becoming a research hotspot.
[0003] However, existing LED screens still suffer from numerous display problems when displaying high-contrast images, such as bright lines caused by coupling between channels. Summary of the Invention
[0004] The purpose of this invention is to provide a staggered turn-on algorithm for LED display driver chips. This invention can solve the problem of bright lines caused by coupling between channels when displaying high-contrast images.
[0005] To address the aforementioned technical problems, this invention provides a time-shifting algorithm for LED display driver chips, comprising the following steps:
[0006] Step S1: Set the displayed grayscale binary data N, and set the grayscale high and low grayscale dividing value 2. M Set two sets of counters, CNT1 and CNT2;
[0007] Step S2: Determine the counting method of counters CNT1 and CNT2 according to the set staggered opening mode;
[0008] Step S3: Based on the set staggered opening mode, the value will be less than the threshold value of 2. M The grayscale binary data N and the counter CNT2 are compared.
[0009] Step S4: According to the set staggered opening mode, the value will be greater than the threshold value of 2. M The grayscale binary data N is compared with the counter CNT1.
[0010] Step S5: Determine the display driver chip channel output based on the comparison results.
[0011] Preferably, in step S1, N is the number of bits of the externally input grayscale binary data for display, 2 MTo display the high and low gray boundary values, which are related to the number of bits of the binary data of the display gray level input externally, and M < N. The bit widths of the two groups of counters CNT1 and CNT2 are N bits and M bits respectively.
[0012] Preferably, in the step S2, the bit width of the counter CNT1 is N, and the counting range is from 0 to 2 N ; the bit width of the counter CNT2 is M, and the counting range is from 0 to 2 M .
[0013] Preferably, in the step S2, the counting method of the counter CNT1 is: starting from 0, accumulating to 2 N , starting from 2 N and decreasing to 0; the counting method of the counter CNT2 is: starting from 0, accumulating to 2 M , starting from 2 M and decreasing to 0.
[0014] Preferably, in the step S3, if the binary data of the display gray level at the comparison moment is greater than the counter CNT2, the corresponding output channel is opened.
[0015] Preferably, in the step S4, if the binary data of the display gray level at the comparison moment is greater than the counter CNT1, the corresponding output channel is opened.
[0016] Preferably, in the step S5, according to the comparison result, the comparison results of the data less than / greater than the boundary value 2 M are merged and finally output to the output channel.
[0017] Compared with the prior art, the present invention has the following beneficial effects:
[0018] Aiming at the display problems such as bright lines caused by the coupling phenomenon between channels when the LED screen displays a high-contrast picture, the present invention can effectively weaken the display problem phenomenon and improve the display effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a flowchart of the time-delayed opening algorithm of the LED display driver chip of the present invention.
[0020] Figure 2 is a counting schematic diagram of CNT1 and CNT2 of the present invention.
[0021] Figure 3 [[ID= forty-nine]]is a time-delayed opening timing schematic diagram of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS [[ID= fifty-two]] [[ID= fifty-three]]
[0022] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the accompanying drawings are all in a very simplified form and use non-precise scales, only for the purpose of facilitating and clearly assisting in explaining the embodiments of the present invention.
[0023] As Figure 1 shown, an algorithm for staggered turn-on of an LED display driving chip provided by an embodiment of the present invention includes the following steps:
[0024] Step S1: Set the display gray-scale binary data N, set the high-gray and low-gray boundary value 2 M , and set two counters CNT1 and CNT2; in the step S1, N is the number of bits of the display gray-scale binary data input externally, 2 M is the high-gray and low-gray boundary value of the display gray scale, this boundary value is related to the number of bits of the display gray-scale binary data input externally, and M < N. The bit widths of the two counters CNT1 and CNT2 are N bits and M bits respectively.
[0025] Step S2: Determine the counting methods of the counters CNT1 and CNT2 according to the set staggered turn-on mode; in the step S2, the bit width of the counter CNT1 is N, and the counting range is from 0 to 2 N ; the bit width of the counter CNT2 is M, and the counting range is from 0 to 2 M [[ID=第十九]]In the step S2, the counting method of the counter CNT1 is: starting from 0, accumulating to 2 N , and starting from 2 N and decreasing to 0; the counting method of the counter CNT2 is: starting from 0, accumulating to 2 M , and starting from 2 M and decreasing to 0.
[0026] Step S3: Compare the display gray-scale binary data N less than the boundary value 2 M with the counter CNT2 according to the set staggered turn-on mode; in the step S3, if the display gray-scale binary data at the comparison moment is greater than the counter CNT2, then open the corresponding output channel.
[0027] Step S4: Compare the display gray-scale binary data N greater than the boundary value 2 M [[ID=3十七]]with the counter CNT1 according to the set staggered turn-on mode; in the step S4, if the display gray-scale binary data at the comparison moment is greater than the counter CNT1, then open the corresponding output channel.
[0028] Step S5: Determine the output of the display driving chip channel according to the comparison result. In the step S5, according to the comparison result, the display gray-scale binary data less than / greater than the boundary value 2 MThe data comparison results are merged and finally output to the output channel.
[0029] like Figure 1 The diagram shown illustrates the counting of CNT1 and CNT2; this indicates that CNT2 starts from 2. M The increments from 0 to 0; CNT1 increments from 0 to 2. N The situation at that time.
[0030] like Figure 2 The diagram shows the staggered opening timing; the counting methods of CNT1 and CNT2 are the same as... Figure 1 Similarly, for values less than the threshold value 2 M The low-grayscale data (out1, out2, out3) have their channels opened at staggered times, and are greater than the threshold value of 2. M The large grayscale values (out4) are staggered, thereby reducing mutual interference between channels and reducing high-contrast coupling.
[0031] The above description is merely a description of preferred embodiments of the present invention and is not intended to limit the scope of the present invention in any way. Any changes or modifications made by those skilled in the art based on the above disclosure shall fall within the protection scope of the claims.
Claims
1. A time-shifting algorithm for an LED display driver chip, characterized in that, Includes the following steps: Step S1: Set the display grayscale binary data, and set the grayscale high and low grayscale boundary values. Set two sets of counters, CNT1 and CNT2; Step S2: Determine the counting method of counters CNT1 and CNT2 according to the set staggered opening mode; Step S3: According to the set staggered opening mode, the value will be less than the threshold. The grayscale binary data N and the counter CNT2 are compared. Step S4: According to the set staggered opening mode, it will exceed the threshold value. The grayscale binary data N is compared with the counter CNT1. Step S5: Determine the display driver chip channel output based on the comparison results; In the step S1, N is the number of bits of the externally input display grayscale binary data, which is the high grayscale and low grayscale demarcation value for display. This demarcation value is related to the number of bits of the externally input display grayscale binary data, and M < N. The bit widths of the two groups of counters CNT1 and CNT2 are N bits and M bits respectively; In step S2, the bit width of counter CNT1 is N, and the counting range is 0 to N. The counter CNT2 has a bit width of M and a counting range of 0 to 1. ; In step S2, the counter CNT1 counts by accumulating from 0 to... ,from The counter CNT2 starts decreasing to 0; its counting method is to increment from 0 to 0. ,from It begins to decrease to 0; In step S3, if the displayed grayscale binary data at the comparison time is greater than the counter CNT2, then the corresponding output channel is opened. In step S4, if the displayed grayscale binary data at the comparison moment is greater than the counter CNT1, then the corresponding output channel is opened.
2. The staggered turn-on algorithm for an LED display driver chip as described in claim 1, characterized in that, In step S5, the value less than or greater than the threshold value is determined based on the comparison result. The data comparison results are merged and finally output to the output channel.
Citation Information
Patent Citations
Multi-channel LED driving chip channel time-sharing opening PWM algorithm
CN112037710A
LED screen low-gray driving circuit and LED display driver
CN114170955A