Signal processing
11248910 · 2022-02-15
Assignee
Inventors
Cpc classification
G01C19/5776
PHYSICS
International classification
G01C19/5776
PHYSICS
H03D3/00
ELECTRICITY
Abstract
A method of demodulating a MEMS sensor pickoff signal from a vibrating resonator of said sensor, the method comprising: sampling the pickoff signal with an asynchronous ADC at a sampling rate of at least 50 times the resonant frequency of the resonator to generate a stream of samples; generating a first value by combining samples from said stream of samples according to a selected operation, said operation being selected in dependence on a synchronous clock signal that is synchronous to the resonant frequency of the resonator, said synchronous clock signal having a frequency at least twice the resonant frequency of the resonator; and counting the number of samples contributing to the first value. The increased sampling rate of the pickoff signal allows a much higher number of samples to be taken into account, thereby reducing noise. However, the ADC asynchronously from the resonator of the MEMS sensor.
Claims
1. A method of demodulating a MEMS sensor pickoff signal from a vibrating resonator of said MEMS sensor, the method comprising: sampling the pickoff signal with an asynchronous analogue to digital converter (ADC) at a sampling rate of at least 50 times a resonant frequency of the vibrating resonator to generate a stream of samples, wherein the ADC is asynchronous to the resonant frequency of the vibrating resonator; generating a first value by combining samples from the stream of samples according to a selected operation, the operation being selected in dependence on a synchronous clock signal that is synchronous to the resonant frequency of the vibrating resonator, the synchronous clock signal having a frequency at least twice the resonant frequency of the vibrating resonator; and counting a number of samples contributing to the first value.
2. The method as claimed in claim 1, wherein for each sample from the stream of samples the selected operation is selected from: i) adding the sample to the first value, ii) ignoring the sample, and iii) subtracting the sample from the first value.
3. The method as claimed in claim 1, wherein the synchronous clock signal has a frequency at least four times the resonant frequency of the vibrating resonator.
4. The method as claimed in claim 1, wherein the ADC has a sampling rate at least 80 times the resonant frequency of the vibrating resonator.
5. The method as claimed in claim 1, further comprising: generating a second value by combining samples from said stream of samples according to a selected operation, said operation being selected in dependence on said synchronous clock signal; and counting a number of samples contributing to the second value.
6. The method as claimed in claim 1, wherein said synchronous clock signal provides triggers at π/4, 3π/4, 5π/4 and 7π/4 radians within a single oscillation cycle of the vibrating resonator.
7. The method as claimed in claim 1, wherein said synchronous clock signal provides triggers at 0, π/2, π, and 3π/2 radians within a single oscillation cycle of the vibrating resonator.
8. The method as claimed in claim 1, wherein: combining samples from said stream of samples comprises multiplying each of said samples by a correlation function, wherein a value of said correlation function is selected in dependence on the synchronous clock signal, adding the result of the multiplication to the first value and wherein counting the number of samples contributing to the first value comprises counting the number of samples for which the correlation function is non-zero.
9. The method as claimed in claim 1, wherein the first value is generated once for each complete oscillation of the vibrating resonator.
10. The method as claimed in claim 1, wherein a scaling factor is applied to the generated first value.
11. A pickoff signal processing system for a MEMS sensor having a vibrating resonator, the system comprising: an asynchronous analogue to digital converter arranged asynchronous to a resonant frequency of the resonator and arranged to sample a pickoff signal of the vibrating resonator at a sampling rate of at least 50 times a resonant frequency of the vibrating resonator to generate a stream of samples; and a processor arranged to: generate a first value by combining samples from said stream of samples according to a selected operation, said operation being selected in dependence on a synchronous clock signal that is synchronous to the resonant frequency of the vibrating resonator, the synchronous clock signal having a frequency at least twice the resonant frequency of the vibrating resonator; and count a number of samples contributing to the first value.
12. The pickoff signal processing system as claimed in claim 11, wherein the processor is a field programmable gate array.
13. The pickoff signal processing system as claimed in claim 11, wherein for each sample from the stream of samples the selected operation is selected from: i) adding the sample to the first value, ii) ignoring the sample, and iii) subtracting the sample from the first value.
14. The pickoff signal processing system as claimed in claim 11, wherein the synchronous clock signal has a frequency at least four times the resonant frequency of the vibrating resonator.
15. The pickoff signal processing system as claimed in claim 11, wherein the ADC has a sampling rate at least 80 times the resonant frequency of the resonator.
16. The pickoff signal processing system as claimed in claim 11, wherein the ADC has a sampling rate at least 100 times the resonant frequency of the vibrating resonator.
17. A pickoff signal processing system as claimed in claim 11, wherein the ADC has a sampling rate at least 200 times the resonant frequency of the vibrating resonator.
18. A method as claimed in claim 1, wherein the ADC has a sampling rate at least 100 times the resonant frequency of the vibrating resonator.
19. A method as claimed in claim 1, wherein the ADC has a sampling rate at least 200 times the resonant frequency of the vibrating resonator.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Certain examples of the disclosure will be described herein, with reference to the accompanying drawings in which:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8)
(9)
(10) The gyroscope used in this example has broadly the same components as illustrated in
(11) The secondary pick off signal SPO is taken from annular mechanical resonator (e.g. the ring of a ring gyroscope) 1 as before and passed through amplifier 7. The output of amplifier 7 is then passed to ADC 13. However, instead of being driven by the synchronous clock 14 (as in
(12) Storage block 17 is arranged to receive the samples output from ADC 13 and store them until SPO demodulator 16 is ready to use them. The storage block 17 may be a memory or an array of registers or any other storage mechanism. The storage block 17 essentially acts as a buffer between the high speed ADC 13 operating under the asynchronous clock 15 at a large multiple of the resonant frequency of the resonator 1 and the low speed SPO demodulator 16 operating under the synchronous clock 14 at a small multiple of the resonant frequency of the resonator 1. The storage block 17 could store the individual samples or it could in some examples be an accumulator that adds the samples together until they are read out for processing by SPO demodulator 16.
(13) The SPO demodulator 16 processes the samples from the ADC 13 (via the storage block 17), multiplying each sample by a correlation function that depends on which sector of the resonator cycle it was taken from. This sector (and thus the correlation function) is determined by the synchronous clock 14 which is synchronous with the resonator 1. Thus the correlation function changes at a much slower rate than the sampling rate of the ADC 13. Each sample taken is multiplied by the correlation function and added to a running total stored in the SPO demodulator 16 (or equivalently a stream of samples are first added together and this sum is then multiplied by the correlation function before being added to the running total). Over the course of a complete resonator cycle, the correlation function (which changes in synchrony with the resonator 1) ensures that only a certain component of the SPO signal is consistently added to the running total while other components are cancelled out. For example, by appropriate choice of the correlation function, the real component of the signal can be accumulated while the quadrature component is averaged out. Similarly, by an alternative choice of correlation function, the real component of the signal can be averaged out while the quadrature component is accumulated. Both of these values can be processed simultaneously in the SPO demodulator 16 which thus outputs both values Q and R (being the running total of the accumulated samples multiplied by the appropriate correlation function) together with a sample count N which indicates the number of samples that have been taken during the cycle. In the particular example of
(14) A computing module 17 receives the running totals R, Q and sample count N from the SPO demodulator 16 and converts these into actual output values “Quad” and “Real” which have been scaled according to the sample count N and a scaling factor that takes into account the known shape of the waveform of the SPO signal to output values that are appropriately scaled. The computing module 17 can operate at a much lower frequency then the other components as it is only required to output a value of Real and Quad once per resonator cycle in this example (although in other examples it could be arranged to output values more regularly if desired).
(15) The hardware components of this system can take different forms that allow particularly efficient operation. The resonator 1, amplifier 7 and ADC 13 are discrete hardware components operating at high speed (e.g. asynchronous clock speed). The SPO demodulator 16 needs to perform some calculations, but they are simple and can be implemented on an FPGA which is inexpensive and power-efficient. Any more complicated calculations can be performed in the computing module 17 at much lower speed, thus reducing the cost and power consumption further.
(16)
(17) A similar process can be applied using different samples to average the Real contribution to zero while summing the Quad contributions (both positive and inverted negative contributions) to obtain a value for the Quad component of the SPO signal. These samples are shown in the right hand graph of
(18) The correlation functions are shown in
(19) The result of the samples and the correlation functions can be expressed by the following formulae for S.sub.R (Real component) and S.sub.Q (Quad component):
(20)
(21) ADCν.sub.n is the value of the sample from the ADC. The sample rate is 1/Δt.
(22) Thus it can be seen that while the summations are done at the asynchronous sample rate (high clock rate), the switch between operations, e.g. from “addition” (first sum term) to “no action” (in between sum terms) and to “subtraction” (second sum term) only occurs at the much lower synchronous clock rate (four times per resonator cycle). These calculations are done in the demodulator 16.
(23) This demodulation scheme defines four quadrants (or sectors) Q1 (−π/4 to π/4), Q2 (π/4 to 3π/4), Q3 (3π/4 to 5π/4) and Q4 (5π/4 to 7π/4).
(24) The values for Real and Quad can be calculated by calculation module 17 by applying a scaling factor to account for the shape of the curve. For the sinusoidal signal expected from a ring gyroscope, this factor can be calculated as the number of samples N multiplied by 2√{square root over (2)}/π. Thus:
(25)
(26) The increased number of samples that can be taken into account in this demodulation scheme provides significant benefits to noise reduction and therefore to signal to noise ratio.
(27) In one example, with an ADC running at 5 MHz (i.e. 5 million samples per second) and with a MEMS gyroscope having a resonant frequency of 14 kHz (i.e. with the asynchronous ADC operating at around 360 times the resonant frequency), the signal to noise ratio was improved by a factor of over ten. This can be calculated in two parts. Firstly, the number of samples taken into account is 180 leading to an attenuation of 1/√180=0.07. Secondly, the extra samples result in some extra gain, so the average gain over the quadrant is (2√2)/m=1.1. Therefore the overall signal to noise discrimination is 1:0.08.
(28) In another example, instead of allocating each sample to either the Real calculation or the Quad calculation (each sum being over a quarter wavelength), the samples can be used for both the Real and Quad calculations (with each sum being over a half wavelength). While this requires two calculations per sample, it allows more samples to be taken into consideration in each calculation. In this example the result of the samples and the correlation functions can be expressed by the following formulae for S.sub.R (Real component) and S.sub.Q (Quad component):
(29)
(30) It will of course be appreciated that in these equations the sum limits have been allowed to wrap across the t=0 time point simply for convenience of definitions and that the range from −π/2 to π/2 is of course equivalent to 3π/2 to 5π/2. It will also be appreciated that a different scaling factor will apply in this example due to the different waveform that has been accumulated in the samples. In this example the synchronous clock triggers are at 0, π/2, π and 3π/2.
(31) This demodulation scheme defines four overlapping sectors P1 (−π/2 to π/2), P2 (0 to π) P3 (π/2 to 3π/2) and P4 (π to 2π).
(32) Finally,