BACKGROUND
Technical Field
The disclosure relates to a light-emitting diode (LED) driving apparatus.
Description of Related Art
Generally, a cascaded LED driver transmission interface is used in a LED display system. In the cascaded LED driver transmission interface, clock and data signals transmission speed are limited due to voltage swing range of the clock and data signals, parasitic capacitance of the clock signal lines, and environmental noise since the clock and data signals are single-ended signals. In addition, skews between the clock signal and the data signal in each of the cascaded LED drivers may cause another issue and further limit the transmission speed of the data signal and the clock signal.
As demand for high resolution and better performance of the LED display system has grown recently, there has grown a need for a more creative technique to enhance the transmission speed of the data and clock signals with the usage of de-skew of the data and clock signals for the cascaded LED driver.
Nothing herein should be construed as an admission of knowledge in the prior art of any portion of the present disclosure.
SUMMARY
A LED driving apparatus with differential signal interface and de-skew of the data and clock signals for the cascaded LED drivers is introduced. In addition, the LED driving apparatus reduce power consumption and chip area by sequentially enable the cascaded LED drivers without using FIFO memory in the cascaded LED drivers.
In an embodiment of the disclosure, the LED driving apparatus includes a controller outputting a first data packet differential signal and a first clock differential signal; N-stages LED drivers, wherein the first stage LED driver receives the first data packet differential signal and the first clock differential signal and outputs a second data packet differential signal and a second clock differential signal, the Mth stage LED driver receives a Mth data packet differential signal and a Mth clock differential signal and outputs a (M+1)th data packet differential signal and a (M+1)th clock differential signal.
In an embodiment of the disclosure, the LED driver includes a differential-input (DI) data packet signal receiver, receiving a data packet differential signal; a DI clock signal receiver, receiving a clock differential signal; a differential-output (DO) data packet signal transmitter, outputting a next stage data packet differential signal; a DO clock signal transmitter, outputting a next stage clock differential signal; and a timing control circuit, controlling output timing of the next stage data packet differential signal and the next stage clock differential signal according to the data packet differential signal and the clock differential signal.
To sum up, in the LED driving apparatus provided by the disclosure, the cost of chip area and power consumption are reduced by sequentially enable the cascaded LED drivers without using FIFO memory in the cascaded LED drivers and the transmission speed of the data signal and clock signals are enhanced by using differential signal interface and de-skew of the data and clock signals for the cascaded LED drivers.
To make the aforementioned more comprehensible, several embodiments accompanied with drawings are described in detail as follows.
BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification. The drawings illustrate exemplary embodiments of the disclosure and, together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram of a light-emitting diode (LED) driving apparatus according to an embodiment of the disclosure.
FIG. 2A˜FIG. 2C are schematic diagrams of LED drivers in the LED driving apparatus according to different embodiments of the disclosure.
FIG. 3 is a schematic diagram of a transmitter (TX) and a receiver (RX) in the LED driving apparatus according to another embodiment of the disclosure.
FIG. 4 is a schematic diagram of a differential signal transmission between a TX in a Mth stage LED driver and a RX in a (M+1)th stage LED driver in the LED driving apparatus according to another embodiment of the disclosure.
FIG. 5 is signal flows of common mode voltage VCM signals of the LED drivers and clock signals SCLK and data signals DATA in the LED driving apparatus according to an embodiment of the disclosure.
FIG. 6 is signal flows of VCM signals of the LED drivers and clock signals SCLK and data signals DATA in the LED driving apparatus according to another embodiment of the disclosure.
FIG. 7 is a schematic diagram of a LED driving apparatus according to another embodiment of the disclosure.
FIG. 8 is signal flows of enable signals DE of the LED drivers and clock signals SCLK and data signals DATA in the LED driving apparatus according to an embodiment of the disclosure.
FIG. 9 is a flowchart of sequentially enable the LED drivers in the LED driving apparatus according to an embodiment of the disclosure.
FIG. 10 is a flowchart of sequentially set TX VCM signals of the LED drivers in the LED driving apparatus according to an embodiment of the disclosure.
FIG. 11 is a flowchart of sequentially enable the LED drivers in the LED driving apparatus according to another embodiment of the disclosure.
FIG. 12 is a flowchart of sequentially set TX VCM signals of the LED drivers in the LED driving apparatus according to another embodiment of the disclosure.
FIG. 13 is a schematic diagram of a LED driver in the LED driving apparatus according to another embodiment of the disclosure.
FIG. 14 is a schematic diagram of a frequency divider according to another embodiment of the disclosure.
DESCRIPTION OF THE EMBODIMENTS
Embodiments of the disclosure are described hereinafter with reference to the drawings.
FIG. 1 is a schematic diagram of a LED driving apparatus 100 according to an embodiment of the disclosure. The LED driving apparatus 100 includes a plurality of LED drivers 101, a controller 102, and a plurality of LEDs 103. The plurality of LED drivers 101 include cascaded N stages LED drivers from LED driver 1 to LED driver N, and N is a positive integer. The controller 102 outputs an data signal DATA including a first data packet differential signal and a clock signal SCLK including a first clock differential signal to the first stage LED driver 1, the first stage LED driver 1 receives the first data packet differential signal and the first clock differential signal and outputs a second data packet differential signal and a second clock differential signal to the second stage LED driver 2, and the Mth stage LED driver M receives a Mth data packet differential signal and a Mth clock differential signal and outputs a (M+1)th data packet differential signal and a (M+1)th clock differential signal, and M and N are positive integers, M is equal to or less than N. A frequency of the Mth data packet differential signal is K times of a frequency of the Mth clock differential signal, and K is a real number.
FIG. 2A is a schematic diagram of a LED driver 101a in the LED driving apparatus 100 according to an embodiment of the disclosure. As shown in FIG. 1 and FIG. 2A, the Mth stage LED driver M includes differential-input (DI) receivers (RX) 202, a timing control circuit 203, and differential-output (DO) transmitters (TX) 201. The DI RX 202 in the LED driver M receives the Mth data packet differential signal and the Mth clock differential signal, wherein outputs of the DI RX 202 are coupled to inputs of the timing control circuit 203, and inputs of the DO TX 201 are coupled to outputs of the timing control circuit 203. The LED driver M transmit the (M+1)th data packet differential signal and the (M+1)th clock differential signal to a LED driver (M+1). The timing control circuit 203 controls output timing of the (M+1)th data packet differential signal and the (M+1)th clock differential signal according to the Mth data packet differential signal and the Mth clock differential signal. FIG. 2B is a schematic diagram of a LED driver 101b in the LED driving apparatus 100 according to another embodiment of the disclosure. As shown in FIG. 1 and FIG. 2B, the LED driver 101b includes but not limited to two LED driver 101a (LED driver 1101a_1 and LED driver 2101a_2). The data input terminal of the LED driver 1101a_1 receives a first data packet differential signal, the clock input terminals of the LED driver 1101a_1 and the LED driver 2101a_2 receive a first clock differential signal, the data output terminal of the LED driver 1101a_1 outputs a second data packet differential signal, the data input terminal of the LED driver 2101a_2 receives the second data packet differential signal, the data output terminal of the LED driver 2101a_2 outputs a third data packet differential signal, the clock output terminal of the LED driver 2101a_2 outputs a third clock differential signal. FIG. 2C is a schematic diagram of a LED driver 101c in the LED driving apparatus 100 according to another embodiment of the disclosure. As shown in FIG. 1 and FIG. 2C, the LED driver 101c includes but not limited to two LED driver 101a (LED driver 1101a_1 and LED driver 2101a_2). The data input terminals of the LED driver 1101a_1 and the LED driver 2101a_2 receive a first data packet differential signal, the clock input terminals of the LED driver 1101a_1 and the LED driver 2101a_2 receive a first clock differential signal, the data output terminal of the LED driver 2101a_2 outputs a third data packet differential signal, the clock output terminal of the LED driver 2101a_2 outputs a third clock differential signal.
As shown in FIG. 2A, the timing control circuit 203 includes a de-skew circuit with an input coupling to a first output of the DI RX 202; a delay-locked loop DLL circuit with an input coupling to a second output of the DI RX 202 and an second input of the DO TX 201; a first register DFF1 with a first input coupling to an output of the de-skew circuit and a second input coupling to the second output of the DI RX 202; and a second register DFF2 with a first input coupling to an output of the first register DFF1 and a second input coupling to an output of the DLL circuit and an output coupling to an first input of the DO TX 201.
FIG. 3 is a schematic diagram of a DO TX 201a and a DI RX 202a of the Mth stage LED driver M in the LED driving apparatus 100 according to another embodiment of the disclosure. The DI RX 202a of the Mth stage LED driver M includes a current mirror circuit including a current source Ib, a N-type metal oxide semiconductor (NMOS) transistor Mbn2a and a NMOS transistor Mbn2b, providing a first bias current IDC; a pair of source-coupled transistors including a NMOS transistor Mn3a and a NMOS transistor Mn3b, coupling to the current mirror circuit and receiving the Mth data packet differential signal and the Mth clock differential signal with differential inputs IN+ and IN− and outputting from differential outputs OUT+ and OUT−; a load circuit coupling to the pair of source-coupled transistors and adjusting a voltage signal swing range of the differential outputs OUT+ and OUT−, the DI RX 202a may also be a receiver with a single-ended output.
The DO TX 201a of the Mth stage LED driver M includes an error amplifier outputting a first error voltage signal AVb1 and a second error voltage signal AVb2 according to a common mode voltage VCM signal; a bias current control circuit including a NMOS transistor Mbn1 and a P-type metal oxide semiconductor (PMOS) transistor Mbp1, providing a second bias current according to the first error voltage signal AVb1 and the second error voltage signal AVb2; and a differential-input differential-output (DIDO) inverter including NMOS transistors Mn1,Mn2 and PMOS transistors Mp1, Mp2 with differential inputs IN+ and IN− coupling to the DI RX 202a, and outputting the (M+1)th data packet differential signal and the (M+1)th clock differential signal from differential outputs OUT+ and OUT−. Resistors R1 are used to sense common mode voltages of the (M+1)th data packet differential signal and the (M+1)th clock differential signal and feedback the sensed common mode voltages to a non-inverting input of the error amplifier. Resistors 2R0 are used to match an output impedance of the DO TX 201a of the Mth stage LED driver M and an input impedance of the DI RX 202a of the (M+1)th stage LED driver (M+1), the DO TX 201a may also be a transmitter with a single-ended input.
FIG. 4 is a schematic diagram of a differential signal transmission between the DO TX 201a in the Mth stage LED driver M and the DI RX 202a in the (M+1)th stage LED driver (M+1) in the LED driving apparatus 100 according to another embodiment of the disclosure. DATA_OUT+ and DATA_OUT− (i.e. the (M+1)th data packet differential signal) are used as an example of data signal transmission between the Mth stage LED driver M and the (M+1)th stage LED driver (M+1) in the LED driving apparatus 100, but not limited to thereto. The Mth stage LED driver M sets the common mode voltage of the (M+1)th data packet differential signal by setting the common mode voltage VCM signal as an input signal to an inverting input of the error amplifier of the DO TX 201a. As shown in FIG. 4, the Mth stage LED driver M sets the common mode voltage of the (M+1)th data packet differential signal from VCM2 to VCM1 and from VCM1 to VCM2.
The DI RX 202a in the (M+1)th stage LED driver (M+1) receives the (M+1)th data packet differential signal and a VCM detector 202b detects a common mode voltage level of the (M+1)th data packet differential signal. The VCM detector 202b includes a comparator comparing the common mode voltage level of the (M+1)th data packet differential signal to a reference voltage level VREF and enables the DI RX 202a when the common mode voltage level of the (M+1)th data packet differential signal is greater than the reference voltage level VREF.
FIG. 5 is signal flows of common mode voltage VCM signals of the LED drivers 1˜N and clock signals SCLK and data signals DATA in the LED driving apparatus 100 according to an embodiment of the disclosure. As shown in FIG. 1 and FIG. 5, the controller 102 outputs the first data packet differential signal (Data Packet 1) to the first stage LED driver 1, the first stage LED driver 1 sets the common mode voltage VCM signal of the first stage LED driver 1 from VCM1 to VCM2 after the first stage LED driver 1 received the Data Packet 1, and the first stage LED driver 1 outputs the second data packet differential signal (Data Packet 2) to the second stage LED driver 2 after the first stage LED driver 1 sets the common mode voltage VCM signal of the first stage LED driver 1 from VCM1 to VCM2. The second stage LED driver 2 sets the common mode voltage VCM signal of the second stage LED driver 2 from VCM1 to VCM2 after the second stage LED driver 2 received the Data Packet 2, and so on.
FIG. 6 is signal flows of common mode voltage VCM signals of the LED drivers 1˜N and clock signals SCLK and data signals DATA in the LED driving apparatus 100 according to another embodiment of the disclosure. As shown in FIG. 1 and FIG. 6, the controller 102 readbacks the first data packet differential signal (Data Packet 1) from the first stage LED driver 1, the first stage LED driver 1 sets the common mode voltage VCM signal of the first stage LED driver 1 from VCM2 to VCM1 after the controller 102 readbacked the Data Packet 1, and the controller 102 readbacks the second data packet differential signal (Data Packet 2) from the second stage LED driver 2 after the first stage LED driver 1 sets the common mode voltage VCM signal of the first stage LED driver 1 from VCM2 to VCM1. The second stage LED driver 2 sets the common mode voltage VCM signal of the second stage LED driver 2 from VCM2 to VCM1 after the controller 102 readbacked the Data Packet 2, and so on.
FIG. 7 is a schematic diagram of a LED driving apparatus 300 according to another embodiment of the disclosure. Comparing to LED driving apparatus 100 shown in FIG. 1, the LED driver 301 further includes a DEIN input and a DEOUT output, and a signal DEM is an enable signal of the Mth stage LED driver M. As shown in FIG. 7, the Mth stage LED driver M receives an enable signal DEM and output an enable signal DE(M+1) to enable the (M+1)th stage LED driver (M+1).
FIG. 8 is signal flows of enable signals DE of the LED drivers 301 and clock signals SCLK and data signals DATA in the LED driving apparatus 300 according to an embodiment of the disclosure. As shown in FIG. 7 and FIG. 8, the enable signal DE1 initially enables the first stage LED driver 1, and the controller 102 outputs the first data packet differential signal (Data Packet 1) to the first stage LED driver 1, the first stage LED driver 1 enables the second stage LED driver 2 after the first stage LED driver 1 received the Data Packet 1, and the first stage LED driver 1 outputs the second data packet differential signal (Data Packet 2) to the second stage LED driver 2 after the first stage LED driver 1 enables the second stage LED driver 2. The second stage LED driver 2 enables the third stage LED driver 3 after the second stage LED driver 2 received the Data Packet 2, and so on.
In another embodiment of the disclosure, as shown in FIG. 7 and FIG. 8, the enable signal DE1 initially enables the first stage LED driver 1, and the controller 102 readbacks the first data packet differential signal (Data Packet 1) from the first stage LED driver 1, the first stage LED driver 1 enables the second stage LED driver 2 after the controller 102 readbacked the Data Packet 1 from the first stage LED driver 1, and the controller 102 readbacks the second data packet differential signal (Data Packet 2) from the second stage LED driver 2 after the first stage LED driver 1 enables the second stage LED driver 2. The second stage LED driver 2 enables the third stage LED driver 3 after the controller 102 readbacked the Data Packet 2 from the second stage LED driver 2, and so on.
FIG. 9 is a flowchart of sequentially enable the LED drivers in the LED driving apparatus 300 according to an embodiment of the disclosure. In step S901, a Mth stage LED driver M receives a Mth data packet differential signal. In step S902, the Mth stage LED driver M enables the a (M+1)th stage LED driver (M+1) after the Mth data packet differential signal is received. In step S903, the Mth stage LED driver M outputs a (M+1)th data packet differential signal after the (M+1)th stage LED driver (M+1) is enabled.
FIG. 10 is a flowchart of sequentially set TX VCM signals of the LED drivers in the LED driving apparatus 100 according to an embodiment of the disclosure. In step S1001, a Mth stage LED driver M receives a Mth data packet differential signal. In step 1002, the Mth stage LED driver M sets a transmitter common mode voltage VCM of the Mth stage LED driver M from VCM1 to VCM2 after the Mth data packet differential signal is received. In step S1003, the Mth stage LED driver M outputs a (M+1)th data packet differential signal after the transmitter common mode voltage VCM of the Mth stage LED driver M is set from VCM1 to VCM2.
FIG. 11 is a flowchart of sequentially enable the LED drivers in the LED driving apparatus 300 according to another embodiment of the disclosure. In step S1101, a controller 102 readbacks a Mth data packet differential signal from a Mth stage LED driver M. In step S1102, the Mth stage LED driver M enables a (M+1)th stage LED driver (M+1) after the Mth data packet differential signal is readbacked to the controller 102.
FIG. 12 is a flowchart of sequentially set TX VCM signals of the LED drivers in the LED driving apparatus 100 according to another embodiment of the disclosure. In step S1201, a controller 102 readbacks a Mth data packet differential signal from a Mth stage LED driver M. In step S1202, the Mth stage LED driver M sets a transmitter common mode voltage VCM of the Mth stage LED driver M from VCM2 to VCM1 after the Mth data packet differential signal is readbacked to the controller 102.
FIG. 13 is a schematic diagram of a LED driver 101d in the LED driving apparatus 100 according to another embodiment of the disclosure. The Mth stage LED driver M may further include a frequency divider 1301, a RGB PWM engine and a gain adjustable current source. The Mth stage LED driver M receives the Mth clock differential signal (i.e. SCKIN) and divides a frequency of the Mth clock differential signal to output a signal GCLK with the frequency divider 1301. The signal GCLK (i.e. gray code clock) may be a single-ended signal or a differential signal to drive the RGB PWM engine to generate different pulse width signals corresponding to different RGB data signals to control a grayscale value of the plurality of LEDs 103.
FIG. 14 is a schematic diagram of the frequency divider 1301 according to another embodiment of the disclosure. A dividing number of the frequency divider 1301 may be a rational number expressed as N1/N2, N1 and N2 are two positive integers. For example, the frequency divider 1301 may include a number of P (i.e. P is an integer equal to or greater than 1) cascaded DFF (i.e. D-type flip flop) to perform a frequency dividing operation with a frequency divider number 2P. FIG. 14 shows an example of three cascaded DFFs (i.e. DFF1, DFF2 and DFF3). An output Q of the DFF1 is coupled to an input DB of the DFF1, and an output QB of the DFF1 is coupled to an input D of the DFF1. The DFF2 and the DFF3 are configured the same with the DFF1. Each of the cascaded DFFs performs the frequency dividing operation with the frequency divider number 2, and an overall frequency divider number provided by the frequency divider 1301 is 23 (i.e. the frequency of the signal GCLK (GCLK, GCLKB are differential pair) is ⅛ of a frequency of a signal DCLK (DCLK, DCLKB are differential pair).
From the above embodiments, the LED driving apparatus 100 and 300 reduce the cost of chip area and power consumption by sequentially enable the cascaded LED drivers without using FIFO memory in the cascaded LED drivers and the transmission speed of the data and clock signals are enhanced by using differential signal interface and de-skew of the data and clock signals for the cascaded LED drivers.
It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed embodiments without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the disclosure covers modifications and variations provided that they fall within the scope of the following claims and their equivalents.