Patent Description:
In one example embodiment, a TDC uses a combination of coarse and fine measurements to obtain a time measurement. In a further embodiment, the TDC is used within a demodulator of a low power receiver. In some applications, the receiver is a low power, high performance RF system on-chip (SoC) using nanometer technology that features a low, core supply voltage. Taking advantage of nanometer process technology, the receiver's integrated circuit (IC) implements various levels of digital tuning to optimize the analog/RF performance. This specification describes an example receiver's Time to Digital Converter (TDC) to demodulate a received signal, where the demodulation may include removal of the carrier period, scaling and accumulation of the result, and a resampler, which in some embodiments uses a First In, First Out (FIFO) memory in conjunction with a sampling timer circuit.

A receiver time signal is converted to a digital word using coarse and fine TDC components. The coarse TDC portion uses a ring oscillator to calculate a coarse estimate of the length of time delay. The fine TDC portion uses a two-dimensional Vernier structure to calculate a fine resolution estimate of coarse measurement error. The system combines the coarse measurement with the fine measurement to calculate the digital time measurement. The system further processes the output word to handle counter rollover, to prepare a result at the proper sampling times for the baseband read circuit, to remove the carrier period offset, and to scale the resulting signal. For an example receiver, the resulting signal is stored in a FIFO and read from the FIFO when needed by a baseband circuit.

In one example embodiment, a coarse measurement circuit measures a coarse measurement of the time period between a first rising edge and a second rising edge of the modulated signal (or a frequency divided or down-converted version thereof). In one non-limiting example, it operates for input periods between <NUM>. 5ns and 5ns. Those periods correspond to input frequencies between <NUM> and <NUM>. The Rx TDC comprises a coarse TDC, a fine TDC, and some digital reconstruction circuits. A coarse and fine structure is used in order to meet the desired range and resolution requirements. In the receiver, the coarse TDC generally takes care of the range, while the fine TDC generally takes care of the resolution.

The coarse TDC provides a first coarse measurement of the input period. For one example embodiment, a coarse TDC resolution is 160ps, and it is based on a ring oscillator-type TDC. At every input rising edge, the system probes the state of the ring oscillator and generates the signals to be passed to the fine TDC circuit. The coarse measurement of the input period is achieved by analyzing the state of the ring oscillator chain and the counters connected to it. Because the ring oscillator in one embodiment avoids resetting during operation, its output corresponds to the accumulation of the sequence of input periods.

The fine TDC provides a finer measurement of the input period and serves as an error measurement of the coarse measurement. In one embodiment, it comprises a two-dimensional Vernier structure. The coarse TDC generates the input signals to be injected into the fine TDC's slow and fast delay lines. The input signals to the fine TDC are (i) the rising edge of the received modulated signal (suitably delayed) and the corresponding output of a coarse TDC ring oscillator element. The fine measurement happens after the coarse measurement has finished. The fine TDC operates on an edge injected into the slow line, which will take longer to propagate than an edge injected into the fast line. Based on where in the corresponding arbiter's grid the edge injected in the fast delay line catches up to the edge injected in the slow delay line, the system calculates the fine TDC value. The system combines the coarse measurement and the fine measurement to obtain the final measurement. In one example embodiment, a receiver's fine measurement circuit uses twelve 50ps delays in the slow line and nine 45ps delays in the fast line. The arbiter matrix uses five Vernier lines to provide a range of 240ps and a resolution of 5ps. The topology of the Rx TDC allows a wide input range (<NUM>. 5ns to 5ns) with a small resolution size (5ps). Each consecutive measurement corresponds to the accumulation of all the input periods up to that moment.

In a further embodiment, the TDC measures the time between a local clock reference and the next rising edge of the modulated signal (or a frequency divided or down-converted version thereof).

As defined in claim <NUM>, a method according to the invention includes: receiving, at a receive phase-to-digital conversion (PDC) circuit, a modulated signal having a carrier frequency;obtaining a phase measurement between the modulated signal and a local clock signal using the PDC circuit;generating a carrier-based phase correction value using a carrier-based phase correction circuit coupled to the PDC circuit by accumulating a phase-correction increment;generating a corrected phase measurement value based on a difference between the phase measurement and the carrier-based phase correction value; and generating a carrier phase measurement by scaling the corrected phase measurement value.

In some embodiments, generating the phase correction increment may be based on (i) a count of periods of the modulated signal occurring between each generation of a corrected phase measurement, and (ii) a difference between the carrier frequency and a frequency of the local clock signal.

With some embodiments, generating the carrier-based phase correction value may be inhibited if a rising edge of the modulated signal does not occur within a timing window.

For some embodiments, obtaining the phase measurement may include: determining a coarse measurement by determining a phase interval of a plurality of phase intervals of the local clock that coincides with a rising edge of the modulated signal; determining a fine measurement error of the coarse measurement; and determining the phase measurement by combining the coarse measurement and the fine measurement error.

In some embodiments, combining the coarse measurement and the fine measurement may include: scaling the coarse measurement by a coarse measurement scaling factor; and scaling the fine measurement error by a fine measurement scaling factor.

With some embodiments, scaling the coarse measurement may convert the coarse measurement from an index of the phase interval to a phase angle value, and scaling the fine measurement may convert the fine measurement error from a time value to phase with respect to the local clock signal.

For some embodiments, determining the phase interval may be determined according to a state of a plurality of ring oscillator elements.

In some embodiments, determining the fine measurement error may include: injecting, into a slow line of two-dimensional Vernier delay elements, a rising edge of the modulated signal; injecting, into a fast line of two-dimensional Vernier delay elements, an output of the ring oscillator associated with the determined phase interval; and determining a fine measurement error using a matrix of arbiters connected between the slow line and fast line.

With some embodiments, generating the carrier phase measurement may include scaling the corrected phase measurement by a multiple of a ratio of the carrier frequency to the frequency of the local clock signal.

For some embodiments, a method may further include preprocessing the modulated signal by reducing the frequency using a harmonic injection ILO.

In some embodiments, a method may further include preprocessing the modulated signal by reducing the frequency using a divider circuit.

With some embodiments, a method may further include preprocessing the modulated signal by reducing the frequency using a mixer circuit.

As defined in claim <NUM>, an apparatus according to the invention includes: an analog receiver circuit configured to receive a modulated signal having a carrier frequency; a phase-to-digital conversion (PDC) circuit coupled to the analog receiver circuit and configured to obtain a phase measurement between the modulated signal and a local clock signal; a carrier-based phase correction circuit coupled to the PDC circuit and configured to generate a carrier-based phase correction value by accumulating a phase-correction increment; a corrected phase measurement circuit coupled to the carrier-based phase correction circuit and configured to generate a corrected phase measurement value based on a difference between the phase measurement and the carrier-based phase correction value; and a carrier phase measurement circuit coupled to the corrected phase measurement circuit and configured to generate a carrier phase measurement by scaling the corrected phase measurement value.

For some embodiments, the carrier-based phase correction circuit may include a lookup table.

In some embodiments, the phase correction increment may be based on (i) a count of periods of the modulated signal occurring between each generation of a corrected phase measurement, and (ii) a difference between the carrier frequency and a frequency of the local clock signal.

For some embodiments, the count of periods of the modulated signal may be used to control a multiplexer to select a table entry storing a multiple of a single period carrier offset value.

With some embodiments, an apparatus may further include an overflow circuit coupled to the corrected phase measurement circuit and configured to inhibit generating the carrier-based phase correction value if a rising edge of the modulated signal does not occur within a timing window.

For some embodiments, the PDC circuit may include: a coarse measurement circuit configured to determine a coarse measurement by determining a phase interval of a plurality of phase intervals of the local clock that coincides with a rising edge of the modulated signal; a fine measurement error circuit coupled to the coarse measurement circuit and configured to determine a fine measurement error of the coarse measurement; and a phase measurement circuit coupled to the fine measurement circuit and configured to determine the phase measurement by combining the coarse measurement and the fine measurement error.

In some embodiments, an apparatus may further include: a coarse measurement scaling circuit coupled to the coarse measurement circuit and configured to scale the coarse measurement by a coarse measurement scaling factor; and a fine measurement scaling circuit coupled to the fine measurement error circuit and configured to scale the fine measurement error by a fine measurement scaling factor.

With some embodiments, the coarse measurement scaling circuit may use the coarse measurement scaling factor to convert the coarse measurement from an index of the phase interval to a phase value, and the fine measurement scaling circuit may use the fine measurement scaling factor to convert the fine measurement error from a time value to phase with respect to the local clock signal.

For some embodiments, the coarse measurement circuit may include a plurality of ring oscillator elements.

In some embodiments, the fine measurement error circuit may include: a first set of one or more inverters forming a first line of delay elements; a second set of one or more inverters forming a second line of delay elements, wherein the first line of delay elements is slower than the second line of delay elements; a matrix of latches equal to the number of inverters in the first line of delay elements times the number of inverters in the second line of delay elements; a set of connections that connect each inverter output in the first line of delay elements to each first latch input in a column of the matrix of latches; and a set of connections that connect each inverter output in the second line of delay elements to each second latch input in a row of the matrix of latches.

With some embodiments, the carrier phase measurement circuit may include a multiplier element configured to scale the corrected phase measurement by a multiple of a ratio of the carrier frequency to the frequency of the local clock signal.

For some embodiments, an apparatus may further include a harmonic injection ILO to reduce the frequency of the modulated signal.

In some embodiments, an apparatus may further include a divider circuit to reduce the frequency of the modulated signal.

With some embodiments, an apparatus may further include a mixer circuit to reduce the frequency of the modulated signal.

The entities, connections, arrangements, and the like that are depicted in-and described in connection with-the various figures are presented by way of example and not by way of limitation. As such, any and all statements or other indications as to what a particular figure "depicts," what a particular element or entity in a particular figure "is" or "has," and any and all similar statements-that may in isolation and out of context be read as absolute and therefore limiting-may only properly be read as being constructively preceded by a clause such as "In at least one embodiment,. " For brevity and clarity of presentation, this implied leading clause is not repeated ad nauseum in the detailed description of the drawings.

