Fractional pulse width modulation method and system with multi-phase display clock
Fractional PWM pulses are generated by multi-phase clock signals and fractional logic circuits, which solves the problems of PWM resolution and LED rise time extension in small high-resolution light-emitting diode displays, achieving efficient brightness uniformity and low power consumption.
Patent Information
- Application Number
- CN202110466166.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-28
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-04-28
AI Technical Summary
Small high-resolution light-emitting diode displays require higher PWM pulse resolution and faster clock frequencies when driving more pixels, resulting in increased power consumption and prolonged LED rise times, leading to brightness unevenness issues.
Use multi-phase clock signals and fractional logic circuits to decompose and combine PWM data through circuits such as demultiplexers, pulse generators, samplers, and multiplexers to generate fractional PWM pulses to improve resolution without increasing the clock frequency, combined with a phase-locked loop or a delay-locked loop to produce a polyphase clock signal.
It achieves the generation of high-resolution PWM pulses, reduces the rise time of LEDs, improves brightness uniformity, reduces power consumption, and avoids the increase in hardware costs caused by high-frequency clocks.
Smart Images

Figure CN113140181B_ABST
Abstract
Description
Technical Field
[0001] The present application provides a method and system for generating pulse width modulation (PWM) pulses to drive a light emitting device, and more particularly, relates to generating fractional PWM pulses. Background Art
[0002] Small-size, high-resolution LED displays require smaller LED pitches. Smaller LED displays present unique challenges to LED drivers because each LED driver must drive more pixels at a higher resolution (i.e., a high number of grayscale bits). In addition, the drive current decreases due to the increased light efficiency of the LED, making the rise time of the LED potentially longer. To address these technical challenges, one of the solutions is to implement a higher scan count for the LED driver so that it can drive more pixels with a reduced average current. However, at the same high number of grayscale bits, more scan counts means that more PWM pulses must fit into one frame period. In other words, the resolution of the PWM pulses should be higher.
[0003] Figure 1 shows the relationship between GCLK and PWM pulses. In this case, the width of the PWM pulse is equal to four GCLK cycles. The PWM engine generates PWM pulses by using a single-phase GCLK. Smaller PWM pulse widths mean higher PWM pulse resolution. The resolution is highest when the minimum PWM pulse width is equal to one GCLK cycle. For example, the PWM pulse resolution when the pulse width is one GCLK cycle is four times the resolution when the pulse width is four GCLK cycles.
[0004] Therefore, the number of GCLKs in a frame defines the minimum PWM pulse width, so higher PWM pulse resolution requires a faster GCLK. One option is to place a clock, such as a phase-locked loop (PLL) or a delay-locked loop (DLL), on the LED driver chip and generate a high-speed (i.e., high-frequency) internal clock to handle data transmission between the receiver and the LED driver. However, running the LED driver at a high frequency consumes more power. In addition, once the GCLK frequency exceeds a certain level, more advanced and expensive hardware may be required.
[0005] Another technical challenge for small, high-resolution displays is that the LEDs reach a forward voltage (V f ) requires a longer rise time (T r ), resulting in LED turn-on delays and other anomalies. Since the parasitic resistance, inductance, and capacitance of the printed circuit board and the LED vary between pixels, T r The flat slope of further exacerbates the non-uniformity of LED displays at low brightness levels.
[0006] For example, for an LED display with 80 RGB channels, 96 scan lines, 16-bit grayscale and running at 60Hz frame rate and 1920 refresh rate, the time period of each scan line is:
[0007] cycle 扫描 =1s÷1920÷96=5.43us
[0008] exist Fig.11 In the conventional PCB layout shown, the current source drives 96 LEDs in each channel, that is, the load is 96 LEDs. Each scan output drives 80×3 indicators. Assuming that the LED parasitic capacitance is about 10pf, the drive current is about 1mA, and the V f For 2.8V, the rise time is:
[0009]
[0010] As shown in this example, T r Almost a cycle 扫描 In other words, during about half of the display period, the LED is in a nonlinear and abnormal state.
[0011] Therefore, there is a need for systems and methods to improve the resolution of PWM pulses.There is also a need to reduce rise time and increase uniformity in small, high-resolution light emitting diode displays. Summary of the invention
[0012] This summary is provided to introduce some concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be an aid in determining the scope of the claimed subject matter.
[0013] In summary, the present application provides a system for generating PWM pulses to drive a light-emitting diode array. The system includes: a system clock that outputs a clock signal of multiple phases, such as n phases; a demultiplexer circuit that divides PWM data into an integer part and a fractional part; a pulse generator circuit that uses an input including the integer part of the PWM data and a first phase of the n phases of the clock signal to output a first phase PWM pulse; a sampler circuit that uses an input including the first phase PWM pulse and the second to n phases of the clock signal to output a second phase PWM pulse; a multiplexer that uses an input including the second phase PWM pulse and the fractional part of the PWM data to output a selected phase of the PWM pulse; and a fractional logic circuit that uses an input including the first phase PWM pulse, the selected phase of the PWM pulse, the integer part of the PWM data, and the fractional part of the PWM data to output a fractional PWM pulse.
[0014] One embodiment of the system further includes a plurality of current sources, each of which is configured to receive a fractional PWM pulse from the fractional logic circuit and output a corresponding driving current to the LED array.
[0015] Another embodiment of the system includes a first memory for storing an integer portion of the PWM data and a second memory for storing a fractional portion of the PWM data.
[0016] In another embodiment of the system, the system clock, the demultiplexer circuit, the first memory, the second memory, the pulse generator circuit, the sampler circuit, the multiplexer and the fractional logic circuit are all disposed on the light emitting diode driver chip.
[0017] In some embodiments of the system, wherein n represents an integer of 2 or greater, such as 2, 4, 6, 8, 10 or 12.
[0018] In some other embodiments of the system, the system clock is a phase locked loop or a delay locked loop.
[0019] In additional embodiments of the system, the PWM data is 16 bits, with the fractional portion being 1 or 2 bits.
[0020] In another general aspect of the present application, a method for generating PWM pulses includes using a system clock to generate a clock signal having at least a first phase and a second phase; dividing PWM data into an integer part and a fractional part in a demultiplexer circuit; inputting the integer part of the PWM data and a first phase in the clock signal into a pulse generator circuit and outputting a first phase PWM pulse; inputting the first phase PWM pulse and a second phase of the clock signal into a sampler circuit and outputting a second phase PWM pulse; inputting the second phase PWM pulse and the fractional part of the PWM data into the multiplexer and outputting a selected phase of the PWM pulse; and performing logic operations of the first phase PWM pulse and the selected phase PWM pulse in a fractional logic circuit to generate fractional PWM pulses.
[0021] In another general aspect of the present application, a method for generating fractional PWM pulses to drive a light-emitting device includes the following steps: generating a multi-phase clock signal using a multi-phase phase-locked loop (PLL) or a multi-phase delay-locked loop (DLL); generating multiple phases of PWM pulses corresponding to multiple phases of the multi-phase clock signal; selecting two or more phases from the multiple PWM pulses; performing logic operations on the selected phases of the PWM pulses to generate fractional PWM pulses; and generating a drive current using the fractional PWM pulses in a current source.
[0022] In some embodiments, the multi-phase clock signal has 2 to 12 phases.
[0023] In other embodiments, the light emitting device is an LED display including an LED array having a plurality of channels and a plurality of scanning lines, and an LED in one of the plurality of channels is driven by the driving current.
[0024] Other features and aspects will be described in the following detailed description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 The relationship between the GCKL period and the PWM pulse is shown;
[0026] Figure 2 shows a GCLK with four different phases generated by a phase-locked loop or a delay-locked loop;
[0027] Figure 3 Four phases of GCLK are shown, each phase generating a corresponding PWM signal;
[0028] Figure 4 The logical operation "OR" of PWM_ph0 and PWM_ph2 is shown;
[0029] Figure 5 The logical operation "AND" of PWM_ph0 and PWM_ph2 is shown;
[0030] Figure 6 An exemplary system of the present application is shown;
[0031] Figure 7 A block diagram showing PWM data being divided into integers and fractions;
[0032] Figure 8 An exemplary pulse generator circuit in the present application is shown;
[0033] Fig. 9 An exemplary sampler in the present application is shown; and
[0034] Fig.10 The fractional logic circuit in this application is shown.
[0035] Fig.11 A conventional driver chip configuration is shown.
[0036] Fig.12 An embodiment of the driver chip configuration in the present application is shown.
[0037] Fig.13 Another embodiment of the driver chip configuration in the present application is shown.
[0038] Throughout the drawings and detailed description, unless otherwise described, the same drawing reference numerals will be understood to refer to the same elements, features, and structures. The relative sizes and depictions of these elements may be exaggerated for clarity, illustration, and convenience. DETAILED DESCRIPTION
[0039] The following detailed description is provided to help the reader gain a comprehensive understanding of the methods, devices and / or systems described herein. However, various changes, modifications and equivalents of the systems, devices and / or methods described herein are obvious to those of ordinary skill in the art.
[0040] The features described herein may be embodied in different forms and should not be construed as limited to the examples described herein. Rather, the examples described herein are provided to make this application thorough and complete, and will convey the full scope of this application to those skilled in the art.
[0041] Figure 2 Four different phases of the GCLK cycle generated using a phase-locked loop or a delay-locked loop are shown: GCLK_ph0, GCLK_ph1, GCLK_ph2, and GCLK_ph3. Each phase is 90° out of phase with its adjacent phase, which is equivalent to a time difference of 1 / 4 GCLK cycle between adjacent clocks. This phase shift can be achieved by a phase-locked loop or a delay-locked loop circuit design, for example, using a fractional phase-locked loop known in the art.
[0042] Figure 3 It is shown that the four phases of the GCLK cycle generate four corresponding PWM pulses: PWM_ph0, PWM_ph1, PWM_ph2 and PWM_ph3. The time difference between adjacent PWM pulses is GCLK.
[0043] Using the four phases of the PWM pulse as building blocks, various PWM pulses, i.e. fractional PWM pulses, can be generated using logical operations. For example, Figure 4 It is shown that the logical operation "OR" of PWM_ph0 and PWM_ph2 produces a pulse with a width of 41 / 2 GCLK cycles. Similarly, the combination of PWM_ph0 and PWM_ph2 produces a pulse with a width of 41 / 4 GCLK cycles. In a similar manner, the combination of PWM_ph0 and PWM_ph3 produces a pulse with a width of 43 / 4 GCLK cycles (not shown).
[0044] Similarly, the logic operation "AND" can generate a pulse with a width less than one GLCK cycle. Figure 5As shown, each of PWM_ph0, PWM_ph1, PWM_ph2 and PWM_ph3 has a width of one GCLK cycle. ) generates a pulse with a width of 3 / 4 GCLK period. In fact, the logic operation can generate a pulse with a width of 1 / 4 GLCK period (such as PWM_ph0 and ) or a width of 1 / 2 GLCK period (such as PWM_ph0 and ) pulse.
[0045] In this way, the combination of logical AND and OR operations of the four-phase PWM pulses can generate PWM pulses with a width of 1 / 4 GCLK period or higher, with increments of 1 / 4, 1 / 2 or 3 / 4 GLCK period. Therefore, the resolution of the PWM pulse is at least 4 times the resolution when the minimum PWM pulse width is one GCLK period. Similarly, more phases can be used in the GCLK period, for example, 6 phases or 8 phases, increasing the resolution of the PWM pulse to 6 times or 8 times the highest resolution when a single-phase GCLK is used. Theoretically, the number of phases can be any number greater than 1, and the PWM pulse width can be any positive number.
[0046] Fractional PWM achieves high-resolution PWM pulses without a corresponding increase in the GLCK frequency. For example, when an LED display system requires the LED driver to support 1 / 64 scan, 16-bit grayscale, and 60Hz frame rate, the required single-phase GCLK frequency is at least:
[0047] 2 16 ×64×60Hz=252MHz
[0048] When the LED off period is taken into account, the GCLK frequency is higher. For example, if the off period accounts for 1 / 10 of the frame period, the frequency of the single-phase GCLK is 252MHz×1.1=277MHz.
[0049] In contrast, using fractional PWM with four-phase GCLK to support the same LED system, the GCLK frequency is only 1 / 4 of the single-phase GCLK frequency:
[0050] 277MHz×1 / 4=69.25MHz.
[0051] Figure 6is a schematic block diagram showing a system implementing fractional PWM with four multi-phase PWM pulses. The system includes multiple LED drive channels (i.e., CH0 to CHN). Each LED drive channel outputs a PWM pulse to be sent to a current source, which generates a drive current to drive the LED drive channel in the LED array.
[0052] A multi-phase phase-locked loop (PLL) or multi-phase delay-locked loop (DLL) is used to generate a high-speed multi-phase GCLK signal. The PWM data is first stored in a memory such as an SRAM, registers, or any known storage device. During operation, the PWM data is separated into a PWM integer part and a PWM fractional part in a demultiplexer circuit ("Integer_Fraction_Sel"). The number of phases of the GCLK signal is determined by the system setting, which matches the fractional change in the fractional PWM.
[0053] Figure 7 is a schematic diagram illustrating the operation of an exemplary demultiplexer circuit ("Integer_Fraction_Sel") having two multiplexers (MUX). The input PWM data is divided into a fractional part and an integer part according to the system setting. In this example, a 16-bit PWM data (PWM_DATA[15:0]) specifies 2 LSB bits (PWM_DATA[1:0]) as the fractional part and the remaining 14 bits (PWM_DATA[15:2]) as the integer part. "PWM_Fraction_EN" is retrieved from the system setting, which determines the bit number of the integer part (PWM_Integer), such as 14 or 15, and the bit number of the fractional part (PWM_Fraction), such as 2 or 1.
[0054] Reference Figure 6 ,PWM_Integer and PWM_fraction are then sent to each LED driver channel and stored in their respective local memory, such as SRAM, registers, DFFs, or latches. The integer portion of the PWM data (PWM_Integer_bits) and the fractional portion of the PWM data (PWM_Fraction_bits) are retrieved from their respective storage during operation. PWM_Integer_bits is sent to the pulse generator (Pulse_Generator), which also receives one of the multi-phase GLCK signals from the phase-locked loop (PLL) or delay-locked loop (DLL).
[0055] exist Figure 6In an embodiment, a pulse generator receives GCLK_ph0 and outputs PWM_ph0, whose width is PWM_Integer_bits. PWM_ph0 enters a sampler circuit, is sampled by other GCLK phases (GCLK_ph1, GCLK_ph2, GCLK_ph3), and generates PMW pulses (PWM_ph1, PWM_ph2, PWM_ph3, or simply "PWM_ph1~"). The PWM pulses from the sampler circuit have the same pulse width (PWM_Integer_bits), but different phases. These PWM pulses enter a multiplexer (MUX) and are selected to output PWM_phx by PWM_Fraction_bits retrieved from local storage. The fractional logic circuit receives PWM_ph0 from the pulse generator circuit, receives PWM_phx from the MUX, and generates new PWM pulses from the logical operation of PWM_ph0 and PWM_phx. As explained elsewhere in this application, the new PWM pulse has a higher resolution than PWM_ph0, PWM_ph1, PWM_ph2 or PWM_ph3. Therefore, each LED driving channel outputs a partial PWM pulse to the corresponding current source.
[0056] Figure 8 More details of the pulse generator circuit with comparator and counter are given. PWM_Integer_bits is the target pulse width of the pulse generator. The counter in the pulse generator circuit starts at "0" and increases by "1" on the leading edge of GCLK_ph0. The output of the comparator is high when counting starts, and low when the counter output is equal to the value of PWM_Integer_bits. Therefore, the pulse generator circuit generates PWM_ph0 with a width of PWM_Integer_bits. PWM_ph0 is sent to the fractional logic circuit as well as the sampler circuit.
[0057] Fig. 9 The operation of the sampler circuit is explained. The sampler circuit of PWM_ph0 uses three D-type flip-flops (DFFs). Each DFF takes PWM_ph0 and a GCLK with a different phase as input and generates a PWM pulse according to its input clock phase. Therefore, the output of the sampler circuit is consistent with the different phases of GCLK.
[0058] Fig.10Details of an exemplary fractional logic circuit are shown, which has two comparators, two data selectors, and an AND gate and an OR gate. It receives PWM_ph0 from the pulse generator circuit and PWM_phx from the sampler circuit. When PWM_Fraction_bits is "0", there is no fractional PWM so there is no PWM_phx, and the output of the fractional logic circuit is PWM_ph0. When PWM_Fraction_bits is greater than 0 and PWM_Integer_bits is greater than 0, the fractional logic circuit performs a logical OR operation on PWM_ph0 and PWM_phx, and outputs a PWM pulse greater than "1", that is, the output PWM pulse width is greater than PWM_ph0. When PWM_Fraction_bits>0 and PWM_Integer_bits>0, PWM_pulse is less than 1. In this case, PWM_phx is inverted, and the logical AND operation of PWM_phx and PWM_ph0 outputs a PWM pulse with a narrower width than PWM_ph0.
[0059] Other embodiments may use GCLK signals and PWM pulses other than four phases, for example, from two phases to any operationally feasible number. Circuits and systems implementing various embodiments will use similar circuits and devices, with some devices being scaled up or down. For example, in a system using a two-phase GCLK, the sampler can only use one DFF and output one PWM_phx. In contrast, in a system using an eight-phase GCLK, the sampler can use seven DFFs and output seven different PWM_phx.
[0060] Fig.12 An embodiment of the driver chip configuration of the present application is shown. In this exemplary configuration, six LED channel cores (core 1 to core 6) are arranged on a single driver chip along one direction (referred to as the "vertical direction" in this application). Each channel core has multiple constant current drivers that drive 80×3 LED drive channels (not shown). The driver chip also has six scanning magnetic cores, each of which has multiple scanning switches disposed thereon. Fig.12 In the , each scan core is arranged below the LED channel core, shown as a strip with 16 contact pads. The number of scan switches on each scan core is determined according to the required rise time Tr, so that numbers other than 16 scan switches are possible. The LED channel cores can be operated in series or in parallel, controlled by digital circuits arranged on the same driver chip. When the LED channel cores are operated in series, they behave in a similar way to the conventional configuration (such as Fig.11 In this example, multiple constant current drivers and scan switches on the driver chip are connected to the same digital circuit and the same analog circuit.
[0061] Fig.13 Another embodiment of the driver chip configuration of the present application is shown. In this configuration, each LED channel core contains multiple constant current sources to drive 20x3 LED channels (not shown in the figure). 4 LED channel cores are arranged horizontally, and combined to have the same driving capability as 80×3 LED channel cores. Six rows of LED channel cores are arranged vertically. Any of the 6 scanning magnetic cores is arranged below each row of LED channel cores.
[0062] exist Fig.13 In the configuration of the 4 LED channel cores in the same row, four LED channel cores work simultaneously. On the other hand, the six LED channel cores in the vertical direction can work in series mode or parallel mode. When the six LED channel cores work in series, they behave like the traditional type of structure, but with a shorter rise time.
[0063] In other embodiments, instead of placing the scan switch circuit on a separate scan core, the switch circuit may be integrated on the LED channel core to form an integrated core. For example, each integrated core may have 20×3 (RGB) constant current sources and four scan switches. Therefore, a driver chip consisting of six rows of four cores can drive 80×3 LED channels for 96 scans.
[0064] Embodiments of fractional PWM and driver chip configurations can be implemented in LED display systems, examples of which are shown in U.S. Patent Application No. 15 / 901,712 (“712 Application”), filed on February 21, 2018, the contents of which are incorporated by reference into this application. For example, the phase-locked loop in the “712 Application” can be a multi-phase phase-locked loop of the current application. The PWM in the “712 Application” can be a fractional PWM of the current application. In addition, the integrated driver chip in the “712 Application” can adopt one of the configurations of the current application.
[0065] The description of features or aspects in each example should be considered applicable to similar features or aspects in other examples. Suitable results may be obtained if the described techniques are performed in a different order and / or if the components in the described systems, architectures, devices, or circuits are combined in a different way and / or replaced or supplemented by other components or their equivalent components.
[0066] Therefore, the scope of the application is defined not by the detailed description, but by the claims and their equivalents, and all variations within the scope of the claims and their equivalents are to be construed as being included in the application.
Claims
1. A system for generating PWM pulses to drive an LED array, comprising: A system clock, which outputs clock signals of n phases; a demultiplexer circuit that separates the PWM data into an integer portion and a fractional portion; a pulse generator circuit that uses an input including an integer portion of the PWM data and a first phase of the n phases of the clock signal to output a first phase PWM pulse; a sampler circuit that uses an input including the first phase PWM pulse and second to n phases of the clock signal to output a second phase PWM pulse; a multiplexer that uses an input including a second phase PWM pulse and a fractional portion of the PWM data to output a selected phase of the PWM pulse; and A fractional logic circuit outputs a fractional PWM pulse using inputs including a first phase PWM pulse, a selected phase of the PWM pulse, an integer portion of the PWM data, and a fractional portion of the PWM data.
2. The system of claim 1, further comprising a plurality of current sources, each current source being configured to receive the fractional PWM pulses from the fractional logic circuit and output a corresponding drive current to the LED array.
3. The system of claim 1, further comprising a first memory for storing an integer portion of the PWM data and a second memory for storing a fractional portion of the PWM data.
4. The system of claim 3, in, The system clock, the demultiplexer circuit, the first memory, the second memory, the pulse generator circuit, the sampler circuit, the multiplexer and the fractional logic circuit are all arranged on an LED driver chip.
5. The system of claim 1, in, n represents an integer of two or more.
6. The system of claim 2, in, n represents 2, 4, 6, 8, 10 or 12.
7. The system of claim 1, in, The system clock is a phase locked loop or a delay locked loop.
8. The system of claim 1, in, The PWM data is 16 bits, and wherein the fractional part is 1 bit or 2 bits.
9. The system of claim 1, further comprising a memory for storing PWM data.
10. The system of claim 1, in, The fractional logic circuit performs a logic operation on the first phase PWM pulse and a selected phase of the PWM pulse to generate a fractional PWM pulse.
11. A method of generating PWM pulses in the system of claim 1, comprising: generating a clock signal having at least a first phase and a second phase using the system clock; The PWM data is separated into an integer part and a fractional part in a demultiplexer circuit; Inputting the integer part of the PWM data and the first phase of the clock signal into the pulse generator circuit, and outputting a first phase PWM pulse; inputting the first phase PWM pulse and the second phase of the clock signal into the sampler circuit, and outputting a second phase PWM pulse; inputting the second phase PWM pulse and the fractional portion of the PWM data into the multiplexer and outputting a selected phase of the PWM pulse; and A logic operation is performed on the first phase PWM pulse and the selected phase of the PWM pulse in the fractional logic circuit to generate a fractional PWM pulse.
12. The method of claim 11, further comprising sending fractional PWM pulses to a current source and generating a drive current in the current source.
13. The method of claim 11, further comprising storing an integer portion of the PWM data in a first memory and storing a fractional portion of the PWM data in a second memory; and retrieving the integer portion of the PWM data from the first memory and retrieving the fractional portion of the PWM data from the second memory.
14. A method for generating fractional PWM pulses to drive a light emitting device, comprising: Generate a multi-phase clock signal using a multi-phase phase-locked loop or a multi-phase delay-locked loop; generating a plurality of phases of PWM pulses corresponding to a plurality of phases of the multi-phase clock signal; selecting two or more phases among a plurality of PWM pulses; performing a logic operation on a selected phase of the PWM pulse to generate a fractional PWM pulse; The drive current is generated using fractional PWM pulses in the current source.
15. The method of claim 14, in, The multi-phase clock signal has 2 to 12 phases.
16. The method of claim 14, in, The light emitting device is an LED display including an LED array having a plurality of channels and a plurality of scanning lines, and the driving current drives an LED in one of the plurality of channels.
Citation Information
Patent Citations
LED microdisplay
US20180240409A1
PWM signal generating circuit and processor system
CN103493349A
Multi-channel separation function signal generator and signal generating method
CN103607183A
Signal generating device, driving chip, display system and LED display driving method
CN111028768A
Fractional pulse width modulation system with multiphase display clock
CN216287523U
