[go: up one dir, main page]

CN110277052B - Full-color LED driver chip and driving method with multi-line scanning and high refresh rate - Google Patents

Full-color LED driver chip and driving method with multi-line scanning and high refresh rate Download PDF

Info

Publication number
CN110277052B
CN110277052B CN201910508939.1A CN201910508939A CN110277052B CN 110277052 B CN110277052 B CN 110277052B CN 201910508939 A CN201910508939 A CN 201910508939A CN 110277052 B CN110277052 B CN 110277052B
Authority
CN
China
Prior art keywords
pixel
gray
data
gray scale
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201910508939.1A
Other languages
Chinese (zh)
Other versions
CN110277052A (en
Inventor
雷鑑铭
秦腾祥
程崇源
张焱魁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN201910508939.1A priority Critical patent/CN110277052B/en
Publication of CN110277052A publication Critical patent/CN110277052A/en
Application granted granted Critical
Publication of CN110277052B publication Critical patent/CN110277052B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention discloses a multi-row scanning high-refresh-rate full-color L ED driving chip and a driving method, belonging to the field of full-color L ED driving chip design, wherein the driving method comprises a synchronous controller, a shift register, a state register, an SRAM buffer, a gray scale clock generation module, a driving module, a pre-charging circuit and an analog output module, the gray scale clock generation module is used for carrying out frequency multiplication/frequency division processing on a data clock signal DC L K according to instruction information to generate a gray scale clock signal GC L K for controlling gray scale, the driving module is used for counting the gray scale clock signal GC L K to obtain gray scale counting corresponding to each row of pixel data, and generating output waveforms of PWM signals corresponding to each row of pixel data by using continuous N rows of pixel data and corresponding gray scale counting in each scanning process to realize multi-row scanning, and the analog output module is used for receiving the PWM signals and generating and driving L ED lamp beads by matching with the pre-charging circuit.

Description

多行扫高刷新率的全彩LED驱动芯片及驱动方法Full-color LED driver chip and driving method with multi-line scanning and high refresh rate

技术领域technical field

本发明属于全彩LED驱动芯片设计领域,更具体地,涉及一种多行扫高刷新率的全彩LED驱动芯片及驱动方法。The invention belongs to the field of full-color LED driving chip design, and more particularly relates to a full-color LED driving chip and a driving method with multi-line scanning and high refresh rate.

背景技术Background technique

LED即发光二极管(Light Emitting Diode)诞生于上世纪60年代,经过五十多年的发展,LED的功耗越来越低,有效亮度越来越高,同时兼具寿命长、高速响应、低成本、绿色环保等特性,在传统照明显示,航天航空及消费类产品等领域的应用愈加广泛。得益于LED好的空间延展性、一致性、拼接无痕等优点,LED屏在内外大屏显示领域表现优越,并且随着LED灯珠尺寸的不断减小,LED屏的像素密度随之不断增加,可以预见LED屏必将成为内外大屏显示领域的主流产品。随着高清视频技术的发展,市场对LED屏的灰度等级、视觉刷新率、像素密度有更高的要求,在这种趋势下,LED显示控制芯片也向着高灰度等级控制、高视觉刷新率、高行扫的方向发展。LED (Light Emitting Diode) was born in the 1960s. After more than 50 years of development, the power consumption of LED is getting lower and lower, and the effective brightness is getting higher and higher. Due to the characteristics of cost, green environmental protection, etc., it is more and more widely used in traditional lighting display, aerospace and consumer products. Thanks to the advantages of LED's good spatial scalability, consistency, and seamless splicing, LED screens have excellent performance in the field of internal and external large-screen displays, and as the size of LED lamp beads continues to decrease, the pixel density of LED screens continues to increase Increase, it can be predicted that LED screen will become the mainstream product in the field of large-screen display inside and outside. With the development of high-definition video technology, the market has higher requirements for the gray level, visual refresh rate and pixel density of LED screens. Under this trend, LED display control chips are also moving towards high gray level control and high visual refresh rate. Development in the direction of high rate and high line scanning.

传统的通用LED显示控制芯片采用外置PWM的方式,按位进行二进制脉冲宽度调制,其灰度完整显示时间与灰度等级成指数关系。并且实际应用为保证所有信道输出的电流具有良好的线性度,其最小OE宽度(即最低权值位对应的PWM输出时间)不能无限缩小。在一帧时间的显示过程中,满足高灰度显示的条件下,即便采用高低权值位打散显示与门控使能的方式进行处理,其视觉刷新率也不超过几百赫兹。The traditional general-purpose LED display control chip adopts an external PWM method to perform binary pulse width modulation by bit, and its complete grayscale display time has an exponential relationship with the grayscale level. In practical applications, in order to ensure that the currents output by all channels have good linearity, the minimum OE width (ie, the PWM output time corresponding to the lowest weight bit) cannot be infinitely reduced. In the display process of one frame time, under the condition of high grayscale display, even if the high and low weight bits are used to disperse display and gating enable, the visual refresh rate does not exceed several hundred hertz.

专用LED显示控制芯片采用内建PWM脉冲宽度处理,通过内置SRAM完成像素灰度数据读写的乒乓操作,采用流水线设计与分布式脉冲宽度处理(SPWM)进行灰度等级、视觉刷新率、行扫描能力的提升。为了保证LED具有良好的行灰度等级,SPWM进行子周期划分时,单个子周期内的灰度时钟(GCLK)个数不能太少,并且由于LED屏PCB走线频率限制,其一帧时间内总的GCLK个数有限,而传统的LED驱动芯片中,灰度时钟信号通过引脚由片外信号提供,由此在满足高灰度显示的条件下,其视觉刷新率与行扫描能力互相制约,实际应用中无法同时实现高的视觉刷新率与多行扫描。The dedicated LED display control chip adopts built-in PWM pulse width processing, completes the ping-pong operation of pixel grayscale data reading and writing through the built-in SRAM, and adopts pipeline design and distributed pulse width processing (SPWM) for grayscale, visual refresh rate, line scan ability enhancement. In order to ensure that the LED has a good line gray level, when the SPWM divides the sub-cycle, the number of gray clocks (GCLK) in a single sub-cycle cannot be too small, and due to the limitation of the PCB wiring frequency of the LED screen, its one frame time The total number of GCLKs is limited, while in the traditional LED driver chip, the grayscale clock signal is provided by the off-chip signal through the pin, so the visual refresh rate and the line scanning capability are mutually restricted under the condition of satisfying high grayscale display. , high visual refresh rate and multi-line scanning cannot be achieved at the same time in practical applications.

发明内容SUMMARY OF THE INVENTION

针对现有技术的缺陷和改进需求,本发明提供了一种多行扫高刷新率的全彩LED驱动芯片及驱动方法,其目的在于,提高刷新率,并支持更多的扫描行数。In view of the defects and improvement requirements of the prior art, the present invention provides a full-color LED driving chip and a driving method with multi-line scanning and high refresh rate, the purpose of which is to improve the refresh rate and support more scanning lines.

为实现上述目的,按照本发明的第一方面,提供了一种多行扫高刷新率的全彩LED驱动芯片,包括:同步控制器、移位寄存器、状态寄存器、SRAM缓冲器、灰度时钟生成模块、驱动模块、预充电电路以及模拟输出模块;In order to achieve the above purpose, according to the first aspect of the present invention, a full-color LED driver chip with multi-line scanning and high refresh rate is provided, including: a synchronization controller, a shift register, a status register, an SRAM buffer, a grayscale clock Generating module, driving module, pre-charging circuit and analog output module;

同步控制器,其第一输入端用于接收锁存信号LE,锁存信号LE用于指示输入数据的类型;同步控制器用于通过其第一输出端将锁存信号LE传输到移位寄存器和状态寄存器;The synchronization controller, whose first input terminal is used to receive the latch signal LE, and the latch signal LE is used to indicate the type of input data; the synchronization controller is used to transmit the latch signal LE to the shift register and the shift register through its first output terminal. status register;

移位寄存器,其第一输入端用于接收串行输入数据SDI,其第二输入端用于接收数据时钟信号DCLK,其第三输入端连接至同步控制器的第一输出端,数据时钟信号DCLK作为发送指令数据及像素数据的时钟信号;移位寄存器用于根据锁存信号LE从串行输入数据SDI中识别出指令数据和像素数据并分别传输至状态寄存器和SRAM缓冲器;The shift register, its first input terminal is used to receive serial input data SDI, its second input terminal is used to receive the data clock signal DCLK, its third input terminal is connected to the first output terminal of the synchronization controller, the data clock signal DCLK is used as the clock signal for sending instruction data and pixel data; the shift register is used to identify the instruction data and pixel data from the serial input data SDI according to the latch signal LE and transmit them to the status register and the SRAM buffer respectively;

灰度时钟生成模块,其第一输入端用于接收数据时钟信号DCLK,其第二输入端与状态寄存器相连,灰度时钟生成模块用于根据指令信息,对数据时钟信号DCLK进行倍频/分频处理,以生成灰度时钟信号GCLK,灰度时钟信号用于控制灰度等级;The grayscale clock generation module, the first input terminal of which is used to receive the data clock signal DCLK, the second input terminal of which is connected to the status register, and the grayscale clock generation module is used for multiplying/dividing the data clock signal DCLK according to the instruction information. frequency processing to generate the gray clock signal GCLK, the gray clock signal is used to control the gray level;

驱动模块,其第一输入端连接至灰度时钟生成模块的输出端,其第二输入端与SRAM缓冲器相连,驱动模块用于对灰度时钟信号GCLK计数以得到各行像素数据所对应的灰度计数,并在每次扫描过程中利用连续N行像素数据及对应的灰度计数生成各行像素数据所对应的PWM信号的输出波形,从而实现多行扫描;The driving module, the first input terminal of which is connected to the output terminal of the grayscale clock generation module, and the second input terminal of which is connected to the SRAM buffer. The driving module is used to count the grayscale clock signal GCLK to obtain the grayscale corresponding to the pixel data of each row. Counting, and in each scanning process, the output waveform of the PWM signal corresponding to each line of pixel data is generated by using continuous N lines of pixel data and corresponding grayscale counts, thereby realizing multi-line scanning;

同步控制器还用于生成换行/换帧信号,换行/换帧信号用于指示对下一行或下一帧像素进行显示;预充电电路的输入端连接至同步控制器的第二输出端;模拟输出模块的第一输入端连接至驱动模块的输出端,模拟输出模块的第二输入端与预充电电路相连;预充电电路用于在换行/换帧信号的指示下,对用于驱动待显示像素行的PWM信号进行预充电,从而产生多通道驱动电流,以实现对LED灯珠的恒流驱动。The synchronization controller is also used to generate a line feed/frame feed signal, and the line feed/frame feed signal is used to instruct the next line or next frame of pixels to be displayed; the input end of the precharge circuit is connected to the second output end of the synchronization controller; the analog The first input end of the output module is connected to the output end of the driving module, and the second input end of the analog output module is connected to the precharge circuit; The PWM signal of the pixel row is precharged to generate multi-channel driving current to realize constant current driving of the LED lamp bead.

本发明所提供的多行扫高刷新率的全彩LED驱动芯片,在芯片内部根据数据时钟信号DCLK进行分频/倍频产生灰度时钟信号GCLK,相比于传统的LED驱动芯片中通过引脚由片外提供灰度时钟信号,本发明中灰度时钟信号GCLK可以达到更高的频率,同时其频率自动跟踪DCLK,抗干扰能力大大提升,有效的提高了刷新率及能够支持的扫描行数。The multi-line scanning high refresh rate full-color LED driving chip provided by the present invention performs frequency division/multiplication according to the data clock signal DCLK inside the chip to generate the grayscale clock signal GCLK. The grayscale clock signal is provided outside the chip. In the present invention, the grayscale clock signal GCLK can reach a higher frequency, and at the same time its frequency automatically tracks DCLK, the anti-interference ability is greatly improved, and the refresh rate and the scan line that can be supported are effectively improved. number.

进一步地,灰度时钟生成模块包括:锁相环、倍频单元、第一分频单元以及第二分频单元;Further, the grayscale clock generation module includes: a phase-locked loop, a frequency multiplying unit, a first frequency dividing unit and a second frequency dividing unit;

锁相环的第一输入端作为灰度时钟生成模块的第一输入端,锁相环的第二输入端连接至倍频单元的输出端;倍频单元的第一输入端作为灰度时钟生成模块的第二输入端,倍频单元的第二输入端连接至锁相环的输出端,倍频单元用于按照系数P对数据时钟信号DCLK进行倍频,以得到倍频信号并通过锁相环输出倍频信号;The first input end of the phase-locked loop is used as the first input end of the grayscale clock generation module, and the second input end of the phase-locked loop is connected to the output end of the frequency doubling unit; the first input end of the frequency doubling unit is used as the grayscale clock to generate The second input end of the module, the second input end of the frequency multiplication unit is connected to the output end of the phase-locked loop, and the frequency multiplication unit is used for frequency multiplication of the data clock signal DCLK according to the coefficient P, so as to obtain the frequency multiplied signal and phase-lock the signal. The loop outputs the frequency multiplied signal;

第一分频单元的输入端连接至锁相环的输出端,第一分频单元用于按照系数M1对倍频信号进行分频,以得到分频信号;The input end of the first frequency dividing unit is connected to the output end of the phase-locked loop, and the first frequency dividing unit is used to divide the frequency multiplication signal according to the coefficient M 1 to obtain the frequency division signal;

第二分频单元的输入端连接至第一分频单元的输出端,第二分频单元用于按照系数M2对分频信号进行分频,从而得到满足

Figure GDA0002533253850000041
的灰度时钟信号GCLK;The input end of the second frequency dividing unit is connected to the output end of the first frequency dividing unit, and the second frequency dividing unit is used to divide the frequency division signal according to the coefficient M
Figure GDA0002533253850000041
The grayscale clock signal GCLK;

其中,P为可动态配置的倍频系数,M1和M2为可动态配置的分频系数,fDCLK和fGCLK分别为数据时钟信号DCLK和灰度时钟信号GCLK的频率。Among them, P is a dynamically configurable frequency multiplication coefficient, M 1 and M 2 are dynamically configurable frequency division coefficients, and f DCLK and f GCLK are the frequencies of the data clock signal DCLK and the grayscale clock signal GCLK, respectively.

本发明由一个锁相环和三个分频/倍频单元组成的灰度时钟生成模块,通过对数字时钟信号DCLK进行分频/倍频生成灰度时钟信号GCLK,其中,倍频系数P、分频系数M1和M2均可动态配置,既保证了所生成的灰度时钟信号GCLK能够达到较高的频率,也能够保证较好的亮度有效率,并保证显示时间与帧间隔时间相匹配;同时,分两次完成分频操作,也降低了对用于存储分频系数的寄存器的存储要求。The present invention is composed of a phase-locked loop and three frequency division/multiplier units to generate a grayscale clock generation module, and generates a grayscale clock signal GCLK by dividing/multiplying the digital clock signal DCLK, wherein the frequency multiplication coefficient P, The frequency division coefficients M 1 and M 2 can be dynamically configured, which not only ensures that the generated grayscale clock signal GCLK can reach a higher frequency, but also ensures better brightness efficiency, and ensures that the display time is consistent with the frame interval. At the same time, the frequency division operation is completed in two times, which also reduces the storage requirements for the registers used to store the frequency division coefficients.

进一步地,像素数据中集成了R、G、B三基色数据,并且在处理像素数据的过程中,对其中的R、G、B三基色数据同步处理。Further, three primary color data of R, G, and B are integrated into the pixel data, and in the process of processing the pixel data, the three primary color data of R, G, and B are processed synchronously.

传统的LED驱动芯片只负责驱动一种基色的灯珠,为了实现对三基色的驱动,每颗灯珠需要三个芯片独立驱动,占据了较大的PCB面积;本发明通过在一颗驱动芯片中集成R、G、B三基色,能够有减小所需占据的PCB面积,并提高输出通道的数量,为LED显示屏实现更小的灯珠间距提供了可能。The traditional LED driver chip is only responsible for driving the lamp beads of one primary color. In order to realize the driving of three primary colors, each lamp bead needs to be driven independently by three chips, which occupies a large PCB area; The three primary colors of R, G, and B are integrated in the medium, which can reduce the PCB area that needs to be occupied and increase the number of output channels, making it possible for the LED display to achieve a smaller lamp bead spacing.

进一步地,同步控制器的第二输入端用于接收换行信号ROW,换行信号ROW具有不同的高电平宽度,同步控制器用于根据换行信号ROW的高电平宽度生成对应的换行/换帧信号。Further, the second input terminal of the synchronization controller is used to receive the line feed signal ROW, the line feed signal ROW has different high-level widths, and the synchronization controller is used to generate the corresponding line feed/frame change signal according to the high level width of the line feed signal ROW. .

传统的LED驱动芯片根据场同步信号Vsync进行换帧,在场同步信号Vsync到来时,往往需要等待一段时间才能开始显示下一帧,因此存在较大的帧间隔,刷新率较低;本发明通过引脚引入换行信号ROW,并根据换行信号ROW生成换行/换帧信号,以指示对下一帧或下一行扫描的开始,即使场同步信号Vsync到来,仍然可以继续显示,由此使得换帧与场同步信号Vsync无关,从而能够在换帧时避免较长的等待时间,实现了一种帧间隔去除技术,提高了刷新率。The traditional LED driver chip changes frames according to the field synchronization signal Vsync. When the field synchronization signal Vsync arrives, it often needs to wait for a period of time to start displaying the next frame, so there is a large frame interval and a low refresh rate; The line feed signal ROW is introduced into the pin, and a line feed/frame feed signal is generated according to the line feed signal ROW to indicate the start of scanning for the next frame or next line. The synchronization signal Vsync is irrelevant, so that a long waiting time can be avoided when changing frames, a frame interval removal technology is realized, and the refresh rate is improved.

进一步地,本发明所提供的多行扫高刷新率的全彩LED驱动芯片,还包括:错误状态侦测模块,其输入端与模拟输出模块的各输出通道相连,用于侦测LED灯珠的开路/短路状态,并将坏点的像素数据替换为0,以消除坏点十字架现象;Further, the multi-line scanning high refresh rate full-color LED driver chip provided by the present invention further includes: an error state detection module, the input end of which is connected to each output channel of the analog output module for detecting the LED lamp beads open/short state, and replace the pixel data of dead pixels with 0 to eliminate the cross phenomenon of dead pixels;

坏点即出现短路的点,若坏点产生PWM输出,会导致局部大电流,从而出现以坏点为中心的十字架高亮现象,即坏点十字架现象;本发明由错误状态侦测模块侦测LED灯珠的开路/短路状态,并将坏点的像素数据替换为0,能够避免在坏点产生PWM输出,从而消除坏点十字架现象。The dead point is the point where a short circuit occurs. If the dead point produces PWM output, it will cause a local high current, so that the cross highlight phenomenon centered on the dead point, that is, the dead point cross phenomenon; the present invention is detected by the error state detection module. The open/short state of the LED lamp bead, and the pixel data of the dead pixel is replaced with 0, which can avoid generating PWM output at the dead pixel, thereby eliminating the dead pixel cross phenomenon.

进一步地,驱动模块包括:计数器、蝶形打散单元以及比较单元;Further, the driving module includes: a counter, a butterfly breaking unit and a comparison unit;

计数器的输入端作为驱动模块的第一输入端,计数器用于对灰度时钟信号GCLK计数以得到各行像素数据所对应的灰度计数;The input end of the counter is used as the first input end of the driving module, and the counter is used to count the grayscale clock signal GCLK to obtain the grayscale count corresponding to the pixel data of each row;

蝶形打散单元的输入端连接至计数器的输出端,蝶形打散单元用于按照数据分块模式将灰度计数分为K个灰度分块并通过蝶形打散的方式进行重新排列,以得到分块编号序列;每个灰度分块对应一个灰度时钟计数值,且所有灰度分块所对应的灰度时钟计数值之和等于灰度计数;The input end of the butterfly breaking unit is connected to the output end of the counter, and the butterfly breaking unit is used to divide the grayscale count into K gray scale blocks according to the data block mode and rearrange them by the way of butterfly breaking. , to obtain the block number sequence; each gray block corresponds to a gray clock count value, and the sum of the gray clock count values corresponding to all gray blocks is equal to the gray count;

比较单元的第一输入端作为驱动模块的第二输入端,比较单元的第二输入端连接至蝶形打散单元的输出端,比较单元用于按照分块模式将像素数据分为K个像素分块,并按照分块编号序列依次取对应编号的灰度分块和像素分块进行比较,从而产生PWM信号的输出波形;每个像素分块对应一个灰度值,且所有像素分块所对应的灰度值之和等于像素数据;The first input end of the comparison unit is used as the second input end of the driving module, the second input end of the comparison unit is connected to the output end of the butterfly breaking unit, and the comparison unit is used for dividing the pixel data into K pixels according to the block mode It is divided into blocks, and the corresponding numbered gray blocks and pixel blocks are compared in turn according to the block number sequence, thereby generating the output waveform of the PWM signal; each pixel block corresponds to a gray value, and all pixel blocks are The sum of the corresponding gray values is equal to the pixel data;

其中,K为分块模式所对应的分块数量。Among them, K is the number of blocks corresponding to the block mode.

像素分块对应的像素值表示显示该像素分块时需要对该像素分块开启的GCLK周期数,像素分块对应的像素值越大,则显示时该像素分块越亮;传统的LED驱动芯片中,在产生PWM信号时,会直接对灰度时钟信号GCLK进行计数,并与该像素数据进行比较,从而产生PWM信号的输出波形,按照这种方式显示时,会使得每一行像素数据在显示时,前半部分明显比后半部分亮,从而出现亮线亮斑现象;本发明通过对灰度分块进行蝶形打散,并按照重新排序后的编号顺序显示像素分块,使得较亮的像素分块和较暗的像素分块交叉显示,从而画面显示的灰度更加均匀,避免了亮线亮斑问题,提高了画面质量。The pixel value corresponding to a pixel block indicates the number of GCLK cycles that need to be turned on for the pixel block when displaying the pixel block. The larger the pixel value corresponding to the pixel block, the brighter the pixel block is when displayed; the traditional LED driver In the chip, when the PWM signal is generated, the grayscale clock signal GCLK is directly counted and compared with the pixel data to generate the output waveform of the PWM signal. When displayed, the first half is obviously brighter than the second half, so that the phenomenon of bright lines and bright spots appears; the present invention disperses the gray scale blocks by butterfly, and displays the pixel blocks according to the reordered number sequence, so that the brighter The darker pixel blocks and the darker pixel blocks are cross-displayed, so that the grayscale displayed on the screen is more uniform, the problem of bright lines and bright spots is avoided, and the picture quality is improved.

按照本发明的第二方面,提供了一种基于本发明第一方面所提供的多行扫高刷新率的全彩LED驱动芯片的驱动方法,包括:According to the second aspect of the present invention, a method for driving a full-color LED driver chip with a multi-line scan and high refresh rate provided by the first aspect of the present invention is provided, including:

(1)对灰度时钟信号GCLK计数以得到各行像素数据所对应的灰度计数;(1) Count the grayscale clock signal GCLK to obtain the grayscale count corresponding to each row of pixel data;

(2)对于当前扫描过程中需要显示的任意一行像素数据,按照数据分块模式将该行像素数据划分为K个像素分块;(2) for any line of pixel data that needs to be displayed in the current scanning process, divide the line of pixel data into K pixel blocks according to the data block mode;

每个像素分块对应一个灰度值,且所有像素分块所对应的灰度值之和等于像素数据;Each pixel block corresponds to a gray value, and the sum of the gray values corresponding to all pixel blocks is equal to the pixel data;

(3)按照数据分块模式将该行像素数据对应的灰度计数划分为K个灰度分块并通过蝶形打散的方式进行重新排列,以得到分块编号序列;(3) according to the data block mode, the grayscale count corresponding to the row pixel data is divided into K grayscale blocks and rearranged by the mode of butterfly breaking, to obtain the block number sequence;

每个灰度分块对应一个灰度时钟计数值,且所有灰度分块所对应的灰度时钟计数值之和等于灰度计数;Each grayscale block corresponds to a grayscale clock count value, and the sum of the grayscale clock count values corresponding to all grayscale blocks is equal to the grayscale count;

(4)按照分块编号序列依次取对应编号的灰度分块和像素分块进行比较,从而产生该行像素数据所对应的PWM信号的输出波形;(4) according to the block number sequence, get the gray scale block and the pixel block of the corresponding number in turn and compare, thereby generating the output waveform of the PWM signal corresponding to the pixel data of this row;

(5)对于连续N行像素数据,分别执行步骤(2)~(4)以得到各行像素数据对应的PWM信号的输出波形;(5) for consecutive N rows of pixel data, respectively perform steps (2) to (4) to obtain the output waveform of the PWM signal corresponding to each row of pixel data;

(6)根据数据分块结果和所生成的PWM信号对连续N行像素数据进行显示,使得第1~N行像素数据中相同编号的像素分块依次显示,并且在全部N行像素数据中一个编号的像素分块均显示完成后,才开始显示分块编号序列中下一个编号的像素分块;(6) Display the pixel data of consecutive N rows according to the result of the data segmentation and the generated PWM signal, so that the pixels of the same number in the pixel data of the 1st to Nth rows are displayed in sequence, and one of the pixel data of all N rows is displayed in sequence. After the numbered pixel blocks are all displayed, the next numbered pixel block in the block number sequence starts to be displayed;

其中,K为分块模式所对应的分块数量。Among them, K is the number of blocks corresponding to the block mode.

本发明所提供的全彩LED的驱动方法,通过对灰度分块进行蝶形打散,并按照重新排序后的编号顺序显示像素分块,使得较亮的像素分块和较暗的像素分块交叉显示,从而画面显示的灰度更加均匀,避免了亮线亮斑问题,提高了画面质量。The driving method of the full-color LED provided by the present invention disperses the gray-scale blocks in a butterfly shape, and displays the pixel blocks according to the reordered number sequence, so that the brighter pixel blocks and the darker pixel blocks are divided into two groups. The blocks are displayed crosswise, so that the grayscale displayed on the screen is more uniform, the problem of bright lines and bright spots is avoided, and the picture quality is improved.

进一步地,像素分块所对应的像素值,以及灰度分块所对应的灰度计数值,均不小于L;Further, the pixel value corresponding to the pixel block and the grayscale count value corresponding to the grayscale block are not less than L;

其中,L为2的整数次幂。where L is an integer power of 2.

开启每一个像素分块对应的PWM信号时,存在电平爬升时间,这样的电平爬升时间制约了刷新率的提高;本发明通过增加数据分块的最小长度(即像素分块所对应的像素值或灰度分块所对应的灰度计数值),能够有效减少实际显示的像素分块数量,从而减小总的电平爬升时间,能够实现更高的刷新率。When the PWM signal corresponding to each pixel block is turned on, there is a level rise time, and such a level rise time restricts the improvement of the refresh rate; the present invention increases the minimum length of the data block (that is, the pixel corresponding to the pixel block). value or the grayscale count value corresponding to the grayscale block), which can effectively reduce the number of pixel blocks actually displayed, thereby reducing the total level rise time and achieving a higher refresh rate.

