METHOD FOR CHECKING A SENSOR VALUE OF A MEMS SENSOR

20200172392 ยท 2020-06-04

    Inventors

    Cpc classification

    International classification

    Abstract

    A method is provided for checking a sensor value of a MEMS sensor. In the process, an output signal of the MEMS sensor is detected and the sensor value is ascertained as a function of the output signal. In addition, frequency components of the output signal are examined and a determination is made as to whether the ascertained sensor value is reliable or unreliable as a function of the examination of the frequency components. If the sensor value is determined to be unreliable, the sensor value is discarded or provided with a lower weighting, or a warning it output relating to the unreliability of the sensor value or an item of information about the unreliability of the sensor value is stored.

    Claims

    1. A method for checking a sensor value of a MEMS sensor, comprising the following steps: detecting an output signal of the MEMS sensor and ascertaining the sensor value as a function of the output signal; examining frequency components of the output signal; determining whether the ascertained sensor value is reliable or unreliable as a function of the examination of the frequency components; and when the sensor value is determined to be unreliable: (i) discarding the sensor value, or (ii) providing the sensor value with a lower weighting, or (iii) outputting a warning about the unreliability of the sensor value, or (iv) storing an item of information relating to the unreliability of the sensor value.

    2. The method as recited in claim 1, wherein the frequency components are examined for natural resonances of sensor structures of the MEMS sensor.

    3. The method as recited in claim 1, wherein the frequency components of at least one segment of a frequency spectrum of the output signal are examined.

    4. The method as recited in claim 1, wherein at least one amplitude of the frequency components is compared to at least one threshold value.

    5. The method as recited in claim 4, wherein an average amplitude of a segment of a frequency spectrum of the output signal is compared to the at least one threshold value, or an amplitude of a certain frequency corresponding to a natural resonance of sensor structures of the MEMS sensor is compared to the threshold value, or amplitudes of a certain frequency range are compared to the at least one threshold value.

    6. The method as recited in claim 1, wherein the frequency components are examined for a certain pattern or are compared to a stored pattern.

    7. The method as recited in claim 1, wherein the ascertained sensor value is detected as unreliable when an influence of external sound sources on the MEMS sensor is detected as a function of the examination, the influence being an attack on the MEMS sensor by sound waves.

    8. The method as recited in claim 1, wherein the MEMS sensor is an inertial sensor, the inertial sensor being an acceleration sensor, or a yaw rate sensor, or a gyroscope.

    9. The method as recited in claim 1, wherein the MEMS sensor is a pressure sensor, or a humidity sensor, or a temperature sensor, or a magnetic field sensor, or a gas sensor.

    10. A non-transitory machine-readable memory medium on which is stored a computer program for checking a sensor value of a MEMS sensor, the computer program, when executed by a computer, causing the computer to perform the following steps: detecting an output signal of the MEMS sensor and ascertaining the sensor value as a function of the output signal; examining frequency components of the output signal; determining whether the ascertained sensor value is reliable or unreliable as a function of the examination of the frequency components; and when the sensor value is determined to be unreliable: (i) discarding the sensor value, or (ii) providing the sensor value with a lower weighting, or (iii) outputting a warning about the unreliability of the sensor value, or (iv) storing an item of information relating to the unreliability of the sensor value.

    11. A device having a processing unit and a non-transitory memory medium on which is stored a computer program for checking a sensor value of a MEMS sensor, the computer program, when executed by the processing unit, causing the processing unit to perform the following steps: detecting an output signal of the MEMS sensor and ascertaining the sensor value as a function of the output signal; examining frequency components of the output signal; determining whether the ascertained sensor value is reliable or unreliable as a function of the examination of the frequency components; and when the sensor value is determined to be unreliable: (i) discarding the sensor value, or (ii) providing the sensor value with a lower weighting, or (iii) outputting a warning about the unreliability of the sensor value, or (iv) storing an item of information relating to the unreliability of the sensor value.

    12. A vehicle, an airplane, a robot or a mobile user terminal having a MEMS sensor, an evaluation circuit, and a device having a processing unit and a non-transitory memory medium on which is stored a computer program for checking a sensor value of a MEMS sensor, the computer program, when executed by the processing unit, causing the processing unit to perform the following steps: detecting an output signal of the MEMS sensor and ascertaining the sensor value as a function of the output signal; examining frequency components of the output signal; determining whether the ascertained sensor value is reliable or unreliable as a function of the examination of the frequency components; and when the sensor value is determined to be unreliable: (i) discarding the sensor value, or (ii) providing the sensor value with a lower weighting, or (iii) outputting a warning about the unreliability of the sensor value, or (iv) storing an item of information relating to the unreliability of the sensor value.

    13. A method for controlling a vehicle, an airplane, a robot or a mobile user terminal, using a sensor value of a MEMS sensor, comprising the following steps: detecting an output signal of the MEMS sensor and ascertaining the sensor value as a function of the output signal; examining frequency components of the output signal; determining whether the ascertained sensor value is reliable or unreliable as a function of the examination of the frequency components; and when the sensor value is determined to be unreliable: (i) discarding the sensor value, or (ii) providing the sensor value with a lower weighting, or (iii) outputting a warning about the unreliability of the sensor value, or (iv) storing an item of information relating to the unreliability of the sensor value; wherein the vehicle, the airplane, the robot or the mobile user terminal is controlled as a function of the ascertained sensor value when the sensor value is detected as reliable.

    14. The method as recited in claim 13, wherein the ascertained sensor value is discarded for the control when the sensor value is detected as unreliable.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0019] Below, the present invention will be described in greater detail with reference to the figures and on the basis of exemplary embodiments.

    [0020] FIG. 1 schematically shows an exemplary MEMS sensor.

    [0021] FIG. 2 schematically shows a block diagram for evaluating a MEMS sensor.

    [0022] FIG. 3 schematically shows an exemplary frequency spectrum of an output signal of a MEMS sensor.

    DETAILED DESCRIPTION OF EXAMPLE EMBODIMENTS

    [0023] FIG. 1 shows a MEMS sensor 1. MEMS sensor 1 has a substrate wafer 11 whose delimitation from further layers 14 is illustrated by cut-off line 12. MEMS sensor 1 has additional layers 14, which enclose a cavity 15 by substrate wafer 11.

    [0024] Layers 14 may be connected to layers 11 with the aid of a bonding method. Layers 14 are also known as sensor caps. A vacuum is preferably created inside cavity 15. The actual, functional sensor structure 13 of MEMS sensor 1 is situated inside cavity 15 and on substrate wafer 11.

    [0025] MEMS sensors such as MEMS acceleration sensors, MEMS yaw rate sensors or MEMS gyroscopes often have a large number of resonance modes due to their complex mechanical structure.

    [0026] Attacks on MEMS sensors such as the ones already described above exploit that certain resonances are able to be excited from the outside, in particular by sound waves. Movable sensor structures may thereby be excited in a manner that is not desired for the operation. This may lead to undesired deflections of the structures, which in turn cause falsified output signals and thus incorrectly ascertained sensor values. For example, a stronger or reduced deflection of structures may therefore be detected in a capacitive manner and a faulty acceleration be detected in an acceleration sensor, for instance, or a faulty yaw rate in a yaw rate sensor.

    [0027] MEMS acceleration sensors are typically set up in such a way that the resonance modes of the sensor structures are not excited during a normal operation in all possible operating states or under all possible operating conditions. In MEMS gyroscopes, the sensor structures oscillate at an operating frequency at a constant amplitude.

    [0028] In order to check sensor values and in particular to detect interference by external sound sources such as external attacks using sound waves, it is now provided to examine frequency components of the output signal.

    [0029] FIG. 2 schematically shows a MEMS sensor 21, which is connected to an evaluation circuit 22. Evaluation circuit 22 may be realized as an ASIC or a microcontroller. Evaluation circuit 22 includes an analog interface 221 by way of which the evaluation unit is able to communicate with sensor 21 and in particular is able to receive an output signal from sensor 21. The analog output signal is subjected to digital signal conditioning in downstream circuit component 222. A sensor value is determined in circuit component 223 as a function thereof, which is able to be forwarded via a digital interface 224.

    [0030] In addition, e.g., in parallel, an examination of frequency components of the digitally conditioned output signal is carried out in circuit component 225 in order to determine the sensor values in circuit component 223. Depending on the examination, it may be determined whether the ascertained sensor values are reliable or unreliable. This information is also forwarded to digital interface 224.

    [0031] Sensor 21 and evaluation circuit 22 may preferably be embedded in a technical system that further processes the sensor values of sensor 21 and indicates output values as a function thereof, or which is controlled as a function thereof or controls other units. The determination of the reliability or unreliability of sensor values is preferably taken into account in the process.

    [0032] In particular, sensor 21 and evaluation circuit 22 may be embedded in a mobile user terminal such as a smartphone, in a vehicle, in an airplane or in a robot. The MEMS sensor may be an inertial sensor, in particular, such as an acceleration sensor, a yaw rate sensor or a gyroscope. In an advantageous manner, the provided method is able to be used in autonomous or partially autonomous systems, in particular.

    [0033] The examination of frequency components may particularly include the examination of amplitudes of certain frequencies. For example, amplitudes of frequencies of a particular segment of the frequency spectrum are able to be examined or certain frequencies, e.g., frequencies of natural resonances. As a rule, an external excitation of certain modes that has an interfering effect on the output signal leads to a significant change in the frequency spectrum of the output signal and is able to be detected via this change. For example, characteristic values for the spectrum are able to be calculated or the spectrum be examined for characteristic patterns similar to digital fingerprints. In addition, certain threshold values may be defined, which should not be exceeded at certain frequencies or in certain frequency ranges.

    [0034] An exemplary segment of a frequency spectrum of an output signal of a MEMS sensor is shown in FIG. 3, the Y axis being allocated to an amplitude A and the X axis being allocated to a frequency F of the output signal. A threshold value 32 for the amplitude is defined and plotted for the illustrated frequency range. It is selected in such a way that an exceeding in the observed frequency range suggests an interfering influence by external sound sources, so that a sensor value allocated to the output signal should therefore be detected as unreliable to be on the safe side. This is the case for peak 31 in FIG. 3 because it exceeds threshold value 32. Such a threshold value may either be discarded in its entirety by a system allocated to the sensor or at least be provided with a warning in the communication with the allocated system.

    [0035] The described methods, in particular the examination of the frequency components of the output signal, are able to be realized in hardware, in software or partially in hardware and partially in software. Toward this end, in addition to or in place of the circuit components shown in FIG. 2, computer program parts stored in a memory are able to be processed by a processing unit.