DUTY CYCLE CORRECTION CIRCUIT AND APPLICATIONS THEREOF
20230016594 · 2023-01-19
Assignee
Inventors
Cpc classification
A61B6/54
HUMAN NECESSITIES
International classification
Abstract
A duty cycle correction circuit comprises a buffer stage which outputs a digital output signal having a duty cycle. At least one buffer of the buffer stage is configured to exhibit a controllable tripping threshold. A control loop circuit comprises a sensing circuit including a switched capacitor that is reset to a reference potential and time-integrates the digital output signal. A comparator is configured to compare the potential at a terminal of the capacitor with the reference potential. A register stores a correction value determined by the comparator to adjust the tripping threshold of the at least one buffer.
Claims
1. A duty cycle correction circuit, comprising: a buffer stage, comprising: an input terminal for a digital input signal having a duty cycle; an output terminal for a digital output signal having a modified duty cycle; and at least one buffer, the buffer configured to exhibit a controllable tripping threshold; a control loop circuit, comprising: a sensing circuit coupled to the output terminal of the buffer stage comprising a switched capacitor and configured to reset the capacitor to a reference potential and to time-integrate the digital output signal in the capacitor; and a comparator coupled to the capacitor and configured to compare the potential at a terminal of the capacitor with the reference potential; and a register to store a correction value determined by the comparator, wherein the tripping threshold of the at least one buffer is controlled in dependence on the correction value.
2. The duty cycle correction circuit according to claim 1, wherein the sensing circuit further comprises a current source connected to a terminal for a supply potential and a current source connected to a terminal for ground potential, the sensing circuit configured to connect the current sources selectively to the capacitor in response to the digital output signal at the output terminal of the buffer stage.
3. The duty cycle correction circuit according to claim 1, wherein the reference potential is a common mode potential and the sensing circuit is configured to reset the capacitor to the common mode potential after a number of consecutive periods of the output signal.
4. The duty cycle correction circuit according to claim 3, wherein the common mode potential is in a range of +/−30% of half of the voltage between the supply potential and ground potential or half of the voltage between the supply potential and ground potential.
5. The duty cycle correction circuit according to claim 1, wherein the sensing circuit further comprises a first current source connected to a terminal for a supply potential and a first switch, a second current source connected to a terminal for ground potential and a second switch, wherein the capacitor is connected to a node disposed between the first and second current sources and to the terminal for ground potential.
6. The duty cycle correction circuit according to claim 1, wherein the sensing circuit further comprises a first current source connected to a terminal for a supply potential and a first switch, a second current source connected to a terminal for ground potential (VSS) and a second switch (424), wherein the capacitor (410) is connected to a node disposed between the first and second current sources and to the terminal for ground potential, a voltage divider connected to the terminal for a supply potential and to the terminal for ground potential (VSS) and connected to the capacitor through a third switch, the first and second switches coupled to the output terminal of the buffer stage and the third switch controlled in response to expiry of a number of clock cycles of the digital output signal at the output terminal of the buffer stage.
7. The duty cycle correction circuit according to claim 5, wherein the first and second current sources are each included in an output path of a corresponding current mirror.
8. The duty cycle correction circuit according to claim 1, wherein the sensing circuit is configured to time-integrate the digital output signal in the capacitor during a plurality of cycles of the digital output signal after a resetting of the capacitor to the reference potential.
9. The duty cycle correction circuit according to claim 1, wherein the comparator comprises a first differential branch and a second differential branch, a first input terminal coupled to the capacitor and a second input terminal coupled to a terminal for the reference potential and an output terminal, wherein the comparator is configured to perform chopping, wherein the first and second input terminals are alternately coupled to the first and second differential branches and the output terminal is alternately coupled to one of the first and second differential branches.
10. The duty cycle correction circuit according to claim 1, wherein the at least one buffer comprises a switchable path connected between a terminal for a supply potential and a terminal for ground potential further comprising another switchable path connected to the terminal for supply potential through a first switch and to the terminal for ground potential through a second switch, wherein input and output terminals of the switchable path and the other switchable path are connected to each other and the first and second switches of the other switchable path are controlled by the correction value stored in the register.
11. The duty cycle correction circuit according to claim 1, wherein the buffer stage comprises a chain of buffers serially connected with each other, wherein the input terminal for a digital input signal is connected to one end of the chain of buffers and the output terminal for a digital output signal is connected to another end of the chain of buffers.
12. The duty cycle correction circuit according to claim 1, wherein the buffer stage comprises a chain of buffers serially connected with each other, wherein the input terminal for a digital input signal is connected to one end of the chain of buffers and the output terminal for a digital output signal is connected to another end of the chain of buffers, wherein the buffer stage further comprises a plurality of other switchable paths, wherein each one of the plurality of other switchable paths is associated with a subset of the buffers of the chain of buffers, wherein input and output terminals of the other switchable paths and the associated one of the buffers are connected with each other.
13. The duty cycle correction circuit according to claim 12, further comprising a shift register, wherein each register of the shift register is connected to at least one or more of the other switchable paths, wherein each one of the other switchable paths is configured to be one of connected and disconnected to a terminal for supply potential and configured to be one of connected and disconnected to a terminal for ground potential in response to the operation of the control loop circuit.
14. The duty cycle correction circuit according to claim 1, wherein the buffer stage comprises: a plurality of inverters serially connected with each other and a plurality of other inverters connected through switches to terminals for supply and ground potentials and having input and output terminals (z1, z2) connected to input and output terminals of at least a subset of the inverters; further comprising: a plurality of registers, wherein each one of the registers is associated with at least one or more of the other inverters configured to control the switches connected to the associated one of the other inverters to adjust a tripping threshold of the associated one of the other inverters in dependence on correction values determined by the comparator.
15. The duty cycle correction circuit according to claim 1, wherein a portion of the control loop circuit including the sensing circuit and the comparator is switched off, when a steady state condition is achieved.
16. A low voltage differential signalling receiver, comprising: an input terminal for a differential digital input signal; an amplification stage having an output terminal for a single ended amplified signal; the duty cycle correction circuit of claim 1, wherein the input terminal of the duty cycle correction circuit is connected to the output terminal of the amplification stage.
17. A medical imaging apparatus, comprising a radiation source to generate radiation for the treatment of a living organism to generate an image of at least a portion of the living organism, further comprising the low voltage differential signalling receiver of claim 16 to process a signal carrying the image.
18. A data processing apparatus, comprising a processor to process data and a display device to display information dependent on data processed by the processor, further comprising the low voltage differential signalling receiver of claim 16 to receive data processed by the processor and to forward the data to the display device.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In the drawings:
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
DETAILED DESCRIPTION OF EMBODIMENTS
[0045] The present disclosure will now be described more fully hereinafter with reference to the accompanying drawings showing embodiments of the disclosure. The disclosure may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that the disclosure will fully convey the scope of the disclosure to those skilled in the art. The drawings are not necessarily drawn to scale but are configured to clearly illustrate the disclosure.
[0046]
[0047] The duty cycle of the received input signal VIN is subject to duty cycle deviation for multiple reasons. For example, the transmission line 151, 152 may have mismatches or may be subject to electromagnetic interference or the transmitters TX_P, TX_N may already generate a signal of non-balanced duty cycle. Furthermore, the LVDS receiver may introduce a duty cycle deviation, for example, by different rise and fall times of its p- and n-MOS circuits which may be due to process, voltage and temperature (PVT) impacts, non-ideal matching of differential interconnects within the layout and others.
[0048] The duty cycle correction circuit is provided to generate an output signal VOUT_RX having a corrected duty cycle from the input signal VIN. The duty cycle correction circuit includes a control loop which repetitively senses the duty cycle deviation of the output signal VOUT_RX and corrects the deviation so as to achieve a balanced, equalized duty cycle which is 50% or close to 50% after a number of repetitive correction cycles. The control loop circuit 130 comprises a sensing circuit 133 that receives the output signal VOUT_RX from output terminal 122. A comparison circuit 134 compares the sensed duty cycle level with a reference level that indicates the wanted target duty cycle level. A storage circuit 135 provides correction values which are obtained from the comparison stage 134. The stored correction values control the buffer stage 120 so that the duty cycle of the output signal VOUT_RX is adjusted and the control loop operation including sensing, comparing and storing recommences and the loop operation is repeated until a steady state condition is achieved.
[0049] The correction values from storage block 135 control the tripping thresholds of the individual buffers 125, . . . , 128 within the buffer chain 120 so that rising and falling edges can be selectively accelerated or decelerated and the duty cycle as the ratio of low and high portions of a signal period is modified and adjusted. The differential input signal to the LVDS receiver V_IN+, V_IN− as well as the input signal to the buffer chain VIN can be a clock signal having high to low and low to high transitions at the operating frequency. The input signal may also be a data signal in which transitions are governed by the transmitted information. The duty cycle correction is performed on the clock signal and the correction values can be stored in storage 135 so that the data signals can be received thereafter using the tripping threshold setting of the buffer stage determined beforehand. The control mechanism in the buffer chain employs adjusting of the tripping thresholds which correct one of the root causes of duty cycle deviations caused by the asymmetry of p- and n-side components and transistors. The control concept of the present disclosure avoids the addition of additional delays which could reduce the resolution since there is a certain design limit that dictates the minimum possible delay.
[0050] Adjustment of the tripping thresholds of buffers 125, . . . , 128 is achieved by switchable paths 720, 730, 740 connected to the input and output terminals of the buffers 125, . . . , 128 of buffer stage 120 such as terminals z1, z2, z3, z4, z5, . . . zx, zx+1. The switching states of the switchable paths 720, 730, 740 are controlled by the storage circuit 135. The details of the switchable paths 720, 730, 740 are explained in more detail hereinbelow. The switchable paths can be connected in parallel to the input and output terminals of every second buffer such as the first, the third, the fifth etc. buffer in the buffer chain as depicted in
[0051] When a steady state condition is achieved, for example, after performance of several correction cycles or when it is determined that the duty cycle deviation is below a resolution criterion, most portions of the control loop circuit 130 can be switched off to save power. For example, the sensing and comparison circuits 133, 134 as well as the frequency division and synchronizing circuit 131 and the timing and sequencing circuit 132 can be switched off. This considerably reduces the amount of power consumed. The storage circuit 135 including storage registers is the only circuit that remains active and stores the correction values to control the tripping threshold of the buffers in the buffer stage 120. The power consumption of these registers is negligible, as they do not switch during steady state. The control loop circuit can wake up after expiry of a predetermined amount of time determined by a timer or in response to an external event such as a variation in supply voltage or a change of temperature indicated by a temperature sensor available on system level. Such an event will activate the signal Bal_duty_en to reactivate the circuit blocks of the control loop.
[0052] In the following, several blocks from the high level representation shown in
[0053]
[0054]
[0055]
[0056] Capacitor 410 is reset to a reference potential VREF at terminal 441 through a switch 440 at the beginning of a sensing cycle. Capacitor 442 smoothes the signal VREF and provides sufficient charge to quickly drive the potential Vbal at capacitor 410. The reference potential VREF may be any reference potential in between the voltage supply rails VDD, VSS. In an embodiment, the reference potential VREF is the common mode voltage Vcm which is basically the middle voltage between the voltage supply rails VDD, VSS or approximately in the middle of the voltage supply VDD, VSS. The common mode voltage can be within a margin around the middle of the voltage supply, for example, within a margin of +/−30% of half of the voltage supply, VDD/2+/−30% wherein VSS is ground potential or 0 V. The closer the reference voltage VREF is to half of the supply voltage VDD/2, the better the duty cycle correction is performed.
[0057] The common mode voltage Vcm can be generated by a resistive divider 511, 512 as shown in
[0058]
[0059]
[0060] When signal Equalize_N<n> is H (High), transistor MN1<n> is conducting so that transistor MN1_bal<n> is enabled adding additional driving strength of n-MOS transistor MN1_bal<n> to the n-MOS-transistor 1252 of buffer 125 increasing the pull down drive capability of transistor 1252. In this case, transistors 1252 and MN1_bal<n> are connected in parallel to each other. At the same time, signal Equalize_P<n> is L (Low) so that the gate of transistor MP1<n> is driven H by BUFX<n> and INVX<n> shutting off transistor MP1<n> not adding any drive capability to the p-MOS side transistor 1251 of inverter 125. When signal Equalize_N<n> is L, transistor MN1<n> is shut off. At the same time, signal Equalize_P<n> is H so that the gate of transistor MP1<n> is driven L by BUFX<n> and INVX<n> enabling transistor MP1<n> adding the additional driving strength of p-MOS transistor MP1_bal<n> to the p-MOS-transistor 1251 of buffer 125 increasing the pull up drive capability of transistor 1251. In this case, transistors 1251 and MP1_bal<n> are connected in parallel to each other. Transistors MN1_bal<n> and MP1_bal<n> are connected as an inverter that has input and output terminals that are connected to terminals z1, z2 of one of the buffers of the buffer stage so that they are controlled by the signal of which the duty cycle is to be corrected. Transistors MN1<n> and MP1<n> are connected between said inverter and the terminals for supply and ground potentials to enable said inverter in dependence on the correction signal Equalize_N<n> and Equalize_P<n>. In the same way, transistors MN3_bal<n> and MP3_bal<n> are connected as an inverter that has input and output terminals that are connected to terminals z3, z4 of another one of the buffers of the buffer stage. Transistors MN3<n> and MP3<n> are connected between said inverter and the terminals for supply and ground potentials to enable said inverter in dependence on the correction signal Equalize_N<n> and Equalize_P<n>. This applies to every instance <n>.
[0061] When transistor MP1<n> of switchable path 720 is enabled, at the same time transistor MP3<n> of switchable path 730 and transistor MPx<n> of switchable path 740 are enabled. In the same way, when transistor MN1<n> of switchable 720 is enabled, at the same time transistor MN3<n> of switchable path 730 and transistor MNx<n> of switchable path 740 are enabled. In summary, each of the storage elements 711, 712, . . . , 713, 714 controls one instance <n> on every switchable path 720, 730, . . . , 740. Each instance <n> comprises one p-MOS transistor and one n-MOS transistor in every switchable path 720, 730, . . . , 740 such as p-MOS transistors MP1<n>, MP3<n>, . . . , MPx<n> and n-MOS transistors MN1<n>, MN3<n>, . . . , MNx<n>.
[0062]
[0067] The width to length ratio (W/L) of the transistors MP1_bal<n:0> and MN1_bal<n:0> represents the driving strengths of said transistors so that the W/L ratio determines the resolution and the step size of the control loop operation and thus determines the dynamic range of the regulation.
[0068]
[0069]
[0070] Turning now to
[0071]
[0072]
[0073]
[0074] The duty cycle control loop according to the principles of the present disclosure enables a high speed serial communication from processor 1310 to display screen 1320 which is very robust against PVT deviations. The serial clock and data stream received at LVDS-RX 1321 is forwarded to display device 1322 to visualize the transmitted information for optical reception by a user.
[0075] It will be apparent to those skilled in the art that various modifications and variations can be made without departing from the spirit or scope of the disclosure as laid down in the appended claims. Since modifications, combinations, sub-combinations and variations of the disclosed embodiments incorporating the spirit and substance of the disclosure may occur to the persons skilled in the art, the disclosure should be construed to include everything within the scope of the appended claims.