In one example embodiment, an Rx TDC covers a large range (several nanoseconds) with a small resolution (<NUM>×<NUM>-<NUM> seconds or 5ps). Various embodiments use a sequence of coarse and fine time measurements to meet the range and resolution usage. Starting with a signal previously processed by other elements of a receive circuit (which will be labeled as the modulated signal), various circuits described herein make a coarse estimate of the period. The circuit makes a fine resolution estimate of the error. The system combines these coarse and fine measurements to arrive at an estimate of the input signal's period. Further processing occurs to convert the time measurement to a phase measurement.

<FIG> is a block diagram of an example polar receiver. A radio frequency signal <NUM> is received by a polar receiver <NUM> and may be amplified by an amplifier <NUM>. The polar receiver <NUM> operates to receive and decode modulated radio-frequency signals, such as signals modulated using phase shift keying (PSK) or quadrature amplitude modulation (QAM). The amplifier's output signal connects to separate paths for amplitude and phase.

The amplitude path starts with an amplitude detector <NUM> such as an envelope detector or a power detector, which operates to provide a signal representing the amplitude of the modulated radio-frequency signal. The amplitude detector <NUM> may operate using various techniques such as, for example, signal rectification followed by low-pass filtering. The amplitude signal goes through an analog-to-digital converter (ADC) <NUM>. The ADC operates to generate a series of digital amplitude signals representing the amplitude of the sampled radio-frequency signal. In some embodiments, ADC <NUM> samples the amplitude of the modulated radio-frequency signal at <NUM> Msps. The ADC's output is stored in a circular buffer <NUM>. Samples stored in the circular buffer are read and delayed via a fractional delay filter <NUM> and outputted as amplitude sample Ai <NUM>.

The polar receiver <NUM> is provided with frequency division circuitry <NUM>. In addition, a limiter circuit (not shown) may be used to remove any amplitude information from the signal but which preserves the phase information. In some embodiments, and ILO may be used to remove the amplitude information. The frequency division circuitry has an input for receiving the sampled radio-frequency input signal from the buffer <NUM> and a frequency-divided output for providing a frequency-divided output signal to a trigger input of a time-to-digital converter (TDC) <NUM>. The frequency division circuitry operates to divide the frequency of the input signal by a frequency divisor. In some embodiments, the frequency division circuitry can be implemented using a harmonic injection-locked oscillator, a digital frequency divider, or a combination thereof, among other possibilities. The frequency division circuitry <NUM> also acts as an amplitude normalization circuit.

For the phase path, the amplifier's output connects to frequency division circuitry <NUM> that divides the frequency (by <NUM> in one embodiment). The frequency division output signal goes into the time-to-digital (TDC) <NUM> to calculate a digital time output. The time-to-digital converter <NUM> operates to measure a characteristic time of the frequency-divided signal, such as the period of the frequency-divided signal. The time-to-digital converter <NUM> may operate to measure the period of the frequency-divided signal by measuring an elapsed time between successive corresponding features of the frequency-divided signal. For example, the time-to-digital converter may measure the period of the frequency-divided signal by measuring a time between successive rising edges of the frequency-divided signal or the time between successive falling edges of the frequency-divided signal. In alternative embodiments, the time-to-digital converter may measure a characteristic time other than a complete period, such as an elapsed time between a rising edge and a falling edge of the frequency-divided signal.

In some embodiments, the time-to-digital converter <NUM> operates without the use of an external trigger such as a clock signal. That is, the time-to-digital converter <NUM> measures the time between two features (e.g., two rising edges) of the frequency-divided signal rather than the time between an external trigger signal and a rising edge of the frequency-divided signal. Because the start and end of the time period measured by the time-to-digital converter <NUM> are both triggered by the frequency-divided signal, rather than an external clock signal, the time-to-digital converter <NUM>, is referred to as a self-triggered time-to-digital converter. In the example of <FIG>, the self-triggered time-to-digital converter <NUM> provides a digital time output that represents the period of the frequency-divided output signal.

The carrier period offset (T) is subtracted from the digital time output by adder <NUM>. The offset digital time output is thus at or near zero when no shift is occurring in the phase of the frequency-divided signal. When a phase shift does occur in the sampled radio-frequency signal (a phase-modulated or frequency modulated carrier signal), this results in a temporary change in the period of the sampled radio-frequency signal, which in turn causes a temporary change in the period of the frequency-divided signal. This temporary change in the period of the frequency-divided signal is measured as a temporary change in the digital time output (and in the offset digital time output). In some embodiments, the offset digital time output is at or near zero during periods when the phase of the modulated radio-frequency signal remains steady, while a shift in the phase of the modulated radio-frequency signal results in the offset digital time output signal briefly taking on a positive or negative value, depending on the direction of the phase shift.

The offset digital time output may be scaled by a scaling factor via a multiplier <NUM>. The scaled digital time signal (or offset digital time output in some embodiments) is accumulated by adder <NUM> and register <NUM>. The digital integrator generates an integrated time signal. The register <NUM> may be clocked using the frequency-divided signal, resulting in an addition per cycle of the frequency-divided signal. In embodiments in which the offset digital time output signal represents a change in the phase of the sampled radio-frequency signal, the integrated time signal provides a value that represents the current phase of the sampled radio-frequency signal.

The accumulated value goes through another register <NUM> to be read at the appropriate time based on the input pulse <NUM>. In some embodiments, the register <NUM> operates to sample the integrated time signal at <NUM> Msps, although other sampling rates may alternatively be used. The output is a phase sample ψi <NUM>. In the embodiment of <FIG>, frequency division circuitry <NUM>, TDC <NUM>, subtractor <NUM>, multiplier <NUM>, adder <NUM>, and registers <NUM> and <NUM> operate as a phase detection circuit operative to generate a series of digital phase signals representing the phase of the sampled signal.

<FIG> is a block diagram of the processes executed to convert a time to a digital value and further calculate a phase of the original modulated signal. The frequency division output signal <NUM> corresponds to the input signal into the TDC block <NUM> shown on <FIG>. In other embodiments, a frequency division operation is not used. The frequency division output signal is the input to the coarse TDC measurement block <NUM>. The circuit calculates a coarse estimate of the elapsed time between a coarse measurement start signal and a coarse measurement stop signal. This coarse estimate may include an error amount due to the quantization size of the coarse measurement. The fine TDC measurement block <NUM> calculates an estimate of the error, and this error value is subtracted from the coarse measurement value with the coarse + fine measurement calculation <NUM>. The digital time output goes into the digital time output calculation block <NUM> to check for wrapping of the value based on the maximum counter values used in the coarse measurement calculations. The system uses the output of this check to perform the <NUM> baseband synchronization calculation <NUM>. The polar receiver <NUM> uses phase calculations at certain times, and the <NUM> baseband synchronization calculation compares the digital time output to a reference value corresponding to the <NUM> baseband period. The output of the <NUM> baseband synchronization calculation (integrated time output enable) is used to determine the appropriate time to read the integrated time signal <NUM>. The offset digital time output calculation <NUM> subtracts the carrier period offset from the digital time output. The offset digital time output is scaled by the scaling calculation <NUM>. The scaled digital time signal is accumulated by the accumulator circuitry <NUM>. The integrated time signal <NUM> is read at the appropriate time based on the integrated time output enable.

<FIG> is the block diagram of an example coarse measurement circuit. The coarse estimate starts with a ring oscillator. <FIG> is an example embodiment where the ring oscillator contains nine inverting elements. Noting the inverse relationship between frequency and time, the ring oscillator's oscillation frequency is: <MAT>.

where tdelay element is the delay of one of the nine elements of the ring oscillator. For some embodiments, the coarse measurement circuit may be a ring oscillator circuit with seven inverting elements. The oscillation frequency of the ring oscillator may be calculated as shown below for some embodiments: <MAT> where tdelay element is the delay of one of the seven elements of the ring oscillator.

A modulated signal with a first and second rising edge is received at the input node <NUM>. The first and second rising edge signals are elements of the modulated signal. At each rising edge, the TDC circuit latches the output values of each element forming a ring oscillator. Each element in the ring oscillator outputs an inverted version of its input signal. When the input changes state, it takes time for the output to reflect that change. The location of the propagation edge in the ring oscillator is the inverter stage where the input and output are in the process of moving to opposite states. The system counts the number of complete oscillations of the ring and combines it with the present state of the ring oscillator to calculate a coarse estimate of the period of the modulated signal. One example method to determine generally complete oscillations of the ring is to increment a counter each time a particular inverter changes state. This specification discusses in later sections both determination of complete oscillations of the ring and calculation of a coarse estimate. The resolution of the coarse estimate for one example embodiment is the length of delay of an inverter stage because the coarse estimate circuit does not probe into the internal circuit of the inverter.

Choosing the delay for each element of the ring oscillator to be a power of <NUM> times the fine TDC resolution may reduce the number of digital logic components used to combine the coarse and fine measurements. Minimizing the fine TDC's range may decrease power consumption. The delay of each element of the ring oscillator also sets the minimum range of the fine TDC. The fine TDC typically consumes more power than the coarse TDC, though for some embodiments, the fine TDC may consume less power than the coarse TDC. Picking a larger delay for each element in the ring oscillator may reduce the number of ring oscillator stages. Using a lower oscillation frequency may reduce power consumption. Also, picking a lower oscillation frequency allows the coarse TDC control logic to settle earlier in the ring oscillator cycle. Limiting the number of elements may reduce logic complexity and save circuit board layout space.

For one example receiver, these constraints and other factors (for example, cost and availability) led to a choice of Tdelay element equal to <NUM><NUM> * 5ps, which equals <NUM> * 5ps or 160ps. Hence, the frequency of the ring oscillator (fRO) became <NUM>.

<FIG> example embodiment connects the output of each ring oscillator inverter <NUM> to <NUM> into a D-flip-flop <NUM> to <NUM>. The circuit uses the D-flip-flop outputs to store the state of each stage of the ring oscillator when the modulated signal has a rising edge. The circuit uses as the pulse-propagating inverter the inverter having a non-inverted latched output value. Depending on whether the ring oscillator is in the first half of an oscillation or the second half, the inverter of the ring's propagation stage may have its input and output both low or both high.

