The present invention relates to a method and an apparatus related to microelectromechanical (MEMS) gyroscopes. More particularly, the invention relates to compensating slow changes in sensitivity of a MEMS gyroscope.
Motion can be considered to have six degrees of freedom: translations in three orthogonal directions and rotations around three orthogonal axes. The latter three may be measured by an angular rate sensor, also known as a gyroscope. MEMS gyroscopes use the Coriolis Effect to measure the angular rate. When a mass is moving in one direction and rotational angular velocity is applied, the mass experiences a force in orthogonal direction as a result of the Coriolis force. The resulting physical displacement caused by the Coriolis force may then be read from, for example, a capacitively, piezoelectrically or piezoresistively sensing structure.
In MEMS gyroscopes the primary motion is typically not continuous rotation as in conventional gyroscopes due to lack of adequate bearings. Instead, mechanical oscillation may be used as the primary motion. When an oscillating gyroscope is subjected to an angular motion, an undulating Coriolis force results. This creates a secondary oscillation motion orthogonal to the primary motion and to the axis of the angular motion, and at the frequency of the primary oscillation. The amplitude of this coupled secondary oscillation motion can be used as the measure of the angular motion.
MEMS gyroscopes are used in many critical systems, especially in automotive industry, so built-in functionality diagnostics that provides information on critical internal variations of MEMS gyroscopes is essential. A known diagnostics method that provides good ability for detecting errors occurring within the MEMS gyroscope is continuous self-testing.
For example, navigation applications, in particular self-navigation applications require very high precision from the gyroscopes providing information about the movement of a vehicle. MEMS gyroscope devices used for such high precision applications often need to be individually trimmed after manufacturing to ensure accuracy. Trimming enables canceling variation between individual units caused for example by common manufacturing process inaccuracies. However, even small changes occurring in the device during its lifetime may cause reduction of detection accuracy that is not acceptable either. A line of advanced vibratory gyroscopes applies a closed-loop system where the vibrational sense motion is feedback controlled for enhanced performance.
The
Here capacitance of a plate capacitor is of the form
where ε0 is relative permittivity of vacuum, x is the width of the gap, comprising both a constant gap x0 measured when the rotor is not excited by any external forces, and the motion modulated gap (x=x0−xm), and A is the area of the capacitor. On the other hand, for driving operation, also referred to as actuation operation, an electrical signal is used for charging the capacitor, which creates an electrostatic force that is used for driving the rotor (120) into a motion. The electrostatic force Fc on the capacitor can be calculated as follows:
The force is thus affected by both the width of the gap (x) and a voltage (V) across the air gap. In the two equations above, the gap (x) can be seen to affect the value of both the capacitance and the electrostatic force. This voltage (V) may comprise a DC voltage part VDC and a modulated voltage part VAC (V=VDC+VAC). The modulated voltage part VAC may be utilized for generating an oscillating force on a wanted AC frequency.
In a closed-loop gyroscope, angular rate sensitivity RATESENSITIVITY, herein referred also in short as sensitivity depends approximately inversely on the electrostatic force Fc:
For angular rate sensor, sensitivity indicates relation between an output signal and a detected angular rate. For example, for angular rate sensor providing output as voltage, the angular rate sensitivity indicates the relation between change in output voltage and detected angular rate, and for an angular rate sensor providing output as a digital signal, the angular rate sensitivity—in short sensitivity—may be expressed as least significant bit (LSB) per degrees of rotation in a time period, for example degrees in second (LSB/dps) or degrees in hour (LSB/dph). In this connection, the term least significant bit (LSB) refers to smallest possible quantity of signal change when the signal is represented digital format. In practice, as small as nanometer-scale instabilities in the width of the gap or millivolt-level errors in the voltage V may cause excessive shifts in the sensitivity of the gyroscope. Thus, a sensitivity compensation mechanism is needed.
Patent application FI20195537 discloses a continuous self-test method of a MEMS gyroscope, in which a self-test signal comprising two distinctive fundamental frequencies is fed into the secondary loop of the MEMS gyroscope.
U.S. Pat. No. 9,846,037 discloses a continuous self-test in a vibratory gyroscope in which at least one test input signal is generated from a signal of the vibrational primary motion.
An object is to provide a method and apparatus so as to solve the problem of compensating changes in a MEMS gyroscope sensitivity. The term sensitivity refers here to angular rate sensitivity. The objects of the present invention are achieved with a method according to the claim 1. The objects of the present invention are further achieved with a MEMS gyroscope according to the claim 8.
The preferred embodiments of the invention are disclosed in the dependent claims.
According to a first aspect, a method for compensating drift of sensitivity of a MEMS gyroscope is provided. The method comprises demodulating an angular rate signal with an in-phase carrier signal for producing a raw rate signal, wherein the angular rate signal comprises a test signal component comprising at least one test frequency, and wherein the at least one test frequency deviates from a nominal frequency of the MEMS gyroscope. The method also comprises obtaining a raw DC test signal by processing the angular rate signal or by further processing the raw rate signal, and low pass filtering the DC test signal for obtaining a raw test signal. The method further comprises zeroing offset of the raw test signal by comparing each sample of the raw test signal to a test signal normalization value for producing an offset zeroed test signal representing a deviation of the sample of the raw test signal from the test signal normalization value, determining a sensitivity compensation multiplier on basis of the offset zeroed test signal and a predefined gain coefficient, and compensating drift of sensitivity by multiplying the raw rate signal with the sensitivity compensation multiplier for providing a sensitivity compensated rate signal.
According to a second aspect, the sensitivity compensation multiplier is defined by equation
or by equivalent equation
wherein VTEST_COMP is the test signal normalization value, VTEST(i) is the current sample of the raw test signal, ((VTEST_COMP−VTEST(i))/VTEST_COMP) or (VTEST_COMP−VTEST(i)) is the respective offset zeroed test signal and K0 is the predefined gain coefficient According to a third aspect, the method comprises low pass filtering the offset zeroed test signal before determining the sensitivity compensation multiplier.
According to a fourth aspect, the method comprises comparing each sample of the offset zeroed test signal to an offset threshold value, and discarding the sample when the offset is equal to or greater than the offset threshold value or adding the sample to a first-in-first-out queue when the offset is less than the offset threshold value and using samples in the first-in-first-out queue as the offset zeroed test signal.
According to a fifth aspect, said further processing the raw rate signal comprises multiplying the raw rate signal with a test carrier signal for producing the DC test signal.
According to a sixth aspect, said processing the angular rate signal comprises, if the test signal component comprises an amplitude modulated test signal comprising at least two test frequencies, performing steps of a) demodulating the angular rate signal using a quadrature-phase carrier signal, and b) multiplying the demodulated angular rate signal with a test signal carrier signal for obtaining a DC test signal, or, if the test signal component comprises includes a single test frequency, performing step b) multiplying the angular rate signal with a test signal carrier signal for obtaining a DC test signal.
According to a seventh aspect, the method further comprises phase trimming the quadrature-phase carrier signal for mitigating effects of phase shift of the at least one test frequency in the MEMS gyroscope, and using the phase-trimmed quadrature-phase carrier signal for demodulation in the step a).
According to an eighth aspect, the method further comprises demodulating the angular rate signal using the quadrature-phase carrier signal for producing a quadrature control signal.
According to a ninth aspect, the method further comprises low pass filtering the sensitivity compensated rate signal for producing a continuous sensitivity compensated rate signal.
According to a first apparatus aspect, a MEMS gyroscope is provided that comprises circuitry configured to compensate drift of the MEMS gyroscope's own sensitivity. The circuitry of the MEMS gyroscope comprises a first demodulator configured to demodulate an angular rate signal with an in-phase carrier signal for producing a raw rate signal, wherein the angular rate signal comprises a test signal component comprising at least one test frequency, and wherein the at least one test frequency deviates from a nominal frequency of the MEMS gyroscope. The circuitry further comprises a circuitry configured to process the angular rate signal or to further process the raw rate signal for obtaining a DC test signal, a first low-pass filter configured to filter the DC test signal for obtaining a raw test signal and an offset zeroing circuitry configured to zero offset of the raw test signal by comparing each sample of the raw test signal to a test signal normalization value for producing an offset zeroed test signal representing a deviation of the sample of the raw test signal from the test signal normalization value. The circuitry further comprises a sensitivity compensation circuitry configured to determine a sensitivity compensation multiplier on basis of the offset zeroed test signal and a predefined gain coefficient, and to multiply the raw rate signal with the sensitivity compensation multiplier for providing a sensitivity compensated rate signal.
According to a second apparatus aspect, the sensitivity compensation multiplier is defined by equation
or by equivalent equation
wherein VTEST_COMP is the test signal normalization value, VTEST(i) is the current sample of the raw test signal, ((VTEST_COMP−VTEST(i))/VTEST_COMP) or (VTEST_COMP−VTEST(i)) is the respective offset zeroed test signal and K0 is the predefined gain coefficient According to a third aspect, the method comprises low pass filtering the offset zeroed test signal before determining the sensitivity compensation multiplier.
According to a third apparatus aspect, the MEMS gyroscope comprises a second low-pass filter configured to low-pass filter the offset zeroed test signal before determining the sensitivity compensation multiplier.
According to a fourth apparatus aspect, the MEMS gyroscope further comprises an IF & FIFO circuitry configured to compare each sample of the offset zeroed test signal to an offset threshold value, to discard a sample when the offset is equal to or greater than the offset threshold value, and to add the sample to a first-in-first-out queue when the offset is less than the offset threshold value. Samples in the first-in-first-out queue are configured to be used as the offset zeroed test signal.
According to a fifth apparatus aspect, said circuitry configured to process the raw rate signal for obtaining the raw test signal comprises a first multiplier configured to multiply the raw rate signal with a test carrier signal for producing the DC test signal.
According to a sixth apparatus aspect, if the test signal component comprises an amplitude modulated test signal comprising at least two test frequencies, said circuitry configured to process the angular rate signal for obtaining the raw test signal comprises a second demodulator configured to demodulate the angular rate signal using a quadrature-phase carrier signal and a first multiplier configured to multiply the demodulated angular rate signal with a test signal carrier signal for obtaining a DC test signal, or, if the test signal component includes a single test frequency, said circuitry configured to process the angular rate signal for obtaining the raw test signal comprises the first multiplier configured to multiply the angular rate signal with a test signal carrier signal for obtaining a DC test signal.
According to a seventh apparatus aspect, the MEMS gyroscope further comprises a phase trimming circuitry configured to phase trim the quadrature-phase carrier signal for mitigating effects of phase shift of the at least one test frequency in the MEMS gyroscope, and to provide the phase phase-trimmed quadrature-phase carrier signal to the second demodulator.
According to an eighth apparatus aspect, the MEMS gyroscope further comprises a third demodulator configured to demodulate the angular rate signal using the quadrature-phase carrier signal for producing a quadrature control signal.
According to a ninth apparatus aspect, the MEMS gyroscope further comprises a third low-pass filter configured to low-pass filter the sensitivity compensated rate signal for producing a continuous sensitivity compensated rate signal.
The present invention is based on a finding of correlation between frequency dependency of a closed-loop small signal gain and/or phase of a gyroscope and angular rate sensitivity. Similar correlation is also found in small signal gain and/or phase of an open-loop gyroscope. The invention is then implemented by using a test signal that enables detection of a change in gain and/or phase shift of a test signal and using this test signal for determining a gain coefficient that enables compensating sensitivity variations caused by at least one of temperature variations and device life-time associated, relatively slowly acting mechanisms, such as stress effects due to humidity variation, long exposures to maximum temperatures, and/or instability of environment in which the MEMS gyroscope is used, for example stress effects spreading via a PCB on which the MEMS gyroscope device is soldered on. Such slow change of the angular rate sensitivity may be referred to as angular rate sensitivity drift, or in short as sensitivity drift. Frequency of the test signal(s) is/are preferably selected such that changes in the test signal(s) are as strong as possible.
The present invention has the advantage that it improves accuracy of the angular rate measurements. The improvement is particularly useful for improving drifting of the angular rate sensor accuracy due to long term error mechanisms.
In the following the invention will be described in greater detail, in connection with preferred embodiments, with reference to the attached drawings, in which
The
A front-end small signal gain GFE comprises all elements contributing to gain of a detection signal path, also known as a secondary signal path, in other words a signal path that provides an electrical signal obtained from a mechanical detection element. In a capacitive gyroscope that provides an output voltage, these comprise a force-to-capacitance gain and a capacitance-to-voltage gain. A closed-loop gyroscope comprises a feedback signal path. A feedback small signal gain GFF comprises all terms that affect sensitivity from voltage back to force domain. In this exemplary system these comprise the electrostatic force term Fc, or, to be more precise, a linearized version of a transducer gain from AC voltage to electrostatic force Fc. FCOR represents a Coriolis force signal, wherein the Coriolis force is due to an external angular rotation rate about a detection axis the gyroscope is subject to, VTEST represents an internal test signal and VOUT represents any output voltage signal received from the sense loop, for example voltage corresponding to detected angular rate, a test signal voltage and/or a quadrature voltage.
Assuming that the linearized total small signal loop gain GFF*GFE>>1, the small signal closed-loop equation for gain can be written as
and as
The above two equations have important implications for understanding operation of the gyroscope. The feedback small signal gain GFF determines small signal gain from the Coriolis force signal FCOR to the output voltage signal VOUT. Thus, also any imprecisions and/or instability of the feedback small signal gain GFF will be transferred to respective inaccuracy of output voltage signal VOUT and thus to rate sensitivity. The second equation also indicates that because of high total loop gain at the frequency of the internal test signal, VTEST cannot be used to measure the magnitude of the feedback small signal gain GFF.
When the linearized total small signal loop gain GFF*GFE≈1, the approximation becomes more complex and frequency dependency of the gain needs to be taken into account.
In this non-limiting example, the nominal frequency f0 is about 16 kHz. For demonstration purposes, front-end small signal gain GFE was deliberately changed to four different values, and the resulting frequency-dependent total closed-loop small signal gain curves (300) were plotted. It becomes clear that there is no change in the unity gain on the nominal frequency f0. However, on both sides of the nominal frequency f0, there are two clear gain peaks in the total closed-loop gain, the gain and position of which are dependent on the frequency and on the front-end small signal gain GFE. Thus, a test signal that has a frequency deviating from the nominal frequency f0 will provide information on changes in the loop gain.
When applied on a closed-loop gyroscope, the invention utilizes the frequency dependency of the total closed-loop gain illustrated in the
In case of a closed-loop gyroscope, for enabling such compensation, it is important that both the front-end small signal gain GFE and the feedback small signal gain GFF have same dominating sources of gain variation. This requirement is fulfilled automatically for example if similar transducers are used both for force feedback actuation of a sense element and for sense detection, and/or the same biasing is used both for sense detection and for feedback actuation. However, an open-loop gyroscope does not comprise any feedback, but there is similar correlation between the frequency dependency of gain or phase of and angular rate sensitivity.
A single suitably selected test frequency that is off the nominal frequency f0 is sufficient for enabling detecting sensitivity drift, in other words changes in sensitivity that do not vary significantly between consecutive rate signal samples, but rather appear as a gradual change or as a slowly developing trend of change in the sensitivity. One way to utilize the frequency-dependency of the total closed-loop gain is to use at least two different test signals with mutually different frequencies, a single test signal that carries a single test tone, thus two different test frequencies, or a single test signal that carries two different test tones, thus including four different test frequencies. An example of a suitable test signal is disclosed in the Finnish patent application FI20195537, in which the test signal is a test clock signal that carries at least two different test tones with distinctive fundamental frequencies.
When the drive signal VDRIVE with nominal frequency f0=16 kHz is used as a test carrier and modulated with the two test tones, this results to test signals of form VTEST=VMOD*VDRIVE, where VDRIVE is a test carrier component and VMOD is the signal carrying the carrier modulating frequency, in other words the test frequency signal also known as the test tone. In the resulting test signal VTEST, there are four test frequency components, namely f0±ftest1 and f0±ftest2, as illustrated in the
Although specific frequencies are used in the above example, the actual frequencies of both the test carrier and the test tone or test tones used for modulating the test carrier are a matter of design choice, depending on the specific gyroscope device and its characteristics.
For visualization purposes, results are normalized to a selected point. In this example, the test signal VTEST(RT) is normalized with respect to its value at room temperature RT. The normalized test signal VTEST_SHIFT may be expressed with the function:
V
TEST_SHIFT
=V
TEST(i)/VTEST(RT) (1),
where VTEST(RT) is the reference value (normalization value) and VTEST(i) represents received measurement signal. Further, a compensated angular rate signal is calculated by finding a gain coefficient K0, so that the root mean square error over temperature of the compensated angular rate value SENSCOMP is minimized. The resulting angular rate compensation function is:
This may also be expressed as:
The graphs shown in the
The lower graph shows the resulting angular rate detection results normalized with respect to the value at room temperature RT=25° C., while the actual angular rate was held constant. A first cluster of normalized measurement results (501) represents detected angular rates indicated in the output of the gyroscope without gain compensation, which shows a clear temperature dependency of the obtained angular rate reading. A second cluster of normalized measurement results (502) represents detected rates with gain compensation using the angular rate compensation function (1) or (2) with the calculated gain coefficient K0. Temperature dependence of the detected angular rate reading is clearly reduced, and thus accuracy of the angular rate detection is improved by the compensation. Instead of room temperature RT, any reference temperature T0 may be selected as the reference condition.
The lower graph of the
In the upper graph of the
Further, a compensated angular rate signal is calculated by finding a gain coefficient K0, so that the root mean square error over test time period of the compensated angular rate value SENSCOMP is minimized. In this example, the resulting angular rate compensation function is:
or its equivalent:
The above described finding of significant correlation between sensitivity drift and test signal drift is advantageously utilized in embodiments according to the invention in a system, which already applies at least one test tone, or at least two test tones with distinctive fundamental frequencies for continuous self-testing. Finding a gain coefficient K0 is needed, and it is fairly straightforward to implement, when suitable test tone(s) for other self-testing purposes is/are already available in the system; no new test signals are required. It is also straightforward to generate a single test tone with wanted frequency.
When temperature compensation is built into the system, also the test signal is preferably temperature compensated. There is no absolute need to compensate for repeatable temperature effects, while it may be done for simplifying the overall compensation scheme. More important is to compensate for effects that are not present during trimming of the MEMS gyroscope. With trimming we refer to steps taken after manufacturing the gyroscope device units, which are often necessary to calibrate the gyroscope device units after manufacturing. Need for trimming rises from the fact that manufacturing process of miniature MEMS devices in general includes several sources of inaccuracy, which affect physical characteristics of the devices.
Effects that rise need for compensation of sensitivity drift include for example assembly related stress changes and other life-time performance drift sources, such as humidity effects, leakage effects due to moisture or impurities, material aging, soldering, storage effects, bias dependency and/or ion transfers. As the gain coefficient K0 is not heavily temperature dependent, it may be sufficient to use a single gain coefficient K0 value, for example a temperature-independent one. Tests have indicated that with an exemplary temperature shift from 85° C. to 75° C., shift of the gain coefficient K0 is only about 2%.
In practice, preferable steps for processing of the test signal comprise: 1. zeroing any offset in the test signal values relative to a predefined reference value, potentially over a temperature range, and 2. compensating sensitivity drift using a weighted gain coefficient K0 as pointed in the first equation. If there is heavy temperature dependency in test signal raw offset, it may be feasible to include over-temperature compensation and normalization in the coefficient K0.
We first introduce parts of a MEMS gyroscope that are merely illustrated for providing a full picture of the basic functionalities of the exemplary device used for explaining the embodiments. These parts are all common for the later disclosed embodiments shown in the
A MEMS gyroscope sensor element (700) comprises drive part (701) and a sense part (711). The drive part (701) comprises at least one primary oscillation element that is driven to primary motion by at least one electrically controlled drive transducer, which cause a force on the at least one primary element that drives it into the oscillating primary motion. Front-end circuitry comprised in the drive part (701) comprise a transducer element that converts the primary motion of the at least one primary oscillation element into an electrical signal, referred to as a drive detection signal (71) or as a primary detection signal (71), provided as input to a drive loop circuitry (702). In this example, amplitude and/or frequency of the primary motion are controlled by a feedback loop comprising the drive loop circuitry (702). The feedback loop controls the drive motion with a feedback signal (73) that is provided towards the drive part (701) with a back-end circuitry comprised in the drive part (701), the back-end circuitry comprising the drive transducers. The closed loop comprising the drive part (701), the drive loop circuitry (702) and interconnections thereof may be referred to as a drive loop. The drive loop circuitry (702) is configured to provide a test signal (75). Preferably, in the case of single test frequency the test signal phase and frequency are selected so that angular rate signal (76) does not change demodulated DC value of the test signal component. When the test signal (75) is itself a multiplied, AM modulated signal VTEST=VPRIMARY*VTONE, comprising a test carrier portion VPRIMARY on the primary frequency multiplied with one or more fundamental frequency test tones VTONE, the carrier portion is phase and frequency synchronous with the drive motion. Phase of the test carrier portion may be synchronized with either the position or the speed of the primary motion of the primary oscillation element. If the carrier signal is selected to be in phase with the position of the primary motion, and the secondary loop generates only a small phase change, the test signal remains essentially in quadrature phase relative to the angular rate signal, and is thus less likely to be subject to any external noise even if no additional phase trimming is provided for the quadrature demodulation signal (90Q).
The MEMS gyroscope sensor element (700) further comprises a sense part (711) that comprises at least one mechanical element referred to as a sense element, also known as a detection element or a secondary element. The sense element is configured to be coupled into the secondary oscillation motion by Coriolis force when the MEMS gyroscope is subject to angular velocity. Front-end circuitry of the sense part (711) comprises at least a transducer element that converts the secondary oscillation motion of the at least one sense element into an electrical signal, referred to as a sense detection signal (72) or a secondary detection signal (72), provided as input to a sense loop circuitry (712). The sense part (711), the sense loop circuitry (712), possible further circuitry, for example amplifiers and/or attenuators (720, 730) form together a closed loop referred to as a sense loop, also known as a secondary loop.
A summing element (740) of the sense loop may be configured to sum an amplified rate detection signal with the test signal (75) for producing a force feedback signal (74), that is provided towards the sense part (711) with a back-end circuitry comprised in the sense part (711). The back-end circuitry comprises a feedback transducer that converts the force feedback signal (74) into a force that is used to adjust oscillation of the sense element. The sense loop provides an angular rate signal (76) that represents the detected angular rate. The angular rate signal (76) is then demodulated by a rate demodulator (750) using an in-phase carrier signal, in other words a carrier signal that is in phase with the drive motion. This demodulation produces a raw rate signal (78), which is an uncompensated version of angular rate detection result.
The test signal (75) is fed into the sense part summed in the force feedback signal (74). In other words, the test signal (75) is a component signal in the force feedback signal (74), and the angular rate signal (76) includes information on both the angular rate and on the effects of the sense loop (711, 712, 720) on the test signal (75). The angular rate signal (76) also includes information on the parts of the drive loop circuitry (702) which are responsible for generating the test signal (75).
The
For test signal analysis purposes, the raw rate signal (78) is multiplied with a test carrier signal (80) by a multiplier (760) to produce a DC test signal (81). The test carrier signal (80) corresponds to the frequency of the test tone itself, or the test frequency if a single test frequency is used as test signal. Preferably, the phase of the test carrier signal (80) is selected in such a way that the magnitude of the DC test signal is maximized. The name DC test signal (81) thus refers to a fully demodulated test signal received from the secondary loop, but it should not be understood as a DC voltage. Rather, the DC test signal (81) can be characterized as a fundamental term of the multiplication operation. If there is no deviation of the loop gain and/or phase at the secondary loop from the original, calibrated values, the DC test signal (81) is a DC voltage. If there is any sensitivity and/or phase drift, the DC test signal (81) magnitude will change, the rate of change being equivalent to that of occurring sensitivity and/or phase drift. A first low pass filter (770) limits signal band of the DC test signal (81) to e.g. 50 Hz to remove spurious signal components with higher frequencies. This first low pass filtering removes any harmonic components of test tone(s) in the test signal, and a raw test signal VTEST(all) (82) remains, that includes all samples of test signal data.
Any offset of the raw test signal (82) signal is zeroed by a test signal offset zeroing circuitry (775) using a reference value obtained at known condition to obtain an offset zeroed test signal (83). The reference value may be obtained for a MEMS gyroscope element during calibration of the MEMS gyroscope element, for a MEMS module after packaging the MEMS gyroscope element into the MEMS module, for a MEMS module after installing it on a printed circuit board (PCB), or even for a MEMS device installed in the final application. In all above situations, the reference value may be obtained in a set temperature, for example room temperature (RT), or over a temperature range.
Thus, the operation of the test signal offset zeroing circuitry (775) substantially corresponds to the term within brackets in either of following equations:
In other words, the test signal offset zeroing circuitry (775) calculates a deviation of the test signal sample from the test signal normalization value (VTEST_COMP). Thus, the test signal normalization value (VTEST_COMP) is also used as the offset zeroing DC value for test signal offset zeroing. The gain coefficient K0 can be also designed to include the normalization, i.e. dividing the original gain coefficient K0 by the test signal normalization value (VTEST_COMP), in which case the zeroing operation does not need to be normalized. In this case, the zeroing operation of the test signal offset zeroing circuitry (755) be expressed simply as [VTEST_COMP−VTEST (i)], such that the sensitivity compensation equation may be expressed as:
Further, instead of division the operation may be approximated for example by Taylor series, when this allows more hardware optimal implementation of the sensitivity compensation circuitry (790). This is especially feasible when the test signal normalization value VTEST_COMP is a constant value.
Known condition may refer for example to room temperature, or to a temperature range. The zeroing operation [(VTEST_COMP−VTEST(i))/VTEST_COMP] or VTEST_COMP−VTEST(i) thus corresponds to calculating a deviation of the current test signal sample VTEST(i) from the test signal normalization value (VTEST_COMP), wherein the former is readily normalized to the reference value, and the latter is normalized at a later stage.
The test signal normalization value (VTEST_COMP) may be an average VTEST value measured when also the gyroscope sensitivity can be measured and compensated and thus allows identifying a change in the test signal magnitude and further in gyro sensitivity. The test signal normalization value (VTEST_COMP) may be for example one of the two possible examples given above, namely a reference value in any preset temperature VTEST(T0) and/or obtained at a selected point of time VTEST(0 sec) and/or obtained with a predefined bias voltage. The offset zeroed test signal (83) is used further in the signal chain.
If a modulated test signal (75) is used, the same test signal (75) may be used both for continuous self-testing (not shown) and for sensitivity compensation. For the latter purpose, illustrated in the
The IF & FIFO circuitry (780) allows only the samples which are sufficiently close to zero to enter the sample queue. A practical reason that may rise a need for the IF & FIFO circuitry (780) functionality is that there may be an external rate signal close to at least one of the test signal frequencies, which would erroneously cause DC level of the test signal and thus also the offset zeroed test signal (83) to be deflected from the intended target level. After the IF & FIFO circuitry (780), accepted test signal samples may further be low-pass filtered by a second low-pass filter (785) to a final bandwidth, which is in the order of few Hz or below. Depending on the implementation, the offset zeroed test signal (83, 84) may be used either as received from the test signal offset zeroing circuitry (775) or after further low-pass filtering (785) for sensitivity compensating the raw rate signal (78) by a sensitivity compensation circuitry (790) using a gain coefficient K0 to cancel effects of the sensitivity drift sources from the raw rate signal (78). The sensitivity compensated rate signal (85) may further be low-pass filtered with a post-processing low-pass filter (795). The post-processing low-pass filter (795) may be needed, if data rate of the unfiltered offset zeroed test signal (83) or the filtered offset zeroed test signal (84) fed into the sensitivity compensation circuitry (790) is not clearly greater than that of the raw rate signal (78), for ensuring that the resulting sensitivity compensated rate signal (85′) is a continuous signal. Further, post-processing low-pass filter (795) may be utilized for determining noise bandwidth of the sensitivity compensated rate signal (85).
Functionality of the sensitivity compensation circuitry (790) may be characterized as comprising defining a sensitivity compensation multiplier and multiplying the raw rate signal (78) with the sensitivity compensation multiplier.
The sensitivity compensation multiplier may be defined as corresponding to equation
where VTEST_COMP is the defined reference value for the specific MEMS device, and VTEST(i) represents received measurement signal, and K0 is the gain coefficient. In the alternative implementation, the sensitivity compensation multiplier may be defined as corresponding to an alternative form of the same equation
where the term K0/VTEST_COMP may be calculated by the sensitivity compensation circuitry (790). This is particularly useful if any part of the term K0/VTEST_COMP is dependent on a variable, for example on temperature or bias voltage. The term K0/VTEST_COMP may also be stored in memory and used in calculation of the sensitivity compensation multiplier as a single value dedicated for the specific MEMS device in case there is only one VTEST_COMP, i.e. it is a value that is not dependent on any variable.
The
In comparison to the first embodiment, the second embodiment that uses different carrier signals for the angular rate signal and for the test signal provides intrinsic isolation of the test signal from the rate signal and from any external rate signal that is close to the test signal. Thus, risk of hampering the compensation by an external rate signal is reduced and need for an IF & FIFO circuitry is avoided.
In the given example, the test signal (75) may be generated using a quadrature-phase carrier signal. This way, the carrier phase for the test signal is different from the carrier phase of the angular rate signal (76). The angular rate signal (76) is demodulated by an in-phase demodulator (7501) using an in-phase carrier signal (90I) for obtaining raw angular rate signal (78), and the angular rate signal (76) is demodulated by a quadrature-phase test signal demodulator (750Q′) on basis of a quadrature-phase carrier signal (90Q) for obtaining the raw test signal (82). In other words, the quadrature-phase test signal demodulator (750Q′) demodulates the test signal component of the angular rate signal (76). This way, intrinsic isolation is achieved between angular rate signal and the test signal.
When the test signal (75) has a frequency that deviates from the nominal frequency f0, it is likely, that phase of the test signal changes in the sense loop optimized for the nominal frequency. This is because not only small signal gain but also the small signal phase response of the closed-loop gyroscope varies as function of frequency. Therefore, for obtaining an ideal quadrature-phase demodulation signal (90Q), i.e. a quadrature-phase demodulation signal (90Q) that is exactly in quadrature phase in comparison to the in-phase carrier signal (90I), phase of the quadrature-phase demodulation signal may need to be trimmed by a phase-trimming circuitry (745). The phase separation between the angular rate and test signals makes the optional IF & FIFO circuitry (780) of the first embodiment superfluous in this embodiment. However, as in the first embodiment, the offset zeroed test signal (83) may further be low-pass filtered by a second low-pass filter (785) to a final bandwidth, which is in the order of one Hz, before it is fed into the sensitivity compensation circuitry (790).
In an alternative embodiment, the test signal (75) is just a single test frequency that is not multiplied with a specific test carrier signal. In such case, there is no need for using the quadrature-phase test signal demodulator (750Q′) for DC:ing the demodulated raw rate signal for obtaining the DC test signal (81), but the raw test signal (82) can be extracted by multiplying the angular rate signal (76) by the multiplier (760) and filtering the multiplied DC test signal (81) with the first low pass filter (770) for removing any harmonic frequencies remaining in the DC test signal (81). Using a single test frequency rather than a test carrier modulated with a test tone or test tones avoids generation of a possible problem caused by the rather likely circumstances that the transfer function of the secondary loop is somewhat different on the two different modulated test frequencies. When two test frequencies are used, the phase trimming circuitry (745) cannot, in practice, find a perfect quadrature phase for demodulating the angular rate signal, because both test frequencies are in practice never exactly in quadrature phase.
In a further alternative, the IF & FIFO circuitry (780) may be placed between the (775) and the second low-pass filter (785) as in the first embodiment. Although use of quadrature-phase test carrier signal makes the system more robust, the IF & FIFO circuitry (780) may further improve robustness of the circuitry. For example, if the angular rate signal path saturates due to an over-range angular rate situation, sensitivity compensation may experience a significant error situation, which is averaged in the filters of the sensitivity compensation circuitry and recovers slowly. In such case, an IF & FIFO circuitry (780) filters out erroneous samples in the raw test signal from being taken into account in sensitivity compensation.
In the second embodiment, as described above, there may be some phase error at test frequency, and the quadrature-phase demodulation signal (90Q) used for demodulating the angular rate signal (76) for obtaining test information is no longer exactly in quadrature phase after phase trimming with the phase-trimming circuitry (745).
The third embodiment addresses this inaccuracy by assigning a third demodulation for the angular rate signal (76) that is used for quadrature control. A quadrature control feedback path comprising a quadrature-phase demodulator (750Q) and a quadrature control circuitry (755) provides a quadrature control signal (86), which is fed back to the sense part (711) for compensating mechanical unbalance. This way it can be ensured that a rate signal path comprising the in-phase demodulator (750I) and a quadrature control path comprising the quadrature-phase demodulator (750Q) have exactly orthogonal demodulation carrier signals (90I, 90Q), while carrier phase for the test signal (75) may be selected more freely, and adjusted for demodulation with the phase-trimming circuitry (745). In the exemplary implementation, a test signal demodulation signal for demodulating the angular rate signal (76) in the test signal modulator (750Q′) is generated on basis of the quadrature-phase carrier signal (90Q). The phase of the test signal demodulation signal is adjusted with a phase-trimming circuitry (745) for obtaining the test signal demodulation signal that is in phase with the respective carrier signal used for the test signal (75) and that maximally demodulates the test signal component of the angular rate signal (76).
Like the second embodiment, and for the same reasons, an alternative implementation according to the third embodiment uses a test signal that comprises a single test frequency rather than a test signal with a test carrier signal modulated with one or more test tones. In such case, no separate quadrature-phase test signal demodulator (750Q′) is needed for demodulating the angular rate signal (76), but the test frequency can be extracted by multiplying the angular rate signal (76) by the multiplier (760) and filtering the multiplied DC test signal (81) with the first low pass filter (770) for removing any harmonic frequencies remaining in the DC test signal (81). Since the test carrier signal (80) is always in phase with the single test frequency, no separate trimming of phase of the test carrier signal (80) is needed.
In a further alternative, the IF & FIFO circuitry (780) may be used for further cleaning up the test signal samples between the (775) and the second low-pass filter (785) as in the first and second embodiments.
The implementation alternatives of the functionality (equivalent equation) of the test signal offset zeroing circuitry (775) and the sensitivity compensation circuitry (790) disclosed in connection to the first embodiment are equally applicable in the second and third embodiments.
As disclosed above in connection to
The other comparison parameter used in the sensitivity compensation that needs to be defined is the reference value VTEST. Because physical characteristics of MEMS devices, including MEMS gyroscopes, tend to vary significantly from device to device due to manufacturing tolerances, each MEMS gyroscope needs to be trimmed. The reference value VTEST to be used for sensitivity compensation may be defined for each device during the trimming process and stored into a memory, and used consequently for resolving a multiplier or a divider to be used for compensating the raw angular rate signal (78) sensitivity drift.
Although the compensation principle has been described above primarily in connection with a closed-loop gyroscope, it is equally applicable to an open-loop gyroscope.
It is apparent to a person skilled in the art that as technology advanced, the basic idea of the invention can be implemented in various ways. The invention and its embodiments are therefore not restricted to the above examples, but they may vary within the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
20205246 | Mar 2020 | FI | national |