Light emitting diode driver and light emitting diode driving device
By embedding clock signals to data signals in LED drivers, and using encoding and decoding technologies, the problem of clock signal transmission complexity in LED display systems is solved, reducing costs and electromagnetic interference, and improving display quality.
Patent Information
- Application Number
- CN202110866056.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-07-29
- Filing Date
- 2021-07-29
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-07-29
AI Technical Summary
In LED display systems, clock signals and data signals need to be transmitted separately between cascading LED drivers, resulting in high complexity, high cost and increased electromagnetic interference on the printed circuit board, affecting the display quality.
By introducing decoding circuits and encoding circuits into the LED drivers, the clock signal is embedded in the data signal, and the data signal is encoded and decoded using different encoding formats (such as Manchester encoding and four-stage pulse amplitude modulation), thereby encode and decode the data signal at all levels of LED drivers. The encoded data signals are transmitted between them, and the hardware settings for individual transmission of clock signals are cancelled.
It reduces the wiring complexity and cost of printed circuit boards, reduces the power consumption and electromagnetic interference of LED driving equipment, and improves the display quality of LEDs.
Smart Images

Figure CN114067725B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure generally relates to the field of display, and more particularly to a light-emitting diode (LED) driver and an LED driving device including the LED driver. Background Art
[0002] Usually, cascaded LED drivers are used in LED display systems to drive LEDs for display. A serial peripheral interface (SPI) is generally used between cascaded LED drivers, and each LED driver needs to be set up with an independent data signal pin for receiving data signals and a clock signal pin for receiving clock signals. Because not only the data signal line is needed for data transmission, but also the common clock signal line is needed to transmit the clock signal so that the received clock signal can be used to sample the data. In other words, a separate clock signal line and corresponding hardware pins need to be set up between the cascaded LED drivers so that the clock signal and the data signal can be transmitted separately, so that the LED display system can work normally. Figure 1 As shown, a common clock signal line is provided between the cascaded LED drivers 1, 2, ...N, so as to provide a clock signal SCLK for each level of LED drivers. Summary of the invention
[0003] According to one aspect of the present disclosure, an LED driver is proposed, comprising: a decoding circuit, receiving a data signal and decoding therefrom display data and a recovered clock signal for driving an LED to emit light for display; and an encoding circuit, encoding the decoded display data using the recovered clock signal to generate an encoded data signal, wherein the data signal is encoded in a first encoding format, and the encoded data signal is encoded in a second encoding format, wherein the first encoding format and the second encoding format may also adopt different encoding formats.
[0004] Optionally, according to the above LED driver, at least one of the first coding format and the second coding format may adopt one of a Manchester coding format and a four-level pulse amplitude modulation PAM4 coding format.
[0005] Optionally, according to the above-mentioned LED driver, when the first encoding format adopts the Manchester encoding format, the decoding circuit may include: a first delay circuit, which delays the timing of the received data signal to generate a first recovered data signal; a first sampling circuit, which samples the received data signal to generate a second recovered data signal; and a first logic operation circuit, which performs a logic operation on the first recovered data signal and the second recovered data signal to generate decoded display data and a recovered clock signal; wherein the first sampling circuit uses the recovered clock signal to sample the received data signal.
[0006] Optionally, according to the above LED driver, the first delay circuit may delay the received data signal by 1 / 4 cycle to generate a first restored data signal.
[0007] Optionally, according to the above-mentioned LED driver, the first sampling circuit may include: a second delay circuit, which receives the recovered clock signal generated by the first logic operation circuit and delays the recovered clock signal by 1 / 2 cycle to generate a sampling clock signal; and a first register, which uses the sampling clock signal to sample the received data signal to generate a second recovered data signal.
[0008] Optionally, according to the above-mentioned LED driver, the first logic operation circuit may include: a first logic gate circuit, which performs an XOR operation on the first recovered data signal and the second recovered data signal to generate the recovered clock signal; and a second logic gate circuit, which inverts the second recovered data signal to generate decoded display data.
[0009] Optionally, according to the above-mentioned LED driver, when the second encoding format adopts the Manchester encoding format, the encoding circuit may include: a first data conversion circuit, which converts the decoded display data using a first clock signal generated based on the recovered clock signal to generate first conversion data; a second sampling circuit, which samples the first conversion data to generate second conversion data; and a second logic operation circuit, which performs a logic operation on the second conversion data and a second clock signal generated based on the recovered clock signal to generate a coded data signal.
[0010] Optionally, according to the above-mentioned LED driver, the first data conversion circuit may include: a first frequency division circuit, which divides the received recovery clock signal to generate a second clock signal, and outputs the second clock signal as the first clock signal; a second register, which samples the decoded display data using the first clock signal, and outputs the first sampled data; a third register, which samples the decoded display data using a signal that is inverted with the first clock signal, and outputs the second sampled data; and a data selector, which receives the first sampled data and the second sampled data, and selects one of the first sampled data and the second sampled data as the first conversion data based on the level of the first clock signal to output to the second sampling circuit.
[0011] Optionally, according to the above-mentioned LED driver, the first data conversion circuit may include a first frequency division circuit, which divides the received recovery clock signal to generate a second clock signal; a phase delay circuit, which phase delays the second clock signal output by the first frequency division circuit, and outputs the phase-delayed second clock signal as the first clock signal; a second register, which samples the decoded display data using the first clock signal and outputs the first sampled data; a third register, which samples the decoded display data using a signal that is inverted with the first clock signal and outputs the second sampled data; and a data selector, which receives the first sampled data and the second sampled data, and selects one of the first sampled data and the second sampled data as the first conversion data based on the level of the first clock signal to output to the second sampling circuit.
[0012] Optionally, according to the above LED driver, the first sampled data may be outputted by the second data output terminal of the second register, and the second sampled data may be outputted by the first data output terminal of the third register.
[0013] Optionally, according to the above LED driver, the second sampling circuit may include: a fourth register, which samples the first conversion data using a signal that is inverted with respect to the recovery clock signal, and outputs the second conversion data.
[0014] Optionally, according to the above LED driver, the second logic operation circuit may include: a third logic gate circuit, which performs an XOR operation on the second clock signal output by the first frequency division circuit and the second conversion data to generate a coded data signal.
[0015] Optionally, according to the above-mentioned LED driver, when the first coding format adopts the PAM4 coding format, the decoding circuit may include: a preprocessing circuit, which preprocesses the received data signal and outputs the preprocessed data signal; a comparator circuit, which compares the preprocessed data signal with a corresponding threshold signal to generate a corresponding bit thermometer code; and a PAM4 decoder, which decodes the bit thermometer code and outputs the decoded data signal.
[0016] Optionally, according to the above-mentioned LED driver, the comparator circuit may include: a first comparator, a second comparator and a third comparator, wherein the first, second and third comparators are set with different threshold signals, and respectively compare the preprocessed data signal with the different threshold signals to generate corresponding bit thermometer codes.
[0017] Optionally, according to the above-mentioned LED driver, the decoding circuit may further include a clock recovery circuit and a second data conversion circuit, wherein the clock recovery circuit receives a bit thermometer code output from one of the first, second and third comparators, extracts a recovered clock signal therefrom and outputs it to the second data conversion circuit; the second data conversion circuit converts the decoded data signal output by the PAM4 decoder using the recovered clock signal to generate decoded display data in binary form.
[0018] Optionally, according to the above-mentioned LED driver, the second data conversion circuit may include: a fifth register and a sixth register, which use the recovered clock signal to sample the decoded data signal output by the PAM4 decoder to output third sampled data and fourth sampled data as decoded display data in binary form, respectively.
[0019] Optionally, according to the above-mentioned LED driver, when the first encoding format adopts the PAM4 encoding format and the second encoding format adopts the Manchester encoding format, the decoding circuit may further include: an interface circuit, receiving the third sampled data and the fourth sampled data, and selecting one of the third sampled data and the fourth sampled data as the decoded display data based on the level of the recovered clock signal.
[0020] According to another aspect of the present disclosure, a light emitting diode (LED) driving device is provided, which includes N-level LED drivers connected in series, wherein a first-level LED driver receives an initial data signal and outputs a first-level data signal, a k-th-level LED driver receives a k-1-th-level data signal output by a k-1-th-level LED driver and outputs a k-th-level data signal, and <k≤N。
[0021] According to the LED driver and the corresponding LED driver device proposed in the present disclosure, since it is no longer necessary to transmit the clock signal separately, the clock signal is embedded in the data signal by correspondingly encoding the data signal transmitted between the LED drivers of each level, and the hardware setting of separately transmitting the clock signal between the LED drivers of each level is correspondingly cancelled, the complexity of the printed circuit board wiring is reduced, and the cost of the product is reduced; in addition, the power consumption and electromagnetic interference of the LED driver device can also be reduced, thereby improving the display quality of the LED. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 FIG. 4 shows a schematic architecture of a traditional LED driving device.
[0023] Figure 2A-2C It shows the sampling problem that may be caused by transmitting the clock signal and the data signal using different transmission paths.
[0024] Figure 3The schematic structure of an LED driving device according to an embodiment of the present disclosure is shown.
[0025] Figure 4 is a schematic block diagram of an LED driver according to an embodiment of the present disclosure.
[0026] Figure 5 is a schematic block diagram of an LED driver according to another embodiment of the present disclosure.
[0027] Figure 6 It is a schematic diagram of encoding a data bit and corresponding decoding according to an embodiment of the present disclosure.
[0028] Figure 7 is based on Figure 6 The schematic diagram of encoding a data stream using the encoding method shown and the corresponding decoding is shown.
[0029] Figures 8A-8D It is a schematic diagram of encoding two consecutive data bits using different encoding methods and corresponding decoding according to an embodiment of the present disclosure.
[0030] Fig. 8E According to Figures 8A-8D The diagram shows different encoding methods for encoding a data stream and corresponding decoding.
[0031] Fig. 9 is a schematic block diagram of a decoding circuit in an LED driver according to an embodiment of the present disclosure.
[0032] Figures 10A-10B Schematic diagram of a decoding circuit and corresponding signal timing in an LED driver according to an embodiment of the present disclosure.
[0033] Fig.11 is a schematic block diagram of a coding circuit in an LED driver according to an embodiment of the present disclosure.
[0034] Figures 12A-12B Schematic diagram of a coding circuit and corresponding signal timing in an LED driver according to an embodiment of the present disclosure.
[0035] Fig.13 is a circuit diagram of a coding circuit in an LED driver according to yet another embodiment of the present disclosure.
[0036] Fig.14 is a schematic diagram of encoding data using four-level pulse amplitude modulation (PAM4) according to an embodiment of the present disclosure.
[0037] Fig.15 is a schematic diagram showing a decoding circuit for decoding a PAM4-encoded data signal according to an embodiment of the present disclosure.
[0038] Fig.16 is a schematic diagram of an interface circuit between an encoding circuit and a decoding circuit according to an embodiment of the present disclosure.
[0039] Fig.17 FIG. 4 is a schematic diagram of a receiver RX for receiving data in an LED driver according to an embodiment of the present disclosure.
[0040] Fig.18 FIG. 4 is a schematic diagram of a transmitter TX for sending data in an LED driver according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0041] The subject matter is now described with reference to the accompanying drawings, wherein similar reference numerals are used to refer to similar elements throughout the text. In the following description, for the purpose of explanation, many specific details are set forth in order to provide a thorough understanding of the subject matter. However, it is apparent that the present principle can also be implemented without these specific details.
[0042] This specification illustrates the principles of the present disclosure. Therefore, it will be appreciated that, although not explicitly described or shown herein, those skilled in the art will be able to design various configurations that embody the principles of the present disclosure.
[0043] The present principles are naturally not limited to the embodiments described here.
[0044] Figure 1 FIG. 4 shows a schematic structure of a conventional LED driving device. Figure 1 As shown, its transmission interface adopts a serial peripheral interface (SPI or Serial Peripheral Interface), and the data signal DATA and the clock signal SCLK are input to the LED driver 1, and the data is transmitted to the driver 2 through the cascade connection, and the driver 2 transmits the data to the driver 3, and so on. After all the driver 1-N circuits receive the data, the data DATA is synchronously output to the LED display system to display the picture. In addition, a common clock signal line is also connected between the cascaded LED drivers at each level, so that the clock signal SCLK can be received, and the LED drivers at each level sample the received data signal DATA by using the clock signal SCLK.
[0045] This can cause problems because the clock signal and data signal use different transmission paths for transmission. Figure 2A-2C It shows the sampling problem that may be caused by the clock signal and the data signal being transmitted using different transmission paths.
[0046] like Figure 2AAs shown, the clock signal and the data signal are transmitted respectively through two transmission paths between the transmitting end and the receiving end. If, due to some reasons, such as process or material, the printed circuit board (PCB) is improperly wired, when the length L1 of the path for transmitting the clock signal is not equal to the length L2 of the path for transmitting the data signal, it will cause the loss of sampling or holding time at the receiving end. Figure 2B As shown in FIG. 1 , it is assumed that the transmitter sends a set of data signals and clock signals. To ensure the best sampling and holding time when the clock signal is used to sample the data signal, for example, the ideal best sampling time and holding time are both 0.5UI. However, due to the mismatch between the transmission paths L1 and L2, the timing of the data signal and the clock signal that actually arrive at the receiver is as follows: Figure 2C As shown, in this case, 0.2UI of sampling time will remain and 0.3UI of sampling time will be lost.
[0047] To this end, according to the principles of the present disclosure, by encoding the data to be transmitted, the clock signal is embedded in the encoded data signal, so that only the encoded data signal is transmitted between the LED drivers of each level, and there is no need to provide an additional clock signal, thereby eliminating the impact on the accuracy and stability of data sampling caused by the mismatch that may exist between different transmission paths when two transmission paths are set to transmit data signals and clock signals respectively.
[0048] Figure 3 FIG. 2 shows a schematic structure of an LED driving device according to an embodiment of the present disclosure. Figure 1 Compared with the conventional LED driving device shown in the figure, the clock signal is not provided separately to each level of LED drivers, but the encoded data signal is transmitted between each level of LED drivers, wherein the data and clock signal can be restored by decoding the encoded data signal.
[0049] Figure 4 The invention is shown in accordance with an embodiment of the present disclosure. Figure 3 The schematic block diagram of a single-stage LED driver of the LED driving device shown in FIG. Figure 4 As shown, the LED driver includes a decoding circuit, which receives a data signal and decodes therefrom display data DATA and a recovered clock signal CLK for driving the LED to display light; and an encoding circuit, which encodes the decoded display data using the recovered clock signal to generate an encoded data signal, wherein the data signal is encoded in a first encoding format, and the encoded data signal is encoded in a second encoding format.
[0050] Figure 4It is also shown that the encoded data signal is received from the outside through the receiver RX, for example, from the previous stage LED driver or from the controller, and the encoded data signal is sent to the next stage LED driver through the transmitter TX.
[0051] Optionally, the first-stage LED driver may also directly receive the data signal without any encoding.
[0052] Optionally, according to an embodiment of the present disclosure, multiple encoding and decoding methods may be used in a single-stage LED driver. Figure 5 is a schematic block diagram of an LED driver according to an embodiment of the present disclosure. Figure 5 As shown, the receiver RX can receive the data signal of the encoding method 1, and decode it through the decoding method 1 to generate the decoded data DATA and the recovered clock signal CLK, and then the decoded data DATA can be encoded by the encoder using the encoding method 2 to generate an encoded data signal, and the encoded data signal is sent to the next-stage LED driver through the transmitter RX, and the receiver of the next-stage LED driver decodes it in the corresponding decoding method.
[0053] The LED driver and driving device using the principles of the present disclosure can achieve the following advantages:
[0054] For example, since the separate transmission of the clock signal is eliminated, the clock signal lines and corresponding hardware pins set between the LED drivers at each level are eliminated accordingly, which can reduce the wiring complexity of the printed circuit board, save the number of layers used in the printed circuit board, and reduce the cost of the printed circuit board.
[0055] In addition, by using a certain encoding method to encode the data signal to be transmitted, there is no need to transmit the clock signal separately, which can also reduce the power consumption and electromagnetic interference of the driving circuit, reduce the chip area, and reduce the chip packaging cost.
[0056] In addition, if different encoding and decoding methods are used at the transmitting and receiving ends of each level of LED driver, for example, if different encoding and decoding methods are cross-mixed, the benefit of further reducing electromagnetic interference can be achieved because the data streams are transmitted in different forms at the same time and use different bandwidths.
[0057] According to the principle of the present disclosure, it is proposed to encode the data signal to be transmitted by using a certain encoding method, without transmitting the clock signal separately between the LED drivers of each level. Since the clock signal is embedded in the data signal, the sampling clock signal and data are restored by the receiving end, so that the SCLK and DATA will not be offset during the transmission process, and the synchronization characteristics of the clock signal and data will not be adversely affected. Figure 6FIG. 1 is a schematic diagram of encoding a data bit and corresponding decoding according to an embodiment of the present disclosure. Figure 6 As shown, for example, the data bit "1" in the data signal (e.g., data stream) can be encoded as "01" and the data bit "0" can be encoded as "10" using Manchester encoding. Accordingly, when the data signal is received, a corresponding decoding method is used, for example, "01" is decoded as the data bit "1" and "10" is decoded as the data bit 0. Figure 7 is based on Figure 6 The schematic diagram of the encoding method shown is to encode a data stream and decode data bits from the encoded data signal.
[0058] Figures 8A-8D FIG. 4 is a schematic diagram of encoding two consecutive data bits using different encoding methods and corresponding decoding according to another embodiment of the present disclosure.
[0059] For example, according to one embodiment, Fig. 8A As shown, before sending the data stream, the data stream is first encoded, and two consecutive data bits "00" are encoded as "1010", two consecutive data bits "01" are encoded as "1001", two consecutive data bits "10" are encoded as "0110", and two consecutive data bits "11" are encoded as "0101", and then the encoded data signal is sent to the next level. Correspondingly, when the encoded data signal is received, the corresponding decoding method is used for decoding, and "1010" is decoded into two consecutive data bits "00", "1001" is decoded into two consecutive data bits "01", "0110" is decoded into two consecutive data bits "10", and "0101" is decoded into two consecutive data bits "11".
[0060] Optionally, according to another embodiment, Figure 8B As shown, before sending the data stream, the data stream is first encoded, and two consecutive data bits "00" are encoded as "0101", two consecutive data bits "01" are encoded as "0110", two consecutive data bits "10" are encoded as "1001", and two consecutive data bits "11" are encoded as "1010", and then the encoded data signal is sent to the next level. Correspondingly, when the received encoded data signal is decoded using the corresponding decoding method, "0101" is decoded into two consecutive data bits "00", "0110" is decoded into two consecutive data bits "01", "1001" is decoded into two consecutive data bits "10", and "1010" is decoded into two consecutive data bits "11".
[0061] Optionally, according to another embodiment, Figure 8C As shown, before sending the data stream, the data stream is first encoded, and two consecutive data bits "00" are encoded as "1001", two consecutive data bits "01" are encoded as "1010", two consecutive data bits "10" are encoded as "0101", and two consecutive data bits "11" are encoded as "0110", and then the encoded data signal is sent to the next level. Correspondingly, when the encoded data signal is received, the corresponding decoding method is used for decoding, and "1001" is decoded into two consecutive data bits "00", "1010" is decoded into two consecutive data bits "01", "0101" is decoded into two consecutive data bits "10", and "0110" is decoded into two consecutive data bits "11".
[0062] Optionally, according to yet another embodiment, Fig.8D As shown, before sending the data stream, the data stream is first encoded, and two consecutive data bits "00" are encoded as "0110", two consecutive data bits "01" are encoded as "0101", two consecutive data bits "10" are encoded as "1010", and two consecutive data bits "11" are encoded as "1001", and then the encoded data signal is sent to the next level. Correspondingly, when the received encoded data signal is decoded using the corresponding decoding method, "0110" is decoded into two consecutive data bits "00", "0101" is decoded into two consecutive data bits "01", "1010" is decoded into two consecutive data bits "10", and "1001" is decoded into two consecutive data bits "11".
[0063] Fig. 8E According to Figures 8A-8D In addition, as mentioned above, if different encoding and decoding methods are used at the transmitting end and the receiving end of each level of LED driver, for example, if different encoding and decoding methods are cross-mixed, for example, Figures 8A-8D The four coding and decoding methods shown can also achieve the benefit of further reducing electromagnetic interference because the data streams are transmitted in different forms and use different bandwidths at the same time.
[0064] Fig. 9 A schematic block diagram of a decoding circuit in an LED driver according to an embodiment of the present disclosure is shown. Fig. 9 The decoding circuit shown can be used to decode a received data signal encoded in the Manchester encoding mode, and recover data DATA and a clock signal therefrom. Fig. 9As shown, the decoding circuit includes: a first delay circuit, which delays the timing of the received data signal to generate a first recovered data signal; a first sampling circuit, which samples the received data signal to generate a second recovered data signal; and a first logic operation circuit, which performs a logic operation on the first recovered data signal and the second recovered data signal to generate decoded display data and a recovered clock signal; wherein the first sampling circuit uses the recovered clock signal to sample the received data signal.
[0065] According to an embodiment of the present disclosure, the first delay circuit delays the received data signal by 1 / 4 cycle to generate a first restored data signal.
[0066] Optionally, the first sampling circuit includes: a second delay circuit, which receives the recovered clock signal generated by the first logic operation circuit and delays the recovered clock signal by 1 / 2 cycle to generate a sampling clock signal; and a first register, which uses the sampling clock signal to sample the received data signal to generate a second recovered data signal.
[0067] Optionally, the first logic operation circuit includes: a first logic gate circuit, performing an XOR operation on the first recovered data signal and the second recovered data signal to generate the recovered clock signal; and a second logic gate circuit, inverting the second recovered data signal to generate decoded display data.
[0068] As an example, Fig. 10A A schematic diagram showing a specific structure of a decoding circuit in an LED driver according to an embodiment of the present disclosure.
[0069] like Fig. 10A As shown, after receiving the encoded data signal, the first delay circuit delays the encoded data signal by 1 / 4 period ((1 / 4)Tb, where Tb represents the period of the encoded data signal) to generate a first recovered data signal A; the first sampling circuit (DFF1) samples the received encoded data signal to generate a second recovered data signal B; the first logic gate circuit (XOR1) in the first logic operation circuit performs an "exclusive OR (XOR)" logic operation on the first recovered data signal A and the second recovered data signal B to generate a recovered clock signal; the second logic gate circuit in the first logic operation circuit inverts the second recovered data signal B to generate decoded display data.
[0070] Alternatively, if Fig. 10AAs shown, the second delay circuit in the first sampling circuit receives the recovered clock signal generated by the first logic operation circuit, and delays the recovered clock signal by 1 / 2 cycle ((1 / 2)Tb, where Tb represents the cycle of the encoded data signal) to generate a sampling clock signal RCK1; and the first register DFF1 in the first sampling circuit uses the sampling clock signal RCK1 to sample the received data signal to generate a second recovered data signal B.
[0071] Fig. 10B is shown corresponding to Fig. 10A The schematic diagram of the timing of the corresponding signals of the decoding circuit shown in FIG. Fig. 10B As shown, the received coded data signal is delayed by 1 / 4 cycle to obtain the first recovered data signal A, the first recovered data signal A and the second recovered data signal B output by the first register DFF1 are subjected to an XOR operation to obtain a recovered clock signal, and the recovered clock signal is delayed by 1 / 2 cycle to obtain a sampling clock signal RCK1, wherein the second recovered data signal B is obtained by sampling the received coded data signal by the first register DFF1 using the rising edge of the sampling clock signal RCK1, and the second recovered data signal B is inverted by the logic gate to obtain the decoded data. As an example, in Fig. 10B In the data signal shown, D0B, D1B, D2B, D3B, D4B, and D5B represent inverted bits of data bits D0, D1, D2, D3, D4, and D5.
[0072] Fig.11 A schematic block diagram of a coding circuit in an LED driver according to an embodiment of the present disclosure is shown. Fig.11 The encoding circuit shown can be used to perform Manchester encoding on a data stream, thereby generating an encoded data signal.
[0073] like Fig.11 As shown, the encoding circuit includes: a first data conversion circuit, which converts the decoded display data using a first clock signal generated based on a recovery clock signal to generate first conversion data; a second sampling circuit, which samples the first conversion data to generate second conversion data; and a second logic operation circuit, which performs a logic operation on the second conversion data and a second clock signal generated based on the recovery clock signal to generate an encoded data signal. Optionally, the first clock signal is the same as the second clock signal, or the first clock signal is a phase-delayed signal of the second clock signal.
[0074] According to an embodiment of the present disclosure, the first data conversion circuit includes: a first frequency division circuit, which divides the received recovery clock signal to generate a second clock signal, and outputs the second clock signal as the first clock signal; a second register, which samples the decoded display data using the first clock signal and outputs the first sampled data; a third register, which samples the decoded display data using a signal that is inverted from the first clock signal and outputs the second sampled data; and a data selector, which receives the first sampled data and the second sampled data, and selects one of the first sampled data and the second sampled data as the first conversion data based on the level of the first clock signal and outputs it to the second sampling circuit.
[0075] Optionally, the first data conversion circuit includes: a first frequency division circuit, which divides the received recovery clock signal to generate a second clock signal; a phase delay circuit, which phase delays the second clock signal output by the first frequency division circuit, and outputs the second clock signal after the phase delay as the first clock signal. In addition, the first data conversion circuit also includes: a second register, which samples the decoded display data using the first clock signal and outputs the first sampled data; a third register, which samples the decoded display data using a signal that is inverted from the first clock signal and outputs the second sampled data; and a data selector, which receives the first sampled data and the second sampled data, and selects one of the first sampled data and the second sampled data as the first conversion data based on the level of the first clock signal to output to the second sampling circuit.
[0076] Optionally, the first sampled data is outputted from the second data output terminal of the second register, and the second sampled data is outputted from the first data output terminal of the third register.
[0077] Optionally, the second sampling circuit includes: a fourth register, which samples the first conversion data using a signal that is inverted with the recovery clock signal, and outputs second conversion data.
[0078] Optionally, the second logic operation circuit includes: a third logic gate circuit, which performs an XOR operation on the second clock signal output by the first frequency division circuit and the second conversion data to generate a coded data signal.
[0079] As an example, Fig. 12AA schematic diagram of an encoding circuit in an LED driver according to an embodiment of the present disclosure is shown. According to an embodiment, in the encoding circuit, after receiving a data stream to be encoded, a first data conversion circuit (for example, including a serial-to-parallel circuit and a corresponding data selector) performs data conversion on the data stream to be encoded using a recovered clock signal to generate first conversion data, a second sampling circuit (for example, including a corresponding register) samples the first conversion data to generate second conversion data, and a second logic operation circuit generates an encoded data signal by performing a logic operation on the second conversion data and a sampling clock obtained based on the recovered clock signal.
[0080] like Fig. 12A As shown, the serial-to-parallel circuit uses the recovered clock signal F CK The data stream to be encoded is converted into a parallel output of odd bits DODD and even bits DEVEN, and the corresponding data selector is used to select the odd bits and even bits of the parallel output to generate the first conversion data OUT1; the second sampling circuit samples the first conversion data OUT1 to generate the second conversion data OUT2; and the second logic operation circuit generates the encoded data signal by performing a logic operation on the second conversion data OUT2 and a second clock signal based on the recovered clock signal.
[0081] Fig. 12B is shown corresponding to Fig. 12A The schematic diagram of the timing of the corresponding signals of the encoding circuit shown in FIG. Fig. 12B As shown, the decoded data represents the data stream to be encoded. CK Represents the recovered clock signal, (F CK / 2) represents a second clock signal as a sampling clock generated by dividing the recovered clock signal by two, OUT1 represents the first converted data, OUT2 represents the second converted data, and the encoded data represents the encoded data signal.
[0082] As an example, you can combine Fig.13 The structure of the encoding circuit shown in the figure is used to specifically illustrate the process of encoding the data stream. Fig.13As shown, the data stream to be encoded is input into the data terminals of the second register and the third register in the first data conversion circuit, and the recovered clock signal RCK is divided into two by the first frequency division circuit to generate the second clock signal RCK2, which is used as the first clock signal RCK2 (which is used as a sampling clock). The second register samples the data stream to be encoded using the first clock signal RCK2, and outputs the first sampled data A through its second output terminal / Q, while the third register samples the data stream to be encoded using a signal inverted from the first clock signal RCK2, and outputs the second sampled data B through its first output terminal Q; the data selector selects one of the first sampled data and the second sampled data as the first conversion data OUT1 output to the fourth register in the second sampling circuit using the level of the first clock signal RCK2, and the fourth register samples the first conversion data OUT1 using a signal inverted from the recovered clock signal, and outputs the second conversion data OUT2; the third logic gate circuit in the second logic operation circuit performs an XOR operation on the second clock signal RCK2 output by the first frequency division circuit and the second conversion data to generate an encoded data signal.
[0083] Alternatively, if Fig.13 As shown, a phase delay circuit may also be included, which phase delays the second clock signal output by the first frequency dividing circuit by phi(π) (i.e., delays the phase of the second clock signal by 1 / 2 cycle), and outputs the phase-delayed second clock signal as the first clock signal to the second register and the third register.
[0084] According to an embodiment of the present disclosure, another method for encoding a data stream is provided, that is, an encoding method using four-level pulse amplitude modulation (PAM4). Fig.14 FIG. 1 is a schematic diagram of encoding data using four-level pulse amplitude modulation (PAM4) according to an embodiment of the present disclosure. Fig.14 As shown, by modulating two bits of data on the signal amplitude, four groups of data bits (00, 01, 11, 10) can correspond to different amplitude sizes, thereby achieving compression encoding of the data stream and achieving the benefit of using only half the bandwidth.
[0085] According to an embodiment of the present disclosure, a decoding circuit for decoding a data signal encoded in a PAM4 encoding format is provided, the decoding circuit comprising: a preprocessing circuit for preprocessing a received data signal and outputting a preprocessed data signal; a comparator circuit for comparing the preprocessed data signal with a corresponding threshold signal to generate a corresponding bit thermometer code; and a PAM4 decoder for decoding the bit thermometer code and outputting a decoded data signal.
[0086] Optionally, the comparator circuit includes: a first comparator, a second comparator and a third comparator, wherein the first, second and third comparators are set with different threshold signals, and respectively compare the preprocessed data signal with the different threshold signals to generate corresponding bit thermometer codes.
[0087] Optionally, the decoding circuit further includes a clock recovery circuit and a second data conversion circuit, wherein the clock recovery circuit receives a bit thermometer code output from one of the first, second and third comparators, extracts a recovered clock signal therefrom and outputs it to the second data conversion circuit; the second data conversion circuit uses the recovered clock signal to convert the decoded data signal output by the PAM4 decoder to generate decoded display data in binary form (i.e., the decoded display data includes two elements).
[0088] Optionally, the second data conversion circuit includes: a fifth register and a sixth register, which use the recovered clock signal to sample the decoded data signal output by the PAM4 decoder to respectively output third sampled data and fourth sampled data as decoded display data in binary form (i.e., the third sampled data and the fourth sampled data are two elements of the decoded display data).
[0089] For example, Fig.14 As shown, since the PAM4 encoding method is used to encode the data stream's byte groups 00, 01, 11, and 10 into different voltage amplitude references, after receiving the encoded PAM4 data signal, it can be amplified and equalized by the first stage amplifier, and then quantized by three groups of comparators with different critical values, thereby converting the PAM4 encoded signal into a bit thermometer code, and then through a bit thermometer code to binary code decoder (Thermometer Code to Binary Code Decoder), the signal is converted into a binary code form, thereby completing the conversion of the signal with multiple voltage references into a binary voltage reference signal, and using the recovered clock signal generated by the clock data recovery circuit CDR to sample the binary voltage reference signal to generate a recovered data stream. Although in Fig.15 It is not explicitly shown in the figure, optionally, a corresponding signal preprocessor circuit can be set before the amplifier of the decoding circuit, so as to preprocess the received PAM4 encoded data signal, for example, signal shaping, equalization, etc. Of course, these preprocessing can also be performed in combination with the signal amplification processing.
[0090] Fig.15 is a schematic diagram showing a decoding circuit for decoding a PAM4 encoded data signal according to an embodiment of the present disclosure. Fig.15As shown, the received PAM4 encoded data signal is amplified by an amplifier (as mentioned above, the signal shaping and equalization preprocessing can be performed at the same time), and the amplified signal is sent to three groups of comparators comp.A, comp.B and comp.C for comparison and quantization. Since the three groups of comparators are respectively provided with different thresholds, different bit thermometer codes can be output according to the amplitude of the received amplified signal, and the different bit thermometer codes are output to the bit thermometer code to binary code decoder (for example, Fig.15 The PAM4 decoder shown in Figure 1 can be converted to a binary voltage reference. Fig.15 As shown, a recovery clock signal with correct frequency and phase is extracted from the bit thermometer code VOUT, B output by the second group of comparators, for example, through a clock and data recovery circuit (CDR), and the binary data signal output by the bit thermometer code to binary code decoder is sampled through the recovery clock signal. For example, the binary data signal output by the bit thermometer code to binary code decoder is sampled by using the recovery clock signal as the sampling clock of the fifth and sixth registers, thereby realizing data recovery.
[0091] According to an embodiment of the present disclosure, different encoding methods can be used between the LED drivers of each level, and the conversion between different encoding and decoding methods can be realized through the corresponding interface circuit. Taking the conversion from Manchester encoding to PAM4 encoding as an example, a Manchester decoder can be used in combination with a PAM4 encoder. In other words, a Manchester decoder can be used to decode the received data signal encoded in the Manchester encoding method to obtain a data stream to be transmitted, and then a PAM4 encoder can be used to encode the data stream to be transmitted, and the encoded data signal is sent to the next level LED driver; conversely, when converting PAM4 encoding to Manchester encoding, a PAM4 decoder can be used in combination with a Manchester encoder. Specifically, a PAM4 decoder can be used to decode the received data signal encoded in the PAM4 encoding method to obtain a data stream to be transmitted, and then a Manchester encoder can be used to encode the data stream to be transmitted, and the encoded data signal is sent to the next level LED driver.
[0092] In addition, it should be noted that although the present disclosure lists as examples that Manchester encoding and PAM4 encoding can be used to encode and decode the data stream to be transmitted, the technical solution of the present invention is not limited to these two encoding methods, but can cover other types of encoding methods, as long as the corresponding encoding method can realize the encoding of the data stream so as to embed the clock signal into the encoded data signal, and when the encoded data signal is decoded, the data stream and clock signal before the encoding can be restored.
[0093] As an example, Fig.16 FIG. 2 shows a schematic interface circuit between an encoding circuit and a decoding circuit according to an embodiment of the present disclosure. Fig.16 As shown, the recovered data and the recovered clock signal generated by the PAM4 decoder are sent to a serializer to generate serial data. Fig. 12A The encoding circuit shown in the figure can complete the conversion from PAM4 encoding to Manchester encoding after encoding the serial data and the recovered clock signal.
[0094] As an example, Fig.17 Shows that it can be used Figure 4 and / or Figure 5 The specific circuit of the receiver RX is shown in FIG. Fig.17 As shown, the receiver can be in the form of a differential circuit, where the Fig.17 The DIN+ and / or DIN- terminals shown receive Figure 3 The data signal DATA shown in the figure is provided to the corresponding decoder through the VOUTN and VOUTP terminals. As an example, the data signal received by the receiver can be a single-ended signal or a double-ended differential signal, and the signal output by the receiver can also be a single-ended signal or a double-ended signal (such as a differential signal).
[0095] As an example, Fig.18 Shows that it can be used Figure 4 and / or Figure 5 The specific circuit of the transmitter TX is shown in FIG. Fig.18 As shown, the transmitter can be in the form of a fully differential circuit, in which Fig.18 The DIN+ and / or DIN- terminals shown receive Figure 4 and / or Figure 5 , and through the Vout+ and Vout- terminals (for example, which can correspond to Figure 3The coded data signal may be a single-ended signal or a double-ended signal (eg, a differential signal) by outputting the signal to a receiver RX of a next-stage LED driver.
[0096] According to the LED driver and the corresponding LED driver device proposed in the present disclosure, since it is no longer necessary to transmit the clock signal separately, the clock signal is embedded in the data signal by correspondingly encoding the data signal transmitted between the LED drivers of each level, and the hardware setting of separately transmitting the clock signal between the LED drivers of each level is correspondingly cancelled, the complexity of the printed circuit board wiring is reduced, and the cost of the product is reduced; in addition, the power consumption and electromagnetic interference of the LED driver device can also be reduced, thereby improving the display quality of the LED.
[0097] This application describes various aspects including tools, features, embodiments, models, methods, etc. Many of these aspects are specifically described and, at least to illustrate the various features, are often described in a manner that may sound restrictive. However, this is for the purpose of clarity of description and does not limit the application or scope of those aspects. In fact, all the different aspects can be combined and interchanged to provide other aspects. In addition, these aspects can also be combined and interchanged with aspects described in previous applications.
[0098] When the figures are presented as flow charts, it should be understood that they also provide block diagrams of corresponding devices. Similarly, when the figures are presented as block diagrams, it should be understood that they also provide flow charts of corresponding methods / processes.
[0099] The implementations and aspects described herein can be implemented in, for example, methods or processes, devices, software programs, data streams, or signals. Even if only discussed in the context of a single implementation (e.g., discussed only as a method), the implementation of the features discussed can also be implemented in other forms (e.g., devices or programs). The device can be implemented in, for example, appropriate hardware, software, and firmware. The method can be implemented in, for example, a processor, which generally refers to a processing device, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. The processor also includes communication devices, such as computers, cellular phones, portable / personal digital assistants ("PDAs"), and other devices that facilitate information communication between end users.
[0100] References to "one embodiment" or "an embodiment" or "one implementation" or "an implementation" and other variations thereof mean that a particular feature, structure, characteristic, etc. described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "in one implementation" or "in an implementation" and any other variations appearing in various places throughout this document are not necessarily all referring to the same embodiment.
[0101] We describe a number of embodiments. Features of these embodiments may be provided individually or in any combination. In addition, embodiments may include one or more of the following features, devices, or aspects, alone or in any combination, across various claim categories and types.
[0102] Further, when a particular feature, structure, or characteristic is described in conjunction with an embodiment, it is considered to be within the knowledge of those skilled in the art to implement such feature, structure, or characteristic in conjunction with other embodiments (whether or not explicitly described).
[0103] Many embodiments have been described. However, it is understood that various modifications may be made thereto. For example, elements of different embodiments may be combined, supplemented, modified, or removed to produce other embodiments. In addition, it will be appreciated by those of ordinary skill in the art that other structures and processes may be used to replace the disclosed structures and processes, and that the resulting embodiments will perform at least substantially the same functions in at least substantially the same manner to at least achieve substantially the same results as the disclosed embodiments. Therefore, the present application contemplates these and other embodiments.
Claims
1. A light emitting diode (LED) driver, comprising: A decoding circuit receives the data signal and decodes the data and the recovered clock signal for driving the LED to emit light and display; as well as The encoding circuit encodes the decoded display data using the recovered clock signal to generate an encoded data signal, wherein the data signal is encoded in a first encoding format and the encoded data signal is encoded in a second encoding format, wherein the first encoding format and the second encoding format use different encoding formats.
2. The LED driver according to claim 1, wherein: At least one of the first coding format and the second coding format adopts one of a Manchester coding format and a four-level pulse amplitude modulation PAM4 coding format.
3. The LED driver according to claim 2, wherein: When the first encoding format adopts the Manchester encoding format, the decoding circuit includes: A first delay circuit delays the timing of a received data signal to generate a first restored data signal; a first sampling circuit, sampling the received data signal to generate a second restored data signal; and A first logic operation circuit performs a logic operation on the first recovery data signal and the second recovery data signal to generate decoded display data and a recovery clock signal; The first sampling circuit samples the received data signal using the recovered clock signal.
4. The LED driver according to claim 3, wherein: The first delay circuit delays the received data signal by 1 / 4 period to generate a first restored data signal.
5. The LED driver according to claim 4, wherein: The first sampling circuit comprises: a second delay circuit, receiving the recovered clock signal generated by the first logic operation circuit, and delaying the recovered clock signal by 1 / 2 cycle to generate a sampling clock signal; and The first register samples the received data signal using the sampling clock signal to generate a second recovered data signal.
6. The LED driver according to claim 5, wherein: The first logic operation circuit comprises: a first logic gate circuit, performing an XOR operation on the first recovered data signal and the second recovered data signal to generate the recovered clock signal; and The second logic gate circuit inverts the second restored data signal to generate decoded display data.
7. The LED driver according to claim 2, wherein: When the second encoding format adopts the Manchester encoding format, the encoding circuit includes: A first data conversion circuit converts the decoded display data using a first clock signal generated based on the recovery clock signal to generate first conversion data; A second sampling circuit samples the first conversion data to generate second conversion data; and The second logic operation circuit performs a logic operation on the second conversion data and a second clock signal generated based on the recovery clock signal to generate a coded data signal.
8. The LED driver according to claim 7, wherein: The first data conversion circuit comprises: a first frequency dividing circuit, which divides the received recovered clock signal to generate a second clock signal, and outputs the second clock signal as the first clock signal; a second register, sampling the decoded display data using the first clock signal and outputting first sampled data; a third register that samples the decoded display data using a signal that is inverted from the first clock signal and outputs second sampled data; and The data selector receives the first sampled data and the second sampled data, and selects one of the first sampled data and the second sampled data as the first conversion data to be output to the second sampling circuit based on the level of the first clock signal.
9. The LED driver according to claim 7, wherein: The first data conversion circuit comprises: A first frequency dividing circuit, dividing the frequency of the received recovery clock signal to generate a second clock signal; a phase delay circuit, wherein the phase delay circuit performs phase delay on the second clock signal output by the first frequency dividing circuit, and outputs the phase-delayed second clock signal as the first clock signal; a second register, sampling the decoded display data using the first clock signal and outputting first sampled data; a third register for sampling the decoded display data using a signal inverted from the first clock signal and outputting second sampled data; as well as The data selector receives the first sampled data and the second sampled data, and selects one of the first sampled data and the second sampled data as the first conversion data to be output to the second sampling circuit based on the level of the first clock signal.
10. The LED driver according to claim 7, wherein: The first sampled data is output from the second data output terminal of the second register, and the second sampled data is output from the first data output terminal of the third register.
11. The LED driver according to claim 7, wherein: The second sampling circuit comprises: The fourth register samples the first conversion data using a signal that is inverted with the recovery clock signal, and outputs second conversion data.
12. The LED driver according to claim 8 or 9, wherein: The second logic operation circuit comprises: The third logic gate circuit performs an XOR operation on the second clock signal output by the first frequency dividing circuit and the second conversion data to generate a coded data signal.
13. The LED driver according to any one of claims 2, 7-11, wherein: When the first encoding format adopts the PAM4 encoding format, the decoding circuit includes: A preprocessing circuit, which preprocesses the received data signal and outputs the preprocessed data signal; A comparator circuit compares the preprocessed data signal with a corresponding threshold signal to generate a corresponding bit thermometer code; PAM4 decoder,decodes the bit thermometer code and outputs the decoded data signal.
14. The LED driver according to claim 13, wherein: The comparator circuit comprises: A first comparator, a second comparator and a third comparator, wherein the first, second and third comparators are set with different threshold signals, and respectively compare the pre-processed data signal with the different threshold signals to generate corresponding bit thermometer codes.
15. The LED driver according to claim 14, wherein: The decoding circuit also includes a clock recovery circuit and a second data conversion circuit, wherein: The clock recovery circuit receives a bit thermometer code output from one of the first, second and third comparators, extracts a recovered clock signal therefrom and outputs it to the second data conversion circuit; The second data conversion circuit converts the decoded data signal output by the PAM4 decoder using the recovered clock signal to generate decoded display data in binary form.
16. The LED driver according to claim 15, wherein: The second data conversion circuit comprises: The fifth register and the sixth register sample the decoded data signal output by the PAM4 decoder using the recovered clock signal to output third sampled data and fourth sampled data as decoded display data in binary form, respectively.
17. The LED driver according to claim 16, wherein: When the first coding format adopts the PAM4 coding format and the second coding format adopts the Manchester coding format, the decoding circuit further includes: The interface circuit receives the third sampled data and the fourth sampled data and selects one of the third sampled data and the fourth sampled data as decoded display data based on the level of the recovered clock signal.
18. A light emitting diode (LED) driving device, comprising: N-stage LED drivers connected in series, where Each LED driver is an LED driver according to any one of claims 1 to 17, wherein a first-level LED driver receives an initial data signal and outputs a first-level data signal, a k-th-level LED driver receives a k-1-th-level data signal output by a k-1-th-level LED driver and outputs a k-th-level data signal, <k≤N。
Citation Information
Patent Citations
Interface circuit as well as method for receiving and / or for decoding data signals
CN101088244A
Single line transmission method for LED chip cascade signal
CN101365274A
Liquid crystal display (LCD) with clock signal embedded transmission function
CN101833924A
Method for data transmission in display system and related devices
CN103943079A
Apparatus and method for driving liquid crystal display device
CN1627354A
