Self-test in a closed-loop vibratory gyroscope

A closed-loop microelectromechanical gyroscope with a self-test function. At least one test input signal is generated from a signal of the vibrational primary motion and input during operation of the microelectromechanical gyroscope to the sense circuit.

FIELD

The present invention relates to microelectromechanical systems and specifically to self-test method for a microelectromechanical gyroscope and to a gyroscope implementing the method.

DESCRIPTION OF THE RELATED ART

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 ones 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 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 oscillation 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. Ideally, the component should be capable of identifying its own erroneous operation very rapidly. On the other hand, false alarms that cause unnecessary inconvenience to system users should be effectively avoided.

A line of advanced vibratory gyroscopes applies a closed-loop system where the vibrational sense motion is feedback controlled for enhanced performance. The closed-loop configuration, however, creates also aspects that cannot be met with conventional self-test methods.

For example, a closed-loop system, unlike open-loop one, is heavily dependent on stability of the bias voltage. This is because the magnitude of the force-feedback is inversely proportional to the reference voltage. U.S. Pat. No. 8,459,093 discloses a continuous self-test method, where a modulated test signal is fed to dedicated self-test electrodes of an open-loop gyroscope. This method does not, however, is not well applicable for monitoring the bias voltage levels in a closed-loop configuration. It requires additional dedicated self-test electrodes with very accurate functioning to avoid unnecessary alarms.

On the other hand, in a feedback configuration, variation of some parameters, for example, the signal sensitivity of the detection electrodes, or the gain of the front-end signal chain may be masked by high loop gain at the resonance frequency. Although this is also beneficial by making the system more robust to minor variations, excessive variations in these partly masked parameters may be a risk, as they might compromise the complete operation by, for example, changing the loop dynamic features or causing instability. A simple example is an internal leakage that due to a fault condition causes open-loop non-linearity. This may be efficiently attenuated by the feedback loop, but when the leakage further increases, an abrupt signal blockage occurs and the system becomes unable to produce any rotation rate response. Another example of masked parameters is change of sensitivity of the detection electrodes. A proper self-test should identify these kind of risk conditions before final error conditions occur.

SUMMARY

An object of the present invention is to provide a mode-matched gyroscope that that enables reliable self-testing in a closed-loop configuration, even during normal operation. This and other objectives of the present invention is achieved with embodiments of a gyroscope and a self-test method as described herein.

Embodiments of the present invention include a microelectromechanical gyroscope that includes a body, a drive element suspended to the body for vibrational primary motion in a first direction, and a sense element coupled to the drive element to receive an orthogonal Coriolis force component in a second direction. The second direction is perpendicular to the first direction. The microelectromechanical gyroscope is a closed-loop configuration that includes also a sense circuit for outputting a sense signal that corresponds to forces acting on the sense element in the second direction, and for producing a sense feedback signal to control the vibrational secondary motion of the sense element. For the self-test function, the microelectromechanical gyroscope includes a test signal generator for generating from a signal of the vibrational primary motion at least one test input signal and outputting the test input signal during operation of the microelectromechanical gyroscope to the sense circuit. It also includes a self-test analyzer for extracting from the sense signal at least one test output signal that results from the at least one test input signal, and determining validity of at least one operating parameter of the microelectromechanical gyroscope on the basis of the test output signal.

Embodiments also include a self-test method for a microelectromechanical gyroscope that includes a body, a drive element suspended to the body for vibrational primary motion in a first direction, and a sense element coupled to the drive element to receive an orthogonal Coriolis force component in a second direction. The second direction is perpendicular to the first direction. The microelectromechanical gyroscope is a closed-loop configuration that includes also a sense circuit for outputting a sense signal that corresponds to forces acting on the sense element in the second direction, and for producing a sense feedback signal to control the vibrational secondary motion of the sense element. The method generating from a signal of the vibrational primary motion at least one test input signal and outputting the test input signal during operation of the microelectromechanical gyroscope to the sense circuit, and extracting from the sense signal at least one test output signal that results from the at least one test input signal, and determining validity of at least one operating parameter of the microelectromechanical gyroscope on the basis of the test output signal.

Features and advantages of the claimed invention and its embodiments are described in more detail with the detailed description of the embodiments.

DETAILED DESCRIPTION