进一步地,对每一行像素数据进行显示时,对应的PWM信号在整个PWM驱动阶段的末尾开启。Further, when each row of pixel data is displayed, the corresponding PWM signal is turned on at the end of the entire PWM driving stage.

LED屏在进行换行刷新时,会有一个换行时间,换行时间包括前一行的行消影放电时间和新一行的充电时间,PWM信号在开启前需要有一个预充电时间;传统的LED驱动方法中,在整个PWM驱动阶段的开头开启PWM信号,只能利用换行时间完成预充电,而换行时间并不是固定不变的,因此有可能因为换行时间过短而导致预充电过程无法正常完成;本发明通过在整个PWM驱动阶段的末尾开启PWM信号,可以利用换行时间以及PWM驱动阶段的前半段时间进行预充电,从而保证有足够长的预充电时间完成预充电过程,提高了驱动电流的响应速度。When the LED screen is refreshed, there will be a new line time. The line wrap time includes the line erasing discharge time of the previous line and the charging time of the new line. The PWM signal needs to have a pre-charge time before turning on. In the traditional LED driving method , when the PWM signal is turned on at the beginning of the entire PWM drive stage, the precharge can only be completed by using the line feed time, and the line feed time is not fixed, so it is possible that the precharge process cannot be completed normally because the line feed time is too short; the present invention By turning on the PWM signal at the end of the entire PWM driving stage, the line feed time and the first half of the PWM driving stage can be used for precharging, thereby ensuring a long enough precharging time to complete the precharging process and improving the response speed of the driving current.

总体而言,通过本发明所构思的以上技术方案,能够取得以下有益效果:In general, through the above technical solutions conceived by the present invention, the following beneficial effects can be achieved:

(1)本发明所提供的多行扫高刷新率的全彩LED驱动芯片,在芯片内部根据数据时钟信号DCLK进行分频/倍频产生灰度时钟信号GCLK,所获得的灰度时钟信号GCLK可以达到更高的频率,同时其频率自动跟踪DCLK,抗干扰能力大大提升,有效的提高了刷新率及能够支持的扫描行数。(1) The multi-line scanning high refresh rate full-color LED driver chip provided by the present invention performs frequency division/multiplication according to the data clock signal DCLK inside the chip to generate a grayscale clock signal GCLK, and the obtained grayscale clock signal GCLK A higher frequency can be achieved, and at the same time, its frequency automatically tracks DCLK, which greatly improves the anti-interference ability, effectively improving the refresh rate and the number of scan lines that can be supported.

(2)本发明所提供的多行扫高刷新率的全彩LED驱动芯片,通过在一颗驱动芯片中集成R、G、B三基色,能够有减小所需占据的PCB面积,并提高输出通道的数量,为LED显示屏实现更小的灯珠间距提供了可能。(2) The multi-line scanning high refresh rate full-color LED driver chip provided by the present invention can reduce the PCB area required by integrating the three primary colors of R, G, and B in one driver chip, and improve the The number of output channels makes it possible for the LED display to achieve a smaller lamp bead spacing.

(3)本发明所提供的多行扫高刷新率的全彩LED驱动芯片,通过引脚引入换行信号ROW,并根据换行信号ROW生成换行/换帧信号,以指示对下一帧或下一行扫描的开始,即使场同步信号Vsync到来,仍然可以继续显示,由此使得换帧与场同步信号Vsync无关,从而能够在换帧时避免较长的等待时间,实现了一种帧间隔去除技术,提高了刷新率。(3) The multi-line scanning high refresh rate full-color LED driver chip provided by the present invention introduces a line feed signal ROW through a pin, and generates a line feed/frame feed signal according to the line feed signal ROW to indicate the next frame or next line. At the beginning of scanning, even if the field synchronization signal Vsync arrives, the display can still continue, so that the frame change has nothing to do with the field synchronization signal Vsync, so that a long waiting time can be avoided when the frame is changed, and a frame interval removal technology is realized. Improved refresh rate.

(4)本发明所提供的多行扫高刷新率的全彩LED驱动芯片及驱动方法,本发明通过对灰度分块进行蝶形打散,并按照重新排序后的编号顺序显示像素分块,使得较亮的像素分块和较暗的像素分块交叉显示,从而画面显示的灰度更加均匀,避免了亮线亮斑问题,提高了画面质量。(4) In the multi-line scanning high refresh rate full-color LED driver chip and driving method provided by the present invention, the present invention disperses the gray scale blocks by butterfly, and displays the pixel blocks according to the reordered number sequence. , so that the brighter pixel blocks and the darker pixel blocks are cross-displayed, so that the grayscale displayed on the screen is more uniform, the problem of bright lines and bright spots is avoided, and the picture quality is improved.

(5)本发明所提供的驱动方法,通过增加数据分块的最小长度(即像素分块所对应的像素值或灰度分块所对应的灰度计数值),能够有效减少实际显示的像素分块数量,从而减小总的电平爬升时间,能够实现更高的刷新率。(5) The driving method provided by the present invention can effectively reduce the actual displayed pixels by increasing the minimum length of the data block (ie, the pixel value corresponding to the pixel block or the gray scale count value corresponding to the gray scale block). The number of blocks, thereby reducing the overall level rise time, enables higher refresh rates.

(6)本发明所提供的驱动方法,通过在整个PWM驱动阶段的末尾开启PWM信号,可以利用换行时间以及PWM驱动阶段的前半段时间进行预充电,从而保证有足够长的预充电时间完成预充电过程,提高了驱动电流的响应速度。(6) In the driving method provided by the present invention, by turning on the PWM signal at the end of the entire PWM driving stage, the line feed time and the first half of the PWM driving stage can be used for pre-charging, thereby ensuring a long enough pre-charging time to complete the pre-charging. During the charging process, the response speed of the driving current is improved.

附图说明Description of drawings

图1为本发明实施例提供的多行扫高刷新率的全彩LED驱动芯片内部架构示意图;1 is a schematic diagram of the internal architecture of a full-color LED driver chip with multi-line scanning and high refresh rate provided by an embodiment of the present invention;

图2为本发明实施例提供的集成R、G、B三基色数据与48bit像素数据同步处理并分别产生PWM数据流图;Fig. 2 is the integrated R, G, B three primary color data and 48bit pixel data synchronous processing that the embodiment of the present invention provides and produces PWM data flow diagram respectively;

图3为传统的PWM产生方法示意图;3 is a schematic diagram of a traditional PWM generation method;

图4为本发明实施例提供的数据划分示意图;4 is a schematic diagram of data division provided by an embodiment of the present invention;

图5为本发明实施例提供的像素数据显示示意图;FIG. 5 is a schematic diagram of displaying pixel data according to an embodiment of the present invention;

图6为现有的PWM信号开启过程中的电平爬升时间示意图FIG. 6 is a schematic diagram of the level rise time during the turn-on process of the existing PWM signal

图7为传统的PWM信号开启图及本发明实施例提供的PWM信号开启示意图;其中,(a)为传统的PWM信号开启示意图,(b)为本发明实施例提供的PWM信号开启示意图。7 is a schematic diagram of a traditional PWM signal on and a schematic diagram of a PWM signal provided by an embodiment of the present invention; wherein, (a) is a schematic diagram of a traditional PWM signal on, and (b) is a schematic diagram of the PWM signal provided by the embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。此外,下面所描述的本发明各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

本发明所提供的多行扫高刷新率的全彩LED驱动芯片,如图1所示,包括:同步控制器、移位寄存器、状态寄存器、SRAM缓冲器、灰度时钟生成模块、驱动模块、预充电电路以及模拟输出模块;The multi-line scan high refresh rate full-color LED driver chip provided by the present invention, as shown in FIG. 1 , includes: a synchronization controller, a shift register, a status register, an SRAM buffer, a grayscale clock generation module, a driver module, Precharge circuit and analog output module;

同步控制器,其第一输入端用于接收锁存信号LE,锁存信号LE用于指示输入数据的类型;同步控制器用于通过其第一输出端将锁存信号LE传输到移位寄存器和状态寄存器;The synchronization controller, whose first input terminal is used to receive the latch signal LE, and the latch signal LE is used to indicate the type of input data; the synchronization controller is used to transmit the latch signal LE to the shift register and the shift register through its first output terminal. status register;

移位寄存器,其第一输入端用于接收串行输入数据SDI,其第二输入端用于接收数据时钟信号DCLK,其第三输入端连接至同步控制器的第一输出端,数据时钟信号DCLK作为发送指令数据及像素数据的时钟信号;移位寄存器用于根据锁存信号LE从串行输入数据SDI中识别出指令数据和像素数据并分别传输至状态寄存器和SRAM缓冲器;The shift register, its first input terminal is used to receive serial input data SDI, its second input terminal is used to receive the data clock signal DCLK, its third input terminal is connected to the first output terminal of the synchronization controller, the data clock signal DCLK is used as the clock signal for sending instruction data and pixel data; the shift register is used to identify the instruction data and pixel data from the serial input data SDI according to the latch signal LE and transmit them to the status register and the SRAM buffer respectively;

灰度时钟生成模块,其第一输入端用于接收数据时钟信号DCLK,其第二输入端与状态寄存器相连,灰度时钟生成模块用于根据指令信息,对数据时钟信号DCLK进行倍频/分频处理,以生成灰度时钟信号GCLK,灰度时钟信号用于控制灰度等级;The grayscale clock generation module, the first input terminal of which is used to receive the data clock signal DCLK, the second input terminal of which is connected to the status register, and the grayscale clock generation module is used for multiplying/dividing the data clock signal DCLK according to the instruction information. frequency processing to generate the gray clock signal GCLK, the gray clock signal is used to control the gray level;

驱动模块,其第一输入端连接至灰度时钟生成模块的输出端,其第二输入端与SRAM缓冲器相连,驱动模块用于对灰度时钟信号GCLK计数以得到各行像素数据所对应的灰度计数,并在每次扫描过程中利用连续N行像素数据及对应的灰度计数生成各行像素数据所对应的PWM信号,从而实现多行扫描;The driving module, the first input terminal of which is connected to the output terminal of the grayscale clock generation module, and the second input terminal of which is connected to the SRAM buffer. The driving module is used to count the grayscale clock signal GCLK to obtain the grayscale corresponding to the pixel data of each row. The PWM signal corresponding to each row of pixel data is generated by using continuous N rows of pixel data and corresponding grayscale counts in each scanning process, thereby realizing multi-row scanning;

同步控制器还用于生成换行/换帧信号,换行/换帧信号用于指示对下一行或下一帧像素进行显示;预充电电路的输入端连接至同步控制器的第二输出端;模拟输出模块的第一输入端连接至驱动模块的输出端,模拟输出模块的第二输入端与预充电电路相连;预充电电路用于在换行/换帧信号的指示下,对用于驱动待显示像素行的PWM信号进行预充电,从而产生多通道驱动电流,以实现对LED灯珠的恒流驱动。The synchronization controller is also used to generate a line feed/frame feed signal, and the line feed/frame feed signal is used to instruct the next line or next frame of pixels to be displayed; the input end of the precharge circuit is connected to the second output end of the synchronization controller; the analog The first input end of the output module is connected to the output end of the driving module, and the second input end of the analog output module is connected to the precharge circuit; The PWM signal of the pixel row is precharged to generate multi-channel driving current to realize constant current driving of the LED lamp bead.

现有的LED驱动芯片中的灰度时钟GCLK由片外通过芯片引脚提供,其频率往往由于PCB板的走线延时而受限,因而也局限了扫描行数;上述多行扫高刷新率的全彩LED驱动芯片,在芯片内部根据数据时钟信号DCLK进行分频/倍频产生灰度时钟信号GCLK,使得灰度时钟信号GCLK可以达到更高的频率,同时其频率自动跟踪DCLK,抗干扰能力大大提升,有效的提高了刷新率及能够支持的扫描行数。The grayscale clock GCLK in the existing LED driver chip is provided off-chip through the chip pins, and its frequency is often limited by the trace delay of the PCB board, so the number of scanning lines is also limited; the above-mentioned multi-line scanning high refresh It is a full-color LED driver chip with a high-speed full-color LED driver chip, and the gray-scale clock signal GCLK is generated by frequency division/multiplication according to the data clock signal DCLK inside the chip, so that the gray-scale clock signal GCLK can reach a higher frequency, and its frequency automatically tracks DCLK. The interference ability is greatly improved, effectively improving the refresh rate and the number of scan lines that can be supported.

可选地,为了设定输出通道电流大小,图1所示的多行扫高刷新率的全彩LED驱动芯片,还可以包括:数字仿真转换器和输电电流调节器;数字方针转换器的输入端与状态寄存器相连,输出电流调节器的第一输入端用于接收信号R-EXT,输出电流调节器的第二输入端连接至数字仿真转换器的输出端,输出电流调节器的输出端连接到各个输出通道;信号R-EXT连接外接电阻的输入端,用于设定输出通道电流大小;输出电流调节器根据通过数字仿真转换器获取状态期存器中的内容,并根据状态寄存器中的内容和信号R-EXT调节输出通道的驱动电流大小。Optionally, in order to set the current size of the output channel, the multi-line scan high refresh rate full-color LED driver chip shown in FIG. 1 may also include: a digital analog converter and a power transmission current regulator; the input of the digital target converter The terminal is connected to the status register, the first input terminal of the output current regulator is used to receive the signal R-EXT, the second input terminal of the output current regulator is connected to the output terminal of the digital analog converter, and the output terminal of the output current regulator is connected to To each output channel; the signal R-EXT is connected to the input end of the external resistor to set the current of the output channel; the output current regulator obtains the content of the state register through the digital analog converter, and according to the state register The content and signal R-EXT adjust the drive current of the output channel.

可选地,为了进一步提高画面质量,图1所示的多行扫高刷新率的全彩LED驱动芯片,还可以包括:错误状态侦测模块,其输入端与模拟输出模块的各输出通道相连,用于侦测LED灯珠的开路/短路状态,并将坏点的像素数据替换为0,以消除坏点十字架现象;Optionally, in order to further improve the picture quality, the full-color LED driver chip with multi-line scanning and high refresh rate shown in FIG. 1 may also include: an error state detection module, the input end of which is connected to each output channel of the analog output module. , used to detect the open/short state of the LED lamp bead, and replace the pixel data of the dead pixel with 0 to eliminate the cross phenomenon of the dead pixel;

坏点即出现短路的点,若坏点产生PWM输出,会导致局部大电流,从而出现以坏点为中心的十字架高亮现象,即坏点十字架现象;本发明由错误状态侦测模块侦测LED灯珠的开路/短路状态,并将坏点的像素数据替换为0,能够避免在坏点产生PWM输出,从而消除坏点十字架现象。The dead point is the point where a short circuit occurs. If the dead point produces PWM output, it will cause a local high current, so that the cross highlight phenomenon centered on the dead point, that is, the dead point cross phenomenon; the present invention is detected by the error state detection module. The open/short state of the LED lamp bead, and the pixel data of the dead pixel is replaced with 0, which can avoid generating PWM output at the dead pixel, thereby eliminating the dead pixel cross phenomenon.

在一个可选的实施方式中,如图1所示,灰度时钟生成模块具体包括:锁相环、倍频单元、第一分频单元以及第二分频单元;In an optional implementation manner, as shown in FIG. 1 , the grayscale clock generation module specifically includes: a phase-locked loop, a frequency multiplying unit, a first frequency dividing unit, and a second frequency dividing unit;