The example receiver circuit uses three counters <NUM> to <NUM> to record complete oscillations of the ring. Each of these counters connects to the output of a different stage in the ring. Because the rising edge of the modulated signal is asynchronous to the ring oscillator, the rising edge may arrive at any moment. Such an edge may occur at the same moment a ring oscillator stage counter updates. Using three counters makes sure a counter not in the process of updating will have enough settle time before probing it. One example embodiment uses the counter of a desired stage within the ring and two back-up counters two stages before and two stages after the desired measurement stage. Using counters positioned two delays apart allows the system to use stage outputs that will be in the same state after the propagation edge passes through both stages. Such a configuration ensures that at least two of the counters will be in the same state. The logic circuit for an example receiver picks which counter to use based on the location of the ring oscillator's propagation edge signal. If the propagation edge of the ring oscillator is currently at the same position as the desired counter, the logic uses one of the other two counters. Another example method may use a counter's value as the number of complete oscillations of the ring oscillator if it matches at least one other counter. Yet another example method may use a desired counter unless the propagation edge of the ring oscillator is at the same location of the desired counter or one position prior, in which case the system may use the back-up counter.

One embodiment may use two counters to count the number of complete oscillations of the ring oscillator. For this embodiment, a first counter is incremented when an output of a first inverter of the ring oscillator changes state. Likewise, a second counter is incremented when an output of a second inverter of the ring oscillator changes state. The circuit selects a count value from either the first or second counter based on the location of the pulse-propagating inverter in relation to the first and second inverters.

Using the position of the edge inside the ring oscillator, the system decides which of the three counters to use. For an example receiver, the counter at O1 (oscillator <NUM>) has a count one more than the other two because its count is incremented as soon as the ring oscillator is enabled. If the edge is in the second half of the oscillation ring, the system may use the O1 counter <NUM> because the O1 counter has settled correctly. If the edge is in the first half of the oscillation ring, the system may use the <NUM> counter because the <NUM> counter has settled correctly. An exception occurs when the edge starts another oscillation and its position is <NUM>. That position may be considered the first half of the oscillation, but sometimes the advanced counter (<NUM>) <NUM> lacks enough time to settle. In those situations, the system selects the delayed counter (O1), but the +<NUM> count may not be removed. Other embodiments may use different stage counters without changing the general principles.

Using ongoing counters avoids resetting the circuit after each coarse measurement. Each time a measurement is made, there is an error. Embodiments that accumulate the results in subsequent signal processing may accumulate those errors over a long time may become a large error and too big for the system to handle. Using a ring oscillator with ongoing counters allows the errors to cancel each other over a long period of time. The measurement error connects back directly into the system, and each new measurement remains within the resolution boundaries.

For some embodiments, a coarse phase measurement may be determined by determining a phase interval of a plurality of phase intervals of a local clock that coincides with a rising edge of a received modulated signal. A fine phase measurement error may be determined to be the error in the coarse measurement. A phase measurement may be obtained as the difference between the coarse phase measurement and the fine phase measurement error. For some embodiments, a phase interval may be determined according to a state of a plurality of ring oscillator elements. A coarse measurement circuit may include a plurality of ring oscillator elements.

For some embodiments, if the coarse TDC circuit takes a measurement, each of the ring oscillator's stages may be sampled to determine which two successive stage's D-flip-flop is in the same state, indicating that the corresponding stage of the ring is in transition. This determination is performed by control logic <NUM> based on D flip-flop (<NUM>-<NUM>) output signals Q0-Q8 in <FIG>, or, in the embodiment shown in <FIG> by MUX control logic <NUM> based on the ring oscillator phases <NUM> latched by D flip-flops <NUM>. A phase measurement corresponding to the second D-flip-flop is used to generate a coarse phase measurement. In some embodiments, for nearly every rising edge of the Rx input signal, the ring oscillator is probed, and the signals to be sent to the fine time to digital conversion (FTDC) circuit are generated. Some rising edges of the Rx input signal may be skipped to maintain synchronization or to allow the TDC circuit to reset. The CTDC circuit also may generate start and stop signals for the FTDC circuit and increment a counter for how many RX input signal rising edges have been skipped (which may be denoted as "C<<NUM>:<NUM>>" or "C<<NUM>:<NUM>>"). The CTDC circuit may also determine in which of two cycles of the ring oscillator <NUM> clock that a rising edge of the Rx input signal arrived (which may be communicated via a "B" signal).

Generating input signals for the fine measurement takes time for the control logic to read and process the state of the ring oscillator. When the modulated signal arrives with a rising edge, an example receiver changes the D-flip-flop outputs to match the output signal for each stage of the ring oscillator. A signal corresponding to a received modulated signal also goes through delay elements <NUM> to <NUM> corresponding to the circuit's processing time for determining the location of the propagating edge in the ring oscillator circuit. The signal corresponding to the modulated signal goes through six inverters <NUM> to <NUM> that correspond to the delay of six stages in the ring oscillator. The fine measurement circuit uses as its fine measurement start signal the modulated signal delayed through six inverters (<NUM> to <NUM>), a multiplexer <NUM>, and associated signaling components (<NUM>, <NUM>, and <NUM>). For the fine measurement stop signal, the receiver uses the ring oscillator inverter output signal for six stages past the location of the propagation edge. The fine measurement circuit uses a multiplexer <NUM> to pick the appropriate ring oscillator inverter stage output signal for the fine measurement stop signal. The fine measurement stop signal propagates through a set of signaling components (<NUM>, <NUM>, and <NUM>) similar to the fine measurement start signal. The fine resolution measurement calculates the difference between the fine measurement start and stop signals.

In one embodiment, the fine measurement start signal for a Vernier comparator circuit is the rising edge of the modulated signal. The fine measurement stop signal is selected to provide a delayed coarse measurement signal to a Vernier comparator circuit using a control logic circuit and a multiplexer. In one embodiment, the control logic circuit controls the multiplexer to select a comparator located a predetermined number of delay elements past the pulse-propagating inverter. In one embodiment, initiating the Vernier comparator circuit using the rising edge of the delayed coarse measurement signal comprises delaying the rising edge signal by using a multiplexer and a predetermined number of delay elements.

For example, if the ring oscillator state corresponds to the propagation edge being inside stage one, using control logic <NUM>, a delay <NUM>, a NAND gate <NUM>, and a multiplexer <NUM>, the circuit selects the ring oscillator element corresponding to stage seven (six stages later). The output signal of multiplexer <NUM> is the fine measurement stop signal <NUM>. The circuit also delays the coarse measurement start signal six stages to create the fine measurement start signal <NUM>. An example receiver delays the modulated signal six delay stages to put the fine measurement start signal <NUM> in the proper time frame for use with the fine measurement stop signal <NUM>. Both signals go through matched components prior to propagating through the fine measurement circuit. For one example receiver, those components are a multiplexer (<NUM> and <NUM>), an XOR gate (<NUM> and <NUM>), a delay element (<NUM> and <NUM>), and a D-flip-flop (<NUM> and <NUM>), as shown in <FIG>. The delayed coarse measurement signal is processed by a delay element and an XOR gate to generate a trigger upon either a rising edge or a falling edge of the delayed coarse measurement signal. The delay element (<NUM> and <NUM>) and the XOR gate (<NUM> and <NUM>) create short pulses for the fine measurement start and stop signals. The short pulses connect into the clock signals of D-flip-flops (<NUM> and <NUM>). The D-flip-flops output high signals as long as the associated enable signal is high and reset signal is low. Hence, the fine measurement start and stop signals <NUM> and <NUM> are edge signals.

<FIG> is a graphical example of how the fine measurement two-dimensional Vernier works. The system uses the two-dimensional Vernier circuit to estimate the error of the coarse measurement. It uses two sets of delay lines: one fast delay line and one slow delay line. One embodiment uses a set of one or more inverters <NUM> to <NUM> for each of these delay lines. The fine measurement start signal progresses through the slow line, while the fine measurement stop signal travels through the fast line. For an example receiver, a matrix of SR latches compares the delay line intersections of interest. For one embodiment, the matrix's size is equal to the number of inverters in the fast delay line times the number of inverters in the slow delay line. Using an SR latch as the arbiter, each fast line inverter output is connected to the S input for a row of SR latches in the matrix. Each slow line inverter output is connected to the R input for a column of SR latches in the matrix. Each SR latch outputs a high signal if the S input goes high while the R input stays low. When no edge is propagating through the delay lines, all delay cell outputs stay low, and all arbiter outputs remain high. This configuration means that the output of the arbiter goes high when the associated fast line pulse arrives at the arbiter before the associated slow line pulse. The fine TDC circuit detects this condition where the fast line pulse arrives first. When the second rising edge reaches the arbiter, its output is on hold and the result is not affected. Resetting the delay lines also resets the arbiters.

In one embodiment, calculation of the fine resolution measurement of the coarse measurement error comprises propagating a rising edge of the modulated signal (fine measurement start signal) through a first line of delay elements. The delayed coarse measurement signal (fine measurement stop signal) propagates through a second line of delay elements, where the first line of delay elements is slower than the second line of delay elements. A matrix of arbiters form a two-dimensional Vernier structure. Using the matrix of arbiters, a fine measurement point is determined to be a smallest arbiter location at which the fine measurement stop signal arrives at the arbiter location before the fine measurement start signal. An arbiter location identifier is calculated as the time difference for a signal to propagate through the corresponding portion of the first line of delay elements and the corresponding portion of the second line of delay elements. A first arbiter location is determined to be smaller than a second arbiter location if the first arbiter's time difference is smaller than the second arbiter's time difference. One embodiment outputs the fine resolution measurement as the fine measurement point.

One example receiver uses a two-dimensional Vernier structure <NUM> as shown in <FIG>. The receiver's two-dimensional Vernier structure uses twelve slow delay elements <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM> and <NUM> (each with 50ps of delay), nine fast delay elements <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, and <NUM> (each with 45ps of delay), five Vernier lines, and forty-nine arbiters.