In the following, features of the invention will be described with a simple example of a device architecture in which various embodiments of the invention may be implemented. Only elements relevant for illustrating the embodiments are described in detail. Various generic features of capacitive transducer structures or microelectromechanical devices that are generally known to a person skilled in the art may not be specifically described herein.

FIG. 1illustrates elements of a microelectromechanical gyroscope structure with which embodiments of the present invention may be used. The gyroscope structure may be a layer element that includes in-plane oscillating elements and a non-oscillating body10enabled to move with an angular motion to be detected. InFIG. 1, the body is represented by a frame10that is fixedly attached to another non-oscillating body element of the gyroscope structure, for example, to an underlying handle wafer, or a covering cap wafer of a gyroscope device. The gyroscope structure may include also one or more seismic masses12,14that are suspended to the body10to provide an inertial movement. A seismic mass may be suspended to the static support through a spring structure16,18. The spring structure refers here to a combination of elastically directional spring elements that are configured by their dimensions and/or properties to be flexible to displacements of the seismic mass in at least one direction, and very rigid to displacements of the seismic mass in any other directions.

In a gyroscope structure, the spring structure is typically designed to allow displacements of seismic masses in a drive direction D and in a sense direction S. The drive direction D refers here to a designed direction of driven oscillation of the seismic masses12,14, i.e. the direction of the linear oscillation during ideal primary motion and in the absence of other forces acting on the structure. The sense direction S refers here to a further designed direction of linear oscillation of a seismic mass, a sense direction that is perpendicular to the drive direction D, and therefore coincides with a detected Coriolis force resulting from angular motion of the gyroscope structure.FIG. 1illustrates drive and sense directions in the exemplary simplified configuration. In practice, there are many ways to implement resonator structures, and arrange the sense and drive directions into them. Such solutions are widely documented and well known to a person skilled in the art of microelectromechanical devices.

Accordingly, the microelectromechanical structure includes a drive element that includes a drive mass that is suspended to the body to be driven into vibrational primary motion in the drive direction D. InFIG. 1, the drive element is shown to include a first seismic mass12. The seismic mass12may be induced to the vibratory primary motion with a capacitively, piezoelectrically or piezoresistively operated electromechanical transducer or transducer means. As an example, the first seismic mass12ofFIG. 1is coupled to one or more capacitive transducers that, in response to an applied drive voltage, generate a controlled mechanical force that induces and maintains the vibrational primary motion of the first seismic mass12in the drive direction D.

The microelectromechanical structure includes also a sense element for vibrational secondary motion. The sense element may be mechanically coupled to the drive element to be induced to vibrational secondary motion that takes place in response to rotational motions of the body. InFIG. 1, the sense element is shown to include a second seismic mass14.

The mechanical coupling may include directional spring structures that deflect elastically in a deflection direction and are very rigid in other directions, especially in directions perpendicular to the deflection direction. InFIG. 1, the first seismic mass12is coupled to the second seismic mass14with a first directional spring structure16that includes one or more directional springs that deflect elastically in the drive direction D and are very rigid in other directions, especially in the sense direction S. The second seismic mass14is coupled to the body10with a second directional spring structure18that includes one or more directional springs that deflect elastically in the sense direction S and are very rigid in other directions, especially in the drive direction D. The first directional spring structure16thus allows the first seismic mass12to move in the drive direction D within the second seismic mass14, but the second directional spring structure18resists movement of the second seismic mass14in direction D.

Applied angular motion about an out-of-plane rotation axis induces to the vibrating first seismic mass12a Coriolis force that is orthogonal to the direction of the primary motion, i.e. a force in direction S. The first directional spring structure16resists movement of the first seismic mass12in direction S and thus relays the force to the second seismic mass14. The second directional spring structure18allows movement of the second seismic mass14in respect of the body10in the sense direction S. This movement may be detected with a sense transducer coupled to the second seismic mass14and adapted to generate a signal that represents the relative motion between the second seismic mass14and the body10. The generated signal may be used as a measure of the applied angular motion.

It is noted that the configuration ofFIG. 1is only an example of a gyroscope structure with two orthogonal main modes. The coupling between the drive mass and the sense mass may be mechanical, as inFIG. 1, or electrical such that the masses are separately but simultaneously driven into the primary vibrational motion. A gyroscope structure may have a single vibrating mass or multiple vibrating masses that undergo linear or torsional motions, in-plane or out-of-plane. Also mode decoupling may be achieved with many ways, depending on the optimized parameters. For example, various frame-based architectures may be applied for minimization of cross-coupling effects.