锁相环的第一输入端作为灰度时钟生成模块的第一输入端,锁相环的第二输入端连接至倍频单元的输出端;倍频单元的第一输入端作为灰度时钟生成模块的第二输入端,倍频单元的第二输入端连接至锁相环的输出端,倍频单元用于按照系数P对数据时钟信号DCLK进行倍频,以得到倍频信号并通过锁相环输出倍频信号;The first input end of the phase-locked loop is used as the first input end of the grayscale clock generation module, and the second input end of the phase-locked loop is connected to the output end of the frequency doubling unit; the first input end of the frequency doubling unit is used as the grayscale clock to generate The second input end of the module, the second input end of the frequency multiplication unit is connected to the output end of the phase-locked loop, and the frequency multiplication unit is used for frequency multiplication of the data clock signal DCLK according to the coefficient P, so as to obtain the frequency multiplied signal and phase-lock the signal. The loop outputs the frequency multiplied signal;

第一分频单元的输入端连接至锁相环的输出端,第一分频单元用于按照系数M1对倍频信号进行分频,以得到分频信号;The input end of the first frequency dividing unit is connected to the output end of the phase-locked loop, and the first frequency dividing unit is used to divide the frequency multiplication signal according to the coefficient M 1 to obtain the frequency division signal;

第二分频单元的输入端连接至第一分频单元的输出端,第二分频单元用于按照系数M2对分频信号进行分频,从而得到满足

Figure GDA0002533253850000121
的灰度时钟信号GCLK;The input end of the second frequency dividing unit is connected to the output end of the first frequency dividing unit, and the second frequency dividing unit is used to divide the frequency division signal according to the coefficient M 2 , so as to satisfy the
Figure GDA0002533253850000121
The grayscale clock signal GCLK;

其中,P为可动态配置的倍频系数,M1和M2为可动态配置的分频系数,fDCLK和fGCLK分别为数据时钟信号DCLK和灰度时钟信号GCLK的频率;Wherein, P is a dynamically configurable frequency multiplication coefficient, M 1 and M 2 are dynamically configurable frequency division coefficients, and f DCLK and f GCLK are the frequencies of the data clock signal DCLK and the grayscale clock signal GCLK, respectively;

本发明由一个锁相环和三个分频/倍频单元组成的灰度时钟生成模块,通过对数字时钟信号DCLK进行分频/倍频生成灰度时钟信号GCLK,其中,倍频系数P、分频系数M1和M2均可动态配置,既保证了所生成的灰度时钟信号GCLK能够达到较高的频率,也能够保证较好的亮度有效率,并保证显示时间与帧间隔时间相匹配;同时,分两次完成分频操作,也降低了对用于存储分频系数的寄存器的存储要求。The present invention is composed of a phase-locked loop and three frequency division/multiplier units to generate a grayscale clock generation module, and generates a grayscale clock signal GCLK by dividing/multiplying the digital clock signal DCLK, wherein the frequency multiplication coefficient P, The frequency division coefficients M 1 and M 2 can be dynamically configured, which not only ensures that the generated grayscale clock signal GCLK can reach a higher frequency, but also ensures better brightness efficiency, and ensures that the display time is consistent with the frame interval. At the same time, the frequency division operation is completed in two times, which also reduces the storage requirements for the registers used to store the frequency division coefficients.

在一个可选的实施方式中,图1所示的多行扫高刷新率的全彩LED驱动芯片,其像素数据中集成了R、G、B三基色数据,并且在处理像素数据的过程中,对其中的R、G、B三基色数据同步处理;In an optional embodiment, the multi-line scanning high refresh rate full-color LED driver chip shown in FIG. 1 integrates R, G, and B three primary color data in the pixel data, and in the process of processing the pixel data , synchronously process the R, G, B three primary color data;

传统的LED驱动芯片只负责驱动一种基色的灯珠,为了实现对三基色的驱动,每颗灯珠需要三个芯片独立驱动,占据了较大的PCB面积;本发明通过在一颗驱动芯片中集成R、G、B三基色,能够有减小所需占据的PCB面积,并提高输出通道的数量,为LED显示屏实现更小的灯珠间距提供了可能;以16bit的单基色像素数据为例,如图2所示,具体可在芯片内嵌入一块48K bit(具体存储空间大小由芯片带载面积决定)的SRAM缓冲器进行乒乓缓存处理,在产生PWM信号时再将48bit的灰度数据分成16bit的R、G、B分别进行单独驱动,同时本芯片支持最大48通道输出。The traditional LED driver chip is only responsible for driving the lamp beads of one primary color. In order to realize the driving of three primary colors, each lamp bead needs to be driven independently by three chips, which occupies a large PCB area; The three primary colors of R, G, and B are integrated in the middle, which can reduce the required PCB area and increase the number of output channels, making it possible for the LED display to achieve a smaller lamp bead spacing; 16-bit single-color pixel data For example, as shown in Figure 2, a 48K bit SRAM buffer (the specific storage space size is determined by the chip loading area) can be embedded in the chip for ping-pong buffer processing, and the 48bit grayscale is then processed when the PWM signal is generated. The data is divided into 16-bit R, G, and B for separate driving, and the chip supports a maximum of 48 channels of output.

在一个可选的实施方式中,如图1所示,同步控制器的第二输入端用于接收换行信号ROW,换行信号ROW具有不同的高电平宽度,同步控制器用于根据换行信号ROW的高电平宽度生成对应的换行/换帧信号;In an optional implementation manner, as shown in FIG. 1 , the second input terminal of the synchronization controller is used for receiving the line feed signal ROW, the line feed signal ROW has different high level widths, and the synchronization controller is used for receiving the line feed signal ROW according to the The high level width generates the corresponding line feed/frame feed signal;

具体可根据实际的应用需求设定换行信号ROW的高电平宽度以标识换行或换帧操作,譬如,可设置换行信号ROW的高电平宽度为4个DCLK宽度或8个DCLK宽度,其中,若信号ROW的高电平宽度为8个DCLK宽度,则表示第一行第一组(即换帧)的开始,其他情况(即换行)为4个DCLK宽度;在实际应用中,当ROW持续8个DCLK周期的高电平时,表示要进行第一行的第一个分组的显示,那么下一个4个DCLK周期的高电平就表示第二行第一个分组的显示;此处所描述的设定方式仅为示例性的描述,不应理解为对本发明的唯一限定;Specifically, the high level width of the line feed signal ROW can be set according to the actual application requirements to identify the line feed or frame feed operation. For example, the high level width of the line feed signal ROW can be set to 4 DCLK widths or 8 DCLK widths, wherein, If the high level width of the signal ROW is 8 DCLK widths, it indicates the beginning of the first group of the first row (ie, frame change), and in other cases (ie, line feed) is 4 DCLK widths; in practical applications, when ROW continues When the high level of 8 DCLK cycles indicates that the display of the first group of the first line is to be performed, then the high level of the next 4 DCLK cycles indicates the display of the first group of the second line; described here The setting mode is only an exemplary description, and should not be construed as the only limitation of the present invention;

传统的LED驱动芯片根据场同步信号Vsync进行换帧,在场同步信号Vsync到来时,往往需要等待一段时间才能开始显示下一帧,因此存在较大的帧间隔,刷新率较低;本发明通过引脚引入换行信号ROW,并根据换行信号ROW生成换行/换帧信号,以指示对下一帧或下一行扫描的开始,即使场同步信号Vsync到来,仍然可以继续显示,由此使得换帧与场同步信号Vsync无关,从而能够在换帧时避免较长的等待时间,实现了一种帧间隔去除技术,提高了刷新率。The traditional LED driver chip changes frames according to the field synchronization signal Vsync. When the field synchronization signal Vsync arrives, it often needs to wait for a period of time to start displaying the next frame, so there is a large frame interval and a low refresh rate; The line feed signal ROW is introduced into the pin, and a line feed/frame feed signal is generated according to the line feed signal ROW to indicate the start of scanning for the next frame or next line. The synchronization signal Vsync is irrelevant, so that a long waiting time can be avoided when changing frames, a frame interval removal technology is realized, and the refresh rate is improved.

在一个可选的实施方式中,如图1所示,驱动模块包括:计数器、蝶形打散单元以及比较单元;In an optional implementation manner, as shown in FIG. 1 , the driving module includes: a counter, a butterfly breaking unit and a comparison unit;

计数器的输入端作为驱动模块的第一输入端,计数器用于对灰度时钟信号GCLK计数以得到各行像素数据所对应的灰度计数;The input end of the counter is used as the first input end of the driving module, and the counter is used to count the grayscale clock signal GCLK to obtain the grayscale count corresponding to the pixel data of each row;

蝶形打散单元的输入端连接至计数器的输出端,蝶形打散单元用于按照数据分块模式将灰度计数分为K个灰度分块并通过蝶形打散的方式进行重新排列,以得到分块编号序列;每个灰度分块对应一个灰度时钟计数值,且所有灰度分块所对应的灰度时钟计数值之和等于灰度计数;The input end of the butterfly breaking unit is connected to the output end of the counter, and the butterfly breaking unit is used to divide the grayscale count into K gray scale blocks according to the data block mode and rearrange them by the way of butterfly breaking. , to obtain the block number sequence; each gray block corresponds to a gray clock count value, and the sum of the gray clock count values corresponding to all gray blocks is equal to the gray count;

比较单元的第一输入端作为驱动模块的第二输入端,比较单元的第二输入端连接至蝶形打散单元的输出端,比较单元用于按照分块模式将像素数据分为K个像素分块,并按照分块编号序列依次取对应编号的灰度分块和像素分块进行比较,从而产生PWM信号的输出波形;每个像素分块对应一个灰度值,且所有像素分块所对应的灰度值之和等于像素数据;其中,比较单元由多个比较器组成,每个比较器分别用于完成一个像素分块与其相同编号的灰度分块的比较;The first input end of the comparison unit is used as the second input end of the driving module, the second input end of the comparison unit is connected to the output end of the butterfly breaking unit, and the comparison unit is used for dividing the pixel data into K pixels according to the block mode It is divided into blocks, and the corresponding numbered gray blocks and pixel blocks are compared in turn according to the block number sequence, thereby generating the output waveform of the PWM signal; each pixel block corresponds to a gray value, and all pixel blocks are The sum of the corresponding grayscale values is equal to the pixel data; wherein, the comparison unit is composed of a plurality of comparators, and each comparator is respectively used to complete the comparison of a pixel block and the grayscale block of the same number;

其中,K为分块模式所对应的分块数量;Among them, K is the number of blocks corresponding to the block mode;

