Clock data recovery circuit and display device including the same
The clock data recovery circuit adjusts parameters based on detected frequency ranges to stabilize clock signals across varying frequencies, addressing jitter issues in high and low-speed operations for efficient data recovery in display devices.
Patent Information
- Application Number
- JP2020111853
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-03-18
- Filing Date
- 2020-06-29
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2040-06-29
AI Technical Summary
Existing clock data recovery circuits are optimized for high-speed operation regions, leading to significant jitter in low-speed operation regions, which can cause data restoration errors as display devices increase in resolution and require more efficient data packet transmission between timing controllers and display driving integrated circuits.
A clock data recovery circuit that adjusts its parameters based on detected frequency ranges to maintain uniform jitter characteristics over a wide input frequency range, using automatic frequency adjustment and voltage controlled oscillators to synchronize clock signals, thereby optimizing operation across varying frequencies.
The solution allows the clock data recovery circuit to maintain stable and synchronized clock signals across a wide operating frequency range, minimizing jitter and ensuring accurate data recovery even in low-speed operation regions.
Smart Images

Figure 0007572171000001 
Figure 0007572171000002 
Figure 0007572171000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a clock data recovery circuit and a display device including the same. [Background technology]
[0002] The display device includes a display driving integrated circuit (DDI) that receives data packets from the timing controller and generates various signals related to image representation using the data packets. The display device uses the various signals to realize an image on a display panel.
[0003] Recently, as display devices have become increasingly high-resolution, there is a demand for an interface that can provide data packets more efficiently and stably between a timing controller and a DDI.
[0004] In particular, there is an increasing need for clock and data recovery circuits that recover clock and data signals. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2013-179659 A Summary of the Invention [Problem to be solved by the invention]
[0006] The present invention has been made in view of the above-mentioned conventional techniques, and an object of the present invention is to provide a clock data recovery circuit having a wide operating frequency range and a display device including the same. [Means for solving the problem]
[0007] In order to achieve the above object, a display device according to one aspect of the present invention includes a timing controller that outputs a reference clock signal and a data packet in which a clock signal is embedded in a data signal, a clock data recovery circuit that receives the reference clock signal and the data packet from the timing controller, and a display panel that displays an image based on the received data packet, wherein the clock data recovery circuit, upon receiving the reference clock signal from the timing controller, detects a frequency range of the received reference clock signal using a first internal clock signal, adjusts a parameter that determines a jitter characteristic of the clock data recovery circuit based on the detected frequency range, and adjusts the frequency of the first internal clock signal to output a second internal clock signal, and the clock data recovery circuit, upon receiving the data packet from the timing controller, recovers the data signal and a clock signal synchronized with the data signal from the data packet.
[0008] In order to achieve the above-mentioned object, a clock data recovery circuit according to one embodiment of the present invention includes an automatic frequency regulator that receives a reference clock signal and a first feedback clock signal, counts the number of rising edges of the first feedback clock signal while a period of the reference clock signal is repeated N times, detects a frequency range of the first feedback clock signal based on the counting result, receives a second feedback clock signal in which the frequency of the first feedback clock signal is adjusted according to the frequency range, and outputs a control code corresponding to a difference between a frequency of the reference clock signal and a frequency of the second feedback clock signal, and a voltage controlled oscillator that receives the control code and the frequency range from the automatic frequency regulator, outputs the second feedback clock signal by performing coarse tuning using the frequency range, and outputs a third feedback clock signal that tracks the reference clock signal by performing fine tuning using the control code and a control voltage.
[0009] In order to achieve the above object, a clock data recovery circuit according to another aspect of the present invention includes an automatic frequency adjuster that detects a frequency range of a reference clock signal received by the clock data recovery circuit using a first internal clock signal when the clock data recovery circuit receives the reference clock signal, a voltage controlled oscillator that outputs a second internal clock signal based on the frequency range and outputs a third internal clock signal that tracks the reference clock signal based on a control voltage, a charge pump that determines an amount of current to be output in response to a phase control signal corresponding to a phase difference between the reference clock signal and the second internal clock signal, and a loop filter that outputs the control voltage to the voltage controlled oscillator based on the current output from the charge pump, and adjusts a parameter that determines a jitter characteristic of the clock data recovery circuit based on the detected frequency range. Effect of the Invention
[0010] According to the present invention, the clock data recovery circuit determines the frequency range of the reference clock signal received from the timing controller, and adjusts the parameters of the clock data recovery circuit so as to have appropriate jitter and stability for each determined frequency range. As a result, the clock data recovery circuit optimized for the high speed operating region can maintain the jitter characteristics even in the low speed operating region, so that it is possible to provide a clock data recovery circuit having a wide operating frequency range. The various yet significant advantages and effects of the present invention are not limited to the above, but can be more easily understood in the course of describing specific embodiments of the present invention. [Brief description of the drawings]
[0011] [Figure 1] 1 is a block diagram illustrating a display system according to an embodiment of the present invention; [Diagram 2] 1 is a block diagram illustrating a display device according to an embodiment of the present invention; [Diagram 3]FIG. 2 is a block diagram for explaining a CDR circuit according to an embodiment of the present invention. [Figure 4] 5A and 5B are timing diagrams illustrating the operation of a phase detector according to an embodiment of the present invention. [Diagram 5] 4 is a diagram for explaining a method for adjusting the frequency of a voltage controlled oscillator according to an embodiment of the present invention. [Figure 6] 4 is a diagram for explaining the operation of a phase detector and a serial-to-parallel converter according to an embodiment of the present invention; [Figure 7] 1 is a block diagram illustrating an automatic frequency adjuster according to an embodiment of the present invention; [Figure 8] 4 is a graph illustrating the operation of a counter according to an embodiment of the present invention. [Figure 9] 4 is a graph illustrating an operation of a frequency detection unit according to an embodiment of the present invention. [Figure 10] 4 is a diagram for explaining a method for adjusting the frequency of a voltage controlled oscillator according to an embodiment of the present invention. [Figure 11] 1 is a diagram for explaining an example of a method for adjusting parameters of a loop filter according to an embodiment of the present invention. [Figure 12] 11A and 11B are diagrams illustrating another example of a method for adjusting parameters of a loop filter according to an embodiment of the present invention. [Figure 13] 4 is a diagram for explaining a method for adjusting parameters of a voltage controlled oscillator according to an embodiment of the present invention. FIG. [Figure 14] 1 is a diagram illustrating a method for adjusting parameters of a charge pump according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, specific examples of the embodiments of the present invention will be described in detail with reference to the drawings.
[0013] FIG. 1 is a block diagram illustrating a display system according to an embodiment of the present invention.
[0014] 1, a display system 1 may be implemented as a TV, a tablet, a smart phone, etc. The display system 1 includes an external device 2, an application processor (AP) 3, a timing controller 4, and a display device 5.
[0015] The external device 2 includes a set-top box, a computer (PC), a laptop, etc. The external device 2 is connected to an application processor (AP) 3 and serves to receive information such as a video signal from a central server and transmit the information to the application processor (AP) 3.
[0016] The timing controller 4 receives video signals and control signals from the application processor (AP) 3. The timing controller 4 generates data packets using the video signals and control signals. In the data packets, a clock signal is embedded in the data signals. The timing controller 4 provides the data packets to the display device 5.
[0017] The display device 5 may be, for example, an organic light emitting diode display (OLED) or a liquid crystal display (LCD), but is not limited thereto.
[0018] The display device 5 receives the data packets from the timing controller 4. The display device 5 uses the data packets to generate various signals related to image representation. The display device 5 displays an image on a display panel.
[0019] Although the timing controller 4 and the display device 5 are illustrated and described herein as being separate, the timing controller 4 may also be included in the display device 5 .
[0020] According to this embodiment, the data packets output from the timing controller 4 have a wide range of frequencies. The display device 5 includes a clock data recovery circuit that receives the data packets. The clock data recovery circuit recovers a data signal and a clock signal from the data packets. When the data packets have a wide range of frequencies, it becomes difficult to maintain the jitter characteristics of the clock signal recovered by the clock data recovery circuit. In the present invention, a frequency detection unit that detects the frequency range of the input data is added to the clock data recovery circuit. As a result, the clock data recovery circuit of the present invention can maintain a uniform jitter characteristic over a wide input frequency range even without an external signal.
[0021] FIG. 2 is a block diagram illustrating a display device according to an embodiment of the present invention.
[0022] 2, the display device 10 includes a timing controller 20, a data driver 30, and a display panel 40. The data driver 30 includes a plurality of display driving integrated circuits (DDIs) DDI1 to DDI4. For example, the display panel 40 is divided into less than four regions or more than four regions. The data driver 30 is directly attached onto a glass substrate used for the display panel 40, or a flexible film is patch-attached to the display panel 30.
[0023] Depending on the embodiment, the timing controller 20 is included in each of a plurality of DDI1 to DDI4 (DDIs).
[0024] In the initial training mode, the timing controller 20 provides a reference clock signal to the data driver 30. The data driver 30 locks a phase locked loop (PLL) circuit by synchronizing the phase of an internal clock signal with that of the reference clock signal.
[0025] When the timing controller 20 receives a signal indicating that the PLL circuit is locked from the data driver 30, the timing controller 20 provides a data packet to the data driver 30. In the data packet, a clock signal is embedded in the data signal.
[0026] The display panel 40 is divided into a plurality of regions (R1 to R4). For convenience of explanation, FIG. 2 shows the display panel 40 divided into four regions (R1 to R4), but is not limited to this. Each of the plurality of DDI1 to DDI4 (DDIs) controls a corresponding region among the four regions (R1 to R4) of the display panel 40. Also, each of the plurality of DDI1 to DDI4 (DDIs) displays an image in the corresponding region (R1 to R4) of the display panel 40 based on a data packet.
[0027] Each of the multiple DDI1 to DDI4 (DDI) includes a receiving circuit (RX1 to RX4). Each of the receiving circuits (RX1 to RX4) includes a clock and data recovery (CDR) circuit. When the CDR circuit receives a reference clock signal from the timing controller 20, it synchronizes the phase of the internal clock signal with the reference clock signal and locks the PLL circuit.
[0028] When the timing controller 20 receives a signal indicating that the PLL circuit is locked from the CDR circuit, the timing controller 20 provides a data packet to the CDR circuit. When the CDR circuit receives the data packet from the timing controller 20, it recovers a data signal and a clock signal synchronized with the data signal from the received data packet. The CDR circuit transmits the recovered data signal and clock signal to a logic circuit included in the DDI.
[0029] Generally, a CDR circuit is optimized for a high-speed operating range. The amount of data that a timing controller transmits to a CDR circuit varies depending on the resolution and frame rate of a display. For example, the higher the resolution, the greater the amount of data, so the CDR circuit operates in a high-speed operating range. Conventionally, a CDR circuit optimized for a high-speed operating range could induce large jitter in a low-speed operating range. As a result, the CDR circuit was at risk of generating errors when restoring data.
[0030] The CDR circuit according to this embodiment detects the frequency range of data from the input data, and uses the detected frequency range to change the parameters of the CDR circuit according to the frequency range. Since the parameters of the CDR circuit are adjusted based on the input frequency range, the jitter of the restored clock signal can be minimized even if the received data has a wide frequency range. This allows the CDR circuit to have a wide operating frequency range.
[0031] FIG. 3 is a block diagram for explaining a CDR circuit according to one embodiment of the present invention, FIGS. 4(a) and (b) are timing diagrams for explaining the operation of a phase detector according to one embodiment of the present invention, FIG. 5 is a diagram for explaining a method of adjusting the frequency of a voltage controlled oscillator according to one embodiment of the present invention, and FIG. 6 is a diagram for explaining the operation of a phase detector and a serial-to-parallel converter according to one embodiment of the present invention.
[0032] 3, the CDR circuit 100 includes an automatic frequency controller (AFC) 110, a phase detector (PD) 120, a charge pump (CP) 130, a loop filter (LF) 140, a voltage controlled oscillator (VCO) 150, and a deserializer (DES) 160. The PLL circuit includes the PD 120, the CP 130, the LF 140, and the VCO 150. That is, the CDR circuit 100 includes a PLL circuit.
[0033] In the initial training mode, the CDR circuit 100 receives a reference clock signal CK_REF from the timing controller TC. The CDR circuit 100 synchronizes the phases of the reference clock signal CK_REF and the internal clock signals (CK_VCO1 to CK_VCO3). When the phases of the clock signal CK_REF and the internal clock signals (CK_VCO1 to CK_VCO3) are synchronized, the PLL circuit is locked.
[0034] When the PLL circuit is locked, the CDR circuit 100 receives a data packet from the timing controller TC. In the data packet, a clock signal is embedded in the data signal. In a normal operation mode, the CDR circuit 100 recovers the data signal and a clock signal synchronized with the data signal from the data packet.
[0035] In this specification, the operation of the CDR circuit 100 is mainly described as follows: when the CDR circuit 100 receives the reference clock signal CK_REF from the timing controller TC in the initial training mode, the CDR circuit 100 detects the frequency range of the reference clock signal CK_REF and changes the parameters of the CDR circuit 100 according to the detected frequency range. The CDR circuit 100 generates an internal clock signal that follows the reference clock signal CK_REF based on the changed parameters.
[0036] The AFC 110 receives the reference clock signal CK_REF output from the timing controller TC and the first internal clock signal CK_VCO1 output from the VCO 150. The AFC 110 determines the frequency range FB of the reference clock signal CK_REF by using the first internal clock signal CK_VCO1. The AFC 110 outputs the frequency range FB of the reference clock signal CK_REF to the CP 130, the LF 140, and the VCO 150.
[0037] As a result, the CDR circuit 100 uses the frequency range FB of the reference clock signal CK_REF to control the parameters of the CP 130, the LF 140, and the VCO 150. For example, the parameters include the amount of current I CP , the resistance value of LF140 (R LF ), capacitance of LF140 (C LF ), and the gain K of VCO150 VCO That is, the CDR circuit 100 performs coarse tuning by using the frequency range FB of the reference clock signal CK_REF. The VCO 150 outputs the second internal clock signal CK_VCO2 in response to the frequency range FB of the reference clock signal CK_REF. The method in which the VCO 150 determines the second internal clock signal CK_VCO2 in response to the frequency range FB will be described in detail with reference to FIG. 9.
[0038] The PD 120 receives the reference clock signal CK_REF output from the timing controller TC and the second internal clock signal CK_VCO2 output from the VCO 150. The PD 120 outputs a phase control signal (UP, DOWN) corresponding to the phase difference between the reference clock signal CK_REF and the second internal clock signal CK_VCO2.
[0039] 4(a), when the phase of the second internal clock signal CK_VCO2 is delayed from the reference clock signal CK_REF, the PD 120 generates an up (UP) pulse signal to advance the phase of the reference clock signal CK_REF. The up (UP) pulse signal is shown between the rising edge of the reference clock signal CK_REF and the rising edge of the second internal clock signal CK_VCO2.
[0040] As shown in Fig. 4(b), when the phase of the second internal clock signal CK_VCO2 is ahead of the reference clock signal CK_REF, the PD 120 generates a DOWN pulse signal to delay the phase of the reference clock signal CK_REF. The DOWN pulse signal is shown between the rising edge of the second internal clock signal CK_VCO2 and the rising edge of the reference clock signal CK_REF.
[0041] Referring again to FIG. 3, CP130 supplies a predetermined current (or charge) to the capacitor C of LF140 in response to the first phase control signal UP. LF CP130 charges the capacitor C of LF140 in response to the second phase control signal DOWN. LF The LF 140 controls the control voltage V C is made variable.
[0042] The AFC 110 receives the reference clock signal CK_REF output from the timing controller TC and the second internal clock signal CK_VCO2 output from the VCO 150. The AFC 110 outputs a control code CODE corresponding to the difference between the frequency of the reference clock signal CK_REF and the frequency of the second internal clock signal CK_VCO2. The control code CODE is composed of n bits.
[0043] VCO150 receives the control code CODE from AFC110 and the control voltage V C The VCO 150 receives the control code CODE and the control voltage V CIn response to the control code CODE and the control voltage V C The third internal clock signal CK_VCO3 is output by performing fine tuning using the above.
[0044] 3 and 5, the VCO 150 receives a control code CODE from the AFC 110 and a control voltage V C In one example, the control code CODE is a second control code CODE2, and the control voltage V C is the first control voltage V1. The VCO 150 outputs a third internal clock signal CK_VCO3 having a first frequency f1 in response to the second control code CODE2 and the first control voltage V1.
[0045] According to the embodiment, the control voltage V C For example, when the phase of the second internal clock signal CK_VCO2 is delayed relative to the reference clock signal CK_REF, that is, when the PD 120 outputs the first phase control signal UP, the control voltage V C changes to the second control voltage V2. The VCO 150 outputs a third internal clock signal CK_VCO3 having a second frequency f2 in response to the second control code CODE2 and the second control voltage V2.
[0046] Conversely, when the phase of the second internal clock signal CK_VCO2 is earlier than the phase of the reference clock signal CK_REF, that is, when the PD 120 outputs the second phase control signal DOWN, the control voltage V C changes to a third control voltage V3. The VCO 150 outputs a third internal clock signal CK_VCO3 having a third frequency f3 in response to the second control code CODE2 and the third control voltage V3.
[0047] Referring back to FIG. 3, when the frequency of the reference clock signal CK_REF and the frequency of the third internal clock signal CK_VCO3 are the same, the frequency of the third internal clock signal CK_VCO3 is locked to the frequency of the reference clock signal CK_REF.
[0048] When the CDR circuit 100 informs the timing controller TC that the frequency of the third internal clock signal CK_VCO3 is locked to the frequency of the reference clock signal CK_REF, the timing controller TC transmits a data packet to the CDR circuit 100.
[0049] The PD120 receives a data packet from the timing controller TC. The PD120 also receives a third internal clock signal CK_VCO3 from the VCO150. The PD120 samples a data signal from the data packet by using the third internal clock signal CK_VCO3. The PD120 also outputs the sampled data signal SDATA and the third internal clock signal CK_VCO3 to the DES160.
[0050] DES160 recovers a data signal and a clock signal by using the sampled data signal SDATA and the third internal clock signal CK_VCO3. DES160 outputs the recovered data signal and the recovered clock signal to the DDI logic. In the embodiment shown in FIG. 6, the recovered data signal is denoted as RDATA and the recovered clock signal is denoted as RCK.
[0051] 3 and 6, the voltage controlled oscillator VCO is a five-stage ring oscillator using inverter coupling. The clock signals output from each stage have the same phase difference. The PD 120 samples the data signal from the data packet in response to the clock signals output from each stage.
[0052] The DES 160 receives the sampled data signal SDATA and the third internal clock signal CK_VCO3 from the PD 120. The DES 160 parallelizes the sampled data signal SDATA. The DES 160 generates the parallelized data signal RDATA and a clock signal RCK synchronized with the data signal RDATA. The DES 160 outputs the restored data signal RDATA and the clock signal RCK to the DDI logic.
[0053] According to this embodiment, the AFC 110 determines the frequency range FB of the reference clock signal CK_REF by using the first internal clock signal CK_VCO1. The AFC 110 outputs the frequency range FB of the reference clock signal CK_REF to the CP 130, the LF 140, and the VCO 150. As a result, the CDR circuit 100 controls the parameters of the CP 130, the LF 140, and the VCO 150 using the frequency range FB of the reference clock signal CK_REF. Since the parameters of the CDR circuit 100 are adjusted based on the frequency range FB of the reference clock signal CK_REF, the CDR circuit 100 can minimize the jitter of the restored clock signal even if the received data has a wide frequency range. As a result, the restored clock signal is stable, and the CDR circuit 100 can have a wide operating frequency range.
[0054] FIG. 7 is a block diagram illustrating an automatic frequency adjuster according to one embodiment of the present invention, FIG. 8 is a graph illustrating the operation of a counter according to one embodiment of the present invention, FIG. 9 is a graph illustrating the operation of a frequency detection unit according to one embodiment of the present invention, and FIG. 10 is a diagram illustrating a method of adjusting the frequency of a voltage controlled oscillator according to one embodiment of the present invention.
[0055] Referring to FIG. 7, the automatic frequency adjuster 200 includes a controller 210 , a counter 220 , a successive approximation unit 230 , and a frequency detection unit 240 .
[0056] 7 and 8, the controller 210 receives a reference clock signal CK_REF from a timing controller TC. The controller 210 determines a time T for which the period of the reference clock signal CK_REF is repeated N times. The controller 210 outputs a pulse CNT_EN having a pulse width T based on the time T for which the period of the reference clock signal CK_REF is repeated N times. For example, when the period of the reference clock signal CK_REF is 1 s and N=100, the controller 210 determines a time (T=100 s) for which the period of the reference clock signal CK_REF is repeated 100 times. The controller 210 outputs a pulse CNT_EN having a pulse width T of 100 s.
[0057] The counter 220 receives a counter reset signal CNT_Rb from the controller 210. The counter 220 is reset in response to the counter reset signal CNT_Rb. The counter 220 receives a first internal clock signal CK_VCO1 from the voltage controlled oscillator VCO. The counter 220 counts the number of rising edges of the first internal clock signal CK_VCO1 input during a time T, and outputs a count value CNT. For example, when the period of the first internal clock signal CK_VCO1 is 2s, the counter 220 outputs a count value (M=50) of the rising edges of the first internal clock signal CK_VCO1 input during 100s.
[0058] 7 and 9, the frequency detection unit 240 receives a frequency detection clock signal CK_FD from the controller 210. The frequency detection unit 240 receives a count value CNT from the counter 220 in response to the frequency detection clock signal CK_FD. The frequency detection unit 240 detects a frequency range FB (frequency band) of the reference clock signal CK_REF based on the count value M.
[0059] For example, when the count value M is smaller than half (N / 2) the number of times the period of the reference clock signal CK_REF is repeated, the frequency detection unit 240 determines that the frequency range FB is the first frequency range FB0 of 1.35 GHz or higher.
[0060] If the count value M is greater than half (N / 2) the number of times the frequency of the reference clock signal CK_REF is repeated and less than the number N of times the period of the reference clock signal CK_REF is repeated, the frequency detection unit 240 determines that the frequency range FB is a second frequency range FB1 ranging from 0.90 GHz to 1.80 GHz.
[0061] If the count value M is greater than the number of times N that the period of the reference clock signal CK_REF is repeated and less than twice the number of times 2N that the period of the reference clock signal CK_REF is repeated, the frequency detection unit 240 determines that the frequency range FB is a third frequency range FB2 ranging from 0.45 GHz to 1.35 GHz.
[0062] When the count value M is greater than twice the number of times the period of the reference clock signal CK_REF is repeated, 2N, the frequency detection unit 240 determines that the frequency range FB is a fourth frequency range FB3 ranging from 0.1 GHz to 0.90 GHz.
[0063] The count value M is determined to be in the low frequency range if it is greater than the number of times N that the period of the reference clock signal CK_REF is repeated, and the count value M is determined to be in the high frequency range if it is smaller than the number of times N that the period of the reference clock signal CK_REF is repeated.
[0064] The voltage controlled oscillator VCO receives the frequency range FB of the reference clock signal CK_REF from the frequency detection unit 240. For example, as shown in Fig. 10, when the frequency range FB is the second frequency range FB1, the voltage controlled oscillator VCO outputs a second internal clock signal CK_VCO2 having a frequency of 1.35 GHz, which is the intermediate value of the range from 0.90 GHz to 1.80 GHz.
[0065] 7 again, the counter 220 receives the second internal clock signal CK_VCO2 generated in response to the frequency range FB of the reference clock signal CK_REF from the VCO 150. The counter 220 compares the frequency of the reference clock signal CK_REF output from the timing controller TC with the frequency of the second internal clock signal CK_VCO2. As an example, the counter 220 outputs logic "1" (MSB=1) when the frequency of the second internal clock signal CK_VCO2 is smaller than the frequency of the reference clock signal CK_REF. Conversely, the counter 220 outputs logic "0" (MSB=0) when the frequency of the second internal clock signal CK_VCO2 is greater than the frequency of the reference clock signal CK_REF.
[0066] The successive approximation unit 230 receives an enable signal AFC_START and an output timing signal AFC_BAND from the controller 210. The successive approximation unit 230 is enabled in response to the enable signal AFC_START. The enabled successive approximation unit 230 receives the most significant bit MSB from the counter 220.
[0067] The successive approximation unit 230 generates a control code CODE corresponding to the difference between the frequency of the reference clock signal CK_REF and the frequency of the second internal clock signal CK_VCO2 based on the most significant bit MSB. For example, if the most significant bit MSB is logic "1", the frequency of the second internal clock signal CK_VCO2 is increased. Conversely, if the most significant bit MSB is logic "0", the frequency of the second internal clock signal CK_VCO2 is decreased. The successive approximation unit 230 increases or decreases the frequency of the second internal clock signal CK_VCO2 until the frequency of the second internal clock signal CK_VCO2 is the same as the frequency of the reference clock signal CK_REF. The successive approximation unit 230 outputs a control code CODE corresponding to the difference between the frequency of the reference clock signal CK_REF and the frequency of the second internal clock signal CK_VCO2 through an operation of increasing or decreasing the frequency of the second internal clock signal CK_VCO2.
[0068] The successive approximation unit 230 outputs a control code CODE in response to the output timing signal AFC_BAND. The successive approximation unit 230 outputs the control code CODE and an end signal AFC_END. The successive approximation unit 230 outputs the end signal AFC_END to the controller 210. The end signal AFC_END is a signal indicating that the frequency of the second internal clock signal CK_VCO2 has been matched with the frequency of the reference clock signal CK_REF.
[0069] The voltage controlled oscillator VCO receives the control code CODE from the successive approximation unit 230. For example, as shown in Fig. 10, when the frequency range FB is the second frequency range FB1 and the control code CODE is the second control code CODE2, the voltage controlled oscillator performs fine adjustment using the second control code CODE2 and a control voltage, and outputs the third internal clock signal CK_VCO3.
[0070] According to this embodiment, the CDR circuit determines the frequency range FB of the reference clock signal CK_REF. Also, the parameters of the CDR circuit are adjusted so that the reference clock signal CK_REF has appropriate jitter and stability for each frequency range FB. This allows the CDR circuit optimized for the high-speed operating region to maintain jitter characteristics even in the low-speed operating region.
[0071] FIG. 11 is a diagram for explaining an example of a method for adjusting parameters of a loop filter according to an embodiment of the present invention.
[0072] 11, the loop filter LF is coarsely adjusted by using the frequency range FB of the reference clock signal. The coarsely adjusted loop filter LF is adjusted by a control voltage V C The voltage-controlled oscillator VCO receives the control voltage V from the loop filter LF. C The voltage controlled oscillator VCO receives the control code CODE from the automatic frequency regulator AFC and the control voltage V C By performing fine adjustment using the reference clock signal, an internal clock signal that tracks the reference clock signal is output.
[0073] A method for adjusting the parameters of the loop filter LF will now be described.
[0074] The loop filter LF is connected to resistor R LF and the first to third capacitors (C LF 1~C LF 3). The first to third capacitors (C LF 1~C LF The first to third capacitors (C LF 1~C LF 3) is connected in series with the resistor at the first node ND1. LF A first switch SW1 is connected between the first node and a third capacitor C LF A second switch SW2 is connected between the third capacitor C3 and the first node. LF The capacitance of 3 is the second capacitor C LF The capacitance is greater than 2.
[0075] The frequency range FB of the reference clock signal becomes lower from the first frequency range FB0 to the fourth frequency range FB3. As the frequency range FB of the reference clock signal becomes lower, the capacitance of the loop filter LF increases. As the capacitance of the loop filter LF increases, the stability of the CDR circuit increases.
[0076] For example, when the frequency range FB is the first frequency range (FB0=00), the first switch SW1 is turned off in response to the frequency range (FB[0]=0), and the second switch SW2 is turned off in response to the frequency range (FB[1]=0). Thus, the capacitance of the loop filter LF is the first capacitor C LF This value corresponds to a capacitance of 1.
[0077] When the frequency range FB is the second frequency range (FB1=01), the first switch SW1 is turned on in response to the frequency range (FB[0]=1) and the second switch SW2 is turned off in response to the frequency range (FB[1]=0). Thus, the capacitance of the loop filter LF is the first capacitor C LF The capacitance of 1 and the second capacitor C LF This value corresponds to the sum of the capacitance of 2.
[0078] When the frequency range FB is the third frequency range (FB2=10), the first switch SW1 is turned off in response to the frequency range (FB[0]=0) and the second switch SW2 is turned on in response to the frequency range (FB[1]=1). As a result, the capacitance of the loop filter LF is the first capacitor C LF The capacitance of 1 and the third capacitor C LF This value corresponds to the sum of the capacitance of 3.
[0079] When the frequency range FB is the fourth frequency range (FB3=11), the first switch SW1 is turned on in response to the frequency range (FB[0]=1), and the second switch SW2 is turned on in response to the frequency range (FB[1]=1). As a result, the capacitance of the loop filter LF is the first capacitor C LF Capacitance of 1, second capacitor C LF 2 capacitance, and the third capacitor C LF This value corresponds to the sum of the capacitances of 3.
[0080] 12 is a diagram for explaining another example of a method for adjusting parameters of a loop filter according to an embodiment of the present invention. LF FIG.
[0081] Referring to FIG. 12, the loop filter LF includes first to third resistors (R LF 1~R LF 3) are included. Resistors 1 to 3 (R LF 1~RLF The second resistor R LF A first switch SW1 is connected between the first node ND2 and a second node ND3, and a third resistor R LF A second switch SW2 is connected between the second resistor R LF The resistance value of 2 is the third resistor R LF Greater than the resistance value of 3.
[0082] The frequency range FB of the reference clock signal becomes lower from the first frequency range FB0 to the fourth frequency range FB3. When the frequency range FB of the reference clock signal becomes lower, the resistance value of the loop filter LF increases.
[0083] For example, when the frequency range FB is the first frequency range (FB0=00), the first switch SW1 is turned on in response to the frequency range (FB[0]=0), and the second switch SW2 is turned on in response to the frequency range (FB[1]=0). As a result, the resistance value of the loop filter LF is set to the first resistor R LF 1, 2nd resistor R LF 2, and the third resistor R LF This value corresponds to the combined resistance of 3.
[0084] When the frequency range FB is the second frequency range (FB1=01), the first switch SW1 is turned off in response to the frequency range (FB[0]=1), and the second switch SW2 is turned on in response to the frequency range (FB[1]=0). As a result, the resistance value of the loop filter LF is set to the first resistor R LF 1 and the third resistor R LF This value corresponds to the combined resistance with 3.
[0085] When the frequency range FB is the third frequency range (FB2=10), the first switch SW1 is turned on in response to the frequency range (FB[0]=0) and the second switch SW2 is turned off in response to the frequency range (FB[1]=1). As a result, the resistance value of the loop filter LF is set to the first resistor R LF 1 and the second resistor R LFThis value corresponds to the combined resistance with 2.
[0086] When the frequency range FB is the fourth frequency range (FB3=11), the first switch SW1 is turned off in response to the frequency range (FB[0]=1), and the second switch SW2 is turned off in response to the frequency range (FB[1]=1). As a result, the resistance value of the loop filter LF is set to the first resistor R LF This value corresponds to 1.
[0087] 13 is a diagram for explaining a method for adjusting parameters of a voltage-controlled oscillator according to an embodiment of the present invention. FIG. 13 shows a voltage-controlled oscillator VCO, which is a three-stage ring oscillator using inverter coupling. Referring to an enlarged view of one inverter, the voltage-controlled oscillator VCO has a first load capacitor C L 1 and 2 load capacitors C L 2. The first load capacitor C L 1 and 2 load capacitors C L When the first load capacitor C2 is connected to the output of the voltage controlled oscillator VCO, the loading capacitance of the voltage controlled oscillator VCO is increased. L One end of 1 and the second load capacitor C L 2 is connected to the first output terminal OUTN of the inverter, and the first load capacitor C L The other end of the second load capacitor C L The other end of 2 is connected to the second output terminal OUTP of the inverter.
[0088] First load capacitor C L A first switch SW1 is connected between one end of the first input terminal I and a first output terminal OUTN, and a first load capacitor C L A second switch SW2 is connected between the other end of the first capacitor C1 and a second output terminal OUTP. L A third switch SW3 is connected between one end of the second load capacitor C L A fourth switch SW4 is connected between the other end of output terminal OUTP and the second output terminal OUTP.
[0089] The frequency range FB of the reference clock signal becomes lower from the first frequency range FB0 to the fourth frequency range FB3. When the frequency range FB of the reference clock signal becomes lower, the loading capacitance of the voltage controlled oscillator VCO increases. L The capacitance of 1 is the first loading capacitance, and the capacitance of the second loading capacitor C L The capacitance of 2 is a second loading capacitance, which is greater than the first loading capacitance.
[0090] For example, when the frequency range FB is the first frequency range (FB0=00), the first switch SW1 and the second switch SW2 are turned off in response to the frequency range (FB[0]=0), and the third switch SW3 and the fourth switch SW4 are turned off in response to the frequency range (FB[1]=0), so that the increase in the loading capacitance is zero.
[0091] When the frequency range FB is the second frequency range (FB1=01), the first switch SW1 and the second switch SW2 are turned on in response to the frequency range (FB[0]=1), and the third switch SW3 and the fourth switch SW4 are turned off in response to the frequency range (FB[1]=0), so that the increase in the loading capacitance is a value corresponding to the first loading capacitance.
[0092] When the frequency range FB is the third frequency range (FB2=10), the first switch SW1 and the second switch SW2 are turned off in response to the frequency range (FB[0]=0), and the third switch SW3 and the fourth switch SW4 are turned on in response to the frequency range (FB[1]=1), so that the increase in the loading capacitance is a value corresponding to the second loading capacitance.
[0093] When the frequency range FB is the fourth frequency range (FB3=11), the first switch SW1 and the second switch SW2 are turned on in response to the frequency range (FB[0]=1), and the third switch SW3 and the fourth switch SW4 are turned on in response to the frequency range (FB[1]=1). As a result, the increase in the loading capacitance is a value corresponding to the sum of the first loading capacitance and the second loading capacitance.
[0094] FIG. 14 is a diagram illustrating a method for adjusting parameters of a charge pump according to an embodiment of the present invention. Referring to FIG. 14, the charge pump CP includes first to third current sources (I CP 1~I CP 3). The first to third current sources (I CP 1~I CP The first to third current sources (I CP 1~I CP The current of each of the second current sources I CP A first switch SW1 is connected between the third node I CP A second switch SW2 is connected between the third current source I CP The current flowing through 3 is the second current source I CP is greater than the current flowing through 2.
[0095] The frequency range FB of the reference clock signal becomes lower from the first frequency range FB0 to the fourth frequency range FB3. When the frequency range FB of the reference clock signal becomes lower, the amount of current flowing from the charge pump CP decreases.
[0096] For example, when the frequency range FB is the first frequency range (FB0=00), the first switch SW1 is turned on in response to the frequency range (FB[0]=0), and the second switch SW2 is turned on in response to the frequency range (FB[1]=0). This causes the amount of current flowing from the charge pump CP to be equal to the amount of current flowing from the first current source I CP The amount of current flowing from 1, the second current source ICP The amount of current flowing from 2 and the third current source I CP This value corresponds to the total amount of current flowing from 3.
[0097] When the frequency range FB is the second frequency range (FB1=01), the first switch SW1 is turned off in response to the frequency range (FB[0]=1) and the second switch SW2 is turned on in response to the frequency range (FB[1]=0). This causes the amount of current flowing from the charge pump CP to be equal to the amount of current flowing from the first current source I CP The amount of current flowing from 1 and the third current source I CP This value corresponds to the total amount of current flowing from 2.
[0098] When the frequency range FB is the third frequency range (FB2=10), the first switch SW1 is turned on in response to the frequency range (FB[0]=0) and the second switch SW2 is turned off in response to the frequency range (FB[1]=1). This causes the amount of current flowing from the charge pump CP to be equal to the amount of current flowing from the first current source I CP The amount of current flowing from 1 and the second current source I CP This value corresponds to the total amount of current flowing from 3.
[0099] When the frequency range FB is the fourth frequency range (FB3=11), the first switch SW1 is turned off in response to the frequency range (FB[0]=1) and the second switch SW2 is turned off in response to the frequency range (FB[1]=1). This causes the amount of current flowing from the charge pump CP to be equal to the amount of current flowing from the first current source I CP This value corresponds to the amount of current flowing from 1.
[0100] Although the embodiments of the present invention have been described in detail above with reference to the drawings, the present invention is not limited to the above-described embodiments and can be modified in various ways without departing from the technical spirit of the present invention. [Explanation of symbols]
[0101] 1 Display System 2 External device 3 Application Processor (AP) 4, 20 Timing controller 5, 10 Display device 30 Data Drive Unit 40 Display Panel 100 CDR circuit 110, 200 Automatic frequency adjuster (AFC) 120 Phase Detector (PD) 130 Charge Pump (CP) 140 Loop Filter (LF) 150 Voltage Controlled Oscillator (VCO) 160 Deserializer (DES) 210 Controller 220 Counter 230 Successive Approximation Section 240 Frequency detection section
Claims
1. a timing controller that outputs a reference clock signal and a data packet in which the clock signal is embedded in a data signal; a clock data recovery circuit receiving the reference clock signal and the data packets from the timing controller; a display panel for displaying an image based on the received data packets; the clock data recovery circuit includes a voltage controlled oscillator; the clock data recovery circuit, upon receiving the reference clock signal from the timing controller, detects a frequency range of the received reference clock signal using a first internal clock signal from the voltage controlled oscillator, and adjusts a parameter that determines a jitter characteristic of the clock data recovery circuit based on the detected frequency range; the voltage controlled oscillator adjusts the frequency of the first internal clock signal to output a second internal clock signal; the clock data recovery circuit generates a third internal clock signal that tracks the reference clock signal based on the second internal clock signal; The clock data recovery circuit, when receiving the data packet from the timing controller, recovers the data signal and a clock signal synchronized with the data signal from the data packet using the third internal clock signal.
2. 2. The display device of claim 1, wherein the clock data recovery circuit counts the number of rising edges of the first internal clock signal while a period of the reference clock signal is repeated N times, compares the count value with N, and detects a frequency range of the reference clock signal based on a result of the comparison.
3. the clock data recovery circuit generates a control code corresponding to a difference between a frequency of the reference clock signal and a frequency of the second internal clock signal; The display device of claim 1, wherein the voltage controlled oscillator outputs a third internal clock signal by performing fine tuning using the control code.
4. 4. The display device of claim 3, wherein the parameters include a gain of the voltage controlled oscillator that outputs the third internal clock signal based on the control code and a control voltage.
5. 5. The display device of claim 4, wherein the parameter includes an amount of current that the charge pump outputs in response to a phase control signal corresponding to a phase difference between the reference clock signal and the second internal clock signal.
6. 6. The display device of claim 5, wherein the parameters include a capacitance of a loop filter that outputs the control voltage to the voltage controlled oscillator based on a current output from the charge pump.
7. The display device according to claim 5 , wherein the parameters include a resistance value of a loop filter that outputs the control voltage to the voltage controlled oscillator based on a current output from the charge pump.
8. A clock data recovery circuit comprising an automatic frequency regulator and a voltage controlled oscillator, The automatic frequency regulator comprises: receiving a reference clock signal from a timing controller and a first internal clock signal from the voltage controlled oscillator; counting the number of rising edges of the first internal clock signal while the period of the reference clock signal is repeated N times; Detecting a frequency range of the reference clock signal based on the counted result, receiving a second internal clock signal from the voltage controlled oscillator, the frequency of which is adjusted according to the frequency range of the first internal clock signal, and outputting a control code corresponding to a difference between a frequency of the reference clock signal and a frequency of the second internal clock signal; The voltage controlled oscillator includes: receiving the control code and the frequency range from the automatic frequency adjuster; outputting the second internal clock signal by performing coarse tuning using the frequency range; a third internal clock signal from the voltage controlled oscillator, the third internal clock signal tracking the reference clock signal by fine tuning using the control code and the control voltage, to the automatic frequency adjuster.
9. a phase detector receiving the reference clock signal and the second internal clock signal and outputting a phase control signal corresponding to a phase difference between the reference clock signal and the second internal clock signal; a charge pump that outputs a current in response to the phase control signal; 9. The clock data recovery circuit according to claim 8, further comprising: a loop filter that generates the control voltage based on a current output from the charge pump and outputs the control voltage to the voltage controlled oscillator.
10. 10. The clock data recovery circuit of claim 9, wherein the charge pump receives the frequency range from the automatic frequency adjuster and performs a coarse adjustment using the frequency range.
11. 10. The clock data recovery circuit of claim 9, wherein the loop filter receives the frequency range from the automatic frequency adjuster and performs a coarse adjustment using the frequency range.
12. The automatic frequency regulator comprises: a counter receiving the reference clock signal and the second internal clock signal, comparing a frequency of the reference clock signal with a frequency of the second internal clock signal, and outputting a most significant bit based on a result of the comparison; 9. The clock data recovery circuit according to claim 8, further comprising: a successive approximation unit that outputs a control code corresponding to a difference between a frequency of the reference clock signal and a frequency of the second internal clock signal based on the most significant bit.
13. The automatic frequency regulator comprises: a controller for determining the time for a period of the reference clock signal to be repeated N times; a frequency detection unit that detects the frequency range of the reference clock signal based on the count number, 13. The clock data recovery circuit according to claim 12, wherein the counter counts rising edges of the first internal clock signal during a time determined by the controller, and outputs the counted result to the frequency detection unit as the count number.
14. 14. The clock data recovery circuit according to claim 13, wherein the frequency detection unit compares the count number with N, and detects the frequency range of the reference clock signal based on a result of the comparison.
15. 1. A clock data recovery circuit, comprising: an automatic frequency adjuster that detects a frequency range of the received reference clock signal using a first internal clock signal when the clock data recovery circuit receives the reference clock signal; a voltage controlled oscillator that outputs a second internal clock signal based on the frequency range and outputs a third internal clock signal that tracks the reference clock signal based on a control voltage; a charge pump that determines an amount of current to be output in response to a phase control signal corresponding to a phase difference between the reference clock signal and the second internal clock signal; a loop filter that outputs the control voltage to the voltage controlled oscillator based on a current output from the charge pump; 13. A clock data recovery circuit, comprising: a clock data recovery circuit for adjusting a parameter that determines a jitter characteristic of the clock data recovery circuit based on the detected frequency range.
16. 16. The clock data recovery circuit of claim 15, wherein the gain of the voltage controlled oscillator decreases as the detected frequency range decreases.
17. 16. The clock data recovery circuit of claim 15, wherein the amount of current flowing from the charge pump decreases as the detected frequency range decreases.
18. 16. The clock data recovery circuit of claim 15, wherein a resistance value of the loop filter increases as the detected frequency range decreases.
19. 16. The clock data recovery circuit of claim 15, wherein the capacitance of the loop filter increases as the detected frequency range decreases.
Citation Information
Patent Citations
Double-loop full-automatic frequency band tuning phase-locked ring of ZigBee system
CN104796141A
Pll frequency synthesizer
JP2011009849A
Clock data recovery circuit coupled with programmable logic device circuit
JP2013179659A
Phase-locked loop circuit and method
US5257294A