FIG. 2illustrates elements of a microelectromechanical gyroscope with which embodiments of the invention may be implemented. The gyroscope comprises a drive element200and a sense element202. As described above, the drive element200and the sense element202may be mechanically coupled to a body (not shown) and to each other such that rotational motion of the body induces a detectable secondary motion in the sense element.

The drive element200is part of a drive circuit, a logical element that represents here a combination of components of the mechanical drive element of the gyroscope, one or more electromechanical transducers, and signal conditioning and processing elements that operate on a signal or signals received from and input into the drive element. It is understood that a logical element may be physically implemented in one or more integrated circuit elements, or share physical components with other logical circuits.

The drive circuit includes also a drive loop circuit204that inputs from the drive element200a drive sense signal D-DET that corresponds to the vibrational primary motion of the drive mass. The drive loop circuit is adapted to generate a primary signal Sc of a specific driving frequency T_f0in phase with the primary vibrational motion of the drive element. The primary signal Sc may include a signal component in phase with the position and/or velocity of the vibrating mass of the drive element. Also the drive circuit is advantageously a feed-back system, i.e. a system that feeds back some of the output to the input of a system. In this context this means that the drive loop circuit204may also be adapted to produce a drive feedback signal D-FB to control the primary vibrational motion of the vibrating mass of the drive element. The primary motion of the drive element200may be sensed with one or more transducers that convert the vibrational motion into the drive sense signal D-DET, and the drive force may be applied with one or more transducers that convert the drive feedback D-FB signal into a mechanical driving force.

A transducer refers in general to a device that converts one form of energy to another. For example, a physical property may be detected and converted into a measurable signal. The physical property and the means for detecting the form of energy may vary according to the application. In one category of sensors, a characteristic representing a detected physical property may comprise detection of displacement of a reference point with respect of an inertial frame of reference. The displacement may be detected, for example, as movement of a suspended proof-mass, or as stress or strain exerted on a transducer element connected to an elastic suspension that carries the proof-mass. The detected displacement, stress or strain may be used to modulate electrical signals, which makes the physical property quite accurately measurable. As another example, in actuators, transducers may be used to convert electrical energy into some form of motion.

FIG. 3shows a simplified example of a mass-spring system applicable for transducing displacements into electrical signals. The system may have a proofmass300and a spring element302anchored at anchor point304to a sensed object (not shown). The system may have also one or more stationary electrodes306anchored to the body and one or more movable electrodes308connected to the motion of the proofmass300. The transducer for measuring the displacement inFIG. 3may be based on a capacitive effect, wherein capacitance between electrodes306and308changes when the distance between them changes. This change in capacitance may be used to modulate an electrical signal output from the transducer.

FIG. 4shows another type of capacitive transducer; same reference numerals are used to refer to corresponding elements inFIGS. 3 and 4. In the transducer ofFIG. 4, modulation of the electrical signal corresponds to change in the overlapping areas of the electrodes306and308. The transducers shown inFIGS. 3 and 4measure displacement of a proof element based on a capacitive effect, but other types of proof elements indicating, for example, strain or stress exerted on the proof element, and other types of effects, like piezoelectric, and electromagnetic effect that transform a detected indication of a physical property to an electrical signal may be applied.

Returning back toFIG. 2, the sense element202is part of a sense circuit, a logical element that represents here a combination of components of the mechanical sense element of the gyroscope, one or more electromechanical transducers, and signal conditioning and processing elements that operate on a signal or signals received from and input into the sense element202. The sense circuit is a feedback system that includes a closed sense loop circuit. A gyroscope that includes such a closed sense loop circuit is called herein a closed-loop gyroscope.

InFIG. 2the sense loop circuit is shown to include a sense loop front-end part (SL-FE)206and a sense loop back-end part (SL-BE)208. The SL-FE206inputs from the sense element transducer a sense signal S-DET that corresponds to the detected Coriolis motion of the sense element, and generates therefrom a sense loop output signal Ssl. The SL-FE advantageously includes at least a capacitance-to-voltage converter, amplifiers and an amplitude control element. When the sense loop signal Ssl is used as an analog sense loop output signal, a further scaling point may need to be arranged to the signal path before the demodulation. In the feedback path, the sense loop output signal Ssl is advantageously input to the SL-BE210for scaling (amplification). In the configuration ofFIG. 2, the SL-BE generates a sense feedback signal S-FB, according to which a force restricting the secondary vibrational motion in the sense element202is to be controlled.