像素分块对应的像素值表示显示该像素分块时需要对该像素分块开启的GCLK周期数,像素分块对应的像素值越大,则显示时该像素分块越亮;以16比特像素数据(即灰度数据)为例,若像素数据为Data=32800,且计数器为24比特,在传统的PWM信号产生方法中,该计数器会对灰度时钟信号GCLK进行计数,并与该像素数据Data进行比较,从而产生PWM信号,如图3所示,按照这种方式显示时,会使得每一行像素数据在显示时,前半部分明显比后半部分亮,从而出现亮线亮斑现象;本发明对像素数据进行数据分块,以分为64(即K=64)个块为例,各像素分块对应的像素值之差不超过最小的分块单位长度(在此为1),且编号较小的像素分块对应的像素值不小于编号较大的像素分块对应的像素值,按照这种数据划分模式划分完成后,所得到的64个分块中,编号为0~31的像素分块对应的像素值为513,编号为32~63的像素分块对应的像素值为512,即编号为0~31的像素分块需开启513个GCLK周期,编号为32~63的像素分块需开启512个GCLK周期,总共开启513×32+512×(64-32)=32800个GCLK周期,具体的像素分块及各像素分块开启的GCLK周期如图4所示;数据划分完成后,对所有的灰度分块和像素分块进行蝶形打散,得到分块编号序列;本发明通过对灰度分块进行蝶形打散,并按照重新排序后的编号顺序显示像素分块,使得较亮的像素分块和较暗的像素分块交叉显示,从而画面显示的灰度更加均匀,避免了亮线亮斑问题,提高了画面质量。The pixel value corresponding to a pixel block indicates the number of GCLK cycles that need to be turned on for the pixel block when displaying the pixel block. The larger the pixel value corresponding to the pixel block, the brighter the pixel block is when displayed; Take the data (ie grayscale data) as an example, if the pixel data is Data=32800 and the counter is 24 bits, in the traditional PWM signal generation method, the counter will count the grayscale clock signal GCLK, and the pixel data will be counted by the counter. Data is compared to generate a PWM signal, as shown in Figure 3, when displayed in this way, the first half of each line of pixel data will be significantly brighter than the second half when displayed, resulting in bright lines and bright spots; According to the invention, pixel data is divided into 64 blocks (ie, K=64) as an example, and the difference between the pixel values corresponding to each pixel block does not exceed the minimum block unit length (here, 1), and The pixel value corresponding to the pixel block with a smaller number is not less than the pixel value corresponding to the pixel block with a larger number. After the division is completed according to this data division mode, among the 64 blocks obtained, the numbered 0 to 31 The pixel value corresponding to the pixel block is 513, and the pixel value corresponding to the pixel block numbered 32 to 63 is 512, that is, the pixel block numbered 0 to 31 needs to open 513 GCLK cycles, and the pixel numbered 32 to 63. Blocking needs to open 512 GCLK cycles, a total of 513 × 32 + 512 × (64-32) = 32800 GCLK cycles, the specific pixel block and the GCLK cycle of each pixel block is shown in Figure 4; data division After completion, butterfly breaking up all gray scale blocks and pixel blocks to obtain a block number sequence; the present invention disperses the gray scale blocks by butterfly, and displays the pixels according to the reordered numbering order. Blocking makes brighter pixel blocks and darker pixel blocks cross-display, so that the grayscale displayed on the screen is more uniform, avoiding the problem of bright lines and bright spots, and improving the picture quality.

蝶形打散用于对分块编号进行重新排序,其具体方式是,根据分块模式将各分块的编号表示成二进制,然后对各二进制编号的高低位颠倒,从而得到排序后的编号顺序;譬如,数据分成64块,即原始分块编号为0~63,那么正常的块编号表示成二进制是6位,依次是000000、000001、000010……,高低位颠倒后,编号顺序是000000(0)、100000(32)、010000(16)……111111(63);再譬如,数据分成32块,即原始分块编号为0~31,那么正常的块编号表示成二进制是5位,依次是00000、00001、00010……,高低位颠倒后,编号顺序是00000(0)、10000(16)、01000(8)……11111(31)。The butterfly breaking is used to reorder the block numbers. The specific method is to express the number of each block into binary according to the block mode, and then reverse the high and low bits of each binary number to obtain the sorted number sequence. ; For example, if the data is divided into 64 blocks, that is, the original block numbers are 0 to 63, then the normal block number is expressed in binary as 6 bits, which are 000000, 000001, 000010..., and after the high and low bits are reversed, the number sequence is 000000 ( 0), 100000(32), 010000(16)...111111(63); for another example, the data is divided into 32 blocks, that is, the original block number is 0 to 31, then the normal block number is expressed in binary as 5 bits, in turn It is 00000, 00001, 00010..., after the high and low bits are reversed, the numbering sequence is 00000(0), 10000(16), 01000(8)...11111(31).

基于图1所示的多行扫高刷新率的全彩LED驱动芯片,本发明所提供的驱动方法,包括:Based on the multi-line scanning full-color LED driver chip with high refresh rate shown in FIG. 1 , the driving method provided by the present invention includes:

(1)对灰度时钟信号GCLK计数以得到各行像素数据所对应的灰度计数;(1) Count the grayscale clock signal GCLK to obtain the grayscale count corresponding to each row of pixel data;

(2)对于当前扫描过程中需要显示的任意一行像素数据,按照数据分块模式将该行像素数据划分为K个像素分块;(2) for any line of pixel data that needs to be displayed in the current scanning process, divide the line of pixel data into K pixel blocks according to the data block mode;

每个像素分块对应一个灰度值,且所有像素分块所对应的灰度值之和等于像素数据;Each pixel block corresponds to a gray value, and the sum of the gray values corresponding to all pixel blocks is equal to the pixel data;

(3)按照数据分块模式将该行像素数据对应的灰度计数划分为K个灰度分块并通过蝶形打散的方式进行重新排列,以得到分块编号序列;(3) according to the data block mode, the grayscale count corresponding to the row pixel data is divided into K grayscale blocks and rearranged by the mode of butterfly breaking, to obtain the block number sequence;

每个灰度分块对应一个灰度时钟计数值,且所有灰度分块所对应的灰度时钟计数值之和等于灰度计数;Each grayscale block corresponds to a grayscale clock count value, and the sum of the grayscale clock count values corresponding to all grayscale blocks is equal to the grayscale count;

(4)按照分块编号序列依次取对应编号的灰度分块和像素分块进行比较,从而产生该行像素数据所对应的PWM信号的输出波形;(4) according to the block number sequence, get the gray scale block and the pixel block of the corresponding number in turn and compare, thereby generating the output waveform of the PWM signal corresponding to the pixel data of this row;

(5)对于连续N行像素数据,分别执行步骤(2)~(4)以得到各行像素数据对应的PWM信号的输出波形;(5) for consecutive N rows of pixel data, respectively perform steps (2) to (4) to obtain the output waveform of the PWM signal corresponding to each row of pixel data;

(6)根据数据分块结果和所生成的PWM信号对连续N行像素数据进行显示,使得第1~N行像素数据中相同编号的像素分块依次显示,并且在全部N行像素数据中一个编号的像素分块均显示完成后,才开始显示分块编号序列中下一个编号的像素分块;(6) Display the pixel data of consecutive N rows according to the result of the data segmentation and the generated PWM signal, so that the pixels of the same number in the pixel data of the 1st to Nth rows are displayed in sequence, and one of the pixel data of all N rows is displayed in sequence. After the numbered pixel blocks are all displayed, the next numbered pixel block in the block number sequence starts to be displayed;

其中,K为分块模式所对应的分块数量。Among them, K is the number of blocks corresponding to the block mode.

按照上述驱动方法,以上述图4所示的分块结果为例,进行蝶形打散之后,对连续N行数据的显示顺序如图5所示,具体为:According to the above driving method, taking the block result shown in FIG. 4 as an example, after performing butterfly breaking up, the display sequence of consecutive N lines of data is shown in FIG. 5 , specifically:

先显示第一行第0号块,再显示第二行第0号块,第三行第0号块……第N行第0号块;First display the No. 0 block in the first row, then display the No. 0 block in the second row, the No. 0 block in the third row... The Nth row No. 0 block;

然后显示第一行第32号块,第二行第32号块……第N行第32号块;Then display the 32nd block in the first row, the 32nd block in the second row...the Nth row, the 32nd block;

然后显示第一行第16号块,第二行第16号块……第N行第16号块;Then display the 16th block in the first row, the 16th block in the second row...the Nth row and the 16th block;

然后显示第一行第48号块,第二行第48号块……第N行第48号块;Then display the 48th block of the first row, the 48th block of the second row...the Nth row of the 48th block;

……...

一直到所有的块全部显示完毕;Until all blocks are displayed;

上述驱动方法通过对各行像素数据及对应的灰度计数进行蝶形打散,并按照打散后的顺序显示像素分块,能够使得较亮的像素分块和较暗的像素分块交叉显示,从而画面显示的灰度更加均匀,避免了亮线亮斑问题,提高了画面质量。The above-mentioned driving method disperses the pixel data of each row and the corresponding grayscale counts in a butterfly shape, and displays the pixel blocks in the order after the dispersing, so that the brighter pixel blocks and the darker pixel blocks can be displayed in a cross manner. As a result, the grayscale displayed on the screen is more uniform, the problem of bright lines and bright spots is avoided, and the picture quality is improved.

在一个可选的实施方式中,上述驱动方法中,像素分块所对应的像素值,以及灰度分块所对应的灰度计数值,均不小于L;In an optional embodiment, in the above driving method, the pixel value corresponding to the pixel sub-block and the gray-scale count value corresponding to the gray-scale sub-block are not less than L;

其中,L为2的整数次幂;Among them, L is an integer power of 2;

开启每一个像素分块对应的PWM信号时,存在电平爬升时间,如图6所示,这样的电平爬升时间制约了刷新率的提高;本发明通过增加数据分块的最小长度(即像素分块所对应的像素值或灰度分块所对应的灰度计数值),能够有效减少实际显示的像素分块数量,从而减小总的电平爬升时间,能够实现更高的刷新率;When the PWM signal corresponding to each pixel block is turned on, there is a level rise time, as shown in Figure 6, such a level rise time restricts the improvement of the refresh rate; the present invention increases the minimum length of the data block (that is, the pixel The pixel value corresponding to the block or the grayscale count value corresponding to the gray block) can effectively reduce the number of pixel blocks actually displayed, thereby reducing the total level rise time and achieving a higher refresh rate;

