Method and device for reducing noise in a modulated signal
11126693 · 2021-09-21
Assignee
Inventors
Cpc classification
H04B1/10
ELECTRICITY
G06F17/18
PHYSICS
International classification
G06F17/18
PHYSICS
Abstract
A method for reducing noise in a modulated electrical signal having a carrier frequency, includes acquiring in the time domain the modulated signal so as to obtain a plurality of pieces of the modulated signal; calculating, by transformation in the frequency domain, a spectrum of each piece of the modulated signal, the spectrum including an upper sideband extending over a range of frequencies greater than the carrier frequency, and a lower sideband extending over a range of frequencies lower than the carrier frequency, the spectrum including first values belonging to the upper sideband and second values belonging to the lower sideband; calculating a power spectrum for each piece of the modulated signal from the first values of the upper sideband and the second values of the lower sideband of the spectrum of each piece of the modulated signal; calculating an average of the power spectra.
Claims
1. A method for reducing noise in a modulated electrical signal having a carrier frequency, the method being implemented with a noise reduction device that includes an analogue-digital converter and a computer having a non-transitory memory encoded with computer program instructions for calculating a spectrum of a modulated signal, a power spectrum of the modulated signal and an average of the power spectrum, the method comprising: receiving, by the noise reduction device, the modulated electrical signal; acquiring, with said analogue-digital converter, in the time domain the modulated signal so as to obtain a plurality of pieces of the modulated signal; calculating, by transformation in the frequency domain, a spectrum of each piece of the modulated signal, the spectrum comprising an upper sideband extending over a range of frequencies greater than the carrier frequency, and a lower sideband extending over a range of frequencies lower than the carrier frequency, said calculating of the spectrum of each piece of the modulated signal being carried out with said computer by executing the computer program instructions encoded in said non-transitory memory; calculating a power spectrum for each piece of the modulated signal, the power spectrum comprising a set of values, each value of the power spectrum being calculated from a first value of the upper sideband and from a second value of the lower sideband, the first and second values being symmetrical with respect to the carrier frequency, said calculating of the power spectrum for each piece of the modulated signal being carried out with said computer by executing the computer program instructions encoded in said non-transitory memory; calculating an average power spectrum by averaging the power spectra to reduce a noise part of the modulated electrical signal, said calculating of the average power spectrum being carried out with said computer by executing the computer program instructions encoded in said non-transitory memory, and outputting, by the noise reduction device, the average power spectrum of the modulated electrical signal in which the noise part of the modulated electrical signal has been reduced.
2. The method according to claim 1, wherein each value of the power spectrum is calculated by multiplication of the first value of the upper sideband and the second value of the lower sideband.
3. The method according to claim 1, wherein each value of the power spectrum is calculated by squaring a result of the sum of the first and second values.
4. The method according to claim 1, comprising a step of synchronous detection of the modulated signal.
5. The method according to claim 1, wherein the modulated signal has a plurality of carrier frequencies, the spectrum of each piece of the modulated signal comprising an upper sideband and a lower sideband for each carrier frequency of the modulated signal, a plurality of power spectra being calculated for each piece of the modulated signal from the values belonging to two distinct sidebands of the spectrum of said each piece of the modulated signal.
6. The method according to claim 1, wherein the modulated signal results from an amplitude modulation, a frequency modulation or a phase modulation.
7. The method according to claim 1, wherein the modulated electrical signal is a signal of a capacitive, piezoelectric or optical sensor.
8. A noise reduction device for reducing noise in a modulated electrical signal having a carrier frequency, the noise reduction device comprising: an input to receive the modulated electrical signal; an analogue-digital converter adapted to acquire in the time domain the modulated electrical signal received by the noise reduction device so as to obtain a plurality of pieces of the modulated signal; a computer having a non-transitory memory encoded with computer program instructions for: calculating, by transformation in the frequency domain, a spectrum of each piece of the modulated signal, the spectrum comprising an upper sideband extending over a range of frequencies greater than the carrier frequency, and a lower sideband extending over a range of frequencies lower than the carrier frequency; calculating a power spectrum for each piece of the modulated signal, the power spectrum comprising a set of values, each value of the power spectrum being calculated from a first value of the upper sideband and from a second value of the lower sideband, the first and second values being symmetrical with respect to the carrier frequency; and calculating an average power spectrum by averaging the power spectra to reduce a noise part of the modulated electrical signal, and an output to output the average power spectrum of the modulated electrical signal in which the noise part of the modulated electrical signal has been reduced.
9. The device according to claim 8, comprising a synchronous detection device including a first input to receive the modulated electrical signal, a first output to output to the analogue-digital converter a signal in phase with a carrier signal of said modulated electrical signal and a second output to output to the analogue-digital converter a signal in phase quadrature with the carrier signal.
10. The device according to claim 8, wherein the analogue-digital converter comprises several acquisition paths, each acquisition path being dedicated to a carrier frequency of the modulated signal.
Description
BRIEF DESCRIPTION OF THE FIGURES
(1) The invention and its different applications will be better understood on reading the description that follows and by examining the figures that accompany it, among which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9) The figures are only presented for indicative purposes and in no way limit the invention.
(10) For greater clarity, identical or similar elements are marked by identical reference signs in all of the figures.
DETAILED DESCRIPTION OF AN EMBODIMENT OF THE INVENTION
(11) The aim of the present invention is to propose a method intended to reduce the noise level in an electrical signal. This method applies particularly to situations in which a useful signal modulates a carrier signal. The present invention is also particularly efficient for unpredictable signals, that is to say signals that are not synchronised with a reference signal.
(12) A basic diagram of a preferential embodiment of the method of the invention is illustrated in
(13)
(14) Indeed, the variations in the physical quantity modify a capacitance, resistance, inductance, position, pressure, or light intensity value of the sensor, according to the type of sensor chosen, which produces the modulated signal a(t) at the output of the sensor C (represented by a variable capacitance in
(15) Signal modulation is also frequently used in telecommunications, notably for transmitting information, initially contained in the useful signal u(t), inside the carrier signal c(t), which may be more easily transmitted physically.
(16) The modulated signal a(t), which lies in the time domain, is digitized during an acquisition step E1. To do so, the modulated signal a(t) is sampled, preferably at constant pitch, that is to say with a fixed sampling frequency. The sampling of the modulated signal a(t) is carried out on a finite number, noted N in the remainder of the description, of time intervals. The latter generally have identical durations. The samples acquired in each time interval form a numerical representation k, also called piece k, of the modulated signal a(t), k being an integer comprised between 1 and N.
(17) A spectrum A.sub.k of each piece k of the modulated signal a(t) is next calculated, during a step E2, by transformation in the frequency domain. The pieces of the modulated signal a(t) are not continuous signals but successions of discrete values. Hence, the transformation in the frequency domain is for example a discrete Fourier transform, also called DFT. The discrete Fourier transform may be implemented using an FFT (fast Fourier transform) algorithm.
(18) The carrier signal c(t) has a carrier frequency f.sub.0. The spectrum A.sub.k of the modulated signal a(t) comprises an upper sideband BLS and a lower sideband BLI arranged on either side of the carrier frequency f.sub.0. The upper sideband BLS extends over a range of frequencies greater than or equal to the carrier frequency f.sub.0, and the lower sideband BLI extends over a range of frequencies less than or equal to the carrier frequency f.sub.0. The upper sideband BLS and the lower sideband BLI are symmetrical with respect to the carrier frequency f.sub.0.
(19) The modulation of the carrier signal c(t) by the useful signal u(t) may be an amplitude modulation, a frequency modulation, a phase modulation or any other type of modulation producing two sidebands in the frequency domain.
(20) For example, the amplitude modulation of a monochromatic sinusoidal carrier signal c(t) of carrier frequency f.sub.0 by a useful signal u(t) of frequency f.sub.s, creates, in theory, an upper sideband BLS at the frequency f.sub.0+f.sub.s and a lower sideband BLI at the frequency f.sub.0−f.sub.s. In this theoretical case, the sidebands BLS, BLI are peaks, each being situated at a single frequency.
(21) The spectrum A.sub.k of the modulated signal a(t) comprises a first set of values, which are hereafter called “first values”, belonging to the upper sideband BLS and a second set of values, which are hereafter called “second values”, belonging to the lower sideband BLI.
(22) After the step E2 of calculating the spectra A.sub.k of the pieces of the modulated signal a(t), a power spectrum is calculated, during a step E3, for each piece of the modulated signal a(t).
(23) In this preferential embodiment, the values of the power spectrum of a piece k of the modulated signal a(t) are calculated by multiplying two by two the first values of the upper sideband BLS by the second values of the lower sideband BLI of the spectrum A.sub.k of this piece k. These multiplications are carried out in a symmetrical manner with respect to the carrier frequency f.sub.0, that is to say that the value of the power spectrum at a given frequency δf is the result of the multiplication of the value of the spectrum at the frequency f.sub.0+δf by the value of the spectrum at the frequency f.sub.0−δf. This type of calculation is also called cross-correlation between the upper sideband and the lower sideband.
(24) An average of the power spectra is next calculated during a step E4. An average power spectrum is thereby obtained. From a mathematical viewpoint, the average power spectrum P.sub.M is calculated according to the following equation:
P.sub.M(δf)=(A.sub.k(f.sub.0−δf).Math.A.sub.k(f.sub.0+δf)e.sup.−i.arg(A.sup. (1)
where f.sub.0 is the carrier frequency, δf is any frequency, A.sub.k is the Fourier transform of a piece k of the modulated signal a(t), k being an integer comprised between 1 and N, N being the number of pieces of the modulated signal a(t) acquired, and the chevrons
symbolise the calculation of the arithmetic average of the power spectra of the N pieces of the modulated signal a(t).
(25) The phase of the Fourier transform of the modulated signal a(t) is random and depends on the moment at which the acquisition starts. To compensate this, the term e.sup.−i.arg(F(f.sup.
(26) The modulated signal a(t) comprises a signal part s(t) and a noise part b(t) such that:
a(t)=s(t)+b(t) (2)
(27) In this case, the spectra A.sub.k of the modulated signal a(t) each comprise a signal part S.sub.k and a noise part B.sub.k such that:
A.sub.k=S.sub.k+B.sub.k (3)
The signal parts S.sub.k of the sidebands BLS, BLI of a same spectrum A.sub.k are perfectly correlated whereas the noise parts B.sub.k of these same sidebands BLS, BLI are generally not correlated. This applies to all additive noise sources such as current and voltage noise sources of amplifiers, present notably in the acquisition or transmission paths of the signals, or instead the additive noise of the sensor C.
(28) Thus, thanks to the invention, the signal part s(t) of the modulated signal a(t) is preserved and the noise part b(t) is eliminated, with the exception of noise coming from non-linear noise sources. Consequently, by averaging over a sufficiently long duration, it is theoretically possible to lower the noise level down to a desired value. However, in practice, cross-correlation of the noise part b(t) of the modulated signal a(t) decreases with the number of pieces N used for the calculation of the average of the power spectra, and does so until reaching a noise level that corresponds to a portion of the initial noise, the noise of this portion being correlated.
(29) For a resistance, it involves what is known as excess noise of the resistance, which is proportional to the voltage applied to the terminals of the resistance and which increases with frequency. The excess noise value, which essentially depends on the technology used to manufacture the resistance, is typically comprised between 1 and 10.sup.−4 μV per volt applied per decade. On the other hand, the capacitances and the inductances do not have known limits, the noise level being able to be continually reduced.
(30) Furthermore, it should be noted that the method according to the invention does not require any reference or triggering signal.
(31) Advantageously, before the acquisition step E2, the modulated signal is subjected to a step E5 of synchronous detection of the modulated signal a(t). Thus, the spectra A.sub.k of the pieces of the modulated signal a(t) are not centred either on the carrier frequency f.sub.0 but on the zero frequency. The spectra A.sub.k are shifted from the carrier frequency f.sub.0 to 0. In this case, the upper sideband BLS corresponds to positive frequencies and the lower sideband BLI corresponds to negative frequencies.
(32) At the output of the synchronous detection, a signal in phase i(t) with the carrier signal c(t), also called “in-phase signal”, and a signal in phase quadrature q(t) with the carrier signal c(t), that is to say turned by 90°, also called “quadrature signal” are obtained. To be able to calculate a spectrum at negative frequencies, it is important to conserve these two signals in phase and in quadrature.
(33) The step E5 of synchronous detection is for example carried out by multiplying the modulated signal a(t) by cos(2πf.sub.0t) to obtain the signal in phase, and by sin(2πf.sub.0t) to obtain the signal in phase quadrature, these two signals next being subjected to a low frequency filtering.
(34) Synchronous detection makes it possible to fix the phase of the Fourier transform of the modulated signal a(t), which facilitates the calculation of the average power spectrum P.sub.M. When synchronous detection is used, one works with the complex signal z(t) of the modulated signal a(t) obtained from the following equation:
z(t)=i(t)+j.Math.q(t) (4)
The average power spectrum P.sub.M is then calculated according to the following equation, a variant of equation (1):
P.sub.M(δf)=Z.sub.k(−δf).Math.Z.sub.k(+δf)
(1′)
where Z.sub.k is the Fourier transform of a piece k of the complex signal z(t). It is to be noted that, due to the synchronous detection, the frequencies f.sub.0−δf and f.sub.0+δf of the equation (1) become −δf and +δf because the spectra Z.sub.k of the complex signal z(t) are displaced from the carrier frequency f.sub.0 to 0.
(35) In addition, synchronous detection makes it possible to facilitate the calculation of averages, for example carried out by filtering. Indeed, it is very difficult to realise a band pass filter with a narrow band around a high carrier frequency. Conversely, it is very easy to realise a band pass filter with a narrow band around 0.
(36) In an alternative embodiment, the modulated signal a(t) has several carrier frequencies. In this case, the spectra A.sub.k of the pieces of the modulated signal a(t) comprise an upper sideband BLS and a lower sideband BLI with respect to each carrier frequency. Advantageously, several power spectra are calculated for a piece k of the modulated signal a(t) from two distinct sidebands of the spectrum A.sub.k of this piece k. Thus, the reduction in noise is accelerated because for a same number of pieces N of the modulated signal a(t), the number of power spectra to average is increased.
(37) For example, the amplitude modulation of a sinusoidal carrier signal c(t) having two carrier frequencies f.sub.1 and f.sub.2 by a useful signal u(t) of frequency f.sub.s creates two upper sidebands respectively at the frequencies f.sub.1+f.sub.s and f.sub.2+f.sub.s, and two lower sidebands respectively at the frequencies f.sub.1−f.sub.s and f.sub.2−f.sub.s. These sidebands may be correlated two by two according to equation (1).
(38) However, when the upper sideband situated at the frequency f.sub.1+f.sub.s is correlated with the upper sideband situated at the frequency f.sub.2+f.sub.s, or when the lower sideband situated at the frequency f.sub.1−f.sub.s is correlated with the lower sideband situated at the frequency f.sub.2−f.sub.s, it is necessary to consider the complex conjugated value of one of the two sidebands. For each piece k of the modulated signal a(t), it is then possible to obtain up to 6 power spectra by carrying out the following products:
A.sub.k(f.sub.1−f.sub.S).Math.A.sub.k(f.sub.1+f.sub.S) (a)
A.sub.k(f.sub.1−f.sub.S).Math.A.sub.k(f.sub.2+f.sub.S) (c)
A.sub.k(f.sub.1−f.sub.S).Math.A.sub.k(f.sub.2−f.sub.S) (b)
A.sub.k(f.sub.2−f.sub.S).Math.A.sub.k(f.sub.2+f.sub.S) (d)
A.sub.k(f.sub.2−f.sub.S).Math.A.sub.k(f.sub.1+f.sub.S) (e)
A.sub.k(f.sub.1+f.sub.S).Math.A.sub.k*(f.sub.2+f.sub.S) (f)
where A.sub.k* is the conjugated spectrum of the spectrum A.sub.k.
(39) Indeed, it is sought to obtain the square of a complex value, which is normally calculated by the multiplication of the complex value and its conjugated value (or in mathematical terms: X.Math.X*, where X is a complex value and X* is its conjugated value). However, the Fourier transform of the modulated signal, for example in amplitude modulation, has the following property:
A.sub.k(f.sub.1−f.sub.S)=A.sub.k*(f.sub.1+f.sub.S)
The products (a) and (d) are thus deduced therefrom. Similarly, by considering the two carriers, and by correcting the phase difference between the carriers, this gives:
A.sub.k(f.sub.1−f.sub.S)=A.sub.k*(f.sub.2+f.sub.S)
The products (c) and (e) are thus deduced therefrom. Conversely, in order to correlate together the sidebands situated on the same side of the carriers (i.e. the upper sideband sets or the lower sideband sets), it is necessary to take the conjugated value of one of the two complex values to obtain a squaring. The products (b) and (f) are thus deduced therefrom.
(40)
(41) A first embodiment of a noise reduction device 340 according to the invention, able to implement the method described previously, is illustrated in
(42) In this first example, the modulated signal a(t) is sampled with a sampling frequency of 500 kHz, then cut into pieces of a duration equal to is.
(43) Advantageously, the noise reduction device 330 comprises means for synchronous detection 345 arranged on an acquisition path CH of the acquisition means 341. The synchronous detection means comprise a first output for the signal in phase i(t) with the carrier signal c(t) and a second output for the signal in phase quadrature q(t) with the carrier signal c(t).
(44)
(45) It is to be noted that, for low frequencies, the values of the average power spectrum P.sub.M do not change with the number of averaged pieces N (100 or 14000). The white noise value is not modified either by the number of pieces N for the highest frequencies (greater than 5 kHz) when the average power spectrum P.sub.M is calculated with the method of averaging in the frequency domain. However, the noise level of the average power spectrum P.sub.M calculated with the method of the invention continues to decrease while revealing a structure with erroneous amplitude peaks. These peaks are probably due to non-linearities of the acquisition path CH. The noise level decreases with the number of averaged pieces N.
(46) The spectral density of the noise DSP.sub.B as a function of the number of averaged pieces N is illustrated in
(47)
(48) An excitation is applied in antiphase to the electrodes 612 in such a way that when the membrane 611 is at rest, the modulated signal a(t) coming from the membrane 611 is approximately equal to zero. The displacements of the membrane 611 change the amplitude of the modulated signal a(t). It is thus an amplitude modulation.
(49) In this example, two carrier frequencies f.sub.1 and f.sub.2, as well as two amplifiers 620 are used, in order to calculate the power spectra from 4 sidebands.
(50) Similarly to the first example described, the spectral density of the noise DSP.sub.B as a function of the number of averaged pieces N is illustrated in
(51) Naturally the invention is not limited to the embodiment described with reference to the figures and alternatives could be envisaged without going beyond the scope of the invention. To calculate the power spectrum of a piece of the modulated signal a(t), instead of multiplying the first values of the upper sideband by the second values of the lower sideband of the spectrum A.sub.k of this piece, it is notably possible to calculate a unilateral spectrum by adding together the first values of the upper sideband BLS and the second values of the lower sideband BLI of the spectrum A.sub.k of this piece then squaring the unilateral spectrum. From a mathematical viewpoint, the average power spectrum P.sub.M is then calculated according to the following equation:
P.sub.M(δf)=(A.sub.k(f.sub.0−δf)+A.sub.k(f.sub.0+δf)).sup.2
(5)
where f.sub.0 is the carrier frequency, δf is any frequency, A.sub.k is the Fourier transform of a piece k of the modulated signal a(t), k being an integer comprised between 1 and N, N being the number of pieces of the modulated signal a(t) acquired, and the chevrons
symbolise the calculation of the average of the power spectra of the N pieces of the modulated signal a(t).
(52) In another alternative embodiment, the means of synchronous detection are adjusted so as to obtain at the output two signals g(t) and h(t) having a phase difference of 45° with the carrier signal c(t), these two signals g(t) and h(t) being defined by the following equations:
(53)
where i(t) and q(t) are respectively the signals in phase and in phase quadrature with the carrier signal c(t). The average power spectrum P.sub.M is then calculated by averaging the product of the spectra of the signals g(t) and h(t), according to the following equation:
P.sub.M(δf)=G.sub.k(δf).Math.H.sub.k(δf)
(6)
where δf is any frequency, G.sub.k and H.sub.k are the Fourier transforms of the signals g(t) and h(t), k being an integer comprised between 1 and N, N being the number of pieces of the signals g(t) and h(t) acquired, and the chevrons
symbolise the calculation of the average of the power spectra of the N pieces of the signals g(t) and h(t).