The fast delay line uses inverters with a shorter delay than the inverters used in the slow delay line. For one example receiver, the fast delay line uses inverters <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, and <NUM> with a delay of 45ps. The slow delay line uses inverters <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM> and <NUM> with a delay of 50ps. At each intersection of interest in <FIG>, there is a value written as a multiple of R. The letter "R" represents the difference in delay for one delay element from the fast delay line and one delay element from the slow delay line. For one example receiver, the difference between these values is 5ps (50ps minus 45ps). Hence, for the receiver, R is 5ps. The values shown at the intersections of interest range from zero to 48R. Replacing the R with a value of 5ps, <FIG> two-dimensional Vernier structure may resolve measurement errors from zero (0R) to 240ps (48R).

Consider the intersection near the center of <FIG> that says "24R. " The inputs to the SR latch that correlates to this intersection travel through six elements of delay on the slow delay line and four elements of delay on the fast delay line. For one example receiver embodiment, the slow delay line input experiences a delay of <NUM> * 50ps = 300ps. The fast delay line input experiences a delay of <NUM> * 45ps = 180ps. The difference between these values is 120ps. Dividing this value by 5ps (the value for R), produces a value of 24R. One calculates the values shown at the intersections of interest in <FIG> using calculations similar to the ones shown in this example.

At each intersection shown with an "R" label on <FIG>, there is an arbiter circuit to determine if the signal from the slow delay or the signal from the fast delay line propagated through the location first. <FIG> is one embodiment of such an arbiter circuit. The fast delay line at an arbiter location connects to an S input, which connects to NAND gate <NUM>. The slow delay line at an arbiter location connects to an R input, which connects to NAND gate <NUM>. The output of NAND gate <NUM> connects as an input to NAND gate <NUM> and as input to amplifier <NUM>. Likewise, the output of NAND gate <NUM> is an input to NAND gate <NUM>. The output of the amplifier is a signal Q.

When S is the low state ("<NUM>") and R is in the high state ("<NUM>"), Q is in the high state ("<NUM>"). When both S and R are in the high state, Q retains the same value it had previously. If S is high and R is low, Q is in the low state. With no rising edge propagating through either the fast or slow delay lines, both S and R equal <NUM>, so Q starts as a <NUM>. If the rising edge of the slow delay line arrives first at the arbiter location, the arbiter output Q stays as a <NUM>. If the rising edge of the fast delay arrives first at the arbiter location, the arbiter output Q changes to a <NUM>.

To further explain how the two-dimensional Vernier structure works, consider an example where the edges for the fine measurement start and stop signals differ by 194ps. For the 38R intersection, the fine measurement start signal going through the slow delay line travels through eleven slow delay elements, which corresponds to a delay of 550ps (<NUM> * 50ps). The fine measurement stop signal going through the fast delay line travels through eight fast delay elements, which corresponds to a delay of 360ps (<NUM> * 45ps). The difference in these two lines corresponds to 190ps (550ps minus 360ps). The slow delay line propagation edge beats the fast delay line propagation edge to the input of the arbiter (an SR latch for an example receiver), and the arbiter's output for 38R remains high.

For the 39R intersection, the fine measurement start signal going through the slow delay line travels through eleven slow delay elements, which corresponds to a delay of 600ps (<NUM> * 50ps). The fine measurement stop signal going through the fast delay line travels through nine fast delay elements, which corresponds to a delay of 405ps (<NUM> * 45ps). The difference in these two lines corresponds to 195ps (600ps minus 405ps). The fast delay line propagation edge arrives prior to the slow delay line propagation edge at the input of the arbiter, and the arbiter's output for 39R goes low. For the 40R and higher intersections, the fast delay line propagation edge arrives prior to the slow delay line propagation edge at the input of the arbiter, and each of those arbiter outputs also goes low.

For some embodiments, the fast delay line may have <NUM> delay elements with 75ps of delay for each element, corresponding to a total delay of 1200ps (<NUM> * 75ps). The slow delay line, with some embodiments, may have <NUM> delay elements with 80ps of delay for each element, corresponding to a total delay of 1440ps (<NUM> * 80ps). A two-dimensional Vernier delay structure may be used to resolve errors in multiples of R from <NUM> to <NUM> for R equal to 5ps. Restated, the <NUM>-D Vernier delay structure may be used to resolve errors in multiples of 5ps from 5ps to 315ps with some embodiments.

Some embodiments for determining a fine measurement error may include injecting, into a slow line of two-dimensional Vernier delay elements, a rising edge of the modulated signal and injecting, into a fast line of two-dimensional Vernier delay elements, an output of the ring oscillator associated with the determined phase interval (a signal associated with the D-flip-flop in a state of transition). A fine measurement error may be determined using a matrix of arbiters connected between the slow line and fast line. A fine measurement point is a smallest arbiter location in which the coarse measurement signal propagating through the fast line of delay elements arrives at the fine measurement point before the rising edge of the coarse measurement signal propagating through the slow line of delay elements. A fine measurement error may be outputted corresponding to the fine measurement point.

A fine measurement error circuit, for some embodiments, may include a first set of one or more inverters forming a first line of delay elements, and a second set of one or more inverters forming a second line of delay elements, with the first line of delay elements being slower than the second line of delay elements. The fine measurement error circuit also may include a matrix of latches equal to the number of inverters in the first line of delay elements times the number of inverters in the second line of delay elements. A set of connections may connect each inverter output in the first line of delay elements to each first latch input in a column of the matrix of latches, and a set of connections may connect each inverter output in the second line of delay elements to each second latch input in a row of the matrix of latches. The matrix of latches may be used as the matrix of arbiters to determine the fine measurement point.

An example arbiter circuit (shown in <FIG>) is used at each arbiter location. A Vernier two-dimensional structure circuit compares each arbiter location output with a low state and stores the lowest difference location (lowest multiple of R) where the fast delay line propagation edge signal arrived at the corresponding arbiter input before the slow delay line propagation edge signal. The system uses this lowest difference amount as the fine measurement.

The fine TDC resets after each measurement. When the edge propagating into the slow delay line reaches the end of the line, a reset pulse is generated. The reset pulse brings the fine measurement start and stop signals low, which propagates along the slow and fast lines. At the same time, this operation resets the arbiters.

<FIG> is a block diagram of one embodiment of digital logic used to reconstruct the period of the TDC input from the coarse and fine measurements. The example coarse TDC circuit uses three counter outputs (<NUM>, <NUM>, and <NUM>) that connect as three counter signals <NUM> to three D-flip-flops <NUM>. The output of each D-flip-flop connects to the counter value logic block <NUM>. The counter value logic block outputs a coarse measurement and connects it to a D-flip-flop <NUM>. The D-flip-flop's output connects to the coarse measurement logic block <NUM>. The D-flip-flops create pipelined stages to provide for additional processing time, in other embodiments, pipeline stages are not used.

Nine D-flip flop outputs, stored as a nine-bit ring oscillator register value <NUM>, hold the state of each stage in the ring oscillator. The nine-bit ring oscillator outputs register <NUM> connects to a D-flip-flop <NUM>. The output of the D-flip-flop <NUM> connects to the edge position logic block <NUM>. The edge position logic block calculates the location of the propagating edge in the ring oscillator circuit. The output of the edge position logic block connects to the counter value logic block <NUM> and to a D-flip-flop <NUM>. The output of the D-flip-flop connects to the logic block <NUM>.

The coarse measurement logic block <NUM> calculates the coarse measurement of the input period <NUM> and uses this value as the input to D-flip-flop <NUM>. The output of the D-flip-flop is used as an input to the overall measurement logic block <NUM>. The fine TDC measurement <NUM> is the input to D-flip-flop <NUM>. The output of the D-flip-flop is an input to the overall measurement logic block <NUM> that calculates the overall measurement of the input period. The overall measurement of the input period is used as an input to a D-flip-flop <NUM>. The output of the D-flip-flop is the digital time measurement <NUM>.

Using the position of the edge and the correct counter output, the coarse measurement is obtained. For one example receiver, the ring oscillator contains <NUM> stages and <NUM> delay elements in a full oscillation cycle. Hence, the coarse TDC measurement is calculated as: <MAT>.

The coarse TDC measurement is calculated as the time of a measured amount of complete oscillations of the ring (<NUM> * Cfinal) plus a current propagation time (Dfinal).

The resolution of the coarse TDC is 160ps, which is <NUM> times the fine TDC resolution. Hence, the digital time measurement is: <MAT>.

A digital time measurement (TDCOUTPUT) is calculated as a coarse measurement count ratio (<NUM>) times the coarse measurement time (Tcoarse) minus the fine resolution measurement (Tfine) plus a calibration correction factor (Corr). The calibration correction factor depends on which edge the coarse TDC used to compute its value. Rising and falling edges have slightly different delays within the several gates, so a correction is applied to obtain an accurate result.

The predetermined number of delay elements equals the maximum coarse measurement logic processing time divided by a unit delay time of a ring oscillator delay element. For one example receiver, the predetermined number of delay elements is six. The multiplexer input select value equals the pulse-propagating inverter's stage position plus the predetermined number of delay elements. The multiplexer input select value is decremented by the total number of ring oscillator elements if the multiplexer input select value exceeds the total number of ring oscillator inverters. The coarse measurement count ratio is the unit delay time divided by the difference of a Vernier slow delay element and a Vernier fast delay element. For one example receiver, the coarse to fine measurement count ratio is <MAT>.

<FIG> is a functional block diagram that shows the circuit blocks for calculation of the phase of the modulated signal based on the digital time measurement. The output of <FIG> for one example receiver is a <NUM>-bit digital time measurement. This value serves as the input for <FIG>. The first circuit block <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, and <NUM> (digital time difference circuit) subtracts the previous digital time measurement from the present digital time measurement to calculate a period difference value. Circuit block <NUM> shows this calculation. If the previous digital time measurement exceeds the present digital time measurement, the digital time measurement wrapped past the maximum value. In such a situation, the circuit adds a counter wrapping value to the present digital time measurement and subtracts the previous digital time measurement. Circuit blocks <NUM>, <NUM>, and <NUM> show these calculations. The circuit in <FIG> delays one stage period the output of this difference calculation via, for example, a D-Flip-flop <NUM>. For one example circuit, logic components <NUM> to <NUM> perform these comparisons and delay functions. For one example receiver, the wrap-over value is <NUM>. To calculate this limit, take the coarse counters' <NUM> possible values (<NUM><NUM>) times the <NUM> ring-oscillator stages times the coarse to fine measurement resolution ratio, <NUM>. The result of this first circuit block is a period difference signal that is a difference in successive digital time measurements.