The gyroscope also includes a demodulation element212. The demodulation element212may receive as inputs the primary signal Sc and the sense loop output signal Ssl, and demodulates the amplitude modulated sense loop output signal Ssl using the primary signal Sc. The demodulator outputs a gyroscope output signal Ss that can be applied as a measurement signal for the detected angular motion.

FIG. 5illustrates an exemplary embodiment of a gyroscope with an enhanced continuous self-test arrangement. Elements already discussed inFIG. 2are denoted with same reference numerals. As shown inFIG. 5, the gyroscope may be further complemented with a test circuit that includes a test signal generator220, and a test signal analyzer224. The test signal generator220is adapted to receive from the drive loop204at least one signal that corresponds to the vibratory primary motion, generate therefrom one or more test input signals Tt1. . . Ttn, and input the one or more test input signals Tt1. . . Ttn during operation of the gyroscope to the sense circuit. The test signal analyzer224, together with demodulation stages212,214forms a self-test analyzer that is adapted to detect effect of the one or more test input signals Tt1. . . Ttn in the output signal of the sense circuit, and trigger an alarm, if an abnormal response appears.

In the exemplary configuration ofFIG. 5, the test signal generator220is coupled to the drive loop204to receive therefrom at least the primary signal Sc, for example, a sinusoidal signal in the driving frequency T_f0. The test signal generator220may also receive from the drive loop a separate timing signal Sct synchronized to the primary signal Sc. The timing signal Sct may be, for example, a clock signal taken from a phase-locked loop (PLL) in the drive loop. The primary signal Sc may include a signal in phase with velocity and/or position of a vibrating mass in the drive element, or a combination of component signals in phase with velocity and position of the vibrating mass in the drive element. In the latter case, the carrier signal for demodulation may be generated in the test signal generator as an optimised combination of the component signals. Thus, the carrier signal may include fixed constant portions of position and velocity matching phase components. For simplicity, inFIG. 5, the carrier signal for demodulation is shown to correspond to the primary signal Sc.

The test signal generator220may be adapted to generate from the primary signal or from the timing signal Sct one or more test frequency signals T_mf1. . . T_mfn, frequencies of which are synchronized to the driving frequency T_f0. Generated test frequency period may be any multiple of the primary period of the timing signal Sct. The multiplier may be an integer, but other multipliers may be chosen instead. For example, for each test frequency signal the test signal generator220may include a counter that provides a specific division (e.g. Tf0/N, N is a constant integer) of the driving frequency T_f0. Preferably, each test frequency signal T_mf1. . . T_mfn has a constant relation to the driving frequency T_f0of the vibrational primary mode. This is achieved for instance by using a constant divider in a counter arranged for generating any of the respective test frequency signals T_mf1. . . T_mfn, so that the length of each period of the respective test frequency signal T_mf1. . . T_mfn is a constant multiple of the primary period of the driving frequency T_f0of the vibrational primary mode. Test frequency signals T_mf1. . . T_mfn are preferably square-wave signals (for example from the phase-locked loop (PLL) of the drive circuit), but other signals, like sinusoidal signals may be applied, as well.

The test signal generator220may be further adapted to include a modulator element that may include a group of one or more modulators for multiplying the primary signal Sc with each of the generated test frequency signals T_mf1. . . T_mfn, respectively. The test signal generator may generate test input signals Tt1. . . Ttn corresponding to the test frequency signals T_mf1. . . T_mfn, respectively, or to generate one test input signal Tt1that includes the test tones of the test frequency signals T_mf1. . . T_mfn. The modulator element output may be input to the sense feedback loop continuously, according to a predefined scheme, to test whether the gyroscope operates in an intended manner.

As an example,FIG. 6illustrates components of a test signal modulator for double frequency square wave modulation of the sinusoidal primary signal Sc. InFIG. 6, elements T_f0n, T_f0pillustrate primary signal inputs, and elements T_mf1, T_mf2test frequency inputs. As can be seen fromFIG. 6, the circuitry is adapted to output one differential test signal Tt1(test_signalptest_signaln) that includes the test tones of T_mf1, T_mf2.

