The present invention relates to a method for characterising processing differences between several analog channels.
There are many systems comprising several analog channels arranged in parallel, and through which analog signals pass.
Such analog channels are often produced with the same electronic components, so as to each apply a processing operation that is supposed to be the same.
However, there may be residual differences between the processing operations carried out by different analog channels of such a system. In certain applications, these residual differences may give rise to errors downstream of the analog channels.
One aim of the invention is to characterise processing differences between several analog channels in a simple and effective manner.
This aim is achieved by a method for characterising processing differences between a first analog channel and a second analog channel, the method comprising steps of:
the estimation comprising the application of a least squares method in order to determine values of the parameters γk,l and δk,l minimising the following quantity:
in which
The proposed method may also comprise the following optional features, taken individually or in combination wherever appropriate.
Preferably, the first analog signal is sinusoidal.
Preferably, the application of the least squares method comprises solving a system of equations based on the assumption that cos(δk,l)≅1 and/or that cos(2δk,l)≅1 and/or that sin(δk,l)≅δk,l and/or that sin(2δk,l)≅2δk,l.
Preferably, at least one of the first analog signal, the second analog signal and the third analog signal is derived from a digital signal generated by a digital circuit implementing the estimation of the parameters γk,l and δk,l.
Preferably, the third analog signal is injected at the input of the second analog channel after the second analog signal.
Also proposed is a method for compensating for processing differences between a first analog channel and a second analog channel, the method comprising steps of:
The aim defined above is also achieved by a system comprising:
where
This system may also comprise the optional features of the characterisation method defined above.
In particular, this system may comprise a digital-to-analog conversion stage configured to generate at least one of the first analog signal, the second analog signal and the third analog signal, from a digital signal supplied by the digital circuit.
The digital-to-analog conversion stage may comprise a first digital-to-analog converter configured to generate the first analog signal, and a second digital-to-analog converter configured to generate the second analog signal and the third analog signal.
Other features, aims and advantages of the invention will become clearer from the description that follows, which is purely illustrative and non-limiting, and which should be read in reference to the appended drawings, in which:
Elements that are similar are denoted by identical reference signs in all the figures.
1) Description of a System Comprising Analog Channels
The plurality of radio antennas comprises any number M of antennas, M being greater than or equal to 2, for example M=4 in the example shown in
The plurality of analog channels is connected to the antenna system and to the analog-to-digital conversion stage.
Each analog channel RFi of index i comprises an input and an output. The input of each analog channel RFi of index i is connected to the radio antenna Ai also of index i. In other words, there are as many antennas as there are analog channels.
Each analog channel RFi typically comprises an RF front end arranged downstream of the radio antenna Ai associated with it. In a manner that is known per se, an RF front end may comprise the following components known to a person skilled in the art: a band-pass filter, an amplifier, a local oscillator, a mixer, etc.
In the embodiment of
The analog-to-digital converters CAN1-CAN4 are configured to digitise analog signals at a sampling rate FS.
The digital circuit U is arranged at the output of the analog-to-digital conversion stage C, so as to be able to process digital signals that have been digitised by the analog-to-digital conversion stage C.
The digital circuit U is, for example, or is part of, a system-on-chip.
The system also comprises a digital-to-analog conversion stage C′. The digital-to-analog conversion stage C′ is arranged at the output of the digital circuit U, and is moreover connected to the respective inputs of the analog channels RF1-RF4. Therefore, it is possible to inject, into the analog channels, analog signals generated by the stage C′ from digital signals generated by the digital circuit U.
In the embodiment of
The conversion stages C and C′ may be part of the same system-on-chip as the digital circuit U.
2) Method for Characterising Processing Differences Between Analog Channels
In reference to
In an injection step 102, three analog signals described below are injected.
It is assumed that any functions modifying internal signals that may be included in the analog channels of indices k and l are deactivated during the injection step 102, so that the analog channels behave like simple transmission lines. Therefore, if the channels of indices k and l were perfect, the same signals would be found at the output of these channels as at the input.
In step 102, a first analog signal is injected at the input of the analog channel of index k. The first analog signal is a periodic signal, characterised by an amplitude, a signal waveform, and a period (i.e., the duration of an elementary periodic pattern of the signal).
For example, the first analog signal is produced by the digital-to-analog conversion stage C′, based on a digital signal supplied by the digital circuit U.
The first analog signal propagates in the analog channel of index k, from its input to its output. During this propagation, the analog channel of index k alters the first analog signal; the analog channel is in particular likely to modify, in a residual manner, the amplitude and the phase of the first analog signal passing through it.
In addition, a second analog signal is injected at the input of the analog channel of index l. The second analog signal is identical to the first analog signal: it has the same amplitude, the same period and the same waveform as the first analog signal.
For example, the second analog signal is produced by the digital-to-analog conversion stage C′, based on a digital signal supplied by the digital circuit U.
The second analog signal propagates in the analog channel of index l, from its input to its output. During this propagation, the analog channel of index l alters the second analog signal; the analog channel of index l is therefore likely to modify, in a residual manner, the amplitude and the phase of the second analog signal passing through it. However, the alteration caused by the second analog channel may be different from the alteration caused by the first analog channel. It is this processing difference that the method 100 aims to characterise.
Moreover, a third analog signal is injected at the input of the analog channel of index l. The third analog signal is a periodic signal of the same amplitude and the same period as the second analog signal. However, the third analog signal is in quadrature with the second signal. This means that the third signal differs from the second signal only by a phase shift of 90° in relation thereto (all other things being equal).
For example, the third analog signal is produced by the digital-to-analog conversion stage C′, based on a digital signal supplied by the digital circuit U.
The third analog signal propagates in the analog channel of index l, from its input to its output. During this propagation, the analog channel of index l alters the third analog signal; the analog channel of index l is therefore likely to modify, in a residual manner, the amplitude and the phase of the third analog signal passing through it, in the same proportions as the second analog signal.
In a digitisation step 104, the analog signals are digitised by the analog-to-digital conversion stage in order to obtain digital signals:
The injections of the first analog signal, the second analog signal and the third analog signal can be implemented in any order, and the same applies to obtaining the digital signals xk, xl and yl by digitisation.
In particular, the injection of the second signal may be implemented before, during or after the injection of the first signal. It is in particular possible to route these two signals simultaneously to the analog channels of respective indices k and l; as a variant, these two signals may be injected one after another. In particular, the three analog signals may be injected sequentially.
Furthermore, although the digitisation step 104 is shown taking place after step 102 on the flowchart of
In an estimation step 106, the digital circuit U estimates two parameters γk,l and δk,l indicative of differences between the analog channels of indices k and l, from the digital signals xk, xl and yl obtained in the digitisation step 104.
On the one hand, the parameter γk,l is a ratio between an amplitude of the first analog signal at the output of the first analog channel and an amplitude of the second analog signal at the output of the second analog channel.
On the other hand, the parameter δk,l is a difference between a phase shift induced by the first analog channel in the first analog signal and a phase shift induced by the second analog channel in the second analog signal.
The estimation carried out in step 106 applies the least squares method in order to determine values of the parameters γk,l and δk,l minimising the following quantity k,l, constituted by a sum of squared residuals:
Here, the least squares method is applied by considering as a residual a difference between the first digital signal xk (left-hand term of the residual) and a model of this first signal (right-hand term of the residual). Notably, this model depends on the two parameters to be estimated γk,l and δk,l, and on the digital signals xl and yl.
The values of the parameters γk,l and δk,l which minimise the sum of residuals k,l may typically be obtained by the digital circuit U by solving the following system of equations:
The parameters γk,l and δk,l estimated in step 106 characterise differences of the analog channel of index l relative to the analog channel of index k.
The partial derivatives of the quantity k,l to be minimised are rewritten as follows:
In which:
Ultimately, the values of γk,l and δk,l are obtained by solving the following system of equations, in this embodiment:
This simplified system of equations may be solved with a reasonable computational load, for example by applying the Newton-Raphson method, which is known to a person skilled in the art.
The parameters γk,l and δk,l are stored in a memory, for example in a memory integrated in the digital circuit U.
The above steps can be applied several times M−1 for different pairs of channels (k, l), varying l in such a way as to cover any channel other than the channel of index k. For example, if k=1 is chosen, these steps are implemented for the following pairs of analog channels: (1, 2), (1, 3), . . . , (1, M). Naturally, it is then not necessary to reinject the first analog signal several times.
2.1) Use of Sinusoidal Analog Signals
An embodiment of the method 100 which is advantageous as a result of its simplicity will now be described. In this embodiment, the first injected analog signal is a sinusoidal signal.
If the first sinusoidal analog signal were digitised without alteration at the sampling rate FS, the first analog signal would be written as follows:
x
0(n)=A cos(ωn+φ)
In which:
where A denotes the amplitude, v the reduced frequency, φ the initial phase and f the frequency of the first analog signal.
In order to simplify the disclosure of the method, φ=0 is chosen, as is conventional (which has no effect on the method itself).
The first digital signal xk, which results from the first analog signal passing through the analog channel of index k and its subsequent digitisation, can then be modelled as follows:
x
k(n)=ρk cos(ωn+θk),n=1 . . . N
where θk denotes the phase difference induced by the first analog signal passing through the analog channel of index k, and ρk denotes an amplitude of the first analog signal at the output of the analog channel of index k.
It should further be noted, by way of a reminder, that the second analog signal is identical to the first analog signal. In these conditions, the second digital signal xl, which results from the second analog signal passing through the analog channel of index l and its subsequent digitisation, can be modelled as follows:
x
l(n)=ρl cos(ωn+θl),n=1 . . . N
where θl denotes the phase difference induced by the second analog signal passing through the analog channel of index l and ρl denotes the amplitude of the second analog signal at the output of the analog channel of index l.
Finally, by way of a reminder, the third analog signal is in quadrature with the second analog signal; the third analog signal is therefore also sinusoidal.
If the third analog signal were digitised without alteration at the sampling rate FS, the third analog signal would be written as follows:
y
0(n)=A sin(ωn)
In these conditions, the third digital signal yl, which results from the third analog signal passing through the analog channel of index l and its subsequent digitisation, can be modelled as follows:
y
l(n)=ρl sin(ωn+θl),n=N+K . . . 2N+K−1
where K denotes a time difference separating the third digital signal from the second digital signal in time.
The digital circuit U can easily align the third digital signal yl with the second digital signal xl, so as to obtain:
x
l(n)=ρl cos(ωn+θl),n=1 . . . N
y
l(n)=ρl sin(ωn+θl),n=1 . . . N
In this embodiment, the two parameters γk,l and δk,l that the digital circuit U estimates in step 106 can be written as follows:
2.2) Possible Approximations
In particularly advantageous embodiments, the digital circuit U is configured to solve the system of equations above by making certain approximations.
A first approximation consists in making the assumption that cos(δk,l)≅1. This approximation can be seen as a limited expansion (LE) of order zero of the cosine function at zero (or of order 1, since there is no “δk,l” term in this LE).
A second approximation, similar to the first, consists in making the assumption that cos(2δk,l)≅1.
A third approximation consists in making the assumption that sin(δk,l)≅δk,l. This second approximation can be seen as a limited expansion (LE) of order one of the cosine function at zero.
A fourth approximation, similar to the third approximation, consists in making the assumption that sin(2δk,l)≅2δk,l.
Each of these four approximations is particularly advantageous when the parameter δk,l is close to zero, which is a reasonable assumption. They both help simplify the solving, by the digital circuit U, of the system of equations set out above.
The digital circuit can apply any combination of approximations from these four approximations, and may in particular apply all four.
When the four approximations mentioned above are applied, the system of equations to be solved is simplified as follows:
It should be noted that, unlike the general case disclosed above in section 2.2), this system of equations can be solved formally, which is particularly advantageous.
2.3) Use of Other Types of Periodic Signals
The method 100 can be extended to other periodic analog signals. Indeed, any periodic analog signal can be written as a Fourier series, i.e., as a weighted sum of cosine/sine functions.
3) Method for Compensating for Processing Differences Between Analog Channels
A method 200 for compensating for processing differences between analog channels of the system comprises the following steps.
This method 200 comprises implementing the characterisation method 100 described above, so as to obtain at least one pair of parameters γk,l and δk,l associated with the pair of analog channels of indices k and l.
Let us now suppose that a radio signal is received by the antenna connected to the analog channel of index k, and by the antenna connected to the analog channel of index l.
This radio signal passes through the analog channel of index k before being digitised into a digital signal referred to, as is conventional, as the reference digital signal.
This radio signal also passes through the analog channel of index l before being digitised into a digital signal referred to, as is conventional, as the digital signal to be corrected of index l.
In a compensation step 202, the digital circuit U corrects the digital signal to be corrected of index l to be compensated based on the parameters γk,l and δk,l, so as to compensate for the phase difference and an amplitude difference induced by the second analog channel relative to the first analog channel. This compensation thus “erases” the processing differences between the channels of indices k and l, by taking the channel of index k as the reference.
This compensation typically consists in multiplying the signal to be corrected of index l by the scalar γk,leiδ
The above compensation step 202 can be implemented for any l other than k, i.e., for any channel other than the channel of index k taken as the reference.
Number | Date | Country | Kind |
---|---|---|---|
2110082 | Sep 2021 | FR | national |