The second circuit block <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, and <NUM> (baseband output time circuit) handles the baseband signal's <NUM> read rate. The circuit block uses a feedback loop to add successive outputs of the first circuit block. If the successive additions exceed the output time threshold (<NUM>), the output time threshold is subtracted from the feedback value and an output write signal goes high two stage periods later. The receiver uses the digital time output to reconstruct a <NUM> timeline. The output time threshold (<NUM>) corresponds to a <NUM> read period with a 5ps digital time output resolution value ( <MAT>). Every time the sum of consecutive periods exceeds <NUM> (output time threshold), the baseband circuit samples the value. When such a condition occurs, the integrated time output enable <NUM> goes high two stages later, indicating an output time to write the phase of the modulated signal, the integrated time signal <NUM>.

The third circuit block <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, and <NUM> of <FIG> (offset digital time output circuit) handles subtracting a carrier period offset T from the first circuit block's output (digital time output) and scaling the result. The carrier period offset circuit subtracts off the carrier period offset for the offset digital time output calculation. The carrier period offset, T, is calculated as (fc is the carrier frequency): <MAT>.

The scaling circuit scales the offset digital time output to the desired level. The coarse TDC circuit accumulates the scaled digital time signal so that its error stays within the fine TDC measurement resolution. The scaling factor is calculated as: <MAT>.

The factor <NUM> is because the phase 2π is mapped to <NUM> bits. An accumulating circuit accumulates a value as the final output of the phase demodulator circuit. The offset digital time output calculation and post-processing delay may be performed by circuit components <NUM> and <NUM>. Scaling and post-processing delay may be performed by circuit components <NUM>, <NUM>, and <NUM>. Accumulation of the scaled digital time signal and post-processing delay may be performed by circuit components <NUM> and <NUM> to output the integrated time signal <NUM>.

One example receiver embodiment uses a FIFO to handle the baseband signal's <NUM> read clock being asynchronous with the TDC circuit's output write clock of up to <NUM>. The TDC circuit writes successive output values to a FIFO using a clock (TDC input signal) of up to <NUM> at a rate set by the integrated time output enable signal <NUM>, while the baseband circuit reads values at a rate of <NUM>.

<FIG> is a method for calculating the phase of a modulated signal. The TDC method <NUM> via a reception process <NUM> receives a signal, which in some embodiments is a frequency division output signal. A course measurement process <NUM> uses the modulated signal to calculate a coarse measurement for the time to digital value conversion. The coarse measurement process <NUM> uses a ring oscillator of the TDC circuit to obtain a coarse measurement for the period between a first and a second rising edge of the modulated signal. A fine measurement process <NUM> calculates a fine measurement of the error in the coarse measurement. The fine measurement process <NUM> uses a Vernier comparator circuit of the TDC circuit to obtain a fine resolution measurement of a coarse measurement error. A combination process <NUM> combines the coarse and fine measurements to obtain a digital time measurement. A phase determination process <NUM> uses the digital time measurement to obtain the phase of the modulated signal.

<FIG> is a schematic diagram illustrating an example receiver circuit <NUM> according to some embodiments. A modulated signal may be received by an antenna <NUM>, which may be connected in some embodiments to a low noise amplifier (LNA) <NUM>. The output of the LNA <NUM> may be connected to a buffer <NUM> and split into two lines of components to extract amplitude and frequency/phase information. For the frequency line of components, the received modulated signal may be processed by a harmonic injection lock oscillator (ILO) <NUM>, thereby reducing the frequency of the received signal. The output of the harmonic ILO <NUM> may be connected to the inputs of a tunable delay <NUM>, a divide-by-<NUM> element <NUM>, and a divide-by-<NUM> element <NUM> for some embodiments. The output of the tunable delay <NUM> may be connected to an input of a divide-by-<NUM> element to divide the frequency in half. The halved frequency signal may be mixed using a mixer component <NUM> with the modulated signal outputted by the buffer <NUM> for the amplitude line of components. The output of the mixer <NUM> may be filtered by a low pass filter (LPF) <NUM> to remove higher frequency components. The output of the LPF <NUM> may be received by an input to the analog-to-digital (ADC) <NUM> to convert the signal into a digital word representing the amplitude of the modulated signal. The output of the ADC <NUM> is aligned with the phase component of the modulated signal by an amplitude and phase alignment circuit <NUM> to align amplitude and phase components of the modulated signal. The output of the amplitude and phase alignment circuit <NUM> may be connected to the CORDIC <NUM>.

Various circuits may be used to convert the modulated signal to a lower frequency for further processing. Some embodiments may have a divide-by-<NUM> circuit that includes a divide-by-<NUM> component <NUM>. Some embodiments may have a divide-by-<NUM> circuit that includes a divide-by-<NUM> component <NUM>, a mixer component <NUM>, and another divide-by-<NUM> component <NUM>. Some embodiments may have a divide-by-<NUM> circuit that includes a divide-by-<NUM> component <NUM>, a divide-by-<NUM> component <NUM>, a mixer component <NUM>, and another divide-by-<NUM> component <NUM>, and a multiplexer (MUX) <NUM> to select an output of a divide-by-<NUM> circuit. For a divide-by-<NUM> circuit that includes a divide by <NUM> component, the frequency and phase components of the received signal are divided by <NUM>. With some embodiments of a divide-by-<NUM> circuit, the frequency and phase components of the received signal are divided by <NUM> by a divide-by-<NUM> component <NUM>. A frequency oscillator <NUM> may be used to generate a <NUM> signal, which may be divided in half by a first divide-by-<NUM> component <NUM>. The output of the first divide-by-<NUM> component <NUM> may be mixed with the output of a second divide-by-<NUM> component <NUM> using a mixer <NUM>. Use of a mixer may be used to alter the frequency component and preserve the phase component because a mixer shifts the frequency but does not change the phase. The output of the divide-by-<NUM> circuit (which may be the output of a MUX <NUM> for some embodiments) may be received by a coarse time-to-digital conversion (CTDC) circuit <NUM>. For some embodiments, the modulated signal may be processed to reduce the frequency using a divider circuit, such as a divide-by-<NUM> component <NUM>, for example. For some embodiments, the modulated signal may be processed to reduce the frequency using a mixer circuit, such as a mixer <NUM>, for example.

For some embodiments, one or more of the following two types of frequency reduction may be used: (<NUM>) physically dividing the input signal with a frequency divider component, and (<NUM>) mixing an input signal with another frequency (such as a local oscillator (LO)) signal. Some embodiments may use an ILO to harmonically lock the frequency of the received signal. A second-harmonic or fourth-harmonic ILO may be used. The ILO output may be divided by a physical divide by <NUM> circuit. Some embodiments may divide the frequency by <NUM>. Some embodiments may divide the frequency of the ILO output by <NUM> and mix the divided output with a <NUM> signal. Some embodiments may divide the frequency by <NUM> using a physical divide-by-<NUM> circuit and a mixer.

If the frequency is divided with a physical divider component, the phase also is divided. Using a mixer to mix an input signal with a sinusoidal signal may change the frequency but the phase is not changed (or divided). The spectrum (the bandwidth) of the input signal may be the same as the output signal for a mixer for some embodiments. With some embodiments, a divide by <NUM> circuit may have a resolution of 5ps for the divided output signal. If the divided signal is later multiplied by <NUM>, and the resolution may become 40ps.

The CTDC circuit <NUM> may include a ring of components forming a ring oscillator, or in an alternative embodiment, a system clock having multiple phases may be used by the CTDC. The CTDC determines a coarse measurement of a phase measurement between the modulated signal and a local clock signal (or ring oscillator). For some embodiments, the local clock signal may be a <NUM> signal, and the modulated signal may be between <NUM> to <NUM> (or <NUM> to <NUM> for some embodiments). The CTDC circuit <NUM> may receive an output of the <NUM> ring oscillator component <NUM>. The output of the CTDC circuit <NUM> may be used by a fine time-to-digital (FTDC) circuit <NUM> to determine a fine measurement error. The processing logic circuit <NUM> may combine the coarse measurement and the fine measurement error to generate a phase measurement. A carrier-based phase correction value may be subtracted from the phase measurement to generate a corrected phase measurement. The corrected phase measurement may be scaled to generate a carrier phase measurement, which may be received by the CORDIC <NUM>. The CORDIC <NUM> may receive the outputs of the amplitude and the frequency/phase lines of components to generate in-phase (I) <NUM> and quadrature (Q) <NUM> components of the modulated signal.

<FIG> is a schematic diagram illustrating an example frequency processing circuit <NUM> of a receiver according to some embodiments. The circuit of <FIG> provides a number of alternative signal processing paths that may be used to select a desired frequency division and/or down-conversion factor. In some embodiments, a single processing path may be provided where less configurability is desired. An input modulated signal <NUM> may be injected into an injection-locked oscillator <NUM> to reduce the frequency of the input signal. For some embodiments, the frequency-reduced signal may be inputted into a first buffer <NUM> and a second buffer <NUM>. The output of the first buffer <NUM> may be logically AND-ed with a reset signal <NUM> using a logic AND gate <NUM>. The frequency of the AND gate's <NUM> output signal may be divided by a series of divide-by-<NUM> components <NUM>, <NUM>, <NUM> to generate divide-by-<NUM>, divide-by-<NUM>, and divide-by-<NUM> signals that may be inputted into a MUX <NUM>. An external input signal <NUM> also may be inputted into the MUX <NUM>. The output of the MUX <NUM> may be divided by a divide-by-<NUM> component <NUM> and inputted into a second MUX <NUM>. The output <NUM> of the second MUX <NUM> may be inputted into the TDC circuit.