FIGS. 7A and 7Billustrate the test signal modulation with an exemplary test input signal Tt1that is created by modulating a 10 kHz carrier signal with two square wave test frequency signals.FIG. 7Ashows the test signal in time domain andFIG. 7Bin frequency domain.FIGS. 8A and 8Bshow an alternative exemplary test input signal Tt1that is created by modulating the carrier signal with two sinusoidal wave test frequency signals.FIG. 8Ashows the test input signal in time domain andFIG. 8Bin frequency domain. It is seen that in order to prevent the test from creating rotation rate offset to the actual measurement, the test input signal does preferably not contain a signal component at the exemplary resonance frequency 10 kHz.

It is understood that the sense loop output signal Ssl, and the sense output signal Ss inFIG. 5include components of the test input signals Tt1. . . Ttn and components of the detected angular motion. In the demodulation element, signal paths of different purposes need to be separated. Until this point, the self-test stages may be implemented in the analog domain. InFIG. 5, the demodulation element includes two demodulation stages DEM1, DEM2. The first demodulation stage DEM1corresponds to the demodulation element ofFIG. 2. After the first demodulation stage DEM1, the signal Ss may be applied for angular motion measurements, as discussed above. The effects of the test signals may be eliminated from the output signal Ss with filtering. For example, the signal path may be adapted to include a decimating filter (e.g. a cascaded integrator-comb) with a specific output data rate selected to output zero at the test input signal frequency (frequencies). It is noted that this filtering stage is inherently needed in a closed loop configuration. Accordingly, the signal path does not need any additional elements for the self-test function. It is understood that various other signal processing stages, well known to a person skilled in the art, may be included in the common signal path, and the separated signal paths. An example of such stages is filtering of unwanted harmonics of the resonance frequency or an application specific signal frequency band.

For self-test purposes, the demodulator element may also include a second demodulation stage DEM2with one or more demodulators adapted to demodulate the sense output signal Ss with the one or more test frequency signals T_mf1. . . T_mfn, and to thereby generate one or more DC response signals St1. . . Stn. These test response signals may be fed to a test signal analyzer224that includes at least one trigger condition for the one or more test response signals to fulfil. If the trigger condition is met, the test signal analyzer224generates an alarm signal to indicate error in the gyroscope operation. Generation and further processing of alarm signals may be implemented in many ways, well known to a person skilled in the art; they will not be discussed in more detail in this context.

For example, when the closed-loop sense is functioning properly, sense output signal Ss will contain a signal component determined by the test input. With the shown configuration, changes in, for example, the sensitivity of the feedback electrodes, in the sense or drive loop phase shifts, in the bias voltage level, in phase or magnitude of the vibrational motion in the drive or sense circuit, in the difference between the resonance frequency of the drive element and the sense element, in the transducer components and in detection sensitivity can be reliably and easily detected from the DC response signals St1. . . Stn.

If the phase of the demodulation is not a parameter of interest, the test input signal can be created without modulation. As an alternative, it is also possible to use test frequency signals T_mf1. . . T_mfn as test input signals Tt1. . . Ttn. The test signal generator may feed the test frequency signals T_mf1. . . T_mfn to the feedback sense loop without modulation. In this arrangement the primary signal Sc is not demodulated, but down-conversion of the input test signal is performed in the first demodulation stage DEM1. This reduces sensitivity of the test to the first demodulation stage DEM1demodulation carrier phase.

The flow chart ofFIG. 9illustrates an embodiment of a self-test method for a microelectromechanical gyroscope in the exemplary configuration ofFIG. 5. An example with two test frequency signals T_mf1, T_mf2is applied. For continuous operations, the method begins by configuring (stage900) the test signal analyzer to include defined trigger conditions TC1, TC2for each of the test frequency signals T_mf1, T_mf2. An expected value or a range for magnitudes of each of the test frequency input responses may be, for example, calibrated by the manufacturer, advantageously after system calibration. A simple trigger condition may include a predefined acceptable range for the DC response of a defined test frequency input. Other trigger conditions may be applied within the scope. Trigger conditions may be configured at the manufacturing stages. Trigger conditions may be implemented by means of specific circuitry and/or with a programmed process run in a processor.