以像素数据Data1=22170、分为64个块、L=22=4为例,各像素分块对应的像素值之差不超过最小的分块单位长度(在此为4),且编号较小的像素分块对应的像素值不小于编号较大的像素分块对应的像素值,按照这种数据划分模式划分完成后,对像素数据Data1进行数据划分所得到的64个分块中,编号为0~37的块开启87个最小长度(即87×4个)的GCLK周期,编号为38的块开启(86×4+2)个GCLK周期,编号为39~63的块开启86个最小长度(即86×4个)的GCLK周期,总共开启87×38×4+86×(64-38)×4+2=22170个GCLK周期;当出现像素数据Data2=4类似情况时,若不设置最小长度,则该像素数据Data2将被分配到4个不同的子块中,每个子块中开启1个GCLK周期,产生PWM需要消耗四次电平的爬升时间;若设置最小长度为L=4,则该像素数据Data2将只被分配到1个子块中,该子块中开启4个GCLK周期,产生PWM只消耗一次电平的爬升时间。Taking the pixel data Data 1 =22170, divided into 64 blocks, and L=2 2 =4 as an example, the difference between the pixel values corresponding to each pixel block does not exceed the minimum block unit length (here 4), and the number of The pixel value corresponding to the smaller pixel block is not less than the pixel value corresponding to the pixel block with a larger number. After the division is completed according to this data division mode, the pixel data Data1 is divided into 64 blocks. Blocks numbered 0 to 37 enable 87 GCLK cycles of minimum length (ie, 87×4), blocks numbered 38 enable (86×4+2) GCLK cycles, and blocks numbered 39 to 63 enable 86 GCLK cycles Minimum length (ie 86×4) GCLK cycles, a total of 87×38×4+86×(64-38)×4+2=22170 GCLK cycles are turned on; when the pixel data Data 2 =4 similar situation occurs, If the minimum length is not set, the pixel data Data 2 will be allocated to 4 different sub-blocks, and one GCLK cycle is turned on in each sub-block, and PWM generation requires four levels of rise time; if the minimum length is set If L=4, the pixel data Data 2 will only be allocated to one sub-block, and 4 GCLK cycles are turned on in this sub-block, and generating PWM consumes only one level rise time.

在一个可选的实施方式中,上述驱动方法中,对每一行像素数据进行显示时,对应的PWM信号在整个PWM驱动阶段的末尾开启;In an optional implementation manner, in the above driving method, when each row of pixel data is displayed, the corresponding PWM signal is turned on at the end of the entire PWM driving stage;

LED屏在进行换行刷新时,会有一个换行时间,换行时间包括前一行的行消影放电时间和新一行的充电时间,PWM信号在开启前需要有一个预充电时间;传统的LED驱动方法中,在整个PWM驱动阶段的开头开启PWM信号,如图7中的(a)所示,只能利用换行时间完成预充电,而换行时间并不是固定不变的,因此有可能因为换行时间过短而导致预充电过程无法正常完成;本发明通过在整个PWM驱动阶段的末尾开启PWM信号,如图7中的(b)所示,可以利用换行时间以及PWM驱动阶段的前半段时间进行预充电,从而保证有足够长的预充电时间完成预充电过程,提高了驱动电流的响应速度。When the LED screen is refreshed, there will be a new line time. The line wrap time includes the line erasing discharge time of the previous line and the charging time of the new line. The PWM signal needs to have a pre-charge time before turning on. In the traditional LED driving method , the PWM signal is turned on at the beginning of the entire PWM drive stage, as shown in (a) in Figure 7, the precharge can only be completed by the line feed time, and the line feed time is not fixed, so it may be because the line feed time is too short As a result, the precharging process cannot be completed normally; in the present invention, by turning on the PWM signal at the end of the entire PWM driving stage, as shown in (b) in FIG. Thus, a long enough precharging time is ensured to complete the precharging process, and the response speed of the driving current is improved.

总的来说,本发明所提供的多行扫高刷新率的全彩LED驱动芯片及驱动方法,芯片内部获取并生成灰度时钟GCLK及多通道(例如图1中的48通道)驱动技术,使得LED灯珠具有更高的刷新率、更优的灰阶度,采用的内部灰度时钟GCLK分频/倍频技术支持最高可达64行扫,在集成了R、G、B三通道像素数据达到单颗芯片48通道恒流驱动输出情况下,使得LED显示屏能够实现更小的灯珠间距。本发明相比较于现有的技术使得LED屏显示画面更加细腻,具有更好的高亮低灰效果、更高的刷新率,在相同的驱动芯片数量的情况下可以带载更大的显示屏面积,为设计小点间距多通道多行扫高刷新率全彩LED驱动芯片提供了很好的解决方案,具有实际应用价值。In general, the multi-line scanning high refresh rate full-color LED driver chip and driving method provided by the present invention, the chip internally acquires and generates a grayscale clock GCLK and a multi-channel (for example, 48 channels in FIG. 1) driving technology, The LED lamp beads have a higher refresh rate and better grayscale. The internal grayscale clock GCLK frequency division/multiplication technology supports up to 64 line scans. In the integrated R, G, B three-channel pixels When the data reaches the 48-channel constant current drive output of a single chip, the LED display can achieve a smaller lamp bead spacing. Compared with the prior art, the present invention makes the LED screen display more delicate, has better high-brightness and low-gray effects, and a higher refresh rate, and can carry a larger display screen under the condition of the same number of driving chips It provides a good solution for designing full-color LED driver chips with small dot pitch, multi-channel, multi-line scanning and high refresh rate, and has practical application value.

本领域的技术人员容易理解,以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。Those skilled in the art can easily understand that the above are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention, etc., All should be included within the protection scope of the present invention.

Claims (8)

1. A full-color L ED driving chip with multi-row scanning high refresh rate is characterized by comprising a synchronous controller, a shift register, a state register, an SRAM buffer, a gray scale clock generation module, a driving module, a pre-charging circuit and an analog output module;
the synchronization controller, a first input of which is used for receiving a latch signal L E, the latch signal L E is used for indicating the type of input data, the synchronization controller is used for transmitting the latch signal L E to the shift register and the state register through a first output of the synchronization controller;
the shift register is used for identifying instruction data and pixel data from the serial input data SDI according to the latch signal L E and transmitting the instruction data and the pixel data to the state register and the SRAM buffer respectively;
the first input end of the gray clock generation module is used for receiving the data clock signal DC L K, the second input end of the gray clock generation module is connected with the state register, and the gray clock generation module is used for performing frequency multiplication/frequency division processing on the data clock signal DC L K according to instruction information to generate a gray clock signal GC L K, wherein the gray clock signal is used for controlling gray scales;
the first input end of the driving module is connected to the output end of the gray clock generation module, the second input end of the driving module is connected to the SRAM buffer, and the driving module is configured to count the gray clock signal GC L K to obtain a gray count corresponding to each row of pixel data, and generate an output waveform of a PWM signal corresponding to each row of pixel data by using N consecutive rows of pixel data and the corresponding gray count in each scanning process, thereby implementing multi-row scanning;
the synchronous controller is also used for generating a line changing/frame changing signal which is used for indicating to display a next line or a next frame pixel, the input end of the pre-charging circuit is connected to the second output end of the synchronous controller, the first input end of the analog output module is connected to the output end of the driving module, and the second input end of the analog output module is connected with the pre-charging circuit which is used for pre-charging a PWM signal of a pixel line to be displayed under the indication of the line changing/frame changing signal so as to generate a multi-channel driving current and realize the constant current driving of an L ED lamp bead;
the driving module includes: the device comprises a counter, a butterfly scattering unit and a comparison unit;
the input end of the counter is used as the first input end of the driving module, and the counter is used for counting the gray clock signal GC L K to obtain the gray count corresponding to each row of pixel data;
the input end of the butterfly scattering unit is connected to the output end of the counter, and the butterfly scattering unit is used for dividing the gray scale count into K gray scale blocks according to a data blocking mode and rearranging the K gray scale blocks in a butterfly scattering mode to obtain a block numbering sequence; each gray scale block corresponds to a gray scale clock count value, and the sum of the gray scale clock count values corresponding to all the gray scale blocks is equal to the gray scale count;
the first input end of the comparison unit is used as the second input end of the driving module, the second input end of the comparison unit is connected to the output end of the butterfly scattering unit, the comparison unit is used for dividing pixel data into K pixel blocks according to the block mode, and sequentially taking the gray blocks and the pixel blocks which are correspondingly numbered according to the block number sequence for comparison, so that the output waveform of the PWM signal is generated; each pixel block corresponds to a gray value, and the sum of the gray values corresponding to all the pixel blocks is equal to the pixel data;
and K is the number of the blocks corresponding to the block mode.
2. The multi-scan high refresh rate full-color L ED driver chip of claim 1, wherein the gray scale clock generation module comprises a phase locked loop, a frequency doubling unit, a first frequency dividing unit, and a second frequency dividing unit;
the first input end of the frequency doubling unit is used as the second input end of the gray scale clock generation module, the second input end of the frequency doubling unit is connected to the output end of the phase-locked loop, and the frequency doubling unit is used for doubling the frequency of the data clock signal DC L K according to a coefficient P to obtain a frequency doubling signal and outputting the frequency doubling signal through the phase-locked loop;
the input end of the first frequency division unit is connected to the output end of the phase-locked loop, and the first frequency division unit is used for dividing the phase-locked loop according to a coefficient M1Dividing the frequency of the frequency multiplication signal to obtain a frequency division signal;
the input end of the second frequency dividing unit is connected to the output end of the first frequency dividing unit, and the second frequency dividing unit is used for dividing the frequency according to a coefficient M2Frequency-dividing the frequency-divided signal to obtain a frequency-divided signal satisfying
Figure FDA0002533253840000031
The gray scale clock signal GC L K;
wherein P is a dynamically configurable frequency multiplication coefficient, M1And M2For dynamically configurable division factor, fDCLKAnd fGCLKThe frequencies of the data clock signal DC L K and the gray clock signal GC L K, respectively.
3. The multi-row scan high refresh rate full-color L ED driver chip of claim 1 or 2, wherein R, G, B three primary color data are integrated into the pixel data, and R, G, B three primary color data are processed synchronously during the processing of the pixel data.
4. The multi-ROW scan high refresh rate full-color L ED driver chip as claimed in claim 1 or 2, wherein the second input terminal of the synchronous controller is used for receiving a line feed signal ROW having different high-level widths, and the synchronous controller is used for generating corresponding line/frame signals according to the high-level widths of the line feed signal ROW.
5. The multi-row scan high-refresh-rate full-color L ED driver chip of claim 1 or 2, further comprising an error detection module having an input connected to each output channel of the analog output module for detecting L open/short circuit status of the ED lamp bead and replacing the pixel data of dead pixel with 0 to eliminate dead pixel cross.
6. A driving method of a multi-row scan high refresh rate full-color L ED driver chip according to any of claims 1-5, comprising:
(1) counting the gray clock signal GC L K to obtain a gray count corresponding to each row of pixel data;
(2) dividing any line of pixel data to be displayed in the current scanning process into K pixel blocks according to a data block mode;
each pixel block corresponds to a gray value, and the sum of the gray values corresponding to all the pixel blocks is equal to the pixel data;
(3) dividing the gray scale count corresponding to the row of pixel data into K gray scale blocks according to the data block mode, and rearranging the K gray scale blocks in a butterfly scattering mode to obtain a block number sequence;
each gray scale block corresponds to a gray scale clock count value, and the sum of the gray scale clock count values corresponding to all the gray scale blocks is equal to the gray scale count;
(4) sequentially taking the gray-scale blocks with the corresponding numbers and the pixel blocks according to the block number sequence for comparison, thereby generating an output waveform of the PWM signal corresponding to the row of pixel data;
(5) for the continuous N rows of pixel data, steps (2) to (4) are respectively executed to obtain output waveforms of PWM signals corresponding to the pixel data of each row;
(6) displaying the pixel data of the continuous N lines according to the data blocking result and the generated PWM signal, so that the pixel blocks with the same number in the pixel data of the 1 st to N lines are sequentially displayed, and starting to display the pixel block with the next number in the block number sequence after the pixel block with one number in all the pixel data of the N lines is completely displayed;
and K is the number of the blocks corresponding to the block mode.
7. The driving method according to claim 6, wherein a pixel value corresponding to the pixel block and a gray scale value corresponding to the gray scale block are not less than L;
wherein L is an integer power of 2.
8. A method according to claim 6 or 7, wherein for each row of pixel data to be displayed, the corresponding PWM signal is turned on at the end of the entire PWM driving phase.
CN201910508939.1A 2019-06-13 2019-06-13 Full-color LED driver chip and driving method with multi-line scanning and high refresh rate Expired - Fee Related CN110277052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910508939.1A CN110277052B (en) 2019-06-13 2019-06-13 Full-color LED driver chip and driving method with multi-line scanning and high refresh rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910508939.1A CN110277052B (en) 2019-06-13 2019-06-13 Full-color LED driver chip and driving method with multi-line scanning and high refresh rate