The output of the second buffer <NUM> may be logically AND-ed with a reset signal <NUM> using a logic AND gate <NUM>. The frequency of the AND gate's <NUM> output signal may be divided by <NUM> by a divide-by-<NUM> component <NUM>. The output of the divide-by-<NUM> component <NUM> may be mixed with a <NUM> signal using a mixer <NUM>. The <NUM> signal may be generated by dividing a <NUM> signal with a divide-by-<NUM> component <NUM>. The <NUM> sinusoidal signal may be generated by an oscillator <NUM>. The output of the mixer <NUM> may be inputted into a MUX <NUM>. The MUX <NUM> may be used to select between a divider circuit and a mixer circuit to generate an output signal <NUM>.

<FIG> is a schematic diagram illustrating an example process overview <NUM> to generate a TDC output signal according to some embodiments. A modulated input signal <NUM> and a series of ring oscillator phase signals <NUM>, <NUM> may be input into the coarse TDC circuit <NUM>. For some embodiments, the coarse TDC circuit <NUM> may output start <NUM> and stop <NUM> signals for the fine TDC circuit <NUM>. The fine TDC circuit <NUM> may output an output signal <NUM>, which may indicate one of <NUM> arbiter locations (labeled as "OUT<<NUM>:<NUM>>" in <FIG>) for some embodiments. The coarse TDC circuit <NUM> may output the ring oscillator state <NUM>, which is labeled as "F<<NUM>:<NUM>>". The ring oscillator state <NUM> may be a coarse phase measurement that maps the modulated input signal <NUM> to the closest phase sector selected from <NUM> phase sectors (or <NUM> phase sectors for some embodiments) of the ring oscillator clock signal (which may be a <NUM> signal for some embodiments). The ring oscillator's clock signal may be delayed for two cycles to generate a "B" signal <NUM>, which may be used to determine if a rising edge of the modulated input signal occurred within two periods of a rising edge of the <NUM> clock signal. An overflow signal <NUM> may be generated by the coarse TDC circuit to indicate an overflow condition. The coarse TDC circuit <NUM> may output a count of the number of rising edges of the modulated signal occurring (or skipped) since the last valid modulated input signal rising edge, in which the count is labeled as the "C_D2<<NUM>:<NUM>>" signal <NUM>. The coarse TDC circuit <NUM> may also output a ring oscillator clock signal (labeled as "CLK_160") <NUM>.

For some embodiments, the arbiter output signal <NUM>, the ring oscillator state signal <NUM>, the "B" window signal <NUM>, the overflow signal <NUM>, and the count <NUM> of modulated signal rising edges since the last valid measurement may each pass through a respective Dflip-flop <NUM>, <NUM>, <NUM>, <NUM>, <NUM> that may be controlled by a local clock signal <NUM>. The use of the respective D flip-flops <NUM>, <NUM>, <NUM>, <NUM>, <NUM> may be used to synchronize the inputs to the processing logic circuit <NUM> based on the ring oscillator clock signal <NUM>. The outputs of each respective Dflip-flop <NUM>, <NUM>, <NUM>, <NUM>, <NUM> may be input into the processing logic circuit <NUM> and processed to generate a TDC output signal <NUM>.

<FIG> is a schematic diagram illustrating an example TDC generation circuit <NUM> according to some embodiments. Some embodiments may have a coarse time to digital conversion (CTDC) circuit that receives an Rx modulated signal. The CTDC circuit output may be a coarse measurement phase signal that is later scaled. The CTDC circuit also may output a coarse time signal that is received by the fine time to digital conversion (FTDC) circuit. The FTDC circuit may output a time signal that is scaled and subtracted from the scaled CTDC output signal.

Some embodiments may have a coarse time to digital conversion (CTDC) circuit that receives an Rx modulated signal and a <NUM> local oscillator signal (or a <NUM> for some embodiments). The CTDC circuit outputs a phase signal that corresponds to a phase sector. The CTDC circuit also outputs start and stop signals that are received by the fine time to digital conversion (FTDC) circuit. The FTDC circuit may include a 2D Vernier to calculate time signals. A scaling circuit receives the CTDC phase output signal, the FTDC time output signals, and a local oscillator signal. The scaling circuit outputs a phase signal.

In one embodiment, the phase of the ring oscillator's clock signal may be divided into <NUM> sectors corresponding to <NUM> degrees (or 2π in radians) divided by <NUM>. The corresponding CTDC output is a binary representation of an integer <NUM> through <NUM>, indicating which phase of <NUM> possible phases was aligned with the transition of the modulated signal. For some embodiments, the coarse TDC phase resolution scaling factor <NUM> may be as shown below: <MAT> A CTDC signal may be multiplied by CTDC_SCALE <NUM> using a multiplier <NUM>. Some embodiments of CTDC_SCALE <NUM> may be multiplied by <NUM> or <NUM> to account for a division of <NUM> or <NUM> of the modulated input signal before the input to the CTDC circuit. For example, <FIG> shows multiplication by <NUM> (<NUM>) and by <NUM> (<NUM>) that may occur after the CTDC and FTDC circuits generate a phase measurement for some embodiments. With some embodiments, multiplication by <NUM> or by <NUM> may occur via CTDC_SCALE <NUM> within the TDC. Some embodiments may include a multiplication by <NUM> within the value for CTDC_SCALE <NUM> to account for a divide-by-<NUM> circuit prior to the TDC circuit and a multiply-by-<NUM> circuit after the TDC circuit.

<FIG> shows a coarse measurement input ("F<<NUM>:<NUM>>") <NUM> received by a CTDC decoder circuit <NUM>. A fine measurement error input ("ARB<<NUM>:<NUM>>") <NUM> is received by an FTDC decoder circuit <NUM> and indicates for some embodiments which of <NUM> arbiters corresponds to a fine measurement point. The FTDC decoder <NUM> outputs a binary value representing the time duration corresponding to the associated arbiter location. The time value outputs from the CTDC decoder <NUM> and the FTDC decoder <NUM> each connect to storage elements <NUM>, <NUM> to store the time values provided by the decoders <NUM>, <NUM>, respectively, representing the coarse and fine time measurements. A correction factor <NUM>, <NUM> may be added via an adder <NUM> to the FTDC decoder output signal. The correction factor <NUM>, <NUM> may be selected using a MUX <NUM> with a coarse measurement signal connected to a selection pin of the MUX <NUM>. The correction factors may be obtained during a calibration procedure to account for errors associated with timing differences between the specific corresponding stages of the ring oscillator (or local clock phases). The corrected FTDC signal may be multiplied by a fine TDC scaling factor <NUM> using a multiplier <NUM>, which is shown below: <MAT>.

Two cycles of the <NUM> clock, which correspond to a total time of <NUM>. 125ns ( <MAT>), may be divided into <NUM><NUM> segments for a fine measurement error expressed as a <NUM>-bit word. Multiplying the fine measurement error by FTDC_SCALE <NUM> converts the fine measurement error from time to phase.

The scaled coarse measurement and scaled fine measurement error may each connect to storage elements <NUM>, <NUM> to preserve the scaled coarse and fine measurements for further processing. The scaled measurements may be combined with an adder <NUM> to subtract the fine measurement error from the coarse measurement to generate a phase measurement. The phase measurement signal may go through a storage element (or D-flip-flop) <NUM>.

For some embodiments, obtaining a phase measurement may include determining a coarse measurement by determining a phase interval of a plurality of phase intervals of a local clock that coincides with a rising edge of the modulated signal. A fine measurement error of the coarse measurement may be determined, and a phase measurement may be determined by combining the coarse measurement and the fine measurement error. With some embodiments, a phase-to-digital (PDC) circuit may include a coarse measurement circuit configured to determine a coarse measurement by determining a phase interval of a plurality of phase intervals of the local clock that coincides with a rising edge of the modulated signal. The PDC circuit also may include a fine measurement error circuit coupled to the coarse measurement circuit and configured to determine a fine measurement error of the coarse measurement. The PDC circuit also may include a phase measurement circuit coupled to the fine measurement circuit and configured to determine the phase measurement by combining the coarse measurement and the fine measurement error.

With some embodiments, combining the coarse measurement and the fine measurement also may include scaling the coarse measurement by a coarse measurement scaling factor and scaling the fine measurement by a fine measurement scaling factor. Some embodiments of an apparatus may include a coarse measurement scaling circuit coupled to the coarse measurement circuit and configured to scale the coarse measurement by a coarse measurement scaling factor; and a fine measurement scaling circuit coupled to the coarse measurement scaling circuit and configured to scale the fine measurement error by a fine measurement scaling factor.

In some embodiments, scaling the coarse measurement may convert the coarse measurement from an index of the phase interval to a phase angle value and scaling the fine measurement may convert the fine measurement error from a time value to a phase with respect to the local clock signal (which may be a <NUM> signal for some embodiments). With some embodiments of an apparatus, the coarse measurement scaling circuit may use the coarse measurement scaling factor to convert the coarse measurement from an index of the phase interval to a phase value, and the fine measurement scaling circuit may use the fine measurement scaling factor to convert the fine measurement error from a time value to a phase with respect to the local clock signal.

An offset <NUM> may be calculated as the amount of phase shift subtracted from a phase measurement for every TDC input because the modulated input signal is not an exact multiple of a local clock (<NUM> for some embodiments). For some embodiments, an offset <NUM> may be calculated as: <MAT> to account for the difference in period between two cycles of a local <NUM> clock and the period of the modulated signal, with fc equal to the channel frequency of the modulated signal. For some embodiments, fc may be between <NUM> and <NUM>, while some embodiments may have fc between <NUM> and <NUM>. The value of Offset represents an expected change in time between a rising edge of the local clock and each successive rising edge of an unmodulated carrier at frequency fc due to the frequency difference between the local clock and the carrier. As described below, a table may be used to store multiples of the Offset value. Some embodiments of FTDC_SCALE <NUM> may be multiplied by <NUM> or <NUM> to account for a division of <NUM> or <NUM> of the modulated input signal before the input to the FTDC circuit. For example, <FIG> shows multiplication by <NUM> (<NUM>) and by <NUM> (<NUM>) that may occur after the CTDC and FTDC circuits generate a phase measurement for some embodiments. With some embodiments, multiplication by <NUM> or by <NUM> may occur via FTDC_SCALE <NUM> within the TDC. For some embodiments, CTDC_SCALE <NUM>, FTDC_SCALE <NUM>, and the offset <NUM> may be multiplied by a factor of <NUM> to account for a divide-by-<NUM> circuit prior to the TDC circuit and a multiply-by-<NUM> circuit after the TDC circuit.