Continuously during operation of the gyroscope, the test signal generator may input a primary signal Sc of a specific driving frequency T_f0in phase with the primary vibrational motion of the drive element, and generate (stage902) the test frequency signals T_mf1, T_mf2. The test frequency signals T_mf1, T_mf2are synchronized to the primary signal such that the ratio of the two frequencies is constant. The test signal generator may generate (stage904) test input signals Tt1, Tt2by modulating the primary signal Sc with the test frequency signals T_mf1, T_mf2. The test input signals Tt1, Tt2may be then input (stage906) to the sense circuit. The feedback sense signal includes thus components of the vibrational secondary motion and the test input signal, and test output signals St1, St2may be created (stage908) continuously by eliminating from the sense signal components of the rotational motions of the body. This may be done by first demodulating the sense loop output signal Ssl with the primary signal Sc or the timing signal Sct synchronized to the primary signal Sc. DC test output responses St1, St2may be created by demodulating the signal resulting from the first demodulation stage with the test frequency signals T_mf1, T_mf2. Validity of at least one operating parameter of the microelectromechanical gyroscope may then be determined on the basis of the test output responses St1, St2. The determination may be implemented in the digital domain.

For example, the test signal analyzer may input (stage910) response signals St1, St2corresponding to the number of test frequency inputs T_mf1, T_mf2. The test signal analyzer may be adapted to compare (stage912) received response signals St1, St2to the trigger conditions TC1, TC2and check (stage914) whether a required compliance exists. If not, an alarm may be triggered (stage916).

In the example ofFIG. 9, the trigger conditions TC1, TC2define acceptable value ranges for the response signals St1, St2. If a received response signal is not in the range defined for it, an error condition is flagged (stage914). A required compliance may be defined to exist when both comparisons result into a flagged error. This dual error detection effectively eliminates the possible false alarms. However, other trigger conditions and compliance requirements may be applied within the scope. Furthermore, more than two test frequency inputs may be applied, depending on the device parameters to be tested.

FIG. 10illustrates a further embodiment of a gyroscope self-test method. The embodiment applies the dual error detection and enhances the error detection by a further polarity check that reduces false alarms by spurious external motions in challenging operational environments. InFIG. 10, the left-hand flow relates to a first test tone and the right-hand flow to a second test tone. In the left-hand flow, the method begins by configuring (stage1010) the test signal analyzer of the gyroscope to include a first trigger condition TC1that sets an acceptable range for response signals St1of a first test frequency input T_mf1, and with a first polarity counter threshold CTmax1that sets a limit for successive abnormal values of same polarity. For the process, parameters POLprev1, CT1, and ERR1are initialized (stage1012). When a response signal St1is received (stage1014), it is checked (stage1016) whether the signal value complies with the first trigger condition TC1. If yes, the process may return to stage1012for initialization and then continue receiving the response signal SU. If not, the test signal analyzer will check (stage1018) whether the defined range is crossed for the first time or not. If the crossing happens for the first time, it is deemed that the process may return to stage1014.

If the crossing does not happened for the first time, the test signal analyzer will check (stage1020) the polarity of the crossing, i.e. whether the value raises above or falls below the defined range. The determined polarity is then compared (stage1022) to the polarity POLprev1in a previous crossing of the defined range. If the polarity of the present crossing POLnew1is not the same as the polarity of the previous crossing POLprev1, the process may return to stage1012to reset the counter and polarity values CT1. In the initialization/reset stage1012, the parameter POLprev1may be initially given either of the negative or positive polarity values, and later on the value of the polarity value POLnew1, resulting from stage1020. If the determined polarity of the present crossing POLnew1is the same as the polarity POLprev1in the previous crossing, a first polarity counter CT1is incremented (stage1024).

The incremented value of the first polarity counter CT1is compared to the predefined first polarity counter threshold CTmax1(stage1026). If the counter value CT1is below the threshold, the process may return to stage1014. If the counter value exceeds the threshold, a Boolean variable ERR1that indicates a detected error state in the first flow path is set to TRUE (stage1028).

