Phase detector
10581421 ยท 2020-03-03
Assignee
Inventors
Cpc classification
G01R25/005
PHYSICS
H03K5/26
ELECTRICITY
International classification
G01R25/00
PHYSICS
H03K5/26
ELECTRICITY
Abstract
Phase detector circuitry includes oscillator circuitry, edge detection and correction circuitry, sampler circuitry, and adder circuitry. The oscillator circuitry is configured to provide a sawtooth oscillator signal. The edge detection and correction circuitry is configured to receive an in-phase signal and a quadrature signal, provide an edge detection signal during each edge of the in-phase signal and the quadrature signal, and provide an edge correction signal based on whether the edge is in the in-phase signal or the quadrature signal and whether the edge is a rising edge or a falling edge. The sampler circuitry is configured to sample the sawtooth oscillator signal in response to the edge detection signal. The adder circuitry is configured to subtract the edge correction signal from the sampled sawtooth oscillator signal to provide a phase estimate signal.
Claims
1. Phase detector circuitry comprising: oscillator circuitry configured to provide a sawtooth oscillator signal; edge detection and correction circuitry configured to: receive an in-phase signal and a quadrature signal; provide an edge detection signal during each edge of the in-phase signal and the quadrature signal; and provide an edge correction signal, wherein the edge correction signal is based on whether the edge is in the in-phase signal or the quadrature signal and whether the edge is a rising edge or a falling edge; sampler circuitry coupled to the oscillator circuitry and the edge detection and correction circuitry, the sampler circuitry configured to sample the sawtooth oscillator signal in response to the edge detection signal; and adder circuitry coupled to the sampler circuitry and the edge detection and correction circuitry, the adder circuitry configured to subtract the edge correction signal from the sampled sawtooth oscillator signal to provide a phase estimate signal.
2. The phase detector circuitry of claim 1 further comprising averaging circuitry coupled to the adder circuitry and configured to receive and average a number of phase estimate signals to provide an average phase estimate signal.
3. The phase detector circuitry of claim 1 wherein the oscillator circuitry is configured to provide the sawtooth oscillator signal such that a value of the sawtooth oscillator signal varies between 0 and 360.
4. The phase detector circuitry of claim 3 wherein the edge detection and correction circuitry is configured to provide the edge correction signal such that: a value of the edge correction signal is 0 when the edge is a falling edge of the in-phase signal; the value of the edge correction signal is 180 when the edge is a rising edge of the in-phase signal; the value of the edge correction signal is 90 when the edge is a falling edge of the quadrature signal; and the value of the edge correction signal is 270 when the edge is a rising edge of the quadrature signal.
5. The phase detector circuitry of claim 1 wherein the in-phase signal and the quadrature signal are components of a wireless communication signal.
6. The phase detector circuitry of claim 5 wherein the wireless communication signal is a hard-limited signal.
7. A method for estimating phase comprising: receiving an in-phase signal and a quadrature signal by edge detection and correction circuitry; generating a sawtooth oscillator signal by oscillator circuitry; sampling the sawtooth oscillator signal at each edge of the in-phase signal and the quadrature signal by sampler circuitry, which is coupled to the oscillator circuitry and the edge detection and correction circuitry; and compensating the sampled sawtooth oscillator signal by adder circuitry based on whether the edge is in the in-phase signal or the quadrature signal and whether the edge is a rising edge or a falling edge to provide a phase estimate signal, wherein the adder circuitry is coupled to the sampler circuitry and the edge detection and correction circuitry.
8. The method of claim 7 further comprising averaging a plurality of phase estimate signals to provide an average phase estimate signal by averaging circuitry, which is coupled to the adder circuitry.
9. The method of claim 7 wherein generating the sawtooth oscillator signal comprises generating the sawtooth oscillator signal such that a value thereof varies between 0 and 360.
10. The method of claim 7 wherein compensating the sampled sawtooth oscillator signal based on whether the edge is in the in-phase signal or the quadrature signal and whether the edge is a rising edge or a falling edge to provide a phase estimate signal comprises: not changing a value of the sampled sawtooth oscillator signal when the edge is a falling edge of the in-phase signal; subtracting 180 from the sampled sawtooth oscillator signal when the edge is a rising edge of the in-phase signal; subtracting 90 from the sampled sawtooth oscillator signal when the edge is a falling edge of the quadrature signal; and subtracting 270 from the sampled sawtooth oscillator signal when the edge is a rising edge of the quadrature signal.
11. The method of claim 7 wherein the in-phase signal and the quadrature signal are components of a wireless communication signal.
12. The method of claim 11 wherein the wireless communication signal is a hard-limited signal.
Description
BRIEF DESCRIPTION OF THE DRAWING FIGURES
(1) The accompanying drawing figures incorporated in and forming a part of this specification illustrate several aspects of the disclosure, and together with the description serve to explain the principles of the disclosure.
(2)
(3)
(4)
DETAILED DESCRIPTION
(5) The embodiments set forth below represent the necessary information to enable those skilled in the art to practice the embodiments and illustrate the best mode of practicing the embodiments. Upon reading the following description in light of the accompanying drawing figures, those skilled in the art will understand the concepts of the disclosure and will recognize applications of these concepts not particularly addressed herein. It should be understood that these concepts and applications fall within the scope of the disclosure and the accompanying claims.
(6) It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the present disclosure. As used herein, the term and/or includes any and all combinations of one or more of the associated listed items.
(7) It will be understood that when an element such as a layer, region, or substrate is referred to as being on or extending onto another element, it can be directly on or extend directly onto the other element or intervening elements may also be present. In contrast, when an element is referred to as being directly on or extending directly onto another element, there are no intervening elements present. Likewise, it will be understood that when an element such as a layer, region, or substrate is referred to as being over or extending over another element, it can be directly over or extend directly over the other element or intervening elements may also be present. In contrast, when an element is referred to as being directly over or extending directly over another element, there are no intervening elements present. It will also be understood that when an element is referred to as being connected or coupled to another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being directly connected or directly coupled to another element, there are no intervening elements present.
(8) Relative terms such as below or above or upper or lower or horizontal or vertical may be used herein to describe a relationship of one element, layer, or region to another element, layer, or region as illustrated in the Figures. It will be understood that these terms and those discussed above are intended to encompass different orientations of the device in addition to the orientation depicted in the Figures.
(9) The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms a, an, and the are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms comprises, comprising, includes, and/or including when used herein specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
(10) Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. It will be further understood that terms used herein should be interpreted as having a meaning that is consistent with their meaning in the context of this specification and the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
(11)
(12) In operation, the oscillator circuitry 12 provides a sawtooth oscillator signal OSC.sub.st with a value that varies between 0 and 360 at a frequency determined by an input frequency signal F.sub.in. The edge detection and correction circuitry 20 receives an in-phase signal I.sub.in and a quadrature input signal Q.sub.in and provides an edge detection signal E.sub.det and an edge correction signal E.sub.corr. The edge detection signal E.sub.det is provided only during an edge of either of the in-phase signal I.sub.in and the quadrature signal Q.sub.in. In response to the edge detection signal E.sub.det, the sampler circuitry 14 samples the sawtooth oscillator signal OSC.sub.st to provide a sampled sawtooth oscillator signal OSC.sub.st(t) to the adder circuitry 16. The adder circuitry 16 subtracts the edge correction signal E.sub.corr from the sampled sawtooth oscillator signal OSC.sub.st(t) to provide a phase estimate signal PH.sub.est.
(13) When the edge detection and correction circuitry 20 detects a rising edge of the in-phase signal I.sub.in, the edge correction signal E.sub.corr is provided with a value of 180. When the edge detection and correction circuitry 20 detects a falling edge of the in-phase signal I.sub.in, the edge correction signal E.sub.corr is provided with a value of 0. When the edge detection and correction circuitry 20 detects a rising edge of the quadrature signal Q.sub.in, the edge correction signal E.sub.corr is provided with a value of 270. When the edge detection and correction circuitry 20 detects a falling edge of the quadrature signal Q.sub.in, the edge correction signal E.sub.corr is provided with a value of 90.
(14) The effect of the edge correction signal E.sub.corr is to normalize the sampled sawtooth oscillator signal OSC.sub.st(t) for each edge of the in-phase signal I.sub.in and the quadrature signal Q.sub.in. Taking the falling edge of the in-phase signal I.sub.in as a reference, those skilled in the art will readily appreciate that the rising edge of the in-phase signal I.sub.in will be 180 degrees out of phase, the falling edge of the quadrature signal Q.sub.in will be 270 degrees out of phase, and the rising edge of the quadrature signal Q.sub.in will be 90 degrees out of phase with this edge. Accordingly, the phase estimate signal PH.sub.est reflects a normalized estimate of the phase at each edge of the in-phase signal I.sub.in and the quadrature signal Q.sub.in.
(15) The averaging circuitry 18 includes an averaging adder 22, a delay 24, and a divider 26. The phase estimate signal PH.sub.est is provided to the averaging adder 22, where it is added to one or more previous phase estimates held in the delay 24. The combined phase estimates at the output of the averaging adder 22 are divided by the number of phase estimates to provide an averaged phase estimate AVG(PH.sub.est).
(16) While the oscillator circuitry 12, the sampler circuitry 14, the adder circuitry 16, the averaging circuitry 18, and the edge detection and correction circuitry 20 are shown in
(17)
(18) As shown in
(19) While the phase detector circuitry 10 may be operated to sample the in-phase signal I.sub.in and the quadrature signal Q.sub.in for any period of time to provide the averaged phase estimate signal AVG(PH.sub.est) for any number of edges thereof, in one embodiment at least four phase estimate signals PH.sub.est from at least four edges of the in-phase signal I.sub.in and the quadrature signal Q.sub.in are averaged to provide the averaged phase estimate signal AVG(PH.sub.est).
(20) As discussed above, the oscillator circuitry 12 operates at a frequency determined by the input frequency F.sub.in. While not shown receiving the input frequency F.sub.in, the edge detection and correction circuitry 20 may also operate at such a frequency, which determines the sample rate thereof. Those skilled in the art will readily appreciate that the input frequency F.sub.in should be chosen to be significantly higher than a frequency of the in-phase signal I.sub.in and the quadrature signal Q.sub.in. In one embodiment, the input frequency F.sub.in should be at least two orders of magnitude higher than a frequency of the in-phase signal I.sub.in and the quadrature signal Q.sub.in. For example, if a frequency of the in-phase signal I.sub.in and the quadrature signal Q.sub.in is 1.75 MHz, the input frequency F.sub.in may be chosen to be 192 MHz. This means there are 192/1.75 samples in each period of the in-phase signal I.sub.in and the quadrature signal Q.sub.in, providing a resolution of approximately 3.3 degrees per sample (360 degrees in each period).
(21) The phase detector circuitry 10 may be especially useful in applications not requiring an absolute measurement of phase, such as for angle of arrival estimation in which only a relative phase between the same wireless communication signal received at different antennas is required. Notably, the phase detector circuitry 10 may be less susceptible to common sources of systematic errors than conventional phase measurement circuitry. Typical sources of systematic errors in conventional phase estimation circuitry include IQ phase offset, in which a deviation from the ideal 90 degrees of phase separation between an in-phase signal and a quadrature signal occur, IQ unbalance, in which there is a difference in gain between the in-phase signal and the quadrature signal, and DC offset in the in-phase signal and the quadrature signal.
(22) With respect to IQ phase offset, this will result in different phase estimate values PH.sub.est at the edges of the in-phase signal I.sub.in and the quadrature signal Q.sub.in, which will in turn shift the averaged phase estimate value AVG(PH.sub.est). However, this shift is independent of the absolute input phase, and will always give the same phase shift or offset in the measured phase. In applications in which only the relative or difference in phase between signals is required, this fixed phase offset results in no degradation.
(23) With respect to IQ unbalance, this will be of no consequence in a hard-limited receiver in which the in-phase signal I.sub.in and the quadrature signal Q.sub.in are quantized to 1-bit as discussed above, because the hard-limiting results in only two signal levels and thus removes the difference in gain.
(24) With respect to DC offset, while this will have an effect on the duty cycle of the in-phase signal I.sub.in and/or the quadrature signal Q.sub.in, this change is symmetrical and thus will cancel out since both the rising and falling edges are included in the averaged phase estimate signal AVG(PH.sub.est).
(25)
(26) As discussed above, a value of the sawtooth oscillator signal varies between 0 and 360. Further as discussed above, compensating the sampled sawtooth oscillator based on whether the edge is on the in-phase signal or the quadrature signal and whether the edge is a rising edge may be accomplished by not changing the value of the sampled sawtooth oscillator signal when the edge is a falling edge of the in-phase signal, subtracting 180 from the sampled sawtooth oscillator signal when the edge is a rising edge of the in-phase signal, subtracting 270 from the sampled sawtooth oscillator signal when the edge is a rising edge of the quadrature signal, and subtracting 90 from the sampled sawtooth oscillator signal when the edge is a falling edge of the quadrature signal. The in-phase signal and the quadrature signal may be components of a wireless communication signal. In one embodiment, the wireless communication signal is hard-limited, and the in-phase signal and the quadrature signal are quantized to 1-bit signals.
(27) Those skilled in the art will recognize improvements and modifications to the preferred embodiments of the present disclosure. All such improvements and modifications are considered within the scope of the concepts disclosed herein and the claims that follow.