Publications (2)

Publication Number Publication Date
CN110277052A CN110277052A (en) 2019-09-24
CN110277052B true CN110277052B (en) 2020-08-04

Family

ID=67960635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910508939.1A Expired - Fee Related CN110277052B (en) 2019-06-13 2019-06-13 Full-color LED driver chip and driving method with multi-line scanning and high refresh rate

Country Status (1)

Country Link
CN (1) CN110277052B (en)

Families Citing this family (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110996449B (en) * 2019-11-29 2021-12-21 广州市雅江光电设备有限公司 PWM pulse width modulation method and device
US11423829B2 (en) * 2020-03-02 2022-08-23 Silicon Works Co., Ltd. Clock generating circuit for LED driving device and method for driving
CN111326102A (en) * 2020-03-11 2020-06-23 深圳市德普微电子有限公司 Gray scale display control method
CN111261097A (en) * 2020-03-11 2020-06-09 深圳市德普微电子有限公司 Gray scale display driving method
CN112837652B (en) * 2020-04-15 2022-08-30 成都利普芯微电子有限公司 Gray scale data display driving module and gray scale data transmission method
CN111402795A (en) * 2020-05-22 2020-07-10 中科芯集成电路有限公司 SRAM control circuit based on L ED display drive
CN111599305B (en) * 2020-06-04 2023-06-06 南京达斯琪数字科技有限公司 LED drive circuit of flexible transparent screen
TWI746153B (en) * 2020-06-18 2021-11-11 聯詠科技股份有限公司 Led driver and precharging method thereof
CN113851074B (en) * 2020-06-28 2023-07-28 深圳市明微电子股份有限公司 LED driving pulse modulation method and device
CN113870757B (en) * 2020-06-30 2023-07-04 京东方科技集团股份有限公司 Driving method, driving circuit and display device of display panel
CN113948033B (en) * 2020-07-15 2023-01-17 厦门凌阳华芯科技股份有限公司 High-precision PWM driving method, device and medium for LED display screen
KR20230022953A (en) * 2020-07-29 2023-02-16 시'안 티보스 일렉트로닉 테크놀로지 씨오., 엘티디. Display driving circuit and method, LED display panel and display device
CN114067724B (en) * 2020-07-29 2023-05-09 西安钛铂锶电子科技有限公司 Gray data processing method, device and system and display device
CN114078419B (en) * 2020-08-11 2023-01-10 西安钛铂锶电子科技有限公司 Display control method and display control device
CN112037710B (en) * 2020-09-09 2021-11-23 中科芯集成电路有限公司 PWM algorithm for opening channels of multi-channel LED driving chip in time-sharing manner
CN112116892A (en) * 2020-09-09 2020-12-22 中科芯集成电路有限公司 Low-gray-scale optimization PWM algorithm for LED driving chip
CN114648944B (en) * 2020-12-21 2024-07-12 西安钛铂锶电子科技有限公司 Display driving method and circuit, LED display panel and display device
CN112992050B (en) * 2021-02-23 2023-04-28 中科芯集成电路有限公司 Composite SPWM algorithm of constant-current LED driving chip
CN112967670B (en) * 2021-03-03 2022-11-18 北京集创北方科技股份有限公司 Display driving method, device and chip, display device and storage medium
CN114038398B (en) * 2021-08-18 2022-09-13 重庆康佳光电技术研究院有限公司 Gray scale compensation circuit, display device and gray scale compensation method
CN113763875A (en) * 2021-09-28 2021-12-07 福建捷联电子有限公司 Driving method and circuit for dual-mode modulation RGB LED
CN113808530B (en) * 2021-10-18 2023-02-28 中科芯集成电路有限公司 Ghost eliminating signal implementation method under LED driving chip
CN113936591B (en) * 2021-11-01 2023-06-09 四川启睿克科技有限公司 Display device driving circuit and driving method thereof
CN114023250A (en) * 2021-11-10 2022-02-08 成都利普芯微电子有限公司 Driving chip, display assembly and driving method
CN114664238B (en) * 2022-03-23 2023-09-19 无锡力芯微电子股份有限公司 PWM data synchronization method for LED display
CN117322137A (en) * 2022-04-28 2023-12-29 京东方科技集团股份有限公司 Circuit components, electronic devices and driving methods
CN115050317B (en) * 2022-07-15 2023-03-21 惠科股份有限公司 Data driving circuit, display module and method for outputting driving signal
CN115083339B (en) * 2022-07-26 2023-01-03 惠科股份有限公司 Driving method and driving device of display panel
CN117409708B (en) * 2023-12-14 2024-03-22 无锡靖芯科技有限公司 Method for effectively improving refresh rate of LED display driving chip
CN118038803B (en) * 2024-04-12 2024-06-25 北京数字光芯集成电路设计有限公司 Micro display screen driving circuit and driving method thereof
CN118538186B (en) * 2024-07-24 2024-11-01 南京芯视元电子有限公司 Display system, display device and display method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930349A (en) * 2010-08-16 2010-12-29 深圳市洲明科技股份有限公司 Led scanning control chip
CN201788499U (en) * 2010-08-16 2011-04-06 深圳市洲明科技股份有限公司 LED scanning control chip device
CN102779480A (en) * 2012-08-17 2012-11-14 深圳市易事达电子有限公司 Display screen drive circuit and light-emitting diode display device
CN202795995U (en) * 2012-04-17 2013-03-13 广州硅芯电子科技有限公司 High-performance LED display driving chip
CN103000143A (en) * 2012-12-24 2013-03-27 成都巨芯科技有限公司 Full-color light-emitting diode (LED) array gray level adjustment method and circuit
CN103310735A (en) * 2013-06-27 2013-09-18 深圳市明微电子股份有限公司 Display control method and display control system both supportive of gray level expansion
CN104900183A (en) * 2015-04-22 2015-09-09 深圳市巨能伟业技术有限公司 Multi-current drive chip used for LED display drive
CN105161053A (en) * 2015-09-11 2015-12-16 深圳市明微电子股份有限公司 Anti-streaking row-scanning control chip and anti-streaking LED display circuit
CN109147653A (en) * 2018-10-09 2019-01-04 中国电子科技集团公司第五十八研究所 A kind of LED drive chip display control OS-PWM method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930349A (en) * 2010-08-16 2010-12-29 深圳市洲明科技股份有限公司 Led scanning control chip
CN201788499U (en) * 2010-08-16 2011-04-06 深圳市洲明科技股份有限公司 LED scanning control chip device
CN202795995U (en) * 2012-04-17 2013-03-13 广州硅芯电子科技有限公司 High-performance LED display driving chip
CN102779480A (en) * 2012-08-17 2012-11-14 深圳市易事达电子有限公司 Display screen drive circuit and light-emitting diode display device
CN103000143A (en) * 2012-12-24 2013-03-27 成都巨芯科技有限公司 Full-color light-emitting diode (LED) array gray level adjustment method and circuit
CN103310735A (en) * 2013-06-27 2013-09-18 深圳市明微电子股份有限公司 Display control method and display control system both supportive of gray level expansion
CN104900183A (en) * 2015-04-22 2015-09-09 深圳市巨能伟业技术有限公司 Multi-current drive chip used for LED display drive
CN105161053A (en) * 2015-09-11 2015-12-16 深圳市明微电子股份有限公司 Anti-streaking row-scanning control chip and anti-streaking LED display circuit
CN109147653A (en) * 2018-10-09 2019-01-04 中国电子科技集团公司第五十八研究所 A kind of LED drive chip display control OS-PWM method

Also Published As

Publication number Publication date
CN110277052A (en) 2019-09-24

Similar Documents

Publication Publication Date Title
CN110277052B (en) Full-color LED driver chip and driving method with multi-line scanning and high refresh rate
CN109903721B (en) LED drive circuit based on frequency multiplication OS-PWM algorithm
US6353435B2 (en) Liquid crystal display control apparatus and liquid crystal display apparatus
US6831621B2 (en) Liquid crystal display device
CN100474386C (en) Controller driver and display apparatus
US20020080107A1 (en) Method of driving a liquid crystal display and driver circuit for driving a liquid crystal display
US9875680B2 (en) Method and apparatus for generation of gray scale adjustment voltage and panel driver circuit
CN102708803B (en) Method for realizing controllable gray level of LED constant current driver and constant current driver
KR20010062081A (en) Driving circuit of liquid crystal display device
CN108200687B (en) A programmable LED array micro-illumination control method based on FPGA
JP2003248451A (en) Configurable panel controller and flexible display interface
CN111599305B (en) LED drive circuit of flexible transparent screen
CN101800022B (en) Low grayscale enhancing method for field emission display based on subsidiary driving technique
CN111161670B (en) Multi-line scanning and line changing display method and chip
US20080238950A1 (en) Illuminating display and weighted-bit driving methods for use with the same
CN115968492A (en) Display driving circuit and method, LED display panel and display device
US8355032B2 (en) Displaying apparatus, displaying panel driver and displaying panel driving method
JP2006330292A (en) Liquid crystal display device and method for driving liquid crystal display panel
US7755588B2 (en) Method for transmitting control signals and pixel data signals to source drives of an LCD
CN104505022A (en) High-density indoor LED (Light Emitting Diode) display screen driving method and LED driver
CN210245028U (en) Image data output circuit and display circuit
CN103943068A (en) Row scanning constant current drive chip for LED high-density display screen
CN211479624U (en) Control circuit, module and chip for improving coupling of LED display screen
CN115719585A (en) Display panel and display device
CN103927986A (en) Constant current drive chip of LED high-density display screen

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200804

Termination date: 20210613

CF01 Termination of patent right due to non-payment of annual fee