Similarly, in the right-hand flow, the method begins by configuring (stage1050) the test signal analyzer of the gyroscope to include a second trigger condition TC2that sets an acceptable range for response signals St2of a second test frequency input T_mf2, and with a second polarity counter threshold CTmax2that sets a limit for successive abnormal values of same polarity. For the process, parameters POLprev2, CT2, and ERR2are initialized (stage1052). When a response signal St2is received (stage1054), it is checked (stage1056) whether the signal value complies with the second trigger condition TC2. If yes, the process may return to stage1052for initialization and then continue receiving the response signal St2. If not, the test signal analyzer will check (stage1058) whether the defined range is now crossed for the first time or not. If the crossing happens for the first time, it is deemed that the process may return to stage1054.

If not, the test signal analyzer will check (stage1060) the polarity of the crossing, i.e. whether the value raises above or falls below the defined range. The determined polarity POLnew2is then compared (stage1062) to the polarity POLprev2in a previous crossing of the defined range. If the polarity of the present crossing POLnew2is not the same as the polarity of the previous crossing POLprev2, the process may return to stage1052to reset the counter and polarity values. Also in the initialization/reset stage1052, the parameter POLprev2may be initially given either of the negative or positive polarity values, and later on the value of the polarity value POLnew2, resulting from stage1060. If the determined polarity POLnew2is the same as the previous polarity POLprev2, a second polarity counter CT2is incremented (stage1064). The incremented value of the second polarity counter CT2is compared to the predefined second polarity counter threshold CTmax2(stage1066). If the counter value is below the threshold, the process may return to stage1054. If the counter value exceeds the threshold, a Boolean variable ERR2that indicates a detected error state in the second flow path is set to TRUE (stage1068).

The test signal analyzer may now check (stage1090) the variables ERR1, ERR2, and if both of them are TRUE, trigger an alarm (stage1092), and return to stages1014,1054to continue reception of the test responses St1, St2. If only one, or neither of the variables ERR1, ERR2in stage1090is TRUE, the process may return directly to stages1014,1054.

The described additional polarity check effectively eliminates unnecessary alarms, and makes therefore the self-test function robust and therefore suitable to very demanding applications.

FIG. 11illustrates an alternative embodiment of a gyroscope with a continuous self-test arrangement. Elements already discussed inFIGS. 2 and 5are denoted with same reference numerals. As a difference to the embodiment ofFIG. 5, the test signals Tt1. . . Ttn are shown to be fed to a summing element230after sense loop back-end part (SL-BE)208. This may be used to emphasize abnormal feedback path effects in self-test response. It also enables to provide signal equivalent response to the system output within the signal band.

FIGS. 12A to 12Cillustrate signals created with the exemplary configurations ofFIG. 5andFIG. 11.FIG. 12Aillustrates a test signal Tt1that is input to the sense feedback loop. The exemplary Tt1is a single frequency square wave modulated signal.FIG. 12Bshows an output response signal Ss for the arrangement ofFIG. 5, andFIG. 12Cshows an output response signal Ss for the arrangement ofFIG. 11. It is seen that the response signal Ss may include multiple harmonic frequency components, but the tone of the test frequency input is, however, the most relevant for the DC output and for analysis.

In an embodiment, the gyroscope is a mode-matched device where the drive and sense element resonance frequencies are equal and the sense feedback loop includes a low pass filter with a frequency response function that peaks in the mechanical resonant frequency of the sense element202. With peaking of a frequency response function of a low pass filter it's meant that the natural frequency of the low pass filter equals with the mechanical resonant frequency of the sense element202, and the Q value of the low pass filter is higher than 1.FIG. 13Aillustrates an exemplary closed loop gain of such sense feedback loop as a function of frequency from the input of the test input signal(s) to the output of the sense loop output signal(s) in the arrangement ofFIG. 11.FIG. 13Billustrates the corresponding closed loop gain curve in the arrangement ofFIG. 5. It has been detected that in this type of gyroscopes, it is advantageous to set the test frequency inputs close to the unity gain-bandwidth product frequency of the loop, i.e. to a range where the loop gain becomes low, typically between −6 and 6 dB, preferably between −3 and 3 dB. In this range, the sense feedback loop sensitivity to parameter variations is highest and therefore facilitates improved detection and analysis of test signal responses. By means of this, the probability of groundless error alarms is significantly reduced, and the improved continuous self-test can be implemented with minimal additional mechanical or analog elements in addition to the ones already needed for the closed-loop operation.

It is apparent to a person skilled in the art that as technology advances, 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.