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.
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.
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.
Embodiments are described herein making reference to the appended drawings.
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.
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
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
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
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
sTX01(t)=ATX01·cos(2πfLOt+φTX01+ΔφTX01) (1)
sTX02(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
In the example shown in
sSUP(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:
sSUP(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:
sTSG(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:
sDC(t)=sLO(t)·sSUP(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:
sDC(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:
sDC(tk,0)=(ATX01·cos(φTSG−φTX01−0)+ATX02·cos(φTSG−φTX02−0)), (8)
sDC(tk,1)=(ATX01·cos(φTSG−φTX01−0)+ATX02·cos(φTSG−φTX02−π)), (9)
sDC(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:
sDC(tk,1)=(ATX01·cos(φTSG−φTX01)−ATX02·cos(φTSG−φTX02)), and (12)
sDC(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:
M01[k]=(sDC(tk,0)+sDC(tk,1))=2ATX01·cos(φTSG−φTX01), and (14)
M02[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:
M02[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:
M01[k]=2ATX01·cos(φTSG[k]−φTX01), and (17)
M02[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
The measurement sequence shown in
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):
sDC,0[k]=sDC(tk)=sDC(tk,0), (19)
sDC,1[k]=sDC(tk+Δt1)=sDC(tk,1), (20)
sDC,2[k]=sDC(tk+Δt2)=sDC(tk,2). (21)
In
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).
sSUP(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
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
According to the example of
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
The RF circuit of
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
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
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:
ATXi·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
According to the scheme of
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
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
According to the scheme shown in
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
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
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[k]·WNk·n (26)
wherein the complex weight factor WN is defined as (j being the imaginary unit)
WN=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[k]·WNk=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:
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:
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:
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:
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:
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:
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
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
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:
sTXc(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:
sDC(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:
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
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
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
It is noted that the example illustrated in
As mentioned above, a specific phase offset Δφc[k] can be set using both phase shifters 105 and 106. The tables shown in
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
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
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.
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
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
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
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.
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
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
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:
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:
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:
A Taylor series expansion of first order around {circumflex over (α)}e=0 yields:
This expression can be reformulated as:
Using sin x cos y=½(sin(x−y)+cos(x+y)), the right term can be rewritten as:
A DFT applied on these SADC values produces:
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 φe 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.
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
based on eq. (47) (operation 2145), and use the phase error φe and the magnitude m3 to derive an error approximation value
(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 2160-2165 of
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
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.
Number | Name | Date | Kind |
---|---|---|---|
20060034365 | Song | Feb 2006 | A1 |
20100135378 | Lin | Jun 2010 | A1 |
20170031005 | Jaeger | Feb 2017 | A1 |
20190154797 | Subburaj | May 2019 | A1 |
Number | Date | Country |
---|---|---|
102422571 | Jun 2016 | CN |
Number | Date | Country | |
---|---|---|---|
20200382170 A1 | Dec 2020 | US |