US20170176506A1 - Method for using an accurate adjustable high-frequency phase-detector - Google Patents
Method for using an accurate adjustable high-frequency phase-detector Download PDFInfo
- Publication number
- US20170176506A1 US20170176506A1 US15/450,536 US201715450536A US2017176506A1 US 20170176506 A1 US20170176506 A1 US 20170176506A1 US 201715450536 A US201715450536 A US 201715450536A US 2017176506 A1 US2017176506 A1 US 2017176506A1
- Authority
- US
- United States
- Prior art keywords
- quad
- mode output
- phase
- differential
- quadrant
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03D—DEMODULATION OR TRANSFERENCE OF MODULATION FROM ONE CARRIER TO ANOTHER
- H03D13/00—Circuits for comparing the phase or frequency of two mutually-independent oscillations
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R25/00—Arrangements for measuring phase angle between a voltage and a current or between voltages or currents
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R25/00—Arrangements for measuring phase angle between a voltage and a current or between voltages or currents
- G01R25/04—Arrangements for measuring phase angle between a voltage and a current or between voltages or currents involving adjustment of a phase shifter to produce a predetermined phase difference, e.g. zero difference
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03D—DEMODULATION OR TRANSFERENCE OF MODULATION FROM ONE CARRIER TO ANOTHER
- H03D7/00—Transference of modulation from one carrier to another, e.g. frequency-changing
- H03D7/14—Balanced arrangements
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03D—DEMODULATION OR TRANSFERENCE OF MODULATION FROM ONE CARRIER TO ANOTHER
- H03D7/00—Transference of modulation from one carrier to another, e.g. frequency-changing
- H03D7/14—Balanced arrangements
- H03D7/1425—Balanced arrangements with transistors
- H03D7/1433—Balanced arrangements with transistors using bipolar transistors
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03D—DEMODULATION OR TRANSFERENCE OF MODULATION FROM ONE CARRIER TO ANOTHER
- H03D7/00—Transference of modulation from one carrier to another, e.g. frequency-changing
- H03D7/14—Balanced arrangements
- H03D7/1425—Balanced arrangements with transistors
- H03D7/1458—Double balanced arrangements, i.e. where both input signals are differential
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/22—Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral
- H03K5/26—Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being duration, interval, position, frequency, or sequence
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R25/00—Arrangements for measuring phase angle between a voltage and a current or between voltages or currents
- G01R25/02—Arrangements for measuring phase angle between a voltage and a current or between voltages or currents in circuits having distributed constants
Definitions
- the invention relates to a method for using an accurate adjustable high-frequency phase-detector.
- a well-known phase detector circuit is the double-balanced mixer or Gilbert cell 100 , as shown in FIG. 1 .
- Two differential signals are applied to this mixer cell and the differential output voltage of the mixer is then used as the information source for the phase difference.
- V 1 (V 1 plus ⁇ V 1 minus) is applied to the upper pairs of transistors 102 a, 102 b and
- V 2 (V 2 plus ⁇ V 2 minus) is applied to the lower pair of transistors 104 a, 104 b.
- V 2 p is higher than the voltage V 2 m
- the current will take the left branch 106 a and when V 2 m is higher than V 2 p the current will take the right branch 106 b.
- the current When a square way signal is connected to the bottom pair V 2 p and V 2 m, the current will alternatively and continually switch between the branches 106 a and 106 b.
- the I tail currents of the upper pairs of transistors 102 a, 102 b, 102 c and 102 d are controlled by the bottom pair of transistors 104 a and 104 b.
- the current will alternatively take the left branches 108 a and 108 b and via collector resistor Rc 1 .
- the current will take the right branches 108 a 2 and 108 b 2 and via collector resistor Rc 2 when the voltage V 1 m is higher than V 1 p.
- the mixer output is connected to the supply rail (Vcc) via two collector resistors Rc.
- V 1 and V 2 are considered to be sufficiently high so that the mixer is switching properly. If in that case, the average value 110 of the differential output voltage of the mixer is plotted as a function of the input phase-difference, the output phase-characteristic is obtained, as shown in FIG. 2 .
- the output voltage VPD-Out is zero when the phase difference is 90 degrees and approximates Rc*I tail when the phase difference is 180 degrees. When the phase difference is 0 degree, this is equivalent to the current taking the furthest left branch of the mixer 100 in FIG. 1 and when the phase difference is 180 degrees, this is equivalent to the current taking the furthest right branch in the mixer 100 .
- the capacitors are here used to realize the averaging.
- the double balanced mixer 100 is a phase detector of a multiplicative type.
- the phase characteristic is periodic with tops that are ‘rounded off’ due to, for example, a certain inertia or switching slowness of the transistors.
- the area where the positive and negative tops of the phase characteristics are ‘rounded off’ can be smaller or larger.
- the imperfections of the transistors in the mixer are particularly apparent at and close to phase differences of 0 or 180 degrees.
- One problem of the prior art mixer 100 is that the average output voltage which is used to represent the phase difference of the two square input signals, is not accurate.
- the approximate input phase-difference ⁇ is determined by examining the average differential output voltage and using a reference voltage.
- the maximum (extrapolated) output voltage corresponds to I tail *Rc wherein I tail is the mixer tail current and Rc is the collector resistor value of the resistors.
- the output phase difference is then approximately:
- the average voltage V PD-out is about I tail *Rc/2.
- I tail the use of I tail in the formula is not correct due to the losses in the mixer 100 and the real value of the current (I) coming out of the top part of the mixer 100 can be substantially different from I tail especially at high frequencies. However, it is difficult to determine what this value of the current (I) should be. Thus, the above approximation has a many accuracy drawbacks, as listed below:
- the phase difference that corresponds to a 0 Volt differential output voltage is not exactly 90 degrees, but is somewhat shifted due to the imbalance of the mixer 100 in that the upper transistors consist of 4 transistors while the lower transistors only consist of 2 transistors. In other words, because of this, the complete phase characteristics is shifted in the x-direction.
- V 1 is connected to the bottom pair of transistors while V 2 is connected to the top pairs of transistors.
- a voltage reference is needed that is proportional to I tail *Rc,
- An error can be expected due to the asymmetrical loading of the input signals.
- the method of the present invention provides a solution to many of the above-outlined problems. It solves problems 1, 2 and 4 above.
- Problem 3 is a fundamental problem for all mixer circuits.
- the phase detector of the present invention has a differential mixer output voltage of zero, the present invention performs better with respect to problem 3 also.
- Problem 5 is not solved but can be compensated in the same way as with conventional phase detectors by using a second mixer with swapped inputs in parallel. More particularly, the method determines an input phase differential ( ⁇ ) between two input signals such as sine inputs that have been converted to square wave signals by limiter amplifiers.
- An important feature of the present invention is that there is no need for using a standard voltage reference at all because an important notion is that the input phase differential is contained in the ratio of the differential mode and common mode output currents.
- the ratio of the differential mode current and the common mode current is here used an illustrative example. In other words, no voltage is measured relative to a standard voltage reference (like a band-gap reference). Instead, the output voltage differential relative to the common mode voltage is determined instead.
- the two mixer collector resistors Rc 1 and Rc 2 ) are identical. Therefore, the ratio between the differential mode current (Idm) and the common mode current (Icm) is preferably used instead. It is to be understood that it is quite difficult to determine the phase differential by measuring the differential mode voltage (Vdm) and divide this by the common mode voltage (Vcm). It is much easier to instead use a standard voltage reference (such as Rc*I tail ) which is one reason why the ratio between differential voltage mode and the common mode voltage has not been used before to determine the phase differential in a mixer.
- a standard voltage reference such as Rc*I tail
- phase information can not only be derived from the ratio of the differential mode and common mode voltage but that the primary ratio for determining the phase difference is the ratio between the differential mode current (Idm) and the common mode current (Icm).
- a potentiometer can surprisingly be used to indicate what the ratio of the differential mode current (Idm) and the common mode current (Icm) is.
- a high-frequency phase detector has pairs of transistors and a first impedance (R 1 ) connected to a first branch carrying a first signal (Iout_left) and a second impedance (R 2 ) connected to a second branch carrying a second signal (Iout_right).
- the first signal (Iout_left) in the first branch is set as a first sum of a common mode output signal (Icm) and a differential mode output signal (Idm).
- the second signal (Iout_right) in the second branch is set as a second sum of the common mode output signal (Icm) minus the differential mode output signal (Idm).
- a relationship between the first impedance (R 1 ) and the second impedance (R 2 ) is adjusted until a differential mode output voltage (Vdm) of the phase detector is zero.
- the input phase differential ( ⁇ ) is determined when the differential mode output voltage (Vdm) is zero.
- FIG. 1 is a schematic view of a prior art double-balanced mixer i.e. a Gilbert cell;
- FIG. 2 is a curve showing an average value of the differential output voltage as a function of the input phase-difference
- FIG. 3 is a schematic view of two prior art mixers in parallel connected to the same input signal
- FIG. 4 is a schematic view of a prior art mixer i.e. a Gilbert cell without collector resistors.
- FIG. 5 is a visualization of the definition of the common mode output current Icm and differential mode output current Idm;
- FIG. 6 is a schematic view of a Gilbert cell having two different resistors R 1 and R 2 and capacitors for low pass filtering.
- FIG. 7 is a schematic view of a potentiometer of the present invention, connected to the output of a Gilbert cell.
- FIG. 8 is a symbolic representation of the relation between the mixer input phase difference and the runner position of the potentiometer shown in FIG. 7 , when the mixer differential output voltage is zero.
- FIG. 9 is a schematic view of a digital potentiometer of the present invention having a resistor string
- FIG. 10 is a schematic view of a phase detector with a digital read out
- FIG. 11 is a schematic view of a PLL synthesizer loop with programmable output phase
- FIG. 12 is a schematic view of a phase loop with programmable output phase
- FIG. 13 is a schematic view of a vector modulator
- FIG. 14 is a vector modulator with controllable output phase of 360 degrees
- FIG. 15 is a schematic view of switching mechanisms between four Quadrants
- FIG. 16 is a schematic view of a second embodiment of an application of the present invention.
- FIG. 17 is a schematic view of an alternative embodiment of a potentiometer of the present invention.
- FIG. 18 is a schematic view of a potentiometer with several adjustable properties.
- the present invention is a phase detector, based on the double-balanced mixer or Gilbert cell 100 that does not have many of the short-comings from the list of drawbacks.
- the conventional way of using the Gilbert cell or mixer 100 is to rely on voltage differentials relative to a voltage reference (such as I tail *Rc in FIG. 1 ) because they are relatively easy to measure as opposed to measuring current differentials.
- a voltage reference such as I tail *Rc in FIG. 1
- One important and surprising notion is that the relationship between the input phase-difference ⁇ and the output currents of a double balanced mixer or Gilbert cell can be described as:
- An important idea of the present invention is to split up the current into a common mode output-current Icm and a differential mode output-current Idm although it is difficult to measure the ratio between two currents.
- Vdm the setting of Vdm to zero is only used an illustrative example of the present invention. It is possible to settle for a non-zero differential output voltage Vdm and correct for this later. Inaccuracy due to inaccurate resistor ratios may remain.
- I cm ( I out_left+ I out_right)/2
- I dm ( I out_left ⁇ I out_right)/2
- I out_right I cm ⁇ I dm
- Icm is about I tail /2 but, as mentioned above, in reality the true value is different due to the inaccuracies described above such as finite beta, temperature differences, injection and all kinds of large and small signal frequency-dependent properties as a result of the fact that Iout_left+Iout_right is not the same as I tail . It is an important and surprising notion that I tail should not be used as a reference current and that Icm should be used as reference current value instead.
- FIG. 6 shows a mixer 116 two different output resistors R 1 and R 2 of the Gilbert cell.
- One advantage of making the differential output voltage equal to zero means that biasing of the transistors in the two branches is the same. This means the voltage drop across both resistors R 1 and R 2 are identical:
- I dm( R 1 +R 2) I cm( R 2 ⁇ R 1)
- the resistors R 1 and R 2 should be matching to the extent that they should both go up in temperature and have the same or similar accuracy to make the ratio between the two predictable since the important thing is not the absolute values of the two resistors but the ratio between the two resistors.
- the differential voltage should, preferably always, be zero when the determination of the value of the phase difference ⁇ is made.
- a system 118 is illustrated in FIG. 7 .
- a potentiometer 120 with its runner 122 connected to the supply voltage VCC.
- the potentiometer may be described as a variable resistor with three ports and it has the slidable runner 122 .
- the runner 122 may be connected to the left branch and R 1 is the resistor value between the left branch and the supply and R 2 is the resistor value between the right branch and the supply. In this way, although the values of the resistors R 1 and R 2 may change the sum of the resistors R 1 and R 2 is always the same i.e. a constant.
- the runner 122 is adjusted i.e. shifted along the scale 124 until the differential voltage (Vdm) at the mixer output is zero (0 V), then:
- a practical way to realize the adjustable potentiometer is by a resistor string with switches connected from the taps to the supply rail.
- the potentiometer connects or activates a certain number of resistors and the “runner” moves from the node of one resistor to the next until the differential voltage Vdm is zero in order to measure the phase difference. Only one switch will be closed at the same time. This can be controlled digitally.
- the total resistance from left to right is ktot*R.
- device 126 may be treated as an electronic potentiometer similar to the analog potentiometer 118 in FIGS. 7-8 .
- the mixer input phase difference is digitally defined by the closed switch position. This value is defined in an interval of (k/ktot)*180 degrees around 90 degrees in steps of 180/ktot degrees. It should be noted that a (small) series of resistors in the supply tap connection does not have any effect on any of the equations mentioned above.
- the switches in the potentiometer subcircuit can have some on-resistance without consequences. In the above arrangement, the switches can be realized with PMOS transistors.
- FIG. 17 is another embodiment of a digital potentiometer 127 that is connected to a mixer cell such as a Gilbert cell 128 .
- the potentiometer 127 has a plurality of left resistors 130 all connected to switches and a plurality of right resistors 132 also all connected to switches.
- the potentiometer 127 has a horizontal row of resistors 134 each connected to switches that is equivalent to the runner 122 and scale 124 in FIGS. 7-8 .
- the present invention related to a mixer (double-balanced or Gilbert cell) connected with its outputs to an adjustable load (such as a potento-meter) where a feedback mechanism settles when the differential output voltage of the mixer is stabilized to zero volt (or another desired value).
- an adjustable load such as a potento-meter
- the mixer and the potentiometer can be realized and biased in various ways.
- FIG. 18 A number of possible potentiometer implementations are combined in FIG. 18 .
- the horizontal row consists of k 1 switches and (k 1 ⁇ 1) resistors of value n.R, where R can be given any convenient value.
- Two fixed resistors with values ⁇ .k 2 .R and (1 ⁇ ).k 2 .R are inserted in the two vertical rows and determine the center phase (in the text so far, this was always 90 degrees but it can also be set to a different value) by means of factor ⁇ , where 0 ⁇ 1 and the switchable range of the potentiometer.
- the remainder of the two vertical rows consists of resistors with value R and switches that are controlled in groups of two in a similar way as the potentiometer shown in FIG. 17 .
- Center phase ⁇ 90 ⁇ 90. ⁇ (1 ⁇ 2. ⁇ )/(k 2 +n.k 1 ⁇ 1) ⁇ degrees.
- Range ⁇ (n.k 1 )/(n.k 1 +K 2 ) ⁇ . 180 degrees
- Step size 180/(n.k 1 +K 2 ) degrees
- the method of the present invention has been presented with a mixer with a tail current I tail connected to the ground rail and the runner of the potentiometer connected to the (positive) supply.
- the mixer may realized with complementary transistors (PNPB or PMOS, etc) and the runner of the potentiometer being connected to the ground rail.
- the switches of the potentiometer can be realized with NMOS transistors in that case.
- FIG. 10 is a schematic view of a phase detector 140 with a digital read out.
- the two input signals 142 , 144 are connected to the double balanced mixer with digital adjustable potentiometer load.
- a comparator 146 reads the sign of the differential voltage at the mixer output. The comparator 146 then uses this information to control the up/down port of an up-down counter (UDC) 148 .
- the UDC counts up or counts down with 1 LSB at each clock cycle, depending on the value of the up/down input.
- the UDC contents are translated with simple logic in a control of the switches in the decoder block 150 .
- the UDC contents ramps up or down until the comparator output changes state (when Vdm crosses 0V).
- the UDC contents toggles or oscillates between two values, one LSB apart.
- Vdm is, in that case, alternately slightly positive and slightly negative.
- the digital contents 152 of the UDC represent the input phase difference. It is possible to replace the UDC with some other digital circuit that iteratively adjusts the runner position, based on the sign of Vdm (for instance based on a SAR algorithm).
- FIG. 11 illustrates a PLL synthesizer loop 160 with programmable output phase.
- the digital programmable potentiometer structure 162 which consists of a resistor string with switches to the supply rail, controlled by a digital word, where only one of the switches is closed at the same time, is from now on indicated with the simple potentiometer symbol 164 , as shown in FIG. 11 .
- the potentiometer is switched to the desired position, corresponding to the required phase offset.
- the output of the mixer 166 is connected to a VCO (voltage controlled oscillator) 168 via a loop amplifier 170 and an optional loop filter 172 (in any order).
- the VCO 168 is directed to the double balanced mixer (Gilbert cell) 166 together with the input reference frequency 176 .
- the loop realizes the programmed phase difference ⁇ between the two (differential) inputs of the mixer 166 .
- the VCO 168 has, in this, a phase shift that is (n) times larger: n* ⁇ , where (n) is the division ratio. The resolution of the phase steps is decreased in this case with (n). For that reason it is better to keep (n) low or to remove the divider 174 altogether.
- FIG. 12 is a schematic view of a phase loop 180 with programmable output phase.
- a vector modulator 182 is used instead of a VCO.
- This block adds a fraction of an I-signal (cosine) with a fraction of a Q-signal (sine) to generate a signal with a variable phase between 0 (the cosine) and 90 (the sine) degrees.
- the I- and Q-signals are of the same frequency as the reference signal fref_in 176 since they have the same origin.
- the mix between I and Q is controlled with a control voltage Vctrl.
- a suitable vector modulator 190 is shown in FIG. 13 .
- a tail current 192 is divided between two differential pairs 194 , 196 controlled by a control voltage Vctrl.
- Vctrl control voltage
- the tail current is directed completely to the left upper pair 198 and the right upper pair 200 has no tail current at all.
- the input signal of the left pair 198 (the cosine signal) is amplified to the output completely.
- Vctrl it is the other way around and the input signal of the right pair 200 (the sine signal) is amplified to the output.
- the output signal is an amplified mix of the cosine and sine signal and therefore has a controllable phase. Note that a phase error between the I-signal (cosine) and Q-signal (sine) does not affect the system. As long as there is a Vctrl that can result in the required output phase, the feedback loop can settle.
- FIG. 14 shows a vector modulator 210 with programmable output phase of 360 degrees.
- the previous application was able to generate phases over 90 degrees (one quadrant) since the vector modulator could produce phases between 0 degrees (cosine) and 90 degrees (sine) by varying the input control voltage Vctrl over the complete range.
- the full 360 degrees can be generated by extending the vector modulator to a “4 quadrant vector modulator.”
- the output current of this block can be directly converted into voltages by connecting two resistors to the supply rail, described in the earlier embodiments above. It can also be processed differently.
- Quad 1 can be recognized as the one quadrant vector modulator described before, which is able to generate output phases from 0 to 90 degrees (when going from cosine to sine).
- Quad 2 the output can travel between 90 and 180 degrees, in Quad 3 from 180 to 270 degrees and in Quad 4 from 270 to 360 degrees which completes the circle.
- the system 210 is set up such that the same output phase is generated with the same Vctrl in two succeeding phases i.e.
- Quad 1 going from a (very) negative Vctrl to a (very) positive Vctrl, the output phase travels from the cosine 212 to the sine 214 . If the system is then switched to Quad 2 while Vctrl is kept (very) positive, the output is still controlled by the same input i.e. the sine 214 . If Vctrl is then gradually changed to (very) negative, the output travels from the sine to the ‘minus cosine’ 216 (from 90 to 180 degrees). Then system 210 may then be switched to Quad 3 , going back with Vctrl from (very) negative to (very) positive and the output smoothly goes from 180 to 270 degrees etc.
- the switching mechanism 220 between the four Quadrants is illustrated in FIG. 15 .
- the four quadrant vector modulator 210 is a block that constructs an output signal with a phase that can be controlled by choosing a quadrant and by applying a control voltage Vctrl. It uses a combination of a (minus) cosine or a (minus) sine input signal to achieve this. Depending on the active quadrant, the output phase increases or decreases with increasing Vctrl and the sign of the transfer gain of this block is quadrant dependent. For Quad 1 and Quad 3 , the sign is positive; for Quad 2 and Quad 4 the sign is negative. When used in a feedback loop, this, preferably, should be corrected somewhere in such a way that there is always negative feedback.
- a complete 360 degrees programmable phase loop 230 with a 4-quadrant vector modulator 232 is shown in FIG. 16 .
- the contents of a 2-bit UDC define the active quadrant which is passed to the vector modulator 232 via a 2 to 4 decoder 236 .
- Two comparators 238 , 240 are used to detect if the control signal Vctrl is either very negative (TooLow: below the comparator voltage Vneg), very positive (TooHigh: above Vpos) or neither.
- the switching mechanism may be described as shown below:
- this logic is incorporated in the 2-bit UDC 234 . Since the sign of the transfer gain from the input control voltage Vctrl to output phase of the vector modulator 232 is negative in Quad 4 and Quad 2 and positive in Quad 1 and Quad 3 , the sign of the loop gain must be corrected for this. This is preferably done with the swap/no-swap signal, generated with simple logic from the quad information.
- the quadrant-dependent sign-inversion can be done anywhere in the loop but it is better if it does not result in instantaneous steps in Vctrl. For that reason, it is preferred to place the swapping switches 242 in front of the loop filter 244 .
- the 4-quadrant vector modulator 232 may be able to generate signals with phase differences from 0 to 360 degrees (with respect to the sine and cosine inputs), the adjustable potentiometer phase detector can only accurately detect phase differences in an interval of less than 180 degrees, relative to the phase of the input reference frequency fref_in 246 of the double-balanced mixer 248 . If it is desirable to be able to Generate any phase difference, it is possible to switch fref_in 246 as well. If the cosine and sine (I and Q) signals coming from a synthesizer for instance, are available, one of these signals can be used (inverted or non-inverted) as fref_in in the system 230 . This enables the generation of any desired phase difference.
- each of the two single ended mixer output currents through a resistor (directly or via an active current to voltage converter) and convert these voltages with an ADC to the digital domain where the ratio Idm/Icm is calculated. It is also possible to convert the differential and common mode output currents separately to voltages and convert both with an ADC to the digital domain where their ratio is calculated.
- the output currents ( 2 x single ended or differential mode and common mode) can be directly converted to the digital domain without first converting them to voltages.
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Nonlinear Science (AREA)
- Amplifiers (AREA)
- Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
Abstract
The method determines an input phase differential (Δφ) between two input signals. A phase detector is provided that has pairs of transistors and a first impedance (R1) connected to a first branch carrying a first signal (Iout_left) and a second impedance (R2) connected to a second branch carrying a second signal (Iout_right). The first signal (Iout_left) in the first branch is set as a first sum of a common mode output signal (Icm) and a differential mode output signal (Idm). The second signal (Iout_right) in the second branch is set as a second sum of the common mode output signal (Icm) minus the differential mode output signal (Idm). A relationship between the first impedance (R1) and the second impedance (R2) is adjusted until a differential mode output voltage (Vdm) of the phase detector is zero. The input phase differential (Δφ) is determined when the differential mode output voltage (Vdm) is zero.
Description
- This is a continuation application of U.S. patent application Ser. No. 15/111,569, filed 14 Jul. 2016 that claims priority from International Application No. PCT/SE2015/000031, filed 18 May 2015 that claims priority from U.S. Provisional Patent Application No. 62/010,471, filed 11 Jun. 2014.
- The invention relates to a method for using an accurate adjustable high-frequency phase-detector.
- A well-known phase detector circuit is the double-balanced mixer or Gilbert
cell 100, as shown inFIG. 1 . Two differential signals are applied to this mixer cell and the differential output voltage of the mixer is then used as the information source for the phase difference. V1 (V1plus−V1minus) is applied to the upper pairs of transistors 102 a, 102 b and V2 (V2plus−V2minus) is applied to the lower pair oftransistors 104 a, 104 b. Whenever the voltage V2 p is higher than the voltage V2 m, the current will take theleft branch 106 a and when V2 m is higher than V2 p the current will take theright branch 106 b. When a square way signal is connected to the bottom pair V2 p and V2 m, the current will alternatively and continually switch between thebranches transistors 104 a and 104 b. Similarly, whenever V1 p is higher than V1 m, the current will alternatively take theleft branches 108 a and 108 b and via collector resistor Rc1. The current will take theright branches 108 a 2 and 108b 2 and via collector resistor Rc2 when the voltage V1 m is higher than V1 p. The mixer output is connected to the supply rail (Vcc) via two collector resistors Rc. V1 and V2 are considered to be sufficiently high so that the mixer is switching properly. If in that case, theaverage value 110 of the differential output voltage of the mixer is plotted as a function of the input phase-difference, the output phase-characteristic is obtained, as shown inFIG. 2 . The output voltage VPD-Out is zero when the phase difference is 90 degrees and approximates Rc*Itail when the phase difference is 180 degrees. When the phase difference is 0 degree, this is equivalent to the current taking the furthest left branch of themixer 100 inFIG. 1 and when the phase difference is 180 degrees, this is equivalent to the current taking the furthest right branch in themixer 100. The capacitors are here used to realize the averaging. The double balancedmixer 100 is a phase detector of a multiplicative type. The phase characteristic is periodic with tops that are ‘rounded off’ due to, for example, a certain inertia or switching slowness of the transistors. Depending on the mixer speed and input frequency, the area where the positive and negative tops of the phase characteristics are ‘rounded off’ can be smaller or larger. The imperfections of the transistors in the mixer are particularly apparent at and close to phase differences of 0 or 180 degrees. One problem of theprior art mixer 100 is that the average output voltage which is used to represent the phase difference of the two square input signals, is not accurate. - In the prior art systems, the approximate input phase-difference Δφ is determined by examining the average differential output voltage and using a reference voltage. The maximum (extrapolated) output voltage corresponds to Itail*Rc wherein Itail is the mixer tail current and Rc is the collector resistor value of the resistors. The output phase difference is then approximately:
-
Δφ=90+90*{V PD-out/(I tail *Rc)} degrees - When the output phase difference Δφ is 45 degrees, the average voltage VPD-out is about Itail*Rc/2. As indicated above, the use of Itail in the formula is not correct due to the losses in the
mixer 100 and the real value of the current (I) coming out of the top part of themixer 100 can be substantially different from Itail especially at high frequencies. However, it is difficult to determine what this value of the current (I) should be. Thus, the above approximation has a many accuracy drawbacks, as listed below: - 1. The assumption that the sum of the two output currents of the mixer is identical to the tail current Itail which is not correct. Because of the finite beta of the transistors and all kinds of parasitic effects (like injection in the substrate), this assumption is not completely true. The value of Itail*Rc in the above formula should be corrected somewhat but this correction factor is not very predictable and is difficult to determine because it depends on temperature, process and other properties that are difficult to determine. The sum of the two currents (left and right side) coming out of the
mixer 100 is thus different from the incoming current Itail. - 2. The ‘rounding off’ in the positive and negative tops of the characteristic affects illustrates an undesirable flaw of deviation partly due to speed problems of the transistors i.e. the transistors cannot turn on and off quickly enough when the phase differences are very small. The further away from the 90 degrees input phase-difference, the larger the deviation becomes and the flaw reaches its maximum and 0 and 180 degrees. The most accurate phase measurement is done when the phase difference is exactly 90 degrees and the output differential-voltage VPD-out is zero.
- 3. There is an additional error due to the fact that the voltages at the two outputs of the mixer are not the same for input phase-differences other than 90 degrees. In that case, the collector to emitter bias voltage of the transistors in the upper mixer pair are not the same which affects the above assumption as well in a way that is not very predictable.
- 4. Since the load the mixer forms for the two input signals is not the same (V1 is connected to the double top pair which is connected with its collectors to the output and V2 is connected to the single bottom pair which is connected with its collectors to the common emitter nodes of the top pair), the phase difference that corresponds to a 0 Volt differential output voltage is not exactly 90 degrees, but is somewhat shifted due to the imbalance of the
mixer 100 in that the upper transistors consist of 4 transistors while the lower transistors only consist of 2 transistors. In other words, because of this, the complete phase characteristics is shifted in the x-direction. - As shown in
FIG. 3 , it is possible to correct this imbalance by placing asecond mixer 112 in parallel that is connected to the same input signals that are now ‘swapped’ i.e. V1 is connected to the bottom pair of transistors while V2 is connected to the top pairs of transistors. - The conventional way of translating the mixer output voltage VPD-out into a phase difference is problematic because:
- 1. A voltage reference is needed that is proportional to Itail*Rc,
- 2. A correction should be realized that accommodates for inaccurate transistor properties like finite beta, temperature and process dependency,
- 3. An extra error can be expected due to speed limitations that will be there for all input phase differences which is to be more severe further away from 90 degrees and which finally results in the undesirable ‘rounding off’ of the tops of the characteristic,
- 4. An extra partly unpredictable deviation from the ideal phase characteristic can be expected when the average differential mixer output voltage differs from 0V, and
- 5. An error can be expected due to the asymmetrical loading of the input signals.
- The method of the present invention provides a solution to many of the above-outlined problems. It solves
problems Problem 3 is a fundamental problem for all mixer circuits. However, since the phase detector of the present invention has a differential mixer output voltage of zero, the present invention performs better with respect toproblem 3 also. Problem 5 is not solved but can be compensated in the same way as with conventional phase detectors by using a second mixer with swapped inputs in parallel. More particularly, the method determines an input phase differential (Δφ) between two input signals such as sine inputs that have been converted to square wave signals by limiter amplifiers. An important feature of the present invention is that there is no need for using a standard voltage reference at all because an important notion is that the input phase differential is contained in the ratio of the differential mode and common mode output currents. Although instead of determining the ratios of the differential mode and common mode output currents, it would be just as good to measure the ratio of the differential and common mode output voltages when the mixer collector resistors are identical (because Vcm=Icm*Rc and Vdm=Idm*Rc). The ratio of the differential mode current and the common mode current is here used an illustrative example. In other words, no voltage is measured relative to a standard voltage reference (like a band-gap reference). Instead, the output voltage differential relative to the common mode voltage is determined instead. If voltages are measured it is preferred that the two mixer collector resistors (Rc1 and Rc2) are identical. Therefore, the ratio between the differential mode current (Idm) and the common mode current (Icm) is preferably used instead. It is to be understood that it is quite difficult to determine the phase differential by measuring the differential mode voltage (Vdm) and divide this by the common mode voltage (Vcm). It is much easier to instead use a standard voltage reference (such as Rc*Itail) which is one reason why the ratio between differential voltage mode and the common mode voltage has not been used before to determine the phase differential in a mixer. It is easier, as was done in the past, to predict the common mode voltage as accurate as possible by using the voltage reference and generating the tail current of the mixer from it by using the same type of resistor. The output differential voltage may thus be used to derive the phase difference by measuring the common mode voltage and use that as a reference. It is less accurate to try to predict the common mode voltage (compensation) as it was done in the past. A second important notion of the present invention is that the phase information can not only be derived from the ratio of the differential mode and common mode voltage but that the primary ratio for determining the phase difference is the ratio between the differential mode current (Idm) and the common mode current (Icm). As described in detail below, a third important notion of the present invention is that when the two resistors of the mixer are not the same, a potentiometer can surprisingly be used to indicate what the ratio of the differential mode current (Idm) and the common mode current (Icm) is. - More particularly, a high-frequency phase detector is provided that has pairs of transistors and a first impedance (R1) connected to a first branch carrying a first signal (Iout_left) and a second impedance (R2) connected to a second branch carrying a second signal (Iout_right). The first signal (Iout_left) in the first branch is set as a first sum of a common mode output signal (Icm) and a differential mode output signal (Idm). The second signal (Iout_right) in the second branch is set as a second sum of the common mode output signal (Icm) minus the differential mode output signal (Idm). A relationship between the first impedance (R1) and the second impedance (R2) is adjusted until a differential mode output voltage (Vdm) of the phase detector is zero. The input phase differential (Δφ) is determined when the differential mode output voltage (Vdm) is zero.
-
FIG. 1 is a schematic view of a prior art double-balanced mixer i.e. a Gilbert cell; -
FIG. 2 is a curve showing an average value of the differential output voltage as a function of the input phase-difference; -
FIG. 3 is a schematic view of two prior art mixers in parallel connected to the same input signal; -
FIG. 4 is a schematic view of a prior art mixer i.e. a Gilbert cell without collector resistors. -
FIG. 5 is a visualization of the definition of the common mode output current Icm and differential mode output current Idm; -
FIG. 6 is a schematic view of a Gilbert cell having two different resistors R1 and R2 and capacitors for low pass filtering. -
FIG. 7 is a schematic view of a potentiometer of the present invention, connected to the output of a Gilbert cell. -
FIG. 8 is a symbolic representation of the relation between the mixer input phase difference and the runner position of the potentiometer shown inFIG. 7 , when the mixer differential output voltage is zero. -
FIG. 9 is a schematic view of a digital potentiometer of the present invention having a resistor string; -
FIG. 10 is a schematic view of a phase detector with a digital read out; -
FIG. 11 is a schematic view of a PLL synthesizer loop with programmable output phase; -
FIG. 12 is a schematic view of a phase loop with programmable output phase; -
FIG. 13 is a schematic view of a vector modulator; -
FIG. 14 is a vector modulator with controllable output phase of 360 degrees; -
FIG. 15 is a schematic view of switching mechanisms between four Quadrants; -
FIG. 16 is a schematic view of a second embodiment of an application of the present invention; -
FIG. 17 is a schematic view of an alternative embodiment of a potentiometer of the present invention; and -
FIG. 18 is a schematic view of a potentiometer with several adjustable properties. - An important notion of the present invention is that the sum of the two currents coming out of the top part of the
mixer 100 is not the same as Itail. As shown inFIG. 4 , the present invention is a phase detector, based on the double-balanced mixer orGilbert cell 100 that does not have many of the short-comings from the list of drawbacks. - It is here assumed that the 5th error is zero or negligible. As described above, the conventional way of using the Gilbert cell or
mixer 100 is to rely on voltage differentials relative to a voltage reference (such as Itail*Rc inFIG. 1 ) because they are relatively easy to measure as opposed to measuring current differentials. One important and surprising notion is that the relationship between the input phase-difference Δφ and the output currents of a double balanced mixer or Gilbert cell can be described as: -
Δφ=(−90*Idm/Icm)+90 degrees, - An important idea of the present invention is to split up the current into a common mode output-current Icm and a differential mode output-current Idm although it is difficult to measure the ratio between two currents. Although the information is in Idm/Icm, preferably the measurements are only made when Vdm=0, when the ratio of the load resistors or the position of the potentiometer is read, as will be explained later. It is to be understood that the setting of Vdm to zero is only used an illustrative example of the present invention. It is possible to settle for a non-zero differential output voltage Vdm and correct for this later. Inaccuracy due to inaccurate resistor ratios may remain. Inaccuracy due to absolute resistor values (for example, all resistors are 20% higher) have no effect on the end result. It is to be understood that the ratio between Vdm/Vcm may also be used (which is the same thing particularly when Rc1=Rc2 in
FIG. 1 ) and the Idm/Icm ratio is here used as an illustrative example. It is more accurate to include Icm and Idm in the equation than to considering the output voltage because that involves the resistors R1 and R2 which adds another source of inaccuracies. Icm represents the current value that is the same between the left and the right branches coming out of themixer 100 while Idm represents the part of the two currents that is different. Icm and Idm are defined as the two mixer output currents, as shown insimplified mixer 114 ofFIG. 5 , and described below: -
Icm=(Iout_left+Iout_right)/2 -
Idm=(Iout_left−Iout_right)/2 - This may be rewritten, as shown below:
-
Iout_left=Icm+Idm -
Iout_right=Icm−Idm - Icm is about Itail/2 but, as mentioned above, in reality the true value is different due to the inaccuracies described above such as finite beta, temperature differences, injection and all kinds of large and small signal frequency-dependent properties as a result of the fact that Iout_left+Iout_right is not the same as Itail. It is an important and surprising notion that Itail should not be used as a reference current and that Icm should be used as reference current value instead.
- It should be noted that the error due to error number 2 (imperfect transistor properties) in the list above is not present in equation (1) below:
-
Δφ=(−90*Idm/Icm)+90 degrees. (1) - In other words, by using Idm and Icm only, there is no need to make the incorrect assumption that Iout_left+Iout_right must be the same as Itail.
- Another important and surprising notion is that by applying a variable (resistive) load that results in a zero volt differential output-voltage at each current input phase-difference yields a simple relationship between the input phase-difference Δφ and the load resistor-ratios. This notion is used to measure the ratios between two currents which is something that is very difficult to do, as mentioned above.
-
FIG. 6 shows amixer 116 two different output resistors R1 and R2 of the Gilbert cell. The values of resistors R1 and R2 are not necessarily the same but they are selected so that the differential output voltage is always zero i.e. VPD-out=0 V. It is also possible to let the system settle at a known non-zero value and correct later for this. However, in the preferred embodiment the differential output voltage is zero. One advantage of making the differential output voltage equal to zero means that biasing of the transistors in the two branches is the same. This means the voltage drop across both resistors R1 and R2 are identical: -
V PD-out =Iout_left*R1−Iout_right*R2=0 V -
or: -
Iout_left*R1=Iout_right*R2 -
or: -
(Icm+Idm)*R1=(Icm−Idm)*R2 -
or: -
Idm(R1+R2)=Icm(R2−R1) - This may be rewritten as:
-
Idm/Icm=(R2−R1)/(R2+R1) - and a substitution in the equation (1) leads to:
-
Δφ=−90*{(R2−R1)/(R2+R1)}+90 degrees - When the sum of R1 and R2 is kept constant, then there is a simple linear relationship between the difference R1−R2 and the input phase difference Δφ. It should be understood that the sum of R1 and R2 does not have to be a constant although this is convenient due to the linear relationship that makes it easy to use a linear scale. Preferably, the resistors R1 and R2 should be matching to the extent that they should both go up in temperature and have the same or similar accuracy to make the ratio between the two predictable since the important thing is not the absolute values of the two resistors but the ratio between the two resistors. The differential voltage should, preferably always, be zero when the determination of the value of the phase difference Δφ is made.
- A
system 118 is illustrated inFIG. 7 . By keeping the sum of R1 and R2 constant but varying the difference between R1 and R2, this can be represented by apotentiometer 120 with itsrunner 122 connected to the supply voltage VCC. The potentiometer may be described as a variable resistor with three ports and it has theslidable runner 122. Therunner 122 may be connected to the left branch and R1 is the resistor value between the left branch and the supply and R2 is the resistor value between the right branch and the supply. In this way, although the values of the resistors R1 and R2 may change the sum of the resistors R1 and R2 is always the same i.e. a constant. - In an adjusting step the
runner 122 is adjusted i.e. shifted along thescale 124 until the differential voltage (Vdm) at the mixer output is zero (0 V), then: -
Idm/Icm=(R2−R1)/(R2+R1) -
FIG. 8 shows a detailed view of thepotentiometer 120. Since R2+R1 is constant, the position of therunner 122 alongscale 124 is a direct indication of the phase difference (when the runner is adjusted until Vdm=0V) where the extreme left position corresponds to 0 degrees, the middle position to 90 degrees and the extreme right position corresponds to 180 degrees. In other words, when therunner 122 is moved until the differential voltage is zero, then the phase difference can be read on thescale 124. - Of course, it is not possible to detect phase differences close to 0 and 180 degrees for the same reasons as in conventional detectors. The conversion from input phase to output current duty cycle follows the Δφ formula (equation (1)) only when the mixer output currents are completely settled as a result of the sign transition of one input signal before the other signal changes polarity.
- A practical way to realize the adjustable potentiometer is by a resistor string with switches connected from the taps to the supply rail. The potentiometer connects or activates a certain number of resistors and the “runner” moves from the node of one resistor to the next until the differential voltage Vdm is zero in order to measure the phase difference. Only one switch will be closed at the same time. This can be controlled digitally. As shown in
FIG. 9 , the total resistance from left to right is ktot*R. In a way,device 126 may be treated as an electronic potentiometer similar to theanalog potentiometer 118 inFIGS. 7-8 . There are a (k) number of resistors with a value R with switches on each side and two fixed resistors at both ends with value {(ktot−k)/2}*R - When one switch is closed and Vdm=0, then the mixer input phase difference is digitally defined by the closed switch position. This value is defined in an interval of (k/ktot)*180 degrees around 90 degrees in steps of 180/ktot degrees. It should be noted that a (small) series of resistors in the supply tap connection does not have any effect on any of the equations mentioned above. The switches in the potentiometer subcircuit can have some on-resistance without consequences. In the above arrangement, the switches can be realized with PMOS transistors.
-
FIG. 17 is another embodiment of adigital potentiometer 127 that is connected to a mixer cell such as aGilbert cell 128. Thepotentiometer 127 has a plurality ofleft resistors 130 all connected to switches and a plurality ofright resistors 132 also all connected to switches. Thepotentiometer 127 has a horizontal row ofresistors 134 each connected to switches that is equivalent to therunner 122 andscale 124 inFIGS. 7-8 . The vertical rows ofresistors resistor row 130 is activated so that the total is 4*8R+2R=34R. At the same time, the switch to the second to the last resistor in theresistor row 132 is also activated so that the sum of the resistors inrows FIG. 9 , when the same resolution is chosen. Similar to thedevice 126 inFIG. 9 , the switch position along theresistors 134 indicate the phase difference of the two input signals when Vdm=0. The resolution of the potentiometer is set by the number of resistors used. - In General, the present invention related to a mixer (double-balanced or Gilbert cell) connected with its outputs to an adjustable load (such as a potento-meter) where a feedback mechanism settles when the differential output voltage of the mixer is stabilized to zero volt (or another desired value). It is to be understood that the mixer and the potentiometer can be realized and biased in various ways.
- A number of possible potentiometer implementations are combined in
FIG. 18 . The horizontal row consists of k1 switches and (k1−1) resistors of value n.R, where R can be given any convenient value. Two fixed resistors with values α.k2.R and (1−α).k2.R are inserted in the two vertical rows and determine the center phase (in the text so far, this was always 90 degrees but it can also be set to a different value) by means of factor α, where 0<α<1 and the switchable range of the potentiometer. The remainder of the two vertical rows consists of resistors with value R and switches that are controlled in groups of two in a similar way as the potentiometer shown inFIG. 17 . - For the potentiometer of
FIG. 18 , the following properties are realized when it is used in a system according to the invention: - Center phase={90−90. {(1−2.α)/(k2+n.k1−1)}} degrees.
- Range={(n.k1)/(n.k1+K2)}. 180 degrees
- Number of steps=n.k1
- Step size=180/(n.k1+K2) degrees
- Note that the potentiometer of
FIG. 9 is a special case of the universal potentiometer ofFIG. 18 with n=1 and α=0.5. - So far, the method of the present invention has been presented with a mixer with a tail current Itail connected to the ground rail and the runner of the potentiometer connected to the (positive) supply. Of course, this can also be done the other way around i.e. the tail current comes from the supply. The mixer may realized with complementary transistors (PNPB or PMOS, etc) and the runner of the potentiometer being connected to the ground rail. The switches of the potentiometer can be realized with NMOS transistors in that case. It is also possible to connect the (n-type transistors) mixer with the bottom pair to the around rail directly and connect the current source between the supply rail and the runner of the potentiometer. Biasing of the mixer may in that case be realized with a special common mode bias loop. A complementary realization of this is also possible.
- There are many applications that can make use of the relationship between the runner position and the input phase difference when the output differential voltage is zero. For example, there are applications where a feedback loop controls the runner position. There are also applications where the runner is placed in a fixed position and a loop controls the input phase difference.
-
FIG. 10 is a schematic view of aphase detector 140 with a digital read out. The twoinput signals comparator 146 reads the sign of the differential voltage at the mixer output. Thecomparator 146 then uses this information to control the up/down port of an up-down counter (UDC) 148. The UDC counts up or counts down with 1 LSB at each clock cycle, depending on the value of the up/down input. The UDC contents are translated with simple logic in a control of the switches in thedecoder block 150. The UDC contents ramps up or down until the comparator output changes state (when Vdm crosses 0V). Once settled, the UDC contents toggles or oscillates between two values, one LSB apart. Vdm is, in that case, alternately slightly positive and slightly negative. Thedigital contents 152 of the UDC represent the input phase difference. It is possible to replace the UDC with some other digital circuit that iteratively adjusts the runner position, based on the sign of Vdm (for instance based on a SAR algorithm). -
FIG. 11 illustrates aPLL synthesizer loop 160 with programmable output phase. The digitalprogrammable potentiometer structure 162 which consists of a resistor string with switches to the supply rail, controlled by a digital word, where only one of the switches is closed at the same time, is from now on indicated with thesimple potentiometer symbol 164, as shown inFIG. 11 . - The potentiometer is switched to the desired position, corresponding to the required phase offset. The output of the
mixer 166 is connected to a VCO (voltage controlled oscillator) 168 via aloop amplifier 170 and an optional loop filter 172 (in any order). After an (optional)divider 174, theVCO 168 is directed to the double balanced mixer (Gilbert cell) 166 together with theinput reference frequency 176. Note that the double balanced mixer has differential inputs. This is not drawn for simplicity reasons. The loop realizes the programmed phase difference Δφ between the two (differential) inputs of themixer 166. TheVCO 168 has, in this, a phase shift that is (n) times larger: n*Δφ, where (n) is the division ratio. The resolution of the phase steps is decreased in this case with (n). For that reason it is better to keep (n) low or to remove thedivider 174 altogether. -
FIG. 12 is a schematic view of aphase loop 180 with programmable output phase. Avector modulator 182 is used instead of a VCO. This block adds a fraction of an I-signal (cosine) with a fraction of a Q-signal (sine) to generate a signal with a variable phase between 0 (the cosine) and 90 (the sine) degrees. The I- and Q-signals are of the same frequency as thereference signal fref_in 176 since they have the same origin. The mix between I and Q is controlled with a control voltage Vctrl. - A
suitable vector modulator 190 is shown inFIG. 13 . A tail current 192 is divided between twodifferential pairs upper pair 198 and the rightupper pair 200 has no tail current at all. In that case, the input signal of the left pair 198 (the cosine signal) is amplified to the output completely. For a very negative value of Vctrl, it is the other way around and the input signal of the right pair 200 (the sine signal) is amplified to the output. In other situations, the output signal is an amplified mix of the cosine and sine signal and therefore has a controllable phase. Note that a phase error between the I-signal (cosine) and Q-signal (sine) does not affect the system. As long as there is a Vctrl that can result in the required output phase, the feedback loop can settle. -
FIG. 14 shows avector modulator 210 with programmable output phase of 360 degrees. The previous application was able to generate phases over 90 degrees (one quadrant) since the vector modulator could produce phases between 0 degrees (cosine) and 90 degrees (sine) by varying the input control voltage Vctrl over the complete range. InFIG. 14 , the full 360 degrees can be generated by extending the vector modulator to a “4 quadrant vector modulator.” The output current of this block can be directly converted into voltages by connecting two resistors to the supply rail, described in the earlier embodiments above. It can also be processed differently. - There are four quadrants defined: Quad1, Quad2, Quad3 and Quad4. Depending on the active quadrant, only one tail current is present, the others are zero. Quad1 can be recognized as the one quadrant vector modulator described before, which is able to generate output phases from 0 to 90 degrees (when going from cosine to sine). In Quad2, the output can travel between 90 and 180 degrees, in Quad3 from 180 to 270 degrees and in
Quad 4 from 270 to 360 degrees which completes the circle. In order to guarantee a smooth and uninterrupted transition between the quadrants, thesystem 210 is set up such that the same output phase is generated with the same Vctrl in two succeeding phases i.e. from Quad1 toQuad 2,Quad 2 toQuad 3 and fromQuad 3 toQuad 4. When in Quad1, going from a (very) negative Vctrl to a (very) positive Vctrl, the output phase travels from thecosine 212 to thesine 214. If the system is then switched to Quad2 while Vctrl is kept (very) positive, the output is still controlled by the same input i.e. thesine 214. If Vctrl is then gradually changed to (very) negative, the output travels from the sine to the ‘minus cosine’ 216 (from 90 to 180 degrees). Thensystem 210 may then be switched to Quad3, going back with Vctrl from (very) negative to (very) positive and the output smoothly goes from 180 to 270 degrees etc. - The
switching mechanism 220 between the four Quadrants is illustrated inFIG. 15 . The fourquadrant vector modulator 210 is a block that constructs an output signal with a phase that can be controlled by choosing a quadrant and by applying a control voltage Vctrl. It uses a combination of a (minus) cosine or a (minus) sine input signal to achieve this. Depending on the active quadrant, the output phase increases or decreases with increasing Vctrl and the sign of the transfer gain of this block is quadrant dependent. For Quad1 and Quad3, the sign is positive; for Quad2 and Quad4 the sign is negative. When used in a feedback loop, this, preferably, should be corrected somewhere in such a way that there is always negative feedback. - A complete 360 degrees
programmable phase loop 230 with a 4-quadrant vector modulator 232 is shown inFIG. 16 . The contents of a 2-bit UDC define the active quadrant which is passed to thevector modulator 232 via a 2 to 4decoder 236. - Two
comparators - When in: Quad1 and TooHigh: Count up to Quad2
-
- Quad2 and TooHigh: Count down to Quad1
- Quad3 and TooHigh: Count up to Quad4
- Quad4 and TooHigh: Count down to Quad3
- Quad1 and TooLow: Count down to Quad4
- Quad2 and TooLow: Count up to Quad3
- Quad3 and TooLow: Count down to Quad2
- Quad4 and TooLow: Count up to Quad1
- Preferably, this logic is incorporated in the 2-
bit UDC 234. Since the sign of the transfer gain from the input control voltage Vctrl to output phase of thevector modulator 232 is negative in Quad4 and Quad2 and positive in Quad1 and Quad3, the sign of the loop gain must be corrected for this. This is preferably done with the swap/no-swap signal, generated with simple logic from the quad information. The quadrant-dependent sign-inversion can be done anywhere in the loop but it is better if it does not result in instantaneous steps in Vctrl. For that reason, it is preferred to place the swapping switches 242 in front of theloop filter 244. - The 4-
quadrant vector modulator 232 may be able to generate signals with phase differences from 0 to 360 degrees (with respect to the sine and cosine inputs), the adjustable potentiometer phase detector can only accurately detect phase differences in an interval of less than 180 degrees, relative to the phase of the inputreference frequency fref_in 246 of the double-balanced mixer 248. If it is desirable to be able to Generate any phase difference, it is possible to switchfref_in 246 as well. If the cosine and sine (I and Q) signals coming from a synthesizer for instance, are available, one of these signals can be used (inverted or non-inverted) as fref_in in thesystem 230. This enables the generation of any desired phase difference. Instead of inverting the reference signal fref_in in the system 320 (in order to realize a 180 degrees phase shift) it is also possible to use the New reference signal and mirror the potentiometer position relative to the center position and at the same time swap the potentiometer output. This avoids the placement of switches in the high frequency signal path. The last swapping action can be combined with the swapping switches 242 that are already present. - When discussing mechanisms with transistor circuits, it is important to be aware that there are different circuit implementations possible that realize the same mechanism such as using MOS transistors instead of bipolar transistors, complementary topologies (p-type instead of n-type etc.), implementing information in current domain instead of voltage domain or vice versa.
- There are other possible alternative applications based on measuring Idm/Icm. For example, it is possible to direct each of the two single ended mixer output currents through a resistor (directly or via an active current to voltage converter) and convert these voltages with an ADC to the digital domain where the ratio Idm/Icm is calculated. It is also possible to convert the differential and common mode output currents separately to voltages and convert both with an ADC to the digital domain where their ratio is calculated. The output currents (2x single ended or differential mode and common mode) can be directly converted to the digital domain without first converting them to voltages.
- While the present invention has been described in accordance with preferred compositions and embodiments, it is to be understood that certain substitutions and alterations may be made thereto without departing from the spirit and scope of the following claims.
Claims (21)
1. A method of determining an input phase differential between two input signals, comprising,
providing a phase detector having pairs of transistors and having a first impedance (R1) connected to a first branch and a second impedance (R2) connected to a second branch of the phase detector,
adjusting a relationship between the first impedance (R1) and the second impedance (R2) until a differential mode output voltage (Vdm) of the phase detector is zero, and
determining the input phase differential (Δφ) when the differential mode output voltage (Vdm) is zero.
2. The method of claim 1 wherein the common mode output signal (Icm) is a common mode output current and the differential mode output signal (Idm) is a differential mode output current.
3. The method of claim 1 wherein the common mode output signal is a common mode output voltage and the differential mode output signal is a differential mode output voltage.
4. The method of claim 2 wherein the method further comprises the step of using a ratio between the differential mode output current Idm and the common mode output current Icm.
5. The method of claim 3 wherein the method further comprises the step of using a ratio between the differential mode output voltage Vdm and the common mode output voltage Vcm.
6. The method of claim 2 wherein the method further comprises determining the ratio of the differential mode output current Idm and the common mode output current by adjusting an output load impedances of the phase detector in such a way that the output differential mode voltage (Vdm) is zero.
7. The method of claim 2 wherein the method further comprises the step of keeping a sum of a first resistor value of a first resistor and a second resistor value of the second resistor constant.
8. The method of claim 7 wherein the method further comprises the step of adjusting the first resistor value and the second resistor value while keeping the sum of the first resistor value and the second resistor value constant.
9. The method claim 8 wherein the method further comprises the step of adjusting a position of an adjustable runner of a potentiometer until the differential mode output voltage (Vdm) is zero and determining the input phase differential (Δφ) by determining the position of the runner on a scale indicating the input phase differential (Δφ).
10. The method according to claim 1 wherein the method further comprises shifting a zero crossing of a phase characteristic by connecting an asymmetrical load to the phase detector.
11. The method according to claim 1 wherein the method further comprises permitting the differential output voltage (Vdm) to oscillate between a positive value and a negative value.
12. The method according to claim 1 wherein the method further comprises providing a string of resistors with a number of switches connected to the resistor terminals where the switches are controlled in order to adjust the differential output voltage (Vdm).
13. The method according to claim 1 wherein the method further comprises using a vector modulator to generate a signal with a variable phase between 0 and 90 degrees.
14. The method according to claim 13 wherein the method further comprises using a four-quadrant vector-modulator to generate signals with a variable phase between 0 and 360 degrees.
15. The method according to claim 14 wherein the method further comprises using an output phase in a first quadrant (Quad1) and a second quadrant (Quad2) that is identical by using identical input control voltage to provide an uninterrupted transition between the first quadrant (Quad1) and the second quadrant (Quad2) and back.
16. The method according to claim 15 wherein the method further comprises using an identical output phase between the second quadrant (Quad2) and a third quadrant (Quad3) to provide an uninterrupted transition between the second quadrant (Quad2) and the third quadrant (Quad3) and back.
17. The method according to claim 16 wherein the method further comprises using an identical output phase between the third quadrant (Quad3) and a fourth quadrant (Quad4) to provide an uninterrupted transition between the third quadrant (Quad3) and the fourth quadrant (Quad4) and back.
18. The method according to claim 17 wherein the method further comprises using an identical output phase between the fourth quadrant (Quad4) and a first quadrant (Quad1) to provide an uninterrupted transition between the fourth quadrant (Quad4) and the first quadrant (Quad1)and back.
19. The method of claim 1 wherein the method further comprises adjusting a relationship between the first impedance (R1) and the second impedance (R2) until a differential mode output voltage (Vdm) of the phase detector is a value other than zero.
20. The method according to claim 1 wherein the method further comprises the steps of the first branch carrying a first signal (Iout_left) of the phase detector and the second branch of the phase detector carrying a second signal (Iout_right).
21. The method according to claim 1 wherein the method further comprises the steps of setting the first signal (Iout_left) in the first branch as a first sum of a common mode output signal (Icm) and a differential mode output signal (Idm),
setting the second signal (Iout_right) in the second branch as a second sum of the common mode output signal (Icm) minus the differential mode output signal (Idm), and
determining an input phase differential (Δφ) by using a ratio between the differential mode output signal (Idm) and the common mode output signal (Icm).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/450,536 US20170176506A1 (en) | 2014-06-11 | 2017-03-06 | Method for using an accurate adjustable high-frequency phase-detector |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201462010471P | 2014-06-11 | 2014-06-11 | |
US15/111,569 US9651591B2 (en) | 2014-06-11 | 2015-05-18 | Method for using an accurate adjustable high-frequency phase-detector |
PCT/SE2015/000031 WO2015190971A1 (en) | 2014-06-11 | 2015-05-18 | Method for using an accurate adjustable high-frequency phase-detector |
US15/450,536 US20170176506A1 (en) | 2014-06-11 | 2017-03-06 | Method for using an accurate adjustable high-frequency phase-detector |
Related Parent Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/111,569 Continuation US9651591B2 (en) | 2014-06-11 | 2015-05-18 | Method for using an accurate adjustable high-frequency phase-detector |
PCT/SE2015/000031 Continuation WO2015190971A1 (en) | 2014-06-11 | 2015-05-18 | Method for using an accurate adjustable high-frequency phase-detector |
Publications (1)
Publication Number | Publication Date |
---|---|
US20170176506A1 true US20170176506A1 (en) | 2017-06-22 |
Family
ID=54833938
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/111,569 Active US9651591B2 (en) | 2014-06-11 | 2015-05-18 | Method for using an accurate adjustable high-frequency phase-detector |
US15/450,536 Abandoned US20170176506A1 (en) | 2014-06-11 | 2017-03-06 | Method for using an accurate adjustable high-frequency phase-detector |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/111,569 Active US9651591B2 (en) | 2014-06-11 | 2015-05-18 | Method for using an accurate adjustable high-frequency phase-detector |
Country Status (3)
Country | Link |
---|---|
US (2) | US9651591B2 (en) |
EP (2) | EP3155719B1 (en) |
WO (1) | WO2015190971A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10048300B2 (en) * | 2014-04-25 | 2018-08-14 | Qualcomm Technologies, Inc. | Detector circuit |
US10162244B1 (en) * | 2017-06-27 | 2018-12-25 | Taiwan Semiconductor Manufacturing Company, Ltd. | Configurable heating device |
WO2019164052A1 (en) * | 2018-02-22 | 2019-08-29 | Lg Electronics Inc. | Method of controlling harmonics and mobile terminal performing thereof |
US10476538B2 (en) * | 2018-02-22 | 2019-11-12 | Lg Electronics Inc. | Method of controlling harmonics and mobile terminal performing thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4963806A (en) * | 1988-03-10 | 1990-10-16 | Fujitsu Limited | Servo positioning apparatus |
US6970687B1 (en) * | 2001-07-13 | 2005-11-29 | Advanced Micro Devices, Inc. | Mixer |
US20090239495A1 (en) * | 2008-03-19 | 2009-09-24 | Skyworks Solutions, Inc. | Dc-compensated ip2 calibration for wcdma receiver |
US20090302925A1 (en) * | 2008-06-05 | 2009-12-10 | Fujitsu Limited | Orthogonal signal output circuit |
US20130120190A1 (en) * | 2011-11-14 | 2013-05-16 | Earl W. McCune, Jr. | Phased array transmission methods and apparatus |
US20140166267A1 (en) * | 2012-12-19 | 2014-06-19 | Halliburton Energy Services, Inc. | Suction Pressure Monitoring System |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5781036A (en) * | 1997-04-01 | 1998-07-14 | Maxim Integrated Products, Inc. | Phase detector |
US6985035B1 (en) | 1998-11-12 | 2006-01-10 | Broadcom Corporation | System and method for linearizing a CMOS differential pair |
JP3510556B2 (en) * | 2000-03-30 | 2004-03-29 | Nec化合物デバイス株式会社 | Image rejection mixer and receiver using the same |
US7031687B2 (en) | 2001-04-18 | 2006-04-18 | Nokia Corporation | Balanced circuit arrangement and method for linearizing such an arrangement |
DE112007001670T5 (en) | 2006-08-10 | 2009-06-18 | Nxp B.V. | Double Gilbert cell mixer with offset cancellation |
US8138798B2 (en) | 2008-07-29 | 2012-03-20 | Fujitsu Limited | Symmetric phase detector |
WO2011059842A2 (en) | 2009-11-12 | 2011-05-19 | Rambus Inc. | Techniques for phase detection |
JP2011124831A (en) | 2009-12-11 | 2011-06-23 | Renesas Electronics Corp | Communication apparatus |
WO2013156060A1 (en) | 2012-04-17 | 2013-10-24 | Epcos Ag | Linear 360° range phase detector |
-
2015
- 2015-05-18 EP EP15806097.0A patent/EP3155719B1/en active Active
- 2015-05-18 US US15/111,569 patent/US9651591B2/en active Active
- 2015-05-18 EP EP20187796.6A patent/EP3800788A1/en not_active Withdrawn
- 2015-05-18 WO PCT/SE2015/000031 patent/WO2015190971A1/en active Application Filing
-
2017
- 2017-03-06 US US15/450,536 patent/US20170176506A1/en not_active Abandoned
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4963806A (en) * | 1988-03-10 | 1990-10-16 | Fujitsu Limited | Servo positioning apparatus |
US6970687B1 (en) * | 2001-07-13 | 2005-11-29 | Advanced Micro Devices, Inc. | Mixer |
US20090239495A1 (en) * | 2008-03-19 | 2009-09-24 | Skyworks Solutions, Inc. | Dc-compensated ip2 calibration for wcdma receiver |
US20090302925A1 (en) * | 2008-06-05 | 2009-12-10 | Fujitsu Limited | Orthogonal signal output circuit |
US20130120190A1 (en) * | 2011-11-14 | 2013-05-16 | Earl W. McCune, Jr. | Phased array transmission methods and apparatus |
US20140166267A1 (en) * | 2012-12-19 | 2014-06-19 | Halliburton Energy Services, Inc. | Suction Pressure Monitoring System |
Also Published As
Publication number | Publication date |
---|---|
EP3800788A1 (en) | 2021-04-07 |
EP3155719B1 (en) | 2020-08-05 |
US20160349297A1 (en) | 2016-12-01 |
US9651591B2 (en) | 2017-05-16 |
EP3155719A1 (en) | 2017-04-19 |
EP3155719A4 (en) | 2018-04-25 |
WO2015190971A1 (en) | 2015-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170176506A1 (en) | Method for using an accurate adjustable high-frequency phase-detector | |
KR102656504B1 (en) | High linearity phase interpolator | |
JP5363428B2 (en) | Closed loop clock correction method and closed loop clock correction control system adapting apparatus | |
US5126742A (en) | Analog to digital converter with double folding interpolation circuitry | |
US7532053B2 (en) | Phase interpolation apparatus, systems, and methods | |
US6888482B1 (en) | Folding analog to digital converter capable of calibration and method thereof | |
US9485086B2 (en) | Phase interpolator | |
TWI455498B (en) | Direct conversion receiver and calibration method thereof | |
CN106603072B (en) | Injection locked ring oscillator circuit with analog quadrature calibration loop | |
KR20010082556A (en) | Phase-combining circuit and timing signal generator circuit for carrying out a high-speed signal transmission | |
JPS63119339A (en) | Vector modulator calibrating method | |
US20050195301A1 (en) | Charge pump circuit and PLL circuit using the same | |
CN104897938B (en) | Test and measurement instrument including asynchronous time interleaved digitizer using harmonic mixing | |
JP6242553B1 (en) | Polyphase filter and filter circuit | |
Sotner et al. | Features of multi-loop structures with OTAs and adjustable current amplifier for second-order multiphase/quadrature oscillators | |
CN115425972B (en) | Error calibration circuit of high-speed cascade analog-to-digital converter circuit | |
US20020003444A1 (en) | Semiconductor integrated circuit | |
CN107547147B (en) | Signal detector apparatus and method and corresponding system | |
US9577622B2 (en) | Phase interpolator | |
US20070047416A1 (en) | Pulse generator, optical disk writer and tuner | |
JP2023505071A (en) | Wideband tunable frequency single sideband converter with PVT tracking | |
US7358802B2 (en) | Multi-phase techniques for tuning and/or measuring operations of an amplifier | |
US20120098585A1 (en) | Quadrature mixer | |
WO2013156060A1 (en) | Linear 360° range phase detector | |
US9397615B2 (en) | Harmonic rejection power amplifier |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: CATENA HOLDING B.V., NETHERLANDS Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:VAN DER CAMMEN, PETER;REEL/FRAME:044000/0503 Effective date: 20170221 |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |