TRANSMISSION PHASE MEASUREMENT AND CALIBRATION METHOD UTILIZING HIGHER-ORDER FREQUENCY BINS

Information

  • Patent Application
  • 20200382170
  • Publication Number
    20200382170
  • Date Filed
    May 28, 2019
    5 years ago
  • Date Published
    December 03, 2020
    3 years ago
Abstract
A circuit includes a transmission channel that outputs a continuous-wave signal based on a reference signal, a transmit monitoring signal path that couples out a portion of the transmit signal as a monitoring signal, a test phase shifter that receives the reference signal and generates a phase-shifted signal based on a sequence of phase offsets applied to the reference signal, a phase mixer that mixes the phase-shifted signal and the monitoring signal to generate a mixer output signal including a plurality of direct current (DC) values, an analog-to-digital converter that samples the mixer output signal in order to provide a sequence of DC values; and a monitor circuit that applies a discrete Fourier transform (DFT) to the sequence of DC values to generate a plurality of DFT bins with corresponding DFT bin values, and generate compensated phase information of the transmission channel using at least two DFT bin values.
Description
FIELD

The present disclosure relates to the field of radio frequency (RF) circuits, and particularly to a multi-channel RF circuits with multiple RF output channels.


BACKGROUND

Modern radar devices such as radar range and velocity sensors can be integrated in so-called monolithic microwave integrated circuits (MMICs). Radar sensors may be applied, for example, in the automotive sector, where they are used in so-called advanced driver assistance systems (ADAS) such as, for example, “adaptive cruise control” (ACC) or “radar cruise control” systems. Such systems may be used to automatically adjust the speed of an automobile so as to maintain a safe distance from other automobiles travelling ahead. However, RF circuits are also used in many other fields such as RF communication systems.


A radar MMIC (sometimes referred to as single chip radar) may incorporate all core functions of the RF frontend of a radar transceiver (e.g., local oscillator, power amplifiers, low-noise amplifiers (LNA), mixers, etc.), the analog preprocessing of the intermediate frequency (IF) or base band signals (e.g., filters, amplifiers, etc.), and the analog-to-digital conversion in one single package. The RF frontend usually includes multiple reception and transmission channels, particularly in applications in which beam steering techniques, phased antenna arrays, etc. are used. In radar applications, phased antenna arrays may be employed to sense the incidence angle of incoming RF radar signals (also referred to as “Direction of Arrival”, DOA).


For example, when using a phased antenna array to radiate a radar signal, the phase shift and/or amplitude gain caused by each output channel needs to be known.


SUMMARY

Embodiments provide a method for and a device for transmission phase measurements and calibration.


One or more embodiments provide a circuit that includes a transmission channel configured to output a continuous-wave signal based on a reference signal; a transmit monitoring signal path configured to couple out a portion of the transmit signal as a transmit monitoring signal; a test phase shifter configured to receive the reference signal and generate a phase-shifted signal based on a sequence of phase offsets applied to the reference signal; a phase mixer configured to mix the phase-shifted signal and the transmit monitoring signal to generate a mixer output signal including a plurality of direct current (DC) values; an analog-to-digital converter (ADC) configured to sample the mixer output signal in order to provide a sequence of DC sample values; and a monitor circuit configured to apply a discrete Fourier transform (DFT) to the sequence of DC sample values to generate a plurality of DFT bins with corresponding DFT bin values, and use at least two DFT bin values to generate compensated phase information of the transmission channel.


One or more embodiments provide a method of measuring a transmission phase. The method includes outputting a continuous-wave signal from a transmission channel based on a reference signal; coupling out a portion of the transmit signal as a transmit monitoring signal; generating a phase-shifted signal based on a sequence of phase offsets applied to the reference signal; mixing the phase-shifted signal and the transmit monitoring signal to generate a mixer output signal comprising a plurality of direct current (DC) values; sampling the mixer output signal in order to provide a sequence of DC sample values; apply a discrete Fourier transform (DFT) to the sequence of DC sample values to generate a plurality of DFT bins with corresponding DFT bin values; and generating compensated phase information of the transmission channel based on at least two DFT bin values.





BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments are described herein making reference to the appended drawings.



FIG. 1 is a drawing illustrating the operating principle of a frequency-modulated continuous-wave (FMCW) radar system for distance and/or velocity measurement.



FIG. 2 includes two timing diagrams illustrating the frequency modulation of the radio frequency (RF) signal used in FMCW radar systems.



FIG. 3 is a block diagram illustrating the basic structure of an FMCW radar device.



FIG. 4 is a circuit diagram illustrating one example of an analog RF frontend, which may be included in the FMCW radar device of FIG. 3.



FIG. 5 is a block diagram illustrating one example of a monitor circuit that may be used to sense the phase lags and gains caused by two or more RF channels of an RF circuit.



FIG. 6 is a diagram illustrating one example of a measurement sequence for measuring phases and signal amplitudes of the RF output signals of a multi-channel RF circuit using a circuit in accordance with the embodiments described herein.



FIG. 7 includes timing diagrams illustrating the purpose and function of the circuit of FIG. 5 in more detail.



FIG. 8 is a block diagram illustrating one exemplary implementation of the example of FIG. 5.



FIG. 9 is a block diagram illustrating a general example of an RF circuit with multiple RF channels providing multiple RF output signals, a monitor circuit that may be used to sense phases and amplitudes of the RF output signals, and a control circuit for controlling measurement sequences that may be performed by the monitor circuit.



FIGS. 10A and 10B show equations that illustrate one scheme, according to which phases of the RF output channels may be successively inverted during one measurement cycle in the RF circuit of FIG. 1.



FIGS. 11A and 11B show equations that illustrate an alternative scheme equivalent to the scheme of FIGS. 10A-10B, according to which the phases of the RF output channels may be successively inverted during one measurement cycle in the RF circuit of FIG. 1.



FIG. 12 is a flow chart illustrating one exemplary method for measuring amplitudes and phases of the RF output signals of different RF channels.



FIG. 13 is a block diagram illustrating another example of a monitor circuit that may be used to successively sense the phase lags and gains caused by two or more RF channels of an RF circuit.



FIGS. 14A and 14B include diagrams illustrating a first example of a sequence of measured values and corresponding weight factors used for calculating a corresponding spectral value, respectively.



FIGS. 15A and 15B include diagrams illustrating a second example of a sequence of measured values and corresponding weight factors used for calculating a corresponding spectral value, respectively.



FIGS. 16 and 17 include tables with different phase shifter settings used when obtaining a sequence of measured values



FIG. 18 illustrates a schematic diagram of the phase shifter according to one or more embodiments.



FIG. 19A illustrates an ideal phase shifter output according to one or more embodiments.



FIG. 19B illustrates a non-ideal phase shifter output and a phase error according to one or more embodiments.



FIG. 19C illustrates a non-ideal phase shifter output and a phase error according to one or more embodiments



FIG. 20 illustrates Fourier components of sensor ADC (SADC) measurements with a 2-period phase error according to one or more embodiments.



FIG. 21 illustrated a flow diagram of transmission phase compensation method 2100 according to one or more embodiments.





DETAILED DESCRIPTION

In the following, details are set forth to provide a more thorough explanation of the exemplary embodiments. However, it will be apparent to those skilled in the art that embodiments may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form or in a schematic view rather than in detail in order to avoid obscuring the embodiments. In addition, features of the different embodiments described hereinafter may be combined with each other, unless specifically noted otherwise.


Further, equivalent or like elements or elements with equivalent or like functionality are denoted in the following description with equivalent or like reference numerals. As the same or functionally equivalent elements are given the same reference numbers in the figures, a repeated description for elements provided with the same reference numbers may be omitted. Hence, descriptions provided for elements having the same or like reference numbers are mutually exchangeable.


It will 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. Other words used to describe the relationship between elements should be interpreted in a like fashion (e.g., “between” versus “directly between,” “adjacent” versus “directly adjacent,” etc.).


In embodiments described herein or shown in the drawings, any direct electrical connection or coupling, i.e., any connection or coupling without additional intervening elements, may also be implemented by an indirect connection or coupling, i.e., a connection or coupling with one or more additional intervening elements, or vice versa, as long as the general purpose of the connection or coupling, for example, to transmit a certain kind of signal or to transmit a certain kind of information, is essentially maintained. Features from different embodiments may be combined to form further embodiments. For example, variations or modifications described with respect to one of the embodiments may also be applicable to other embodiments unless noted to the contrary.


Signal conditioning, as used herein, refers to manipulating an analog signal in such a way that the signal meets the requirements of a next stage for further processing. Signal conditioning may include converting from analog to digital (e.g., via an analog-to-digital converter), amplification, filtering, converting, biasing, range matching, isolation, and/or any other processes required to make a sensor output suitable for processing after conditioning.


Thus, a signal processing circuit may include analog circuitry and/or digital circuitry including an analog-to-digital converter (ADC) that converts the analog signal from the one or more sensor elements to a digital signal. The signal processing circuit may include a digital signal processor (DSP) that performs some processing on the digital signal.


Embodiments are discussed below in the context of a radar transmitter or transceiver. It should be noted, however, that the present invention may also be applied in applications different from radar such as, for example, RF transceivers of RF communication devices. In fact, almost any RF circuitry with multiple RF channels may take advantage of the concepts described herein.



FIG. 1 illustrates a frequency-modulated continuous-wave (FMCW) radar system 1. In the present example, separate transmission (TX) and reception (RX) antennas 5 and 6, respectively, are used. However, it is noted that a single antenna can be used so that the transmission antenna and the reception antenna are physically the same (monostatic radar configuration). The transmission antenna continuously radiates an RF signal sRF(t), which is frequency-modulated, for example, by a periodic linear frequency ramp signal (also referred to as frequency sweep or chirp signal). The transmitted signal sRF(t) is back-scattered at a target T, which is located in the radar channel within the measurement range of the radar device. The back-scattered signal yRF(t) is received by the reception antenna 6. In the depicted example, the back-scattered signal is denoted as yRF(t).



FIG. 2 illustrates the mentioned frequency-modulation of the signal sRF(t) according to one or more embodiments. As shown in the first diagram of FIG. 2, the signal sRF(t) may be composed of a series of “ramps”, i.e., a sinusoidal waveform with increasing (up-chirp) or decreasing (down-chirp), separated by a short pause. Several ramps with short pauses in between make up a “chirp”. Radar sends sequences of frames or data units during a single “ramp” which represents one radar measurement. In addition, there is a longer pause between chirps. In the present example, a single chirp composed of three ramps is shown. A long pause follows the third ramp, after which another chirp is started. Thus, each ramp includes a plurality of frames, and each chirp includes a plurality of ramps and a plurality of short pauses between ramps.


The instantaneous frequency f(t) of a ramp increases linearly from a start frequency fSTART to a stop frequency fSTOP within a defined time span TRAMP (see second diagram of FIG. 2). Such a ramp is also referred to as a linear frequency ramp. Three identical linear frequency ramps are illustrated in FIG. 2. It is noted, however, that the parameters fSTART, fSTOP, TRAMP as well as the pause between the individual frequency ramps may vary dependent on the actual implementation and use of the radar device 1. In practice, the frequency variation may be, for example, linear (linear ramp, frequency ramp), exponential (exponential ramp), or hyperbolic (hyperbolic ramp).



FIG. 3 is a block diagram that illustrates an exemplary structure of a radar device 1 (radar sensor). It is noted that a similar structure may also be found in RF transceivers used in other applications such as, for example, in wireless communications systems. Accordingly, at least one transmission antenna 5 (TX antenna) and at least one reception antenna 6 (RX antenna) are connected to an RF frontend 10, which may be integrated in a monolithic microwave integrated circuit (MMIC). The RF frontend 10 may include all the circuit components needed for RF signal processing. Such circuit components may (but need not necessarily) include, for example, a local oscillator (LO), RF power amplifiers, low noise amplifiers (LNAs), directional couplers such as rat-race-couplers and circulators, and mixers for the down-conversion of RF signals (e.g., the received signal yRF(t), see FIG. 1) into the base-band or an intermediate frequency (IF) band. It is noted that antenna-arrays may be used instead of single antennas. The depicted example shows a bistatic (or pseudo-monostatic) radar system which has separate RX and TX antennas. In the case of a monostatic radar system, a single antenna or a single antenna array may be used to both receive and transmit electromagnetic (radar) signals. In this case, a directional coupler (e.g., a circulator) may be used to separate RF signals to be transmitted to the radar channel from RF signals received from the radar channel. In practice, radar systems often include several transmission (TX) and reception (RX) channels, which among others allows the measurement of the direction (direction of arrival (DoA)), from which the radar echoes are received.


In the case of a frequency-modulated continuous-wave (FMCW) radar system, the transmitted RF signals radiated by the TX antenna 5 are in the range between approximately 20 GHz (e.g., 24 GHz) and 100 GHz (e.g., 77 GHz in automotive applications). As mentioned, the RF signal yRF(t) received by the RX antenna 6 includes the radar echoes, i.e., the signal back-scattered at the so-called radar targets. The received RF signals yRF(t) are down-converted into the base band (or IF band) and further processed in the base band using analog signal processing (see FIG. 3, base-band signal processing chain 20), which basically includes filtering and amplification of the base-band signal. The base-band signal is finally digitized using one or more analog-to-digital converters (ADC) 30 and further processed in the digital domain (see FIG. 3, digital signal processing chain implemented, e.g., in digital signal processor, DSP, 40). The overall system is controlled by a system controller 50, which may be at least partly implemented using a processor, such as a microcontroller executing appropriate firmware. The RF frontend 10 and the analog base-band signal processing chain 20 (and optionally the ADC 30) may be integrated in a single MMIC. However, in some applications, some components may also be distributed among two or more integrated circuits.



FIG. 4 illustrated one exemplary implementation of the RF frontend 10, which may be included in the radar sensor shown in FIG. 3. It is noted that FIG. 4 is a simplified circuit diagram illustrating the basic structure of an RF frontend. Actual implementations, which may heavily depend on the application, are of course more complex and include several RX and/or TX channels. The RF frontend 10 includes a local oscillator 101 (LO) that generates a RF signal sLO(t), which may be frequency-modulated as explained above with reference to FIG. 2. The signal sLO(t) is also referred to as LO signal. In radar applications, the LO signal is usually in the SHF (Super High Frequency) or the EHF (Extremely High Frequency) band, e.g., between 76 GHz and 81 GHz in automotive applications.


The LO signal sLO(t) is processed in the transmission signal path as well as in the reception signal path. The transmission signal sRF(t) (outgoing radar signal), which is radiated by the TX antenna 5, is generated by amplifying the LO signal sLO(t), e.g., using an RF power amplifier 102. The output of the amplifier 102 is coupled to the TX antenna 5. The received signal yRF(t) (incoming radar signal), which is provided by the RX antenna 6, is directed to a mixer 104. In the present example, the received signal yRF(t) (i.e., the antenna signal) is pre-amplified by RF amplifier 103 (gain g), so that the mixer receives the amplified signal g yRF(t) at its RF input port. The mixer 104 further receives the LO signal sLO(t) at its reference input port and is configured to down-convert the amplified signal g yRF(t) into the base band. The resulting base-band signal at the mixer output is denoted as yBB(t). The base-band signal yBB(t) is further processed by the analog base band signal processing chain 20 (see also FIG. 3), which basically includes one or more filters (e.g., a band-pass 21) to remove undesired side bands and image frequencies as well as one or more amplifiers such as amplifier 22). The analog output signal, which may be supplied to an analog-to-digital converter (cf. FIG. 3), is denoted as y(t). Various techniques for the digital post-processing of the digitized output signals (digital radar signal) are as such known (e.g., Range Doppler Analysis) and thus not further explained herein.


In the present example, the mixer 104 down-converts the RF signal gyRF(t) (amplified antenna signal) into the base band. The respective base band signal (mixer output signal) is denoted by yBB(t). The down-conversion may be accomplished in a single stage (i.e., from the RF band into the base band) or via one or more intermediate stages (from the RF band into an IF band and subsequently into the base band). In view of the example of FIG. 4, it is clear that the quality of the radar measurement will heavily depend on the quality of the LO signal sLO(t). Low phase noise, as well as steep and highly linear frequency ramps are desired properties of the LO signal sLO(t).



FIG. 5 is a block diagram illustrating one example of an RF circuit with multiple RF channels for generating multiple RF output signals. In the present example, two transmission channels TX01 and TX02 of a radar sensor are considered as one illustrative application. The concept can be generalized to a system with c channels. However, for a better understanding, one exemplary embodiment with two channels TX01, TX02, will be described first with reference to FIGS. 5 to 8 and equation 1 to 22, whereas FIGS. 9 to 11 and equations 23 to 24 relate to a general embodiment with c channels TX01, TX02, TXc. Furthermore, it is understood that the concept described below may readily be employed in other applications than radar. Furthermore, it is noted that the circuit of FIG. 5 can readily be enhanced to more than two channels (see also FIG. 7). In the present example, each channel TX1 and TX2 is configured to receive, at its input, an RF oscillator signal sLO (t), which may be provided from a local oscillator (see, e.g., FIG. 4, local oscillator 101). Each channel TX1 and TX2 may include a phase shifter 105 for manipulating the overall phase lags caused by channels. The RF output signals of the channels TX01 and TX02 are denoted as sTX01(t) and sTX02(t), respectively. In each channel TX01, TX02 the signal path from the input to the output includes signal lines and one or more circuit components that may cause a phase lag. As a consequence, the output signals can be written as follows:






s
TX01(t)=ATX01·cos(2πfLOt+φTX01+ΔφTX01)  (1)






s
TX02(t)=ATX02·cos(2πfLOt+φTX02+ΔφTX02)  (2)


Thereby, the variables ATX01 and ATX02 denote the amplitudes of the RF output signals sTX01(t) and sTX02(t), and the frequency fLO is the frequency of the RF oscillator signal sLO(t). The phases φTX01 and φTX02 represent the phase lag caused by the channels TX01 and TX02, respectively, without considering phase shifters 105, whereas ΔφTX01 and ΔφTX02 denote the additional the phase shifts caused by the phase shifters 105.


At this point it is noted that the phases φTX01 and φTX02 as well as the amplitudes ATX01 and ATX02 heavily depend on the operating conditions of the system. For example, depending on which of the channels TX01 and TX02 is active, the temperature of the chip (e.g., the MMIC) will vary due to the power losses caused in the active channel(s). When both channels, TX01 and TX02, are active (i.e., outputting an RF signal) the temperature will be much higher as compared to the case, in which only one channel, TX01 or TX02, is active. Amplitudes and phases of the RF output signals sTX01(t) and sTX02(t) are temperature dependent. For example, in beam forming applications (in which the results of amplitude and phase measurement are applied) both channels TX01 and TX02 are active (transmitting), which causes the temperature to rise to a specific value and thus particular amplitude and phase values. Amplitude and values shifts measured in a configuration, in which only one of the channels (TX01 or TX02) is active, would be different and thus incorrect (as the configuration which only one active channel does not resemble the beamforming application. Accordingly, it may be important to allow measurement of amplitude and phase values while both of the channels are active.


As mentioned, each channel TX01, TX02 includes a phase shifter 105, which are configured to generate additional phase shift values ΔφTX01 and ΔφTX02 (phase lags), which contribute to the phases of the RF output signals sTX01(t) and sTX02(t). Furthermore, each channel TX01, TX02 may include an RF amplifier 102 (e.g., a power amplifier, PA). In this case, the amplitudes ATX01 and ATX02 of the RF output signals sTX01(t) and sTX02(t) depend on the gains of the RF amplifiers 102. In accordance with one specific example, the phase shifters 105 may be implemented using IQ modulators (In-Phase/Quadrature modulators, also referred to as Quadrature modulators). Digital-to-analog converters (not shown) may be used to convert digital values representing the phase shift values ΔφTX01 and ΔφTX02 into analog signals that can be processed by the IQ modulators.


In some applications (e.g., for the system controller 50 or a radar sensor, see FIG. 3) it may be desirable to know the phases of the RF output signals of the different channels, e.g., relative to each other or relative to a reference phase. For example, the channels TX01 and TX02 may be transmission channels of a radar sensor device and the phases of the RF output signals will be tuned to specific values to achieve a desired radiation angle. As the absolute phase lags caused by the circuit components (e.g., the amplifiers 102) included in the channels TX01 and TX02 may be temperature dependent and may also be subject to production tolerances and aging, the respective phases φTX01 and φTX02 need to be tuned or monitored, which may be accomplished by the phase shifters 105 included in the channels TX01, TX02. In order to be able to monitor the phases φTX01 and φTX02 of the RF output signals sTX01(t) and sTX02(t), a monitor circuit 150 (including, e.g., phase shifter 106 and phase mixer 107, see FIG. 5) is provided that is used to sense the phases φTX01 and φTX02 and thus to detect a possible maladjustment of the phases. In the event that the measured phases φTX01 and φTX02 deviates from a desired setting, the phase shifters 105 may be used to compensate for the deviation by adding additional phase shifts ΔφTX01 and ΔφTX02.


In the example shown in FIG. 5, the RF output signals sTX01(t) and sTX02(t) are tapped and supplied to an RF combiner circuit 110, which may be configured to combine the RF output signals sTX01(t) and sTX02(t). For example, the combined signal sSUP(t) may be a superposition of the RF output signals such as:






s
SUP(t)=gSUP·(sTX01(t)+sTX02(t)),  (3)


wherein gSUP is a defined gain (usually significantly smaller than 1). However, for the present considerations we may assume that gSUP is 1 without loss of generality and thus the combined signal can be written as:






s
SUP(t)=ATX01·cos(2πfLOt+φTX01+ΔφTX01)+ATX02·cos(2πfLOt+φTX02+ΔφTX02).  (4)


The monitor circuit 150 includes a phase mixer 107 receiving the combined signal sSUP(t) as a TX monitoring signal at its RF port and configured to down-convert the combined signal sSUP(t) using the RF oscillator signal sLO(t). As, in the present embodiment, all RF signals have the same frequency fLO, the mixer output signal will be a direct current (DC) value sDC(t) that depends on the phases of φTX01+ΔφTX01 and φTX02+ΔφTX02 of the RF output signals sTX01(t) and sTX02(t). In the present example, the phase mixer 107 receives a phase shifted version of the RF oscillator signal sLO(t); the phase-shifted oscillator signal can thus be expressed as:






s
TSG(t)=ATSG·cos(2πfLOt+φTSG),  (5)


wherein ATSG is the known signal amplitude and φTSG the phase of the signal sTSG(t) received at the reference port of the phase mixer 107. The phase φTSG may be set by a phase shifter 106 coupled to the reference port of the phase mixer 107 upstream thereto.


Without loss of generality, amplitude ATSG is assumed to equal 2; a different amplitude will only cause a respective scaling of the measured signal amplitudes. Using equations 4 and 5 and ATSG=2, the mixer output signal sDC(t) provided at the output port of the phase mixer 107 can be expressed as:






s
DC(t)=sLO(tsSUP(t)=(ATX01·cos(φTSG−φTX01+ΔφTX01)+ATX02·cos(φTSG−φTX02−ΔφTX02))+(ATX01·cos(4πfLOt+φTX01+ΔφTX01)+ATX02·cos(4πfLOt+φTX02+ΔφTX02)),  (6)


wherein the summands representing an oscillation at the double frequency 2fLO (angular frequency 4πfLO) can be neglected as they are outside of the mixer bandwidth. Accordingly, the mixer output signal sDC(t) can be written as:






s
DC(t)≈(ATX1·cos(φTSG−φTX1−ΔφTX01)+ATX02·cos(φTSG−φTX02−ΔφTX02)).  (7)


Accordingly, the mixer output signal is a DC signal that depends on the cosines of the phase-differences φTSG−φTX1−ΔφTX01 and φTSG−φTX2−ΔφTX02, the amplitudes ATX1 and ATX2. Without loss of generality, for the subsequently described measurements of the of the mixer output signal sDC(t) the phase shift values ΔφTX01 and ΔφTX02 are assumed to be either 0 or π rad, i.e., 0 or 180 degrees. According to the herein described examples, measurements may be made by acquiring discrete samples of the mixer output signal sDC(t) at sampling times tk,0, tk,1, and tk,2. The index k denotes the measurement cycle (k=1, 2, 3, . . . ).


The measured DC values (sampled values) of the mixer output signal sDC(t) may be used to calculate the sought phase values φTX01 and φTX02 and amplitude values ATX01 and ATX02 as explained below. As mentioned above, the phase φTSG can be set by the phase shifter 106 included in the monitor circuit 150. For a defined value of the phase (D r TSG the following three measurement values can be obtained:






s
DC(tk,0)=(ATX01·cos(φTSG−φTX01−0)+ATX02·cos(φTSG−φTX02−0)),  (8)






s
DC(tk,1)=(ATX01·cos(φTSG−φTX01−0)+ATX02·cos(φTSG−φTX02−π)),  (9)






s
DC(tk,2)=(ATX01·cos(φTSG−φTX01−π)+ATX02·cos(φTSG−φTX02−0)).  (10)


The first value sDC(tk,0) is equal to equation 6 for the measurement time t=tk,0. For the measurement of the second value sDC(tk,1) an additional phase shift of 180 degree (i.e., π rad) is generated in channel TX02. This may be accomplished by temporarily increasing the phase lag caused by phase shifter 105 in the channel TX02 by 180 degrees. For the measurement of the third value sDC(tk,2) an additional phase shift of 180 degree (i.e., π rad) is generated in channel TX01. This may be accomplished by temporarily increasing the phase lag caused by phase shifter 105 in channel TX01 by 180 degrees (analogously to channel TX02). Accordingly, three samples sDC(tk,0), sDC(tk,1), and sDC(tk,2) are acquired in each measurement cycle in the present example of two channels. As shown later, n+1 samples are acquired in each measurement cycle in the general example with c channels. It is noted, however, that, in the present case with only two channels, the third measurement is redundant and thus optional. However, the third measurement allows a plausibility check for the measured values.


The identity:





cos(φ−π)≡cos(φ+π)≡−cos(φ)  (11)


can be used to simplify equations 9 and 10. Accordingly, the second and the third value (see equations 9 and 10) can be expressed as:






s
DC(tk,1)=(ATX01·cos(φTSG−φTX01)−ATX02·cos(φTSG−φTX02)), and  (12)






s
DC(tk,2)=(−ATX01·cos(φTSG−φTX01)+ATX02·cos(φTSG−φTX02)),  (13)


respectively. Adding equations 8 and 12 and equations 8 and 13 yields the measured values:






M
01[k]=(sDC(tk,0)+sDC(tk,1))=2ATX01·cos(φTSG−φTX01), and  (14)






M
02[k]=(sDC(tk,0)+sDC(tk,2))=2ATX02·cos(φTSG−φTX01).  (15)


As mentioned above, the acquisition of the third sample sDC,2(tk) (equation 15) is redundant in the present embodiment as subtracting equation 12 from equation 8 yields the same result as equation 15:






M
02[k]=(sDC(tk,0)−sDC(tk,1))=2ATX02·cos(φTSG−φTX01).  (16)


The value M01 [k] only depends on the phase difference φTSG−φTX01 and the amplitude ATX01 of the RF output signal sTX01(t) of channel TX01. Similarly, the value M02[k] only depends on the phase difference φTSG−φTX02 and the amplitude ATX02 of the RF output channel sTX02(t) of channel TX02. It is noted that the term “measured value” or “sampled value” is used for the values M01[k] and M02 [k], which are, in fact, not directly measured but calculated based on the sampled mixer output values sDC(tk,0), sDC(tk,1) and sDC(tk,2). Nevertheless, those values M01[k] and M02 [k] are regarded as an (intermediate) result of the measurement described herein and thus referred to as “measured values” which represent samples of the RF output signals sTX01(t), sTX01(t) of the RF channels TX01, TX02. As will be shown later c values M01[k], M02 [k], . . . , Mc[k] can be calculated in an example with c channels TX01, TX02, . . . , TXc.


If the amplitudes ATX01 and ATX02 are measured separately (e.g., by using power sensors coupled to the outputs of channels TX01 and TX02), the sought phases φTX01 and φTX02 can be directly calculated from the measured values M01 [k] and M02 [k] obtained in one measurement cycle. However, the measurements may be repeated for different values φTSG; the phase value provided by phase shifter 106 in the k-th measurement cycle is denoted as φTSG[k]. Thus, the measured values of equations 14 and 15 become:






M
01[k]=2ATX01·cos(φTSG[k]−φTX01), and  (17)






M
02[k]=2ATX02·cos(φTSG[k]−φTX02).  (18)


Theoretically, four measured values, for example M01[k], M02[k], M01[k+1] and M02 [k+1] obtained in the measurement cycles k and k+1, would be sufficient to calculate the sought phases φTX01 and φTX02 and amplitudes ATX01 and ATX02, provided that φTSG[k+1]≠φTSG[k]. In practice, a plurality of measured values can be obtained in a plurality of measurement cycles for different phase values φTSG[k] and used to estimate the sought phases φTX01 and φTX02 and amplitudes ATX01 and ATX02 with improved precision.


The diagram of FIG. 6 illustrates the measured values M01[k] and M02 [k] for a sequence of measurement cycles, wherein φTSG[k]=kπ/5 and k=0, 1, . . . 10. That is, the phase φTSG provided by the phase shifter 106 is increased from zero degrees in steps of 36 degrees up to 360 degrees. The measured values M01[0], M01[1], . . . , M01 [10] can be used to estimate amplitude ATX01 and phase φTX01 using equation 17 as signal model and any suitable estimation technique such as a non-linear least mean squares (LMS) method. Similarly, the measured values M02 [0], M02 [1], M02 [10] can be used to estimate amplitude ATX02 and phase φTX02 using equation 18 as signal model. In one specific example, a Fourier transform algorithm such the Fast Fourier Transform (FFT) is used for the estimation of amplitudes and phases. In this case, the phase φTSG[k] may be increased in each measurement cycle using a constant step size; alternatively, the measured sequences may be resampled to obtain equidistant sampling points.


The measurement sequence shown in FIG. 6 is further illustrated by the timing diagrams of FIG. 7. FIG. 7 includes timing diagrams illustrating the phase shift values φTSG[k], ΔφTX01, and ΔφTX02 generated by the phase shifter 106 of the monitor circuit 105 the phase shifter 105 of the first channel TX01, and the phase shifter 105 of the second channel TX02, respectively. The start time of the measurement cycles is denoted as tk, and the corresponding phase value generated by phase shifter 106 as φTSG[k], wherein k=0, 1, 2, 3, etc. As shown in previous FIG. 6, the phase φTSG[k] is increased in each measurement cycle. In the present example, the step size is 705 rad (i.e., 36 degrees), and thus φTSG[k]=kπ/5.


Three samples of the mixer output signal sDC(t) are sampled in each measurement cycle, that is sDC,0[k], sDC,1[k], and sDC,2[k], wherein (cf. equations 8-10):






s
DC,0[k]=sDC(tk)=sDC(tk,0),  (19)






s
DC,1[k]=sDC(tk+Δt1)=sDC(tk,1),  (20)






s
DC,2[k]=sDC(tk+Δt2)=sDC(tk,2).  (21)


In FIG. 4 the sampling times are shown for the measurement cycle k=4. The phase shifts ΔφTX01, and ΔφTX02 generated by the phases shifters 105 in channels TX01 and TX02 alternate between 0 and π rad (i.e., 180 degrees) in such a manner that at the sampling time tk+Δt2—the phase lag caused by channel TX02 is inverted (i.e., φTX02→φTX02±π), while the phase lag caused by channel TX01 is left unchanged and that at the sampling time tk+Δtt—the phase lag caused by channel TX01 is inverted (i.e., φTX01→φTX01±π), while the phase lag caused by channel TX02 is left unchanged. The three samples obtained in each measurement cycles can be used to calculate the measured values M01 [k] and M02 [k], for example, in accordance with equations 14 and 15. Subsequently, the measured values M01 [k] and M02 [k] (for k=1, 2, 3, etc.) can be used to estimate the sought amplitude values ATX01 and ATX02 and phase values φTX01 and φTX02.


It is noted that the time spans Δt1 and Δtt are not necessarily constant throughout the measurement cycles k. Further, the time instants tk are not necessarily equidistant in time as there is no need for a synchronous sampling in accordance with a clock signal. In each measurement cycle, the value sDC,0[k] may be sampled once the phase value φTSG[k] has been updated, the value sDC,1[k] may be sampled once the phase φTX02 has been inverted, and the value sDC,2[k] may be sampled once the phase φTX01 has been inverted and the inversion of phase φTX02 has been undone. Subsequently, the phase value φTSG[k] is updated and the next cycle starts (k→k+1).



FIG. 8 illustrates one exemplary implementation of the previous example of FIG. 5 in more detail. The example of FIG. 8 is substantially the same as the previous example of FIG. 5; however, the implementation of the RF combiner circuit 110 is shown in more detail as well as a sensor analog-to-digital converter (ADC) 31 used to digitize the mixer output signal sDC(t). In accordance with the present example, the combiner circuit 110 as shown in previous FIG. 5 is implemented using a power combiner 108 (e.g., a Wilkinson power combiner that provides a linear combination of the signals) and directional couplers 109 (e.g., rat-race couplers, circulators, or the like), wherein one coupler is arranged in each channel TX01 and TX02, and configured to direct a fraction of the power of the respective output signal sTX01(t) and sTX02(t) to the inputs of the power combiner 108. The signals branched-off at the outputs of the channels TX01 and TX02 by the couplers 109 are denoted as sTX01′(t) and sTX02′(t), wherein sTX01′(t)=gCsTX01(t) and sTX02′(t)=gCsTX02(t) and gC is the transmission coefficient of the coupler with regards to the branched-off signal. Usually gC is significantly lower than 1, while the transmission coefficient with regards to the antenna signal is approximately 1. The power combiner 108 essentially provides the (e.g., scaled) sum of the input signals, that is:






s
SUP(t)=gCOMB·(sTX01′(t)+sTX02′(t))=gSUP·(sTX01(t)+sTX02(t)),  (22)


wherein the gain gSUP equals gCOMB·gc. Accordingly, the combined signal sSUP(t) is substantially a scaled version of the sum of the channel output signals sTX01(t) and sTX02(t) (see also equation 3). However, as mentioned above, the gain gSUP may be assumed to be 1 for the present discussion without loss of generality. Apart from the RF combiner circuit 110, which is implemented by the couplers 109 and the RF power combiner 108, the example of FIG. 8 is the same as the example of FIG. 5 and reference is made to the explanations above.


As already indicated above, the concept described above with regards to two channels TX01 and TX02 may be readily extended to c channels TX01, TX02, . . . , TXc, wherein c>2. In this case the RF combiner circuit 110 (see FIG. 5) or the RF power combiner 108 (see FIG. 8) has c inputs. Alternatively, several power combiners may be cascaded to combine the desired number of RF signals. Irrespective of the implementation of the RF combiner circuit 110 the combined signal sSUP(t) can be regarded as a (scaled) superposition of the RF output signals sTX01(t), sTX02(t), . . . , sTXc(t). This situation is illustrated in the example of FIG. 9. Examples of phase switching schemes, which may be used in each measurement cycle, are explained with reference to FIGS. 10 and 11.


According to the example of FIG. 9, an RF circuit includes a plurality of channels TX01, TX02, . . . , TXc configured to receive the RF oscillator signal sLO(t) and the respective phase shift values ΔφTX01, ΔφTX02, . . . , ΔφTXc for the phases shifters 105 (see FIG. 5), and to provide the respective RF output signals sTX01(t), sTX02(t), . . . , sTXc(t). Each of the RF output signals is characterized by an amplitude ATX01, ATX02, . . . , ATXc, and a phase φTX01, φTX02, . . . , φTXc, which are to be estimated using the concept described herein, that is:












s

TX





01




(
t
)


=


A

TX





01


·

cos


(


2





π






f
LO


t

+

ϕ

TX





01


+

Δϕ

TX





01



)












s
TXc



(
t
)


=


A
TXc

·


cos


(


2





π






f
LO


t

+

ϕ
TXc

+

Δϕ
TXc


)


.







(
23
)







The above-mentioned combined signal sSUP(t) is supplied to the monitor circuit 150 which is configured to down-convert the combined signal sSUP(t) as explained above with reference to FIGS. 5 and 8. The mixer output signal sDC(t) may be digitized and provided as digital signal. As also explained with reference to FIG. 5, the monitor circuit receives a phase value φTSG[k] which determines the phases of the RF local oscillator signal sTSG(t) used for the down-conversion (see equation 5).


The RF circuit of FIG. 9 may include a control circuit 120 which may include, for example, a programmable processor such as a (e.g., embedded) microcontroller or a similar device. The functions provided by the control circuit 120 may be (e.g., fully or partly) provided by the system controller 50 (see FIG. 3). Additionally or alternatively, the functions provided by the control circuit 120 may be at least partly be provided by the DSP 40 (see FIG. 3). As such the control circuit 120 in FIG. 9 represents a portion of the functions of the system controller 50 and/or the DSP 40. In an alternative embodiment, the control circuit 120 may be implemented in the same MMIC as the monitor circuit 150 and the channels TX01, TX02, etc., but separate from the system controller 50.


As mentioned above, three samples sDC,0[k], sDC,1[k] and sDC,2[k] are acquired in each measurement cycle k in case of two channels and c+1 samples in case of c channels sDC,0[k], sDC,1[k], . . . , sDC,c[k]. Theoretically a single measurement cycle is sufficient to determine the phase values φTX01, φTX02, . . . , φTXc associated with the c channels TX01, TX02, . . . , TXc, and at least two measurement cycles are needed to determine the phase values φTX01, φTX02, . . . , φTXc and the respective amplitude values ATX01, ATX02, . . . , ATXc. In practice, however, a plurality of measurement cycles are performed in order to improve the quality of phase and amplitude estimation. In one illustrative exemplary embodiment, 64 measurement cycles are performed which allows the use of a 64 point Fast Fourier Transform (FFT) algorithm to estimate phase and amplitude values of each channel.


The control circuit 120 may be configured to provide the phase shift values ΔφTX01, ΔφTX02, . . . , ΔφTXc for the phases shifters 105 of the channels TX01, TX02, . . . , TXc as well as the phase value φTSG[k] for the phases shifter 106 of the monitor circuit 150. Furthermore, the control circuit may generate a trigger signal STRIG used to trigger the sensor ADC 31 included in the monitor circuit 150 at the desired sampling times (e.g., times tk,0=tk, tk,1=tk+Δt1, tk,2=tk+Δt2, etc.). In particular, the control circuit 120 may be configured to control the data acquisition during a plurality of measurement cycles in accordance with a scheme shown, e.g., in FIGS. 6 and 7. Accordingly, the phase value φTSG[k] is updated in each measurement cycle k, and c+1 measurements are made in each cycle. According to one embodiment, the following c+1 values may be sampled in each measurement cycle: sDC,0[k], sDC,1[k], . . . sDC,c[k] (see also FIG. 10A). Thereby, all phase shift values ΔφTX01, ΔφTX02, . . . , ΔφTXc are set in accordance with a defined phase configuration (referred to as reference configuration, e.g., all phase shifts may be set to zero) when sampling SDC,0[k]; then all phase shift values ΔφTX01, ΔφTX021, . . . , ΔφTXn except the i-th phase shift value ΔφTXi is inverted (i.e., increased or decreased by 180°) when sampling sDC,i[k] (for i=1, 2, . . . , c) as illustrated in the scheme shown in FIG. 10A. Analogously to equations 14 and 15, the measured values may be determined as follows in each measurement cycle k (see also FIG. 10B):













M
01



[
k
]


=


(



s

DC
,
0




[
k
]


+


s

DC
,
1




[
k
]



)

=


A

TX





01


·

cos


(



ϕ
TSG



[
k
]


-

ϕ

TX





01



)





,







M
02



[
k
]


=


(



s

DC
,
0




[
k
]


+


s

DC
,
2




[
k
]



)

=


A

TX





02


·

cos


(



ϕ
TSG



[
k
]


-

ϕ

TX





02



)





,






















M
c



[
k
]


=


(



s

DC
,
0




[
k
]


+


s

DC
,
c




[
k
]



)

=


A
TXc

·


cos


(



ϕ
TSG



[
k
]


-

ϕ
TXc


)


.








(
24
)







By stepwise increasing the phases φTSG[k]—in each measurement cycle—k samples of the RF output signals sTX01(t), sTX02(t), . . . , sTXc(t) can be determined as illustrated in the diagram of FIG. 6 and known estimation algorithms may be used to estimate the amplitudes ΔTX01, ΔTX02, . . . , ATXc and phases φTX01, φTX02, . . . , φTXc as discussed above with reference to FIGS. 5 to 7.


It is noted that varying the phases value φTSG[k] is equivalent to simultaneously varying all phase shift values ΔφTX01, ΔφTX02, . . . , ΔφTXc of the phase shifters 105 (where applicable in addition to the phase inversion). This is evident, for example, from equation 24; one can see that, e.g., φTSG[k]=10° yields the same result as φTSG[k]=0°, if instead the phase shift values ΔφTX01, ΔφTX02, . . . , ΔφTXc are all decreased by 10° (i.e., increased by 350°). That is:






A
TXi·cos(φTSG[k]−φTXi)=ATXi′·cos(0−(φTXi+ΔφTXi)),  (25)


if ΔφTXi=−φTSG[k] for all i=1, 2, . . . , n. In other words, the function of the phase shifter 106 may be provided in common by the phase shifters 105, and changing the phase value φTSG[k] can have the same effect as changing the reference configuration, according to which the phase shift values ΔφTX01, ΔφTX02, . . . , ΔφTXc of phase shifters 105 are set. It is further noted that, although incrementing/decrementing the phase value φTSG[k] is theoretically equivalent to simultaneously incrementing/decrementing all phase shift values ΔφTX01, ΔφTX02, . . . , ΔφTXc of the phase shifters 105, the first option may yield better results as the second option is more susceptible to potential mismatches between the phase shifters 105.


The method described above for measuring the amplitudes ATXi and the phases φTXi of the RF output signals sTXi(t) of RF channels TXi is further summarized below with reference to the equation schemes in FIGS. 10A-10B, 11A-11B and the flow chart of FIG. 12. In case of cRF channels the index i runs from 1 to it. The equation schemes in FIGS. 10A-10B is a generalization of equations 8 to 10 and illustrates how the configuration, according to which the phase shift values ΔφTXi (supplied to phase shifters 105 in RF channels TXi) are set, is changed during a measurement cycle k by inversion of one or more of the phase shift values ΔφTXi. As mentioned above, the reference configuration (i.e., the initial setting of the phase shift values ΔφTXi) and the phase φTSG[k] of the RF reference signal sTSG(t) are constant during one measurement cycle (see FIG. 12, step S1).


According to the scheme of FIG. 11A, the first DC value sDC,0 [k]=sDC(tk,0) of the mixer output signal sDC(t) is sampled at a reference configuration of the phase shift values ΔφTXi (see FIG. 12, step S2). As mentioned, without loss of generality, the reference configuration may be chosen such that all phase shift values ΔφTXi are zero. However, any other configuration may be used. Then, the configuration, according to which the phase shift values ΔφTXi are set, is modified in accordance with a pre-defined scheme by inversion of one or more of the phase shift values ΔφTXi (see FIG. 12, step S3), and a further DC value sDC,1[k] of the mixer output signal sDC(t) is sampled at the modified configuration (see FIG. 12, step S4). Inversion of a phase shift value may be accomplished by adding or subtracting π rad (180 degrees). As shown in FIG. 10A, all phase shift values ΔφTXi except ΔφTX1 are inverted (increased/decreased by π) while sampling the DC value sDC,1[k], all phase shift values ΔφTXi except ΔφTX2 are inverted while sampling the DC value sDC,2[k], and generally all phase shift values ΔφTXi except ΔφTXj are inverted while sampling the j-th further DC value sDC,j[k] (for j=1, . . . , c). The modification of the configuration and the sampling of DC values sDC,j[k] are repeated until the pre-defined scheme has been completely processed (see FIG. 12, step S5).


The sampled DC value sDC,0[k] and the further DC values sDC,1[k], sDC,c[k] are then used to calculate measurement values Mi[k] representing samples of the RF output signals sTXi(t) of channels TXi (see FIG. 12, step S6, i=1, 2, . . . , c). These calculations are illustrated in FIG. 10B, which are a generalization of equations 17 and 18. Accordingly, for calculating the ith value Mi[k] the sampled DC value sDC,1[k] is added to the first value sDC,0[k] (which is obtained for the reference configurations of the phase shift values ΔφTXi). If the measurement is continued with the next cycle (see FIG. 12, step S7), the phase is rotated (see FIG. 12, step S8), which may be done by modifying the phase φTSG[k] of the RF reference signal sTSG(t) (as illustrated in FIG. 7, third diagram), which is as explained above equivalent to changing the reference configuration, according to which the phase shift values ΔφTXi (supplied to phase shifters 105 in RF channels TX) are set, by equally modifying all phase shift values ΔφTXi (i=1, c) before any phase inversion is applied. The equivalence of these two options has been explained above with reference to equation 25.


If the measurement is completed after a defined number of cycles k, the measurement values Mi[k] are used to estimate amplitudes ATXi and phases φTXi of the RF output signals sTXi(t) of RF channels TXi (see FIG. 12, step S9). For example, after K measurement cycles have been run through, and if K is a power of two (k=0, . . . , K−1), amplitude ATX01 and phase φTX01 can be estimated from the measured values M01[k] using an FFT algorithm, amplitude ATX02 and phase φTX02 can be estimated from the measured values M02[k], etc.


According to the scheme shown in FIGS. 10A and 10B, all phase shift values ΔφTX01, . . . , ΔφTXc, except the j-th phase shift value ΔφTXj, are inverted while sampling the j-th DC mixer output value sDC,j[k]. As a result, the sampled DC values sDC,j[k] are added to sDC,0[k] to obtain the corresponding measured value Mj[k]. FIGS. 11A and 11B illustrate an alternative scheme, which is equivalent. In accordance with FIG. 11A, the phase shift values ΔφTX01, . . . , ΔφTXc are unchanged (as compared to the reference configuration) and are not inverted, except the j-th phase shift value ΔφTXj, which is the only phase shift value that is inverted while sampling the j-th DC mixer output value sDC,j[k]. As a result, as shown in FIG. 11B, the sampled DC values sDC,j[k] are subtracted from sDC,0[k] to obtain the corresponding measured value Mj[k]. The equivalence of the two schemes has already been mentioned in connection with equation 16. As a consequence of this equivalence, the two approaches of FIGS. 10A, 10B, 11A, and 11B can be mixed, resulting in further schemes which are also equivalent. In the case of only two channels TX01 and TX02 the two approaches are theoretically identical (when neglecting tolerances and measurement errors), which makes one measurement redundant (cf. equations 15 and 16).


The described embodiments implement a concept that allows the monitoring of phase and/or signal amplitude of the output signals of multiple RF channels; and the monitoring allows an assessment whether the phases and/or amplitudes are balanced. In this context “balanced phases” means that the phases of the RF channel output signals are equal or differ by predefined values. Phase balancing may be important when using phased array antennas or beam forming techniques. Similarly, amplitude balancing, usually means that the amplitudes of the RF channel output signals are equal or correspond to defined values. If the RF channels are out of balance, the control circuit (or any other circuitry coupled thereto) may initiate counter measures to bring the RF channels into balance. It is noted that the concepts described above may be implemented on-chip, i.e., the monitor circuit as well as supplementary circuitry may be implemented on the same chip as the RF channels (e.g., the MMIC).


As mentioned above, an FFT algorithm may be used to determine the sought amplitudes and phases from the measured values M01 [k], M02 [k], . . . , Mc[k]. Alternatively, a specific implementation of a discrete Fourier Transform (DFT) may be used as discussed below. As shown for example in FIGS. 6 and 7, the phase rotation may be done by modifying the phase φTSG[k] of the RF reference signal sTSG(t) by constant increments (see FIGS. 6 and 7). In case the phase rotation covers an integer multiple of 2π (e.g., 360°), the sought amplitude and phase information is included in a single frequency bin of the discrete spectrum.


For example, in case the phase φTSG[k] is rotated in steps of 90° in four measurement cycles (i.e., φTSG [0]=0, φTSG[1]=π/2, φTSG[2]=π, and φTSG[3]=3π/2), then the measurement values M01[0], . . . , M01[3] (for the first channel TX01) are distributed exactly over one period [0, 2π], and all frequency bins (discrete frequency values) of the discrete spectrum of the measurement values M01 [k] will be substantially zero except the first bin with index n=1. If no noise is present the other frequency bins will be exactly zero. Similarly, in case the phase φTSG[k] is rotated in steps of 90° in eight measurement cycles (i.e., φTSG[0]=0, φTSG[1]=π/2, φTSG[2]=π, and φTSG[3]=3π/2, φTSG[4]=π, φTSG[5]=5π/2, φTSG[6]=3π, φTSG[7]=7π/2), then the measurement values M01[0], . . . , M01[7] cover exactly two periods [0, 4π], and all frequency bins (discrete frequency values) of the discrete spectrum of measurement values M01[k] will be substantially zero except the second bin with index n=2. Accordingly, it is sufficient to process only the non-zero frequency bins for obtaining the sought information about the phase, amplitude (and thus signal power). This results in reduced power consumption and faster estimation of the above parameters since only one spectral value has to be calculated instead of the whole discrete spectrum. It is noted that a spectral value may indicate an amplitude and phase for a specific frequency component of the sequence including the sampled values. For example, for the sampled values shown in FIGS. 14 and 15, the spectral value corresponds to the phase and the amplitude of the sinusoidal waveform shown in the respective diagrams.


To further analyze the concept described herein, the discrete Fourier transform of the sequence Mc[k] (measured values for the c-th channel) is considered:






Y[n]=Σk=0N-1Mc[kWNk·n  (26)


wherein the complex weight factor WN is defined as (j being the imaginary unit)






W
N
=e
−j·2π/N.  (27)


If the phase rotation of the phase φTSG[k] covers one full rotation (i.e., the interval [0, 2π]) in N steps of 2π/N, then the sought information is in the first frequency bin, i.e., in Y[1]. At this point it is noted that the zeroth frequency bin Y[0] includes the DC-Offset of the sequence Mc[k] which is substantially zero. As indicate above, if the phase rotation of the phase φTSG[k] is distributed over two full rotation (i.e., the interval [0, 4π]) in N steps of 4π/N, then the sought information is in the second frequency bin, i.e., Y[2]. If the phase rotation covers three full rotations, then the sought information is in the third frequency bin Y[3], etc.


For the following explanations, it is assumed that the rotation of the phase φTSG[k] covers one full rotation in N steps of 2π/N and the frequency bin of interest is the first frequency bin n=1. In this example, the spectral value Y[1] of the first frequency bin can be calculated as follows:






Y[1]=Σk=0N-1Mc[kWNk=McT·WN  (28)


wherein Mc denotes a vector including the sequence Mc[k] and WN denotes a vector including the weights WNk (for k=0, 1, . . . , N−1). That is:










M
c

=



(





M
c



[
0
]













M
c



[

N
-
1

]





)






and






W
N


=


(




W
N
0











W
N

N
-
1





)

.






(
29
)







In equation 28, the superscript T denotes the transposed. It can be observed that the discrete Fourier Transform may be replaced by the vector multiplication of equation 29.


In accordance with one example, the parameter N may be chosen as eight (N=8) for phase increments of 2π/8 (i.e., 45°), which means that eight measurement cycles are performed to obtain the eight measured values Mc[0], . . . , Mc[7] for each channel TXc. In this example, the resulting weight vector W8 has a simple structure, namely:










W
8

=


(



1






2

-

j


2








-
j







-

2


-

j


2








-
1







-

2


+

j


2







j






2

+

j


2






)

.





(
30
)







In accordance with another example, the parameter N may be chosen as four (N=4) for phase increments of 2π/4 (i.e., 90°), which means that four measurement cycles are performed to obtain the four measured values Mc[0], . . . , Mc[4] for each channel c. In this example, the resulting weight vector W4 has an even simpler structure, namely:










W
4

=


(



1





-
j






-
1





j



)

.





(
31
)







It is noted, that in the latter example (equation 31) no multiplication have to be performed, and the spectral value Y[1] of the first frequency bin n=1 may be obtained by two simple additions/subtractions. That is, for each channel TXc:










Y


[
1
]


=



M
c
T

·

W
4


=





M
c



[
0
]


-


M
c



[
2
]






Re


{

Y


[
1
]


}




+

j
·



(



M
c



[
3
]


-


M
c



[
1
]



)




I





m


{

Y


[
1
]


}




.








(
32
)







In the above equation 32, Re{⋅} and Im{⋅} denote the real and the imaginary part of the complex-valued spectral value Y[1]. The sought amplitude value 2ATXc of the sequence Mc[k] (see equations 24) can be determined from the magnitude of the spectral value Y[1], namely |Y[1]|, and the corresponding phase value φTXc (for channel TXc) can be calculated using the following known relations:










2


A

T

X

c



=



2
N





Y


[
1
]





=


2
N





Re



{

Y


[
1
]


}

2


+

Im



{

Y


[
1
]


}

2










(
33
)







φ

T

X

c


=



tan

-
1




(

Im



{

y


[
1
]


}

/
Re



{

Y


[
1
]


}


)


.





(
34
)







It is noted, that in a general case N complex-valued multiplications and N−1 complex-valued additions are needed to calculate the spectral value Y[1] wherein each complex-valued multiplication entails two real-valued multiplications and two real-valued additions. As discussed above, the number of calculations significantly reduces for specific values of N. Particularly for N=4. the calculations become trivial and only two real-valued additions remain for calculating the spectral value Y[1] (see equation 32). Although a sequence Mc[k] of only four values (i.e., N=4 and k=0, . . . , 3) may be sufficient to estimate the phase value for a channel, a longer sequence (e.g., N=8) with more values may yield better (more precise) results. As shown in equation 30, the values in the weight vector WN are not trivial for higher parameters N (as compared to the case N=4). In the case of N=8 the factor √{square root over (2)} may be stored in a memory as a pre-calculated numerical value. For higher values of the parameter N (N>8), more factors need to be pre-calculated and stored.


The complexity of the amplitude and phase estimation—also for higher values of N—may be achieved when covering two or more full rotations of the phase. If, in accordance with a further example, the parameter N is chosen as eight (N=8) for phase increments of 4π/8 (i.e., 90°), the phases are distributed over two full rotations, i.e., two full rotations are covered. Accordingly, eight measurement cycles are performed to obtain the eight measured values Mc[0], . . . , Mc[7] for each channel TXc. In this example, the spectral value Y[2] is relevant,






Y[2]=Σk=08-1Mc[k]W82·k=McT·W8,  (35)


and the resulting weight vector W8 has a simple structure, namely:










W
8

=


(




W
8
0






W
8
2






W
8
4






W
8
6






W
8
8






W
8

1

0







W
8

1

2







W
8

1

4





)

=


(



1





-
j






-
1





j




1





-
j






-
1





j



)

.






(
36
)







For N=16 and increments of 8π/16, four full rotations of the phase are performed and the relevant spectral value is Y[4], wherein the corresponding weight vector W16 remains trivial, i.e., W16=[WN4·k].


Summarizing the above, calculation of the whole spectrum, e.g., using an FFT algorithm, may be avoided if the measured sequence covers an integer multiple of a full phase rotation (a full rotation means a rotation of 2π or 360°). That is, for a sequence of N values (obtained in N measurement cycles) the phase increment between the samples is an integer multiple of 2π/N. If the measurements are distributed over one full phase rotation, the first frequency bin Y[1] is relevant (Y[0] represents the DC offset and is ideally zero). Generally, if the measurements are distributed over u full phase rotations, frequency bin u is relevant, i.e., Y[u] is relevant. As mentioned the zeroth frequency bin Y[0] represents a DC offset which is ideally zero. The weight vector WN becomes trivial, if the phase increments between the samples equal π/2 (90°). In both cases, the calculations needed to determine the spectral value of the sought frequency bin can be very efficiently implemented in hardware with less complexity than conventional FFT algorithms. In one example, a hardware-implemented CORDIC algorithm is used.


It is noted, that the herein-described approach for estimating phase and amplitude of sinusoid sequences—such as the sequences M01[k], M02[k], etc. that cover an integer number of periods (i.e., an integer number of full phase rotations) may not only be applied in a system shown in FIGS. 5, 8, and 9, but can also be applied in other systems, in which the phases of the individual channels are measured subsequently (channel-wise). An example of such a system is illustrated in FIG. 13.


Accordingly, the approach explained above with reference to equations 26 to 36 is not limited to examples in which the RF output signals from multiple channels are combined as described above with reference to FIGS. 5 to 19. The approach can generally be used to evaluate phases and amplitude values of signals having sinusoidal waveforms (such as, e.g., M01[k], M02[k], etc.). FIG. 13 illustrates a block diagram illustrating one further example of an RF circuit with multiple RF channels for generating multiple RF output signals. Only one channel TXc of c channels is depicted to keep the illustration simple. Similar as in the example of FIG. 8, the local oscillator signal sLO(t) is supplied as input signal to the RF channel TXc as well as to the monitor circuit 150. As in the previous examples, the RF channel TXc includes a phase shifter 105 (phase shift ΔφTXc) and an amplifier 102 in order to phase-shift and amplify the local oscillator signal sLO(t). The phase-shifted and amplified signal sTXc(t) is supplied as output signal at an output port of the RF channel TXc, wherein a coupler 109 is included in the RF channel TXc configured to provide a fraction of the output signal sTXc(t) as scaled output signal sTXc′(t) to the monitor circuit 150 for the determination of the phase and the amplitude of the output signal sTXc(t). The scaled output signal is denoted as sTXc′(t) and has a fraction of the signal power of the output signal sTXc(t).


The monitor circuit 150 includes a phase shifter 106 (phase shift ΔφTSG), which is configured to phase shift the local oscillator signal sLO(t). The output signal is denoted as reference signal sTSG (t) (see equation 5). The monitor circuit 150 further includes phase mixer 107 that is configured to mix the reference signal sTSG(t) with the (scaled) output signal sTXc′(t). As both signals sTSG(t) and sTXc′(t) have the same frequency fLO, the output signal of the phase mixer 107 is a DC-signal sDC(t), which represents the phase of the output signal sTXc (t) relative to the phase of the reference signal sTSG(t). Analogously to equation 1, the output signal sTXc(t) can be written as:






s
TXc(t)=ATXc·cos(2πfLOt+φTXc+ΔφTXc),  (37)


wherein ΔφTXc is the phase shift caused by phase shifter 105 and φ7-xc is the phase shift caused by further circuit components in the signal path from the local oscillator to the output of the RF channel TXc. ATXc denotes the amplitude of the output signal sTXc(t). Similar to equations 6 and 7, the mixer output signal sDC(t) can be calculated as follows:






s
DC(t)≈ATXc·cos(φTSG−ΔφTXc−φTXc).  (38)


It is to be noted that only one output channel is active in the present example, while the other channels are inactive and not generating an RF output signal.


The analog signal DC may be sampled (e.g., by sensor ADC 31) at various different phase shift values φTSG and ΔφTXc set by the phase shifters 106 and 105, respectively. The k-th sample of the resulting discrete sequence Mc[k] is:











M
c



[
k
]


=



s

D

C




(

t
k

)


=



s

D

C




[
k
]





A

T

X

c


·


cos
(





ϕ
TSG



[
k
]


-

Δ







ϕ
TXc



[
k
]







Δ








ϕ





c



[
k
]





-

ϕ

TX
c



)

.








(
39
)







The sequence Mc[k] may herein be referred to as measured signal, wherein the phase difference φTSG[k]−ΔφTXc[k] may herein be referred to as phase offset Δφc[k]. It is noted that the phase offset Δφc[k] can be set solely by the phase shifters 105 and 106, which may be controlled by control circuit 120.


If the phase offset Δφc[k] is successively rotated by equidistant phase steps, the measured sequence Mc[k] is a discrete sinusoidal signal similar to the signals shown in the example of FIG. 6. Thus, the sensor ADC 31 takes a set of samples from the output of the phase mixer 107 that together form a measured sequence of samples. As a result, the measured sequence is a set of DC values representative of a sinusoidal signal of one sample period taken over 2π. If the size of one phase step is an integer multiple of 2π/N, wherein N is the number of measurement cycles and thus the number of samples in the sequence Mc[k] (i.e., k=0, . . . , N−1), the measured sequence Mc[k] is distributed over one or more full periods (i.e., full phase rotations of 2π). The diagram illustrated in FIG. 14A illustrates a measured sequence Mc[k] with eight samples (i.e., k=0, . . . , N−1), wherein these samples can be regarded as elements of the vector Mc (see equation 28). For a successive, next measurement cycle the phase offset Δφc[k] is increased by 2π/N=π/4 (i.e., 45°). In the depicted example, the determined phase φTXc is 1π/90 (i.e., 52°). As can be seen from the diagram of FIG. 14A, one full period of a cosine sequence is obtained, and thus the relevant phase and amplitude information is in the first frequency bin Y[1] (frequency index n=1) of the corresponding discrete Fourier Transform as explained above.


Considering equations 27 and 30, the weight factor W8k equals e−j·k·π/4. The complex values of W8k are illustrated in the diagram illustrated in FIG. 14B for k=0, . . . 7. The depicted values are the elements of the weight vector W8 defined in equation 30. The spectral value Y[1] can be calculated in accordance with equation 28, and an estimation for the sought phase φTXc value can be calculated from the spectral value Y[1] in accordance with equation 34. The corresponding amplitude can be calculated from the spectral value Y[1] in accordance with equation 33.


According to one implementation, the phase offset Δφc[k] is stepwise rotated to cover one or more full rotations of 2π (i.e., 360°) and thus the step size is an integer multiple of 2π/N, wherein N is the number of samples (measurement cycles). As defined in equation 39, the phase offset Δφc[k]=φTSG[k]−ΔφTXc[k] can be determined by both phase shifters 105 and 106. Therefore, a phase offset of π/4 can be obtained by setting the phase shifter 106 to φTSG[k]=π/4 and the phase shifter 105 to ΔφTXc[k]=0. However, the same phase shift may be obtained by setting the phase shifter 106 to φTSG [k]=π/2 and the phase shifter 105 to ΔφTXc[k]=π/4. In some implementations, both phase shifts φTSG[k] and ΔφTXc[k] may be varied for setting a specific phase offset Δφc[k] in order to test the functionality of both phase shifters 105 and 106. In other words, if the measured sequence Mc[k] corresponds to the expected sinusoidal samples, it can be determined that both phase shifters 105 and 106 provide the expected phase offsets and are functioning and operating correctly.


The diagram illustrated in FIG. 15A illustrates another example of a measured sequence Mc[k] with eight samples (i.e., k=0, N−1), wherein these samples can be regarded as elements of the vector Mc (see equation 35). Between two successive measurement cycles the phase offset Δφc[k] has been increased by 4π/N =π/2 (i.e., 90°). Like in the previous example, the sought phase φTXc is 13π/90 (i.e., 52°). As can be seen from the diagram illustrated in FIG. 15A, two full periods of a cosine sequence are obtained, and thus the relevant phase and amplitude information is in the second frequency bin Y[2] (frequency index n=2) of the corresponding discrete Fourier Transform as explained above. Considering equations 27 and 35, the weight factor W82k equals e−j·k·π/2. Again, the complex values of W82k are illustrated in the diagram illustrated in FIG. 15B for k=0, . . . 7. The depicted values are the elements of the weight vector W8 defined in equation 36. The spectral value Y[2] can be calculated in accordance with equation 35, and an estimation for the sought phase φTXc value can be calculated from the spectral value Y[2] in view of equation 34. The corresponding amplitude can be calculated from the spectral value Y[2] in view of equation 33.


It is noted that the example illustrated in FIGS. 15A and 15B uses the same number of samples to estimate phase and amplitude of the measured sequence Mc[k] as in the previous example illustrated in FIGS. 14A and 14B. However, the weight vector W8 takes a more simple form in the example illustrated in FIGS. 15A and 15B (see equation 36) as already discussed above. This is due to the fact that the step size of the phase offset Δφc[k] equals π/2 and the cosine of integer multiples of π/2 can only assume the values 0, 1, and −1. Accordingly, the elements of the weight vector W8 have imaginary and real parts that are either or 1 or −1.


As mentioned above, a specific phase offset Δφc[k] can be set using both phase shifters 105 and 106. The tables shown in FIGS. 16 and 17 illustrates two different settings for the phase shifters 105 and 105 to obtain equally spaced phase offsets Δφc[k] when successively acquiring measured values Mc[k] in accordance with the approach shown in FIG. 15A. In the example of FIG. 16, the phase shift ΔφTXc[k] generated by phase shifter 105 remains zero, while the phase rotation is solely accomplished by phase shifter 106 that increases the phase shift ΔφTSG[k] stepwise by π/2 (i.e., 90°). Thus, the phase offset Δφc[k] is rotated by two full rotations while obtaining a sequence Mc of eight measured values Mc[k] (for k=0, . . . , 7). In another example the phase shift ΔφTXc[k] generated by phase shifter 105 is set to zero while obtaining the first four measurements Mc[k] (for k=0, . . . , 3) and set to π/4 (i.e., 45°) while obtaining the remaining measurements Mc[k] (for k=4, . . . , 7). At the same time, the phase shift ΔφTSG[k] generated by the phase shifter 106 is stepwise increased by π/2 starting at zero while obtaining the first four measurements Mc[k] (for k=0, . . . , 3) and stepwise increased by π/2 starting at π/4 while obtaining the remaining measurements Mc[k] (for k=4, . . . , 7). This situation is illustrated in FIG. 17. It is understood that phase offsets of 2π (i.e., 360°) and integer multiples of 2π correspond to a phase offset of zero. Accordingly, a subtraction Δφc[k]=ΔφTSG[k]−ΔφTXc[k] resulting in ψ±2π is identical to a subtraction Δφc[k]=ΔφTSG[k]−ΔφTXc[k] resulting in ψ (wherein ψ may by an arbitrary angle).


While the above specification describes the use of the phase shifter 106 and the phase mixer 107 to obtain predetermined and exact phase settings in the transmission paths TXc and to monitor the phases in the transmission paths TXc, the following describes a concept to correct for a non-ideal behavior of the phase shifter 106 implemented as an IQ modulator which may influence the phase settings and how to address and compensate for it. The concept described below may in general be applied to any system in which a phase shifter needs to be corrected or calibrated utilizing, in addition to the phase shifter (IQ modulator) to be compensated, a phase mixer. The described concept provides in the described system the advantage that the required components are already available due to the above described concept for monitoring the phases of the TXc channels.


Based on the embodiment shown in FIGS. 8 and 9 and the embodiment shown in FIG. 13, a reference signal (i.e., LO signal sLO(t)) is generated by the local oscillator 101, where the reference signal is configured as a continuous-wave signal. The LO signal sLO(t) is processed in the transmission signal path of one or more TX channels to generate a continuous-wave transmission signal that is radiated by the TX antenna 5. The reference signal (i.e., LO signal sLO(t)) is also provided along a test path to the phase shifter 106. The test path is used to monitor a phase of the transmission signal. Thus, before leaving the radar chip to be sent to the TX antenna 5, a portion of the continuous-wave transmission signal is coupled out by coupler 109 as a continuous-wave transmission monitoring signal sTX01′(t), sTX02′(t), . . . , sTXc′(t)). The transmission monitoring signal is fed to the RF port of a phase mixer 107. The LO input of the phase mixer 107 is also fed with the LO signal sLO(t), whose phase is rotated by a unique phase shift Δφ to generate a phase-shifted signal sTSG(t). This phase shift is produced by a test modulator (i.e., phase shifter 106).


The phase-shifted signal and the transmit monitoring signal, being derived from the same reference signal, have the same frequency. Two signals with the same frequency mixed together produce a DC signal. Thus, when the phase-shifted signal sTSG(t) and the transmitter monitoring signal sTXc′(t) are mixed together by the phase mixer 107, the phase mixer 107 generates a DC signal, mixer output signal sDC(t), at its output. In other words, a DC level of the resulting down-converted IF signal sDC(t) is output from the phase mixer 107 and is measured by the sensor ADC 31. The sensor ADC 31 outputs DC sample values sDC[k], which are the measured DC values (sampled values) of the mixer output signal sDC(t)).


This DC sample value sDC[k] depends on the phase difference (i.e., the phase offset Δφc[k]) between the signal in the transmit path (i.e., combined signal sSUP (t) in FIG. 8 and the phase-shifted signal sTSG(t) used for down-conversion, or the transmitter monitoring signal sTXc′(t) in FIG. 13 and the phase-shifted signal sTSG (t) used for down-conversion. Here, if the combined signal sSUP(t)) is used, only one TX channel is active at a time such that the combined signal sSUP(t)) is representative of only that active TX channel (e.g., RF output signals sTX01′(t), sTX02′(t), . . . , sTXc′(t)).


The procedure is repeated for several values of the phase shift Δφ between 0 and 2n. For instance, the phase offset Δφc[k] may be successively rotated by equidistant phase steps by rotating the phase φTSG[k] of the phase shifter 106 by equidistant phase steps to cover one full rotation in N steps of 2π/N. In the following examples, N is equal to eight but is not limited thereto. As a result of the eight equidistant phase steps of phase φTSG[k], the measured sequence Mc[k] of ADC sample values sDC[k] is a discrete sinusoidal signal comprising of eight ADC sample values. In particular, the measured DC sample values when plotted over Δφ follow a sine. Thus, the phase-shifted signal is shifted over 360 degrees defining one period, and the sequence of DC sample values is taken over the one period.


The phase of this sine corresponds to the phase difference (i.e., the phase offset Δφc[k]) between the signal in the transmit path (i.e., combined signal sSUP(t) or sTXc′(t) and the phase-shifted signal sTSG(t) used for the down-conversion). The measurement is repeated for all TX antennas, yielding NTx phase values, where NTx is the number of transmit antennas. Comparing these NTx phase values allows for TX phase calibration by the control circuit 120 by adjusting the phase shifters 105 in the individual RF TX paths properly.



FIG. 18 illustrates a schematic diagram of the phase shifter 106 according to one or more embodiments. In this example, the phase shifter 106 is an I/Q-modulator (IQM) but may be any phase shifter that produces a 2-period phase error due to a magnitude or a phase mismatch. The phase shifter 106 includes a polyphase filter (PPF) 1801, an I-register 1802 coupled to a variable gain amplifier 1803, a Q-register 1804 coupled to a variable gain amplifier 1805 and an adder 1806. The output signal of the phase shifter 106 (i.e., of the adder 1806) is the phase-shifted signal sTSG (t).


The PPF 1801 includes a high-pass (HP) filter 1807 and a low-pass (LP) filter 1808 that are configured to generate orthogonal output signals of equal magnitude. These signals are then amplified with a respective VGA 1803 or 1805. The gain of these VGAs 1803 and 1805 is defined by the according register values [−128, +127] input by their respective I-register 1802 or Q-register 1804. The sum of the VGA outputs is the phase-shifted signal sTSG(t) that is provided to the phase mixer 107, where the phase shift of the phase-shifted signal sTSG(t) is defined by the register values of registers 1802 and 1804. Thus, the phase-shifted signal sTSG(t) is phase shifted relative to the input signal LO signal sLO(t)) of the phase shifter 106 (i.e., the input of the PPF 1801).


The operation of the PPF 1801 will now be described. Ideally, the HP filter 1807 and the LP filter 1808 have the same cutoff frequency. At this cutoff frequency, the HP filter 1807 produces a phase shift of +45°. On the other hand, the LP filter 1808 produces a phase shift of −45°. Since the total phase difference between I-path and Q-path is 90°, their output signals are orthogonal. However, there are some implications with the PPF 1801. For example, if the HP filter 1807 and the LP filter 1808 are not operated exactly at the cutoff frequency, the output signals thereof won't be orthogonal. Similarly, if temperature-dependent components or process variations shift the cutoff frequencies, the output signals will not be orthogonal either. In addition to the filter output signals not being orthogonal, their amplitudes won't be equal anymore either, which is required for a correct functionality of the IQM 106. This is generally true for any possible kind of PPF implementation.


As a result, a non-ideal PPF can be modelled by introducing a magnitude and phase mismatch between the I-path and the Q-path after the PPF 1801. The effects of these PPF mismatches on the IQM's functionality are detailed in the following. For this, the input signal sLO(t) of the phase shifter 106 is kept constant, and the register values of the I-register 1802 and the Q-register 1804 are varied such that the ideal phase shifter output, phase-shifted signal sTSG(t), has constant magnitude and its phase is rotated on a full circle with steps of, for example, 10°.


For an ideal IQM, the output signals follow the desired 10° phase steps, as shown in FIG. 19A. Here, the magnitude is constant as described above.


When a magnitude mismatch at the PPF 1801 is present (i.e., the magnitudes of the signals output from the HP and LP filters 1807 and 1808 are not equal), the constellation points are stretched/compressed along the I-axis and the Q-axis, as shown in the left portion of FIG. 19B. The resulting phase error at the phase shifter output sTSG(t) follow a two periods waveform. It can be shown that, in this case, the phase error is always zero at n*90°, with n being an integer, and that the phase error is well-approximated by a sine wave, as shown in the right portion of FIG. 19B.


Alternatively, when a phase mismatch at the PPF 1801 is present (i.e., the phases of the signals output from the HP and LP filters 1807 and 1808 are not orthogonal), the constellation points are stretched and compressed along the 45°-axis or the 135°-axis, respectively, as shown in left portion of FIG. 19C. The resulting phase error at the phase shifter output sTSG(t) again follows a two periods waveform. It can be shown that, in this case, the phase error is always zero for phases of 45°+n*90°, with n being a number, and that the phase error is well-approximated by a cosine, as shown in the right portion of FIG. 19C.


On top of the phase error at the phase shifter output sTSG(t), there will also be a magnitude error at the phase shifter 106 output. However, this magnitude error is not considered any further. The reason for this is that the input of the phase mixer 107 that is connected with the phase shifter 106 is operated in saturation. Hence, magnitude variations at this input (as long as they are not severe) do not alter the output signal sDC(t) of the phase mixer 107.



FIG. 20 illustrates Fourier components of sensor ADC (SADC) measurements with a 2-period phase error according to one or more embodiments. The left diagram in FIG. 20 illustrates an ideal sine for SADC measurements with one period (i.e., samples for eight equidistant phase steps of phase φTSG[k] over 360°) and distorted SADC values due to a phase and/or magnitude mismatch at the phase shifter 106. In other words, the left diagram in FIG. 20 relates to using the samples shown in FIGS. 14A and 15A as inputs to a discrete Fourier Transform (DFT) algorithm described below and further shows the distortion in the samples as a result of the non-ideal behavior of the phase shifter 106.


Here, each SADC value corresponds to a sample taken for one of the eight equidistant phase steps. The SADC values are DC sample values sDC[k] at the output of the sensor ADC 31. The DC sample values sDC[k] may represent a SADC measurement sequence Mc[k] having a pattern with one period in duration. For example, the pattern may be a sinusoidal pattern having one period in duration. In the event that a 2-period phase error is present, the sinusoidal pattern may be a non-ideal sinusoidal pattern, meaning that the pattern is distorted and does not follow an ideal sinusoidal pattern.


A DFT algorithm (e.g., a fast Fourier transform (FFT) algorithm) may be applied to the SADC measurement sequence Mc[k] to estimate phase and amplitude (magnitude) values of the TX channel. As a result of the conversion, a plurality of DFT bins with corresponding DFT bin values are generated. Each DFT bin value may include a magnitude value and a phase value. In addition, if the DFT algorithm is an FFT algorithm, a DFT bin may be referred to as an FFT bin and a DFT bin value may be referred to as an FFT bin value.


In particular, a plurality of Fourier components located at different harmonics, including a first harmonic component located at DFT bin 1 and a third harmonic component located at DFT bin 3, are generated by the DFT. These DFT bins follow a DC DFT bin (i.e., zero is the lowest bin frequency) that has an DFT bin value of zero since there is no DC value of an oscillating pattern. The zeroth bin in the DFT is DC (0 Hz), the first bin is located at Fs/N, where Fs is the sample rate and N is the size of the DFT. The next bin is located at 2*Fs/N, the third bin is located at 3*Fs/N, and so on.


Thus, the right side of FIG. 20 shows ideal and distorted magnitude and phase values of the sinusoidal SADC measurement sequence Mc[k] after which an DFT algorithm is applied thereto. In particular, the sinusoidal SADC measurement sequence Mc[k] provided by the sensor ADC 31 is converted by the monitor circuit 150 using a DFT (e.g., FFT) into frequency components, also referred to as harmonic components.


Considering an ideal sinusoidal SADC measurement sequence follows a sine with one period, a single first harmonic component exists at a first DFT bin 1 (frequency index 1) when there is no phase or magnitude mismatch at the phase shifter 106. In general, a DFT bin is a harmonic component sample and may also be referred to as an FFT bin. Thus, the relevant phase and magnitude information is in the first DFT bin 1 where the dominant signal component of the sinusoidal SADC measurement sequence resides.


The phase of this first harmonic component is the measured phase difference between the RF and LO inputs of the phase mixer 107 (i.e., the phase difference between the transmitter monitoring signal sTXc′(t) and the phase-shifted signal sTSG(t)).


When a PPF magnitude and/or phase mismatch is present, a 2-period phase error is introduced at the output of the phase shifter 106. As a result, the sinusoidal SADC measurement sequence Mc[k] of the DC sample values sDC[k] is distorted and is not limited to a single first harmonic component as would be the case with an ideal phase shifter. Instead the distorted sinusoidal SADC measurement sequence has distorted harmonic components at the first harmonic component and at a third harmonic component (i.e., at the first DFT bin 1 and the third DFT bin 3, respectively).


In particular, the first harmonic component features a phase error. In fact, the ideal first harmonic component is distorted by the phase error. This phase error directly influences the transmission Tx phase measurement/calibration. Another consequence of the PPF magnitude and/or phase mismatch is that the sinusoidal SADC measurement sequence Mc[k] contains a third harmonic component at the third DFT bin 3 (frequency index 3).


The third DFT bin 3 is separated by two DFT bins (i.e., two harmonic components) from the first DFT bin 1 (i.e., the first harmonic component) due to the 2-period phase error. This third harmonic component and the phase error introduced in the first harmonic component are directly related to each other. In particular, both magnitude and phase values of the first harmonic component are distorted by the 2-period phase error. In addition, magnitude and phase values are now present at the third harmonic component (i.e., at the third DFT bin) in the form of error components. Hence, the monitor circuit 150 is configured to analyze the error components at the third DFT bin in order to generate compensated phase information of a transmission channel.


Specifically, the monitor circuit 150 configured to apply a DFT (e.g., an FFT) to the sequence of DC sample values to generate a plurality of DFT bins with corresponding DFT bin values, and use DFT bin values of the first DFT bin and the third DFT bin to generate compensated phase information of the transmission channel. These DFT bin values may be referred to as a first DFT bin value and a third DFT bin value, respectively.


The first DFT bin value represents a first harmonic component of the sequence of DC sample values located at a first DFT bin that follows a DC DFT bin and the third DFT bin value represents a third harmonic component of the sequence of DC sample values located at a third DFT bin that follows the DC DFT bin. Thus, the first DFT bin is located adjacent to and between the DC DFT bin (DC harmonic component) and a second DFT bin (second harmonic component), and the third DFT bin is located adjacent to and between the second DFT bin and a fourth DFT bin (fourth harmonic component).


The first harmonic component includes a measurement component and a first error component of the sequence of DC sample values and the third harmonic component includes a second error component of the sequence of DC sample values, the second error component being related to the first error component based on a predefined relationship. The monitor circuit 150 is configured to perform a spectral analysis by measuring the second error component to derive the first error component based on the second error component and the predefined relationship. The monitor circuit 150 is further configured to subtract the first error component from the first harmonic component to generate the compensated phase information.


The monitor circuit 150 may then provide the compensated phase information to the control circuit 120, which is configured to adjust a phase-shift setting of a transmission phase shifter 105 of a corresponding transmission channel based on the compensated phase information.


In summary, the monitor circuit 150 is configured to subtract the estimated phase error from the first harmonic component to obtain a compensated first harmonic component, and ultimately to obtain a better Tx phase measurement/calibration. The compensated phase information is provided to the control circuit 120, which then uses the compensated phase information to adjust the phase shift values ΔφTX01, ΔφTX02, . . . , ΔφTXc for the phase shifters 105 of the channels TX01, TX02, . . . , TXc.


In view of the above, by varying the register values of the I-register 1802 and the Q-register 1804 with respect to each other, the phase of the phase shifter 106 is rotated 360 degrees in equidistant steps to obtain a plurality of SADC values that form a sinusoidal SADC measurement sequence. The sinusoidal SADC measurement sequence output by the SADC 31 is converted into the frequency domain by the monitor circuit 150 using a DFT. The DFT converted sinusoidal SADC measurement sequence has a first harmonic component that is affected by a 2-period phase error that is introduced by the phase shifter 106 due to a phase and/or magnitude mismatch. As a result, the first harmonic component contains an error component that distorts the measurement, both in magnitude and phase.


The DFT converted sinusoidal SADC measurement sequence also includes a third harmonic component that is related to the error component at the first harmonic component. In particular, a main contribution of phase error is located at the third DFT bin. The third DFT bin has three times the frequency of the first DFT bin. It is noted that four DFT bins exist due to there being eight SADC samples. Thus, the number of DFT bins is half the number of SADC samples. Regardless of the number of samples, or bins, the major contribution of phase error is always located at the 3rd DFT bin due to the phase error of the phase shifter 106 being related to certain frequencies, mainly the third DFT bin with some, but related contribution at the first DFT bin. There may be insignificant contributions at other DFT bins as well. The magnitude and phase values of the third harmonic component have a predefined relationship with the magnitude and phase values of the first harmonic component, respectively.


It is also noted that DFT bins include a DC bin (DFT bin 0), a first DFT bin having a first harmonic component, a second DFT bin having a 2-period harmonic component, a third DFT bin having a third harmonic component, and so on. The DC component at the DC DFT bin is zero since in the measurement signal made up of a plurality of ADC samples is sinusoidal.


The monitor circuit 150 determines the third harmonic component for both magnitude and phase of the DFT converted sinusoidal SADC measurement sequence, and applies a known relationship with the error component located in the first harmonic component to derive the error component in both the magnitude and phase. The monitor circuit 150 is further configured to subtract the derived error component from first harmonic component of the measurement signal (i.e., of the magnitude and the phase) in order to generate a compensated first harmonic component (i.e., to generate compensated phase information). Thus, the monitor circuit uses the third DFT bin to remove an error in the desired signal located at the first DFT bin.


As a result, the phase of the Tx monitoring signal coupled out of the transmission signal and provided to the phase mixer 107 is measured with a higher accuracy. Based on this measurement of the compensated phase of the Tx monitoring signal, a phase shift setting of the phase shifter 105 is modified to phase balance the TX channel with the other TX channels. That is, the phase of the phase shifter 105, having a similar configuration to the phase shifter 106 shown in FIG. 18, may be adjusted by modifying the VGA gain values of the phase shifter 105.


When performing phase balancing, the monitor circuit 150 may test each transmit signal path TX1, TX2, . . . TXc sequentially. For example, transmit signal path TX1 may be tested based on the described method to determine a phase value of TX1 by activating channel TX1 and deactivating the remaining TX channels. Similarly, transmit signal path TX2 may be tested based on the described method to determine a phase value of TX2 by activating channel TX2 and deactivating the remaining TX channels. Then, the monitor circuit 150 is configured to compare the phase values between the two transmit paths TX1 and TX2, adjust the phase shift of one or more of the phase shifters 105 such that the phase values are balanced/matched (matched phase shift for phase shifters 105 in the transmit channels TX1, TX2, etc.) The control circuit 120 then modifies phase shifter values ΔφTX01, ΔφTX02, . . . , ΔφTXc for the phase shifters 105 according to the adjusted phase shifts.


The ideal SADC measurements (i.e. phase mixer 107 output values value sDC[k]) can be described as follows:





SADC[k]=½ATxATST cos(αTx−αTST[k]),  (40)


where ATx and ATST describe the RF and LO input magnitude values at the phase mixer 107 (i.e., of the transmitter monitoring signal and the phase-shifted signal, respectively), αTX represents the phase at the RF input of the transmitter monitoring signal, and where the phase of the LO input αTST [k] is rotated a full circle in eight steps:











α

T

S

T




[
k
]


=



-
2


π


k
8






for





k

=

0





to





7.






(
41
)







The negative sign indicates that the phase shift of the phase shifter 106 is rotated clockwise.


This expression is modified to account for PPF magnitude and/or phase mismatch. Such a mismatch produces a phase error with 2-periods. This can be generally modelled at the first order as:











α

T

S

T




[
k
]


=



-
2


π


k
8


+



α
^

e




cos


(


4

π


k
8


+

ϕ
e


)


.







(
42
)







Here, {circumflex over (α)}e and φe stand for an arbitrary magnitude and start phase of the phase error, respectively. Inserting Equation (42) into Equation (40) yields:









SADC



[
k
]

=


1
2



A

T

x




A

T

S

T




cos


(


α

T

x


+

2

π


k
8


-



α
^

e



cos


(


4

π


k
8


+

ϕ
e


)




)








(
43
)







A Taylor series expansion of first order around {circumflex over (α)}e=0 yields:









SADC



[
k
]

=


1
2



A

T

x





A

T

S

T




(


cos


(


α

T

x


+

2

π


k
8



)


+



α
^

e




sin


(


α

T

x


+

2

π


k
8



)


·

cos


(


4

π


k
8


+

ϕ
e


)





)








(
44
)







This expression can be reformulated as:










SADC


[
k
]


=



1
2



A
Tx



A
TST



cos


(


α
Tx

+

2





π






k
8



)



+


1
2



A
Tx



A
TST




α
^

e




sin


(


α
Tx

+

2





π






k
8



)


·

cos


(


4





π






k
8


+

ϕ
e


)









(
45
)







Using sin x cos y=½(sin(x−y)+cos(x+y)), the right term can be rewritten as:













SADC


[
k
]


=




1
2



A
Tx



A
TST



cos


(


α
Tx

+

2





π






k
8



)










->

Desired





component





with





1





period









+



1
4




A
Tx



A
TST




α
^

e



sin


(


α
Tx

-

2





π






k
8


-

ϕ
e


)









->

Error





component





with





1





period









+



1
4




A
Tx



A
TST




α
^

e



sin


(


α
Tx

+

6





π






k
8


+

ϕ
e


)









->

Error





component





with





3





periods









(
46
)







A DFT applied on these SADC values produces:













SADC


[
k
]


=




1
2



A
Tx



A
TST



cos


(


α
Tx

+

2





π






k
8



)










->

4


A
Tx




A
TST

·

e

i






α
Tx













at





bin





1








+



1
4




A
Tx



A
TST




α
^

e



sin


(


α
Tx

-

2





π






k
8


-

ϕ
e


)









->

2






A
Tx



A
TST





α
^

e

·

e

i


(


ϕ
e

-

α
Tx

+

π
2


)













at





bin





1








+



1
4




A
Tx



A
TST




α
^

e



sin


(


α
Tx

+

6





π






k
8


+

ϕ
e


)









->

2






A
Tx



A
TST





α
^

e

·

e

i


(


ϕ
e

+

α
Tx

-

π
2


)













at





bin





3








(
47
)







An inspection of this results shows that bin 3 has the same magnitude as the error component in bin 1 and that bin 3 contains the phase error cp, in its phase. Thus, the error component in bin 3 can be used to estimate the error component in bin 1. The monitor circuit is configured to compensate the error component in bin 1 to obtain the true phase αTx.


A coarse summary of the proposed algorithm includes: make a rough estimate the phase of the transmitter monitoring signal αTx (e.g., using the transmitter monitoring signal and the phase-shifted signal); use αTx and bin 3 to estimate the start phase of the phase error φe; use the start phase of the phase error φe to compensate the error component at bin 1 such that the phase of the compensated bin 1 approximately matches the optimal phase of the transmitter monitoring signal αTx.



FIG. 21 illustrates a flow diagram of transmission phase compensation method 2100 according to one or more embodiments. In particular, FIG. 21 illustrates a flow diagram on the left, with the operation sequence indicated by solid arrows. In addition, FIG. 21 illustrates corresponding examples of some of the operations on the right, indicated by dashed arrows that originate from the corresponding operation. The method of measuring a transmission phase to derive compensated phase information αTx is described as follows.


The transmission phase compensation method 2100 includes initializing only one Tx path (i.e., one transmission channel) to be active, while the Rx LO buffer is deactivated (operation 2105) and setting the phase of the phase shifter 106 to 0° and a phasor length to 127 (operation 2110). The method 2100 further includes measuring and storing a DC value measured by the SADC 31 (operation 2115), incrementing the phase of the phase shifter by 45° (operation 2120), and repeating operations 2115 and 2120 seven times to acquire DC samples over one full period 2n. As a result, a sequence of eight DC sample values is acquired in this example. The method 2100 further includes applying an FFT of length 8 on the stored measurements (operation 2125), evaluating the magnitude (m1) and the phase (φ1) of the first FFT bin that follows the DC FFT bin (operation 2130), and evaluating the magnitude (m3) and the phase (φ3) of the third FFT bin that follows the DC FFT bin (operation 2135).


The method 2100 further includes a sequence of mathematical operations that use the magnitude (m1), the phase (φr), the magnitude (m3), and the phase (φ3) to derive the compensated phase information αTx. Thus, the method 2100 includes using the phase of the first bin φi as a first order estimate of the phase of the transmitter monitoring signal αTx,temp (operation 2140). This is required to derive the phase error term







ϕ
e

=

(


ϕ
3

-

α

Tx
,
temp


+

π
2


)





based on eq. (47) (operation 2145), and use the phase error φe and the magnitude m3 to derive an error approximation value







v
e

=


m
3

·

exp


(

j


(


ϕ
e

-

α


T

x

,

t

e

m

p



+





π
2


)


)







(operation 2150). The error approximation value νe and the magnitude m1 and phase φi are then used to derive a compensated complex value for the first bin ν1=m1·exp(jφ1)−νe (operation 2155), and derive an angle of the complex value ν1, where αTx=angle(ν1) (operation 2160), thus outputting the angle αTx as the compensated phase information to, for example, the control circuit 120 (operation 2165).


Thus, each DFT or FFT bin value includes a phase value and a magnitude value, and the monitor circuit 150 is configured to use the phase value and the magnitude value from the first DFT bin and the third DFT bin to calculate the compensated phase information. In particular, the monitor circuit 150 is configured to derive a first value νe based on the magnitude of the third bin m3, the phase of the third bin φ3, and the phase of the first bin φ1 as an approximate value for αTx,temp (eq. 47). The monitor circuit 150 is configured to calculate a complex value based on the magnitude value m1 from the first DFT bin, the magnitude value m3 from the third DFT bin, and the first value νe. The monitor circuit 150 is further configured to use an angle of the complex value ν1 to calculate the compensated phase information. In particular, the compensated information αTx coincides with vi phase, as shown in steps 21602165 of FIG. 21.


A possible disadvantage of the proposed method is that the phase shifter 106 not only features a 2-period phase error due to magnitude/phase mismatch but also a 4-period phase error due to a saturation of the VGAs 1803 and 1805. When evaluating the effects of such a 4-period phase error in the same way as was done for the 2-period phase error (i.e., by FFT), an additional harmonic component with thirds is obtained. This third period harmonic component overlaps with the utilized third period harmonic component from FIG. 20 and may reduce the accuracy of the phase compensation method. However, the 4-period phase error of the phase shifter 106 may be reduced, and hence the impact thereof minimized, by minimizing the saturation of the VGAs 1803 and 1805. One approach for minimizing the saturation of the VGAs 1803 and 1805 is to reduce a phase length of the phase shifter 106. Another approach is to perform a rotation with more than 16 points. In this case, the 4-period phase error of phase shifter produces the same error terms at the 3rd and the 5th bin of the phase measurement. To reduce this error, the same procedure described above can be applied iteratively on the 5th and 3rd bin to correct the estimate of the 3rd bin error term (i.e., to use an error component present at the 5th bin to compensate for the error component present at the 3rd bin).


While various embodiments have been described, it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the disclosure. Accordingly, the invention is not to be restricted except in light of the attached claims and their equivalents. With regard to the various functions performed by the components or structures described above (assemblies, devices, circuits, systems, etc.), the terms (including a reference to a “means”) used to describe such components are intended to correspond, unless otherwise indicated, to any component or structure that performs the specified function of the described component (i.e., that is functionally equivalent), even if not structurally equivalent to the disclosed structure that performs the function in the exemplary implementations of the invention illustrated herein.


Furthermore, the following claims are hereby incorporated into the detailed description, where each claim may stand on its own as a separate example embodiment. While each claim may stand on its own as a separate example embodiment, it is to be noted that—although a dependent claim may refer in the claims to a specific combination with one or more other claims—other example embodiments may also include a combination of the dependent claim with the subject matter of each other dependent or independent claim. Such combinations are proposed herein unless it is stated that a specific combination is not intended. Furthermore, it is intended to include also features of a claim to any other independent claim even if this claim is not directly made dependent to the independent claim.


It is further to be noted that methods disclosed in the specification or in the claims may be implemented by a device having means for performing each of the respective acts of these methods.


Further, it is to be understood that the disclosure of multiple acts or functions disclosed in the specification or in the claims may not be construed as to be within the specific order. Therefore, the disclosure of multiple acts or functions will not limit these to a particular order unless such acts or functions are not interchangeable for technical reasons. Furthermore, in some embodiments a single act may include or may be broken into multiple sub acts. Such sub acts may be included and part of the disclosure of this single act unless explicitly excluded.


Instructions may be executed by one or more processors, such as one or more central processing units (CPU), digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Accordingly, the term “processor” or “processing circuitry” as used herein refers to any of the foregoing structure or any other structure suitable for implementation of the techniques described herein. In addition, in some aspects, the functionality described herein may be provided within dedicated hardware and/or software modules. Also, the techniques could be fully implemented in one or more circuits or logic elements.


Thus, the techniques described in this disclosure may be implemented, at least in part, in hardware, software, firmware, or any combination thereof. For example, various aspects of the described techniques may be implemented within one or more processors, including one or more microprocessors, DSPs, ASICs, or any other equivalent integrated or discrete logic circuitry, as well as any combinations of such components.


A controller including hardware may also perform one or more of the techniques described in this disclosure. Such hardware, software, and firmware may be implemented within the same device or within separate devices to support the various techniques described in this disclosure. Software may be stored on a non-transitory computer-readable medium such that the non-transitory computer readable medium includes a program code or a program algorithm stored thereon which, when executed, causes the controller, via a computer program, to perform the steps of a method.


Although various exemplary embodiments have been disclosed, it will be apparent to those skilled in the art that various changes and modifications can be made which will achieve some of the advantages of the concepts disclosed herein without departing from the spirit and scope of the invention. It will be obvious to those reasonably skilled in the art that other components performing the same functions may be suitably substituted. It is to be understood that other embodiments may be utilized, and structural or logical changes may be made without departing from the scope of the present invention. It should be mentioned that features explained with reference to a specific figure may be combined with features of other figures, even in those not explicitly mentioned. Such modifications to the general inventive concept are intended to be covered by the appended claims and their legal equivalents.

Claims
  • 1. A circuit, comprising: a transmission channel configured to output a continuous-wave signal based on a reference signal;a transmit monitoring signal path configured to couple out a portion of the transmit signal as a transmit monitoring signal;a test phase shifter configured to receive the reference signal and generate a phase-shifted signal based on a phase offset from a sequence of phase offsets applied to the received reference signal;a phase mixer configured to mix the phase-shifted signal and the transmit monitoring signal to generate a mixer output signal comprising a plurality of direct current (DC) values;an analog-to-digital converter (ADC) configured to sample the mixer output signal in order to provide a sequence of DC sample values, wherein each of the sequence of DC sample values corresponds to one phase offset of the sequence of phase offsets; anda monitor circuit configured to apply a discrete Fourier transform (DFT) to the sequence of DC sample values to generate a plurality of DFT bins with corresponding DFT bin values, and generate compensated phase information of the transmission channel using at least two DFT bin values.
  • 2. The circuit of claim 1, wherein the at least two DFT bin values include a first harmonic component of the sequence of DC sample values located at a first DFT bin that follows a DC DFT bin and a third harmonic component of the sequence of DC sample values located at a third DFT bin that follows the DC DFT bin.
  • 3. The circuit of claim 2, wherein the first DFT bin is located adjacent to and between the DC DFT bin and a second DFT bin, and the third DFT bin is located adjacent to and between the second DFT bin and a fourth DFT bin.
  • 4. The circuit of claim 2, wherein the first harmonic component includes a measurement component and a first error component of the sequence of DC sample values and the third harmonic component includes a second error component of the sequence of DC sample values, the second error component being related to the first error component based on a predefined relationship.
  • 5. The circuit of claim 4, wherein the monitor circuit is configured to measure the second error component to derive the first error component based on the predefined relationship, and subtract the first error component from the first harmonic component to generate the compensated phase information.
  • 6. The circuit of claim 2, wherein the third harmonic component is an error component caused by a 2-period error introduced by the test phase shifter.
  • 7. The circuit of claim 1, wherein: the transmission channel includes a transmission phase shifter, andthe circuit further comprises a control circuit configured to receive the compensated phase information and adjust a phase-shift setting of the transmission phase shifter based on the compensated phase information.
  • 8. The circuit of claim 2, wherein: each DFT bin value includes a phase value and a magnitude value, andthe monitor circuit is configured to use the phase value and the magnitude value from the first DFT bin and the third DFT bin to calculate the compensated phase information.
  • 9. The circuit of claim 8, wherein: the monitor circuit is configured to derive a first value based on the magnitude value of the third DFT bin, the phase value of the third DFT bin, and the phase value of the first DFT bin, use the first value to calculate a complex value, and use an angle of the complex value to derive the compensated phase information.
  • 10. The circuit of claim 9, wherein: the monitor circuit is configured to calculate the complex value based on the magnitude value from the first DFT bin, the magnitude value from the third DFT bin, and the first value.
  • 11. The circuit of claim 1, wherein the sequence of DC sample values have a sinusoidal pattern.
  • 12. The circuit of claim 1, wherein the test phase shifter is an I/Q modulator.
  • 13. The circuit of claim 1, wherein the phase shifter introduces a 2-period phase error into the phase-shifted signal.
  • 14. The circuit of claim 1, wherein each of the plurality of DC values correspond to a different phase offset of the sequence of phase offsets.
  • 15. The circuit of claim 14, wherein the sequence of phase offsets is a stepwise rotation of a phase offset over one full rotation of 2π.
  • 16. A method of measuring a transmission phase, the method comprising: outputting a continuous-wave signal from a transmission channel based on a reference signal;coupling out a portion of the transmit signal as a transmit monitoring signal;generating a phase-shifted signal based on a phase offset from a sequence of phase offsets applied to the reference signal;mixing the phase-shifted signal and the transmit monitoring signal to generate a mixer output signal comprising a plurality of direct current (DC) values;sampling the mixer output signal in order to provide a sequence of DC sample values, wherein each of the sequence of DC sample values corresponds to one phase offset of the sequence of phase offsets;applying a discrete Fourier transform (DFT) to the sequence of DC sample values to generate a plurality of DFT bins with corresponding DFT bin values; andgenerating compensated phase information of the transmission channel based on at least two DFT bin values.
  • 17. The method of claim 16, wherein the at least two DFT bin values include a first harmonic component of the sequence of DC sample values located at a first DFT bin that follows a DC DFT bin and a third harmonic component of the sequence of DC sample values located at a third DFT bin that follows the DC DFT bin.
  • 18. The method of claim 17, wherein the first DFT bin is located adjacent to and between the DC DFT bin and a second DFT bin, and the third DFT bin is located adjacent to and between the second DFT bin and a fourth DFT bin.
  • 19. The method of claim 17, wherein the first harmonic component includes a measurement component and a first error component of the sequence of DC sample values and the third harmonic component includes a second error component of the sequence of DC sample values, the second error component being related to the first error component based on a predefined relationship.
  • 20. The method of claim 19, wherein generating the compensated phase information of the transmission channel comprises: measuring the second error component;deriving the first error component based on the measured second error component and the predefined relationship; andsubtracting the first error component from the first harmonic component to generate the compensated phase information.
  • 21. The method of claim 16, further comprising: adjusting a phase-shift setting of a transmission phase shifter of the transmission channel based on the compensated phase information.
  • 22. A method of calibrating an IQ modulator, the method comprising: generating a continuous-wave signal based on a continuous-wave reference signal;generating a sequence of phase-shifted signals based on a sequence of phase offsets applied to the reference signal;mixing the sequence of phase-shifted signals and the continuous-wave signal to generate a sequence of mixer output signals;sampling the sequence of mixer output signals;determining a sequence of DC sample values from the sequence of mixer output signals, wherein each DC sample value of the sequence of DC sample values corresponds to one phase offset of the sequence of phase offsets;applying a discrete Fourier transform (DFT) to the sequence of DC sample values to generate a plurality of DFT bins with corresponding DFT bin values; andgenerating IQ modulator calibration information based on at least two DFT bin values.