An apparatus may generate a phase correction increment, which may be based on (i) a count of periods of the modulated signal occurring between each generation of a corrected phase measurement (such as TDC_OUT <NUM>), and (ii) a difference between the carrier frequency and a frequency of a local clock signal. For some embodiments, an offset table <NUM> (or phase correction table) may be used such that the phase correction increment is calculated as: <MAT>.

The offset <NUM> may be calculated as described above, and the in_count() values may be calculated as described below. An offset table <NUM> with an input for the offset <NUM> may be used in combination with a MUX <NUM> to select the phase correction increment. For some embodiments, a carrier-based phase correction circuit may include a lookup table, such as the offset table <NUM>, for example.

A count ("C<<NUM>:<NUM>>") <NUM> of rising edges of the received modulated signal that occur between valid corrected phase measurement value is received by an in count decoder <NUM>. The output of the in count decoder <NUM> may not be updated if an overflow condition occurs. The output of the in count decoder <NUM> is connected to a storage element <NUM>. The previous in count value is subtracted from the current in count value using a delay element <NUM> and an adder <NUM> to generate an in count difference value. The in count difference value may be preserved in a storage element <NUM>. The in count difference value may be connected to a select line of MUX <NUM> to select a phase correction increment from an offset table <NUM>. Stated another way for some embodiments, a count of periods of the modulated signal may be used to control a multiplexer to select a table entry storing a multiple of a single period carrier offset value. The selected phase correction increment provided, in some embodiments, by MUX <NUM>, may be added by adder circuit <NUM>, to an accumulation of previous phase correction increments, stored in register <NUM>, to generate a carrier-based phase correction value, which is then stored again in register <NUM>.

The carrier-based phase correction value may be subtracted from the phase measurement using an adder <NUM> to generate a corrected phase measurement value. An overflow signal <NUM> may be connected to a series of register elements <NUM>, <NUM>, <NUM>. If an overflow signal is equal to <NUM> (indicating an overflow condition), the select line of a MUX <NUM> may select the previous corrected phase measurement (TDC_OUT <NUM>) retained using a D-flip-flop <NUM> as the TDC output value.

Some embodiments may include obtaining a plurality of phase measurements of a local clock associated with signal transitions of a carrier having a carrier frequency and a phase-modulation component; generating an adjusted local clock phase measurement by subtracting an offset based on a frequency difference between the carrier frequency and a frequency of the local clock; and generating a phase modulation value by scaling the adjusted local clock phase measurement based on a ratio between the carrier frequency and the frequency of the local clock.

A method, for some embodiments, may include: receiving, at a receive phase-to-digital conversion (PDC) circuit, a modulated signal having a carrier frequency; obtaining a phase measurement between the modulated signal and a local clock signal; generating a carrier-corrected phase measurement by subtracting a carrier-based phase correction value from the phase measurement; and generating a carrier phase measurement by scaling the carrier-corrected phase measurement.

For some embodiments, a method may include: receiving, at a receive phase-to-digital conversion (PDC) circuit, a modulated signal having a carrier frequency; obtaining a local oscillator (LO) phase measurement as the difference between the modulated signal and an LO; generating a carrier-based phase correction value by accumulating a phase correction increment; generating a corrected phase measurement value by subtracting the carrier-based phase correction from the LO phase measurement; and scaling the corrected phase measurement value by a channel scaling factor.

<FIG> is a schematic diagram illustrating a first example windowing circuit <NUM> according to some embodiments. A ring oscillator phase signal ("RO_PH<<NUM>>") <NUM> may be a square wave input signal into the clock of a first D-flip-flop <NUM>. Rising edges of the ring oscillator phase signal <NUM> may trigger alternating outputs on the Q output of the first D-flip-flop <NUM> so that the Q output of the first D-flip-flop <NUM> is a square wave. The Q output of the first D-flip-flop <NUM> may control the clock of a second D-flip-flop <NUM>. The Q output of the second D-flip-flop <NUM> may be used as a window signal <NUM>. A <NUM> clock signal ("CLK_160M") <NUM> may be generated from the window signal <NUM> connected to a buffer element <NUM>. The Q output of the second D-flip-flop <NUM> may be used as a reset signal ("RST_N") <NUM> that is an inverted pulse signal <NUM>.

The window signal <NUM> may be connected to an input of a third D-flip-flop <NUM>, with the modulated input signal <NUM> connected to the clock of the third D-flip-flop <NUM>. The Q output of the third D-flip-flop <NUM> may be labeled as a sampled modulated input signal ("IN_SMPL") <NUM> that contains pulses corresponding to rising edges of the modulated input signal <NUM> that occur within a timing window. The Q output of the first D-flip-flop <NUM> may be used as an input to a fourth D-flip-flop <NUM>. The sampled input signal ("IN_SMPL") <NUM> may be connected to the clock of the fourth D-flip-flop <NUM> to generate a "B" signal <NUM> to indicate if a rising edge of the sampled input signal occurred within a timing window, where signal B indicates if the IN_SMPL signal occurred during a first half cycle of the ring oscillator, since the timing has been designed to use <NUM> phases of a clock that are actually formed from two sets of <NUM> phases of a faster clock. The sampled input signal <NUM> may be connected to the clock of a fifth D-flip-flop <NUM> with a VDD signal (+5V) signal connected to the D input signal. The Q output of the fifth D-flip-flop <NUM> may be an overflow signal <NUM> that may be connected to the overflow signal of <FIG>.

The sampled input signal <NUM> may be connected to the clock of a sixth D-flip-flop <NUM> with a ring oscillator phase signal ("RO_PH<<NUM>:<NUM>>") <NUM> connected to the D input of the sixth D-flip-flop <NUM>. The Q output of the sixth D-flip-flop <NUM> is labeled as a ring oscillator phase signal ("F<<NUM>:<NUM>>") <NUM>. The ring oscillator phase signal <NUM> is used as an input to a multiplexer control logic circuit <NUM> that generates a multiplexer control signal <NUM>.

The sampled input signal <NUM> may be used an input to a tunable delay circuit (or component for some embodiments) <NUM>. The multiplexer control signal <NUM> may be connected as a select line to a first multiplexer <NUM> and a second multiplexer <NUM>. The output of the tunable delay circuit <NUM> may be tied to all of the input lines of the first multiplexer <NUM>. The first multiplexer <NUM> may be used to maintain synchronization with the second multiplexer <NUM>. The output of the first multiplexer <NUM> may be the start signal <NUM> used by the fine TDC circuit. The start signal may be a delayed pulse of the sampled input signal <NUM>. The multiplexer control signal <NUM> may be used to select a ring oscillator phase signal ("RO_PH<<NUM>:<NUM>>") <NUM> via the second multiplexer <NUM>. The selected ring oscillator phase signal <NUM> may be used as the stop signal <NUM> of the fine TDC circuit.

The modulated input signal <NUM> and the start signal <NUM> may be inputs to an input skip counter circuit <NUM> that outputs a modulated input signal rising edge counter ("C<<NUM>:<NUM>>") <NUM>. The modulated input signal rising edge counter ("C<<NUM>:<NUM>>") <NUM> may be incremented for each rising edge of the modulated input signal <NUM> that occurs after each TDC_OUT measurement <NUM> of <FIG>. The modulated input signal rising edge counter <NUM> may be from <NUM> to <NUM>, from <NUM> to <NUM>, or over a different range for some embodiments. The input skip counter circuit <NUM> may be used to count how many rising edges of the modulated input signal were skipped.

<FIG> is a schematic diagram illustrating a second example windowing circuit <NUM> according to some embodiments. <FIG> is a timing diagram illustrating an example set of signal timings <NUM> for a windowing circuit according to some embodiments. <FIG> and <FIG> will be discussed together. A ring oscillator phase signal ("RO_PH<<NUM>:<NUM>>") <NUM>, <NUM> may be a square wave input signal into the clock of a first D-flip-flop <NUM>. Rising edges of the ring oscillator phase signal <NUM>, <NUM> may trigger alternating outputs on the Q output of the first D-flip-flop <NUM> so that the Q output of the first D-flip-flop <NUM> is a square wave. The Q output of the first D-flip-flop <NUM> may control the clock of a second D-flip-flop <NUM>. The Q output of the second D-flip-flop <NUM> may be used as a window signal <NUM>, <NUM>. The window signal <NUM> may be delayed with two delay elements <NUM>, <NUM>. The window signal and the delayed window signal may be logically-XORed using an XOR gate <NUM> to generate an extended window signal <NUM>, <NUM>. The delayed window signal may be inverted with inverter <NUM> to generate a delayed window "B" signal ("W_DEL_B") <NUM>. A <NUM> clock signal ("CLK_160M") <NUM> may be generated from the window signal <NUM> delayed through one delay element <NUM> and a buffer element <NUM>.

The delayed window "B" signal <NUM> for some embodiments may be a delayed and inverted pulse that may be connected to a logic AND gate <NUM>. An enable signal ("EN") <NUM> is also connected to the logic AND gate <NUM>. The output of the logic AND gate <NUM> is a reset signal ("RST_N") <NUM>. If the enable signal <NUM> is high, the reset signal <NUM> may be low during the time of the delayed window "B" signal's <NUM> inverted pulse.

A rising edge of a received modulated signal ("IN") <NUM>, <NUM> may control a D-flip-flop <NUM> if a reset signal ("RST_N") <NUM> is low. If the reset signal <NUM> is low when the rising edge of the received modulated signal goes high, the output ("SMPL1") <NUM>, <NUM> of the D-flip-flop <NUM> will follow the window signal input <NUM>,<NUM>. Hence, the first sample signal <NUM>, <NUM> goes gradually higher to match the window input signal <NUM>, <NUM>.

A rising edge of the received modulated signal ("IN") <NUM>, <NUM> also propagates through a delay element <NUM> to generate a rising edge of a delayed modulated signal ("IN_D") <NUM>, <NUM>. The delayed modulated signal <NUM> may control a D-flip-flop <NUM> if the reset signal <NUM> is low. If the reset signal <NUM> is low when the rising edge of the delayed modulated signal goes high, the output ("SMPL2") <NUM>, <NUM> of the D-flip-flop <NUM> will follow the extended window signal <NUM>. The second sample signal <NUM>, <NUM> goes high to match the extended window signal <NUM>. If the modulated signal <NUM> has a rising edge while the window signal <NUM> is high, and the delayed modulated signal <NUM> has a rising edge while the extended window signal <NUM> is high, the first sample signal <NUM>, <NUM> and the second sample signal <NUM>, <NUM> will have an overlapping portion with both signals in the high state. As a result, the output ("IN_SMPL") <NUM>, <NUM> of the AND-gate <NUM> will be high during the overlapping portion. With some embodiments, the sampled input signal <NUM>, <NUM> may be connected to the clock of a D-flip-flop with a VDD signal (+5V) signal connected to the D input signal. The output of the D-flip-flop may be an overflow signal that may be connected to the overflow signal of <FIG>.

For some embodiments, generation of a carrier-based phase correction value may be inhibited if a rising edge of the modulated signal does not occur within a timing window. Some embodiments of an apparatus may include an overflow circuit coupled to a carrier-based phase correction circuit and configured to inhibit generating a carrier-based phase correction value if a rising edge of the modulated signal does not occur within a timing window. For example, the difference of the carrier-based phase correction value and the phase measurement that may be determined via the circuit in <FIG> may be inhibited by an overflow signal. With some embodiments, the overflow signal may be generated using the method and/or apparatus described above.

<FIG> is a schematic diagram illustrating an example frequency scaling circuit <NUM> according to some embodiments. A modulated signal received by an antenna <NUM> may have a carrier frequency of <NUM>, such as a <NUM> orthogonal frequency division modulated (OFDM) signal, for example. For some embodiments, a <NUM> modulated receive signal may be divided by a divide-by-<NUM> component (or a divide-by-<NUM> circuit) <NUM> to obtain a modulated input signal (or modulated signal) with a carrier frequency of <NUM>. For some embodiments, a <NUM> modulated receive signal may be divided by a divide-by-<NUM> component (or a divide-by-<NUM> circuit) <NUM> and mixed with a <NUM> sinusoidal signal <NUM> using a mixer <NUM> to obtain a modulated input signal with a carrier frequency of <NUM>. Some embodiments may have the divide-by-<NUM> circuit <NUM>; some embodiments may have the divide-by-<NUM> circuit with a mixer <NUM>; and some embodiments may have the divide-by-<NUM> circuit <NUM>, the divide-by-<NUM> circuit <NUM>, the mixer <NUM>, and the MUX <NUM>. The output of the MUX <NUM> (or the output of the divide-by-<NUM> circuit or the output of the mixer <NUM> for some embodiments) may be inputted into the TDC circuit <NUM>.

The output of the TDC may be a phase measurement between the modulated signal (which is inputted into the TDC circuit <NUM>) and the local clock signal (which may be the <NUM> ring oscillator signal divided by <NUM>). A corrected phase measurement value may be generated based on a difference between the TDC output phase measurement and a carrier-phase correction value <NUM>. The corrected phase measurement value may be multiplied by a multiply-by-<NUM> component (or circuit) <NUM> or by a multiply-by-<NUM> component (or circuit) <NUM> and may be further multiplied by a channel frequency scaling factor to convert the corrected phase measurement value relative to the carrier frequency. The output of the channel frequency scaling factor circuit <NUM> is outputted to the CORDIC <NUM>, which may generate in-phase (I) <NUM> and quadrature (Q) <NUM> signals. For some embodiments, the channel frequency scaling factor may be generated by dividing the frequency of the input signal into the TDC <NUM> by the frequency of a local oscillator (LO) clock signal <NUM>, which may be a <NUM> sinusoidal signal for some embodiments: <MAT>.

With some embodiments, a corrected phase measurement value may be converted from a value relative to a local clock frequency to a value relative to a carrier frequency by multiplying the corrected phase measurement value by the channel frequency scaling factor to generate a carrier phase measurement. For some embodiments, the offset <NUM> may be a ramp signal. The ramp signal may be an unsynchronized signal and may be subtracted at one of multiple locations in the frequency scaling circuit <NUM>. The phase offset delta may be continually tracked throughout the TDC ring oscillator, and the offset <NUM> may be subtracted from the output of the TDC. For some embodiments, the offset <NUM> may be the amount of phase shift that may be added to the measurement for every TDC input due to the carrier frequency of the modulated input not being an exact multiple of a local clock. For some embodiments, the offset <NUM> may be equal to the carrier-based phase correction value described above with <FIG>.

For some embodiments, a modulated signal having a carrier frequency may be received at a receive phase-to-digital conversion (PDC) circuit. A phase measurement between rising edges of the modulated signal and a local clock signal may be obtained. A carrier-phase correction value may be generated by accumulating a phase correction increment, an example of which is shown in <FIG>. A corrected phase measurement value may be generated based on a difference between the phase measurement and the carrier-phase correction value. A carrier phase measurement may be generated by scaling the corrected phase measurement value. With some embodiments, the carrier phase measurement may be generated by scaling the corrected phase measurement by a multiple of a ratio of the carrier frequency to the frequency of the local clock signal, such as the channel frequency scaling factor shown above, for example.

Some embodiments of an apparatus may include an analog receiver circuit configured to receive a modulated signal having a carrier frequency, a phase-to-digital conversion (PDC) circuit coupled to the analog receiver circuit and configured to obtain a phase measurement between the modulated signal and a local clock signal, a carrier-based phase correction circuit coupled to the PDC circuit and configured to generate a carrier-phase correction value by accumulating a phase correction increment, a corrected phase measurement circuit coupled to the carrier-based phase correction circuit and configured to generate a corrected phase measurement value based on a difference between the phase measurement and the carrier-based phase correction value, and a carrier phase measurement circuit coupled to the corrected phase measurement circuit and configured to generate a carrier phase measurement by scaling the corrected phase measurement value. For some embodiments of an apparatus, the carrier phase measurement circuit may include a multiplier element configured to scale the corrected phase measurement by a multiple of a ratio of the carrier frequency to the frequency of the local clock signal, such as the channel frequency scaling factor shown above, for example.

In some embodiments of a method, a phase measurement value of a modulated carrier may be generated with respect to a phase domain of a local clock using a phase-to-digital converter (PDC). The phase measurement value may be converted to a modulation phase value based on a ratio between a carrier frequency of the modulated carrier and a frequency of the local clock, such as the channel frequency scaling factor shown above, for example.

A TDC output measurement may be taken with every rising edge of a <NUM> modulated signal for some embodiments. From one sample to the next sample, the phase may change by +/-<NUM> degrees. Some embodiments may track the change in phase from sample to sample, not absolute phase. For some embodiments, <NUM> degrees worth of phase are mapped to <NUM> bits. A code word corresponding to <NUM> degrees may be the same as the code word corresponding to <NUM> degree of phase. A modulo reduction of the phase may be inherent in the use of fixed bit code words.

<FIG> is a flowchart illustrating an example process <NUM> for generating a carrier phase measurement according to some embodiments. Some embodiments may include receiving <NUM>, at a receive phase-to-digital conversion (PDC) circuit, a modulated signal having a carrier frequency. A phase measurement may be obtained <NUM> between the modulated signal and a local clock signal. A carrier-based phase correction value may be generated <NUM> by accumulating a phase correction increment. A corrected phase measurement value may be generated <NUM> based on a difference between the phase measurement and the carrier-based phase correction value. A carrier phase measurement may be generated <NUM> by scaling the corrected phase measurement value.

Some embodiments of a method may include: receiving, at a receive phase-to-digital conversion (PDC) circuit, a modulated signal having a carrier frequency; obtaining a phase measurement between the modulated signal and a local clock signal; generating a carrier-based phase correction value by accumulating a phase-correction increment; generating a corrected phase measurement value based on a difference between the phase measurement and the carrier-based phase correction value; and generating a carrier phase measurement by scaling the corrected phase measurement value.

Some embodiments of an apparatus may include: an analog receiver circuit configured to receive a modulated signal having a carrier frequency; a phase-to-digital conversion (PDC) circuit coupled to the analog receiver circuit and configured to obtain a phase measurement between the modulated signal and a local clock signal; a carrier-based phase correction circuit coupled to the PDC circuit and configured to generate a carrier-based phase correction value by accumulating a phase-correction increment; a corrected phase measurement circuit coupled to the carrier-based phase correction circuit and configured to generate a corrected phase measurement value based on a difference between the phase measurement and the carrier-based phase correction value; and a carrier phase measurement circuit coupled to the corrected phase measurement circuit and configured to generate a carrier phase measurement by scaling the corrected phase measurement value.

Some embodiments of a method may include: obtaining a plurality of phase measurements of a local clock associated with signal transitions of a carrier having a carrier frequency and a phase-modulation component; generating an adjusted local clock phase measurement by subtracting an offset based on a frequency difference between the carrier frequency and a frequency of the local clock; and generating a phase modulation value by scaling the adjusted local clock phase measurement based on a ratio between the carrier frequency and the frequency of the local clock.

Some embodiments of a method may include: generating a phase measurement value of a modulated carrier with respect to a phase domain of a local clock using a phase-to-digital converter; and converting the phase measurement value to a modulation phase value based on a ratio between a carrier frequency of the modulated carrier and a frequency of the local clock.

However, one of ordinary skill in the art would appreciate that various modifications and changes can be made without departing from the scope of the invention as set forth in the claims below.

Claim 1:
A method comprising:
receiving, at a receive phase-to-digital conversion (PDC) circuit, a modulated signal having a carrier frequency;
obtaining a phase measurement between the modulated signal and a local clock signal using the PDC circuit;
generating a carrier-based phase correction value using a carrier-based phase correction circuit coupled to the PDC circuit by accumulating a phase-correction increment;
generating a corrected phase measurement value based on a difference between the phase measurement and the carrier-based phase correction value; and
generating a carrier phase measurement by scaling the corrected phase measurement value.