The present invention relates to inertial measurement devices (IMU) for measuring inertial (linear (translational) acceleration), angular velocity, and/or angular acceleration in one or more dimensions. The present invention particularly relates to inertial measurement devices including a preprocessing of raw sensor signals including data cleaning, filtering, and the like.
IMUs are applied in various applications such as for tilting sensors, navigation purposes in mobile devices, and the like. Particularly, IMUs are commonly used in guidance systems utilized in vehicles, providing an independent and alternative source for navigation.
A standard IMU may be implemented with one or more sensor units which may be integrally implemented as MEMS-based units, The sensor units do usually include spring-biased masses which are capacitively coupled to provide a variable capacitance output depending on a motion-induced force, such as an inertial force or centripetal force, being exerted thereon. The variable capacitance is conventionally measured to provide an electrical sensor signal in the form of e.g. a voltage signal or the like.
Usually, the electrical sensor signals provided by the sensor unit are raw sensor signals. As the sensing of the sensor unit is sensitive over a wide range of physical conditions, such as temperature, ambient pressure, mechanical stress, magnetic/electromagnetic fields, cross-talking or the like, the raw sensor signals have to be preprocessed to obtain clean output sensor data, which can be used for downstream applications. Therefore, in close proximity, a preprocessing unit is coupled with the sensor unit to allow calibration, re-calibration, and/or filtering of the raw sensor signals. Preprocessing may conventionally include a compensation of the raw sensor signals, which allows for correcting misalignment of the sensing unit, and for applying a scaling factor and an offset for correcting a sensing mismatch. Such compensation may be defined by a compensation table to store the relevant compensation parameters.
Furthermore, preprocessing may include filtering of the raw sensor signals, particularly to reduce or eliminate dynamic influences, such as from high-frequency vibrations or the like. Filters may be parametrized by filter parameters. Usually, the compensation table and the filter parameters are determined by calibration, however, due to the high sensitivity of the measurement of sensor signals on ambient physical conditions, accurate sensor signals cannot be obtained under all operating situations.
Also, the sensor device may be exposed to different dynamic conditions which may require an online adaptation of filter parameters to provide output sensor data which are appropriate to be used as is in the downstream application.
It is an object of the present invention to provide an improved inertial measurement device which allows obtaining output sensor data well adapted to the dynamic conditions the device is exposed to and considering variable operating conditions.
This object has been achieved by the inertial measurement device with adaptive filtering according to claim 1 and by the method for operating an inertial measurement device according to the further independent claim.
Further embodiments are indicated in the depending subclaims.
According to a first aspect, an inertial measurement device for providing output sensor data according to a force or motion applied on the inertial measurement device is provided, comprising:
According to a further embodiment, the processing unit may comprise:
According to a further embodiment, an inertial measurement device for providing output sensor data according to a force or motion applied on the inertial measurement device is provided, comprising:
Furthermore, the sensor unit may further comprise one or more operating sensor elements, which particularly include at least one of a temperature sensor, an ambient pressure sensor, a mechanical stress sensor, a magnetic sensor, and an electromagnetic field sensor, wherein the sensor unit is configured to provide operating sensor data samples for each of the operating sensor elements wherein the processing unit respectively the filter parameter unit is configured to receive the operating sensor data samples and to provide filter parameters to the filter unit or select one of the multiple filter units depending on the operating sensor data samples, respectively.
The filter unit may comprise as filter element at least one of a complementary filter and a Kalman filter.
For instance, filter parameters may include at least of one of: a time constant, one or more elements of a state transition matrix of a Kalman filter, one or more elements of a control input matrix of a Kalman filter, one or more elements of a measurement matrix of a Kalman filter, a Kalman gain of a Kalman filter, zero location(s) of a compensation filter, pole location(s) of a compensation filter, a proportional gain of a compensation filter, an integral gain of a compensation filter, and a derivative gain of a compensation filter.
The inertial measurement device may be continuously operated in succeeding sampling cycles, in which the sensor signals of the motion sensor elements are sampled and digitalized.
Substantially, the inertial measurement device comprises a sensing unit with one or more sensing elements, such as motion sensors, e.g., accelerometers, gyroscopes and the like and a preprocessing unit including a filter unit with one or more filter elements appropriate to be applied to all sensor data which originate from the one or more sensing elements.
By means of the filter parameter unit, the filter unit is permanently adapted to the operating conditions of the inertial measurement device. The filter parameter unit is operated continuously and configured to select a set of filter parameters from a variety of preset filter parameter sets in response to motion sensor data samples and optionally to one or more operating sensor data samples.
The filter parameter unit applies rules on the sensor data samples, optionally including the one or more operating sensor data samples to select the most appropriate filter parameter set for the filter unit.
It may be provided that a rule database is configured to provide multiple sets of rules each associated with one of the multiple filter parameter sets wherein at least one of the rules being defined with a threshold, wherein in the rule-based filter determination unit is configured to retrieve the multiple sets of rules and to evaluate the sets of rules wherein particularly the result of the evaluations is associated with a filter parameter set to be applied to the one filter unit or a selection of the one of the multiple filter units, particularly by use of a lookup table.
Furthermore, at least one of the rules may depend on one of:
For instance, for the sensor data samples, the rules may apply to actual values of the sensor data or the value of a sliding average of a number of the most recent sensor data samples. Particularly, the thus obtained comparison sensor data values can be evaluated by a comparison with a respectively given threshold which determines about the filter parameter set to be selected. Basically, the filter parameter set is selected of results of comparisons with respectively given thresholds, e.g. by means of a lookup table and the like. The filter parameter sets each determine a number of filter parameters which are to handle dynamic characteristics of the sensor data samples. For instance, a translatory acceleration which has been determined over a given threshold may lead to a filter parameter of a time constant to reduce the dynamic impact of the sensor data.
Furthermore, the filter parameter unit may be configured to prohibit an application of newly selected a filter parameter set before a given dead time has expired after a time of change of the selection of the filter parameter set. So, the filter parameter unit may further be configured to apply a dead time after a change of a filter parameter set depending on a change of the dynamics according to the motion sensor data samples and optionally of the one or more operating sensor data samples. The dead time may be in a range of 0.1 to 20 s, preferably in the range of 0.5 s to 4 s, more preferably between 0.1 to 5 s. Within the dead time, the rule-based determination of the filter parameter set determination or selection is suspended to avoid numerous changes between the filter parameter sets within a short time period. This serves to avoid artifacts in the resulting output sensor data characteristics.
However, it may be provided that the dead time is disregarded and that a change of the filter parameter set is allowed if one or more of the rules determines that a comparison sensor data value exceeds the given threshold by more than a predetermined amount, such as by more as 100% of the comparison sensor data value, or undergoes the given threshold by more than 50% of the comparison sensor data value.
Furthermore, it may be provided that one or more of the filter parameters of a determined or selected filter parameter set is ramped to a new value of a respective filter parameter by a given slope to avoid abrupt changes of the filter behavior.
According to a further embodiment, the filter unit may be formed by a number of filters, each being operated with a different filter parameter set which are continuously calculated simultaneously. After each cycle, the actual sensor data is evaluated in the filter parameter unit and the corresponding output sensor data of one of the filter units is selected and provided as an output sensor data of the IMU.
Furthermore, if a change of the filter parameter sets has been determined, the filter unit being previously selected (corresponding to the previous filter parameter set) and the filter unit being newly selected (corresponding to the newly determined filter parameters) may be used to generate the value of the output sensor data value such as an average between the values of the two filter unit output data such as to avoid an unexpected behavior of the output sensor data. Further, a selection of the most plausible result within the two different results can be determined, based on previous data.
It may be provided that a compensation unit is provided to preprocess the motion sensor data samples to compensate for systematic sensor errors.
According to an embodiment, a smoothing element may be configured to low pass filter the output sensor data samples or to ramp the output sensor data samples depending on a change of the applied filter parameter set or the selected filter element, respectively.
It may be provided that the filter parameter unit is configured to provide a ramping from the previous value of the one or more filter parameters to the newly determined value of the one or more filter parameters may be made over a number of 2 to 10 sampling cycles when the respective one or more filter parameters change.
Embodiments are described in more detail in conjunction with the accompanying drawings, in which:
The motion sensors 21a, 21b can be formed with a spring-biased inertial mass which is moveable under the impact of force exertion. The movement of the inertial mass can be detected using a physical effect. For example, a capacitance change can be measured which depends on the quantity of the applied force. The measurement may provide a voltage, current or frequency signal as an electrical sensor signal x, respectively. Other physical effects for measuring forces caused by the inertial of masses can be applied as well and any kind of electrical signal can be provided. Output sensor data can further be an angle and/or a compensated angle and/or other raw.
Furthermore, operating condition sensor elements 22, which are non-motion sensors, can be included in sensor unit 2 to detect the operating conditions of the inertial measurement device 1. The operating condition sensors elements 22 may include one or more of a temperature sensor, an ambient pressure sensor, a mechanical stress sensor (for measuring strain), a magnetic/electromagnetic field sensor (e.g. for measuring the magnetic field of earth or EMV influence), or the like.
By means of an analog-digital converter 23 the sensor signals x from sensors 21a, 21b, and 22, which are basically provided as analog electrical signals X, are sampled and digitalized to provide information of the sensor signals as raw sensor data samples Xraw at an output of the sensor unit 2. The raw sensor data samples Xraw may include motion sensor data samples related to the motion sensors 21a, 21b and operating sensor data samples related to the operating sensor(s) 22. In the operation of the IMU 1, the raw sensor data samples Xraw are supplied as a data stream of successive sampling cycles with a sampling rate that can be in the range of low-frequency of several Hz up to hundreds of kHz.
The raw sensor data samples Xraw may be supplied to an optionally provided compensation unit 3 which can be hardware and/or software implemented. In the compensation unit 3 a precalibrated compensation of the raw sensor data samples Xraw is performed. The compensation may be performed according to a calibrated compensation table which includes scale factors f, bias values b for each of the sensor elements 21a, 21b, and a misalignment matrix C for correcting misalignment of the sensor elements 21a, 21b which allow for compensating of systematic sensor errors. Particularly, a compensated sensor data samples Xcomp may e.g. be obtained as Xcomp=C*f*Xraw+b with b being a given offset compensation.
The compensated sensor data samples Xcomp may be then supplied to a filter unit 4 which can be hardware and/or software implemented. The filter unit 4 may include one or more filters 41 to filter the compensated sensor data samples Xcomp. In other embodiments the raw sensor data samples Xraw may be directly supplied to the filter unit 4 where no compensation of the raw sensor data samples Xraw shall be made.
For instance, filter unit 4 may include a complementary filter and/or a Kalman filter and/or any other signal processing(s) as specific filter elements 41. The type of filter element 41 can be selected according to a given filter parameter, and the filter element 41 itself can be parametrized by filter parameters. The kind of filtering is determined by the filter parameters of a given filter parameter set. The output of the filter element 41 may be directly output at the output of the inertial measurement device 1 as output sensor data samples Xout.
Moreover, the output sensor data samples Xout may be supplied to a smoothing element 6 which is configured to depending on a change of the filter parameter set P to low pass filter the output sensor data samples Xout of the filter element 41 or to ramp the output of the filter element 41. This allows to smoothen a sudden change of the output of the filter element 41 when a change of the filter parameter set and so a change of the filtering behavior occurs.
The filter element 41 may be operated based on filter parameters. For instance, the filter parameters may be time constant or the like. For a Kalman filter as filter element, the filter parameters may include at least one of: one or more elements of a state transition matrix, one or more elements of a control input matrix, one or more elements of a measurement matrix, and/or a Kalman gain. As a compensation filter, a lead compensator, a lag compensator, a lead-lag compensator or a PID controller may be applied. For the compensation filter as filter element, the filter parameters may include at least one of: zero location(s), pole location(s), proportional gain, integral gain, and derivative gain.
Furthermore, a filter parameter unit 5 may be provided which includes a rule-based filter determination unit 51. The filter determination unit 51 may be implemented in hardware and/or software. The filter determination unit 51 may be provided with access to predetermined filter parameter sets defining filter parameters to configure the filter element 41. The filter parameter sets may be associated with selection criteria so that according to the result of the application of rules onto one or more comparison sensor data values Xc, a filter parameter set to be applied is selected.
The association between the results of the application of rules and the filter parameter set to be applied may be made by means of a stored lookup table 53. The lookup table 52 may be preconfigured and stored in the filter parameter unit 5.
The filter parameter unit 5 receives the sensor data Xraw including the inertial values of linear and/or angular acceleration and/or angular velocities, and operating parameters such as the temperature of the inertial measurement device 1 as well as the measurement of further operating conditions, such as ambient pressure, mechanical stress, magnetic/electromagnetic field exposure, or the like. Alternatively, the filter parameter unit 5 may receive the compensated sensor data samples Xcomp.
The comparison sensor data values Xc are each associated to a sensor element 21a, 21b, 22 and may each correspond to or may each be directly derived from one or more timely successive sensor data samples Xraw (of one motion sensor 21a, 21b or operating sensor 22) in a comparison value unit 52.
For instance, the actual value of a sensor data sample of one or more motion sensor elements 21a, 21b or operating sensor element 22 can be used as a comparison sensor data value. Moreover, at least one of the comparison sensor data values may correspond to a maximum or minimum value of a sensor data sample (for one sensor 21a, 21b, 22) within a given number of the respective most recent sensor data samples or a derivative of the most actual sensor data sample (for one sensor 21a, 21b, 22). Furthermore, a comparison sensor data value may be determined by a maximum gradient of the sensor data characteristics within the most recent time interval of a number of 2 to 20 sensor data samples (for one sensor 21a, 21b, 22). Moreover, a sliding average of a number of e.g. 2 to 10 most recent sensor data samples related to the respective sensor element 21a, 21b, 22 may be used as the comparison sensor data value. The comparison sensor data value for each of the sensor data elements, e.g., related to the acceleration along the x-axis, may be applied to a rule which may be in a form of a threshold comparison with a given threshold value.
The following table illustrates the selection of the filter parameter set based on a rule-based scheme evaluating the sensor data:
Thresholds a to m are given thresholds as associated to the specific rules.
In general, thresholds for the respective axes can be different within each set of rules.
The filter parameter unit 5 may further provide a functionality, wherein after a change of the selection of the filter parameter set, a next change of the filter parameter set is prohibited before a given dead time has expired. The given dead time may be between 0.5 and 4 s and is considered to avoid unstable conditions due to multiple changes of the filtering behavior within a too short time period.
However, if one of the thresholds of the rule-based scheme is exceeded or undergone by more than a given amount of e.g. 50%, dead time functionality may be suspended, and the filter parameter set is immediately changed according to the filter parameter set as determined by the rule-based filter parameter unit 5 or onto a default parameter set.
When a new selection of the filter parameter set occurs, the filter parameter unit 5 may provide a ramping between one or more of the filter parameters such as a time constant so that when the respective one or more filter parameters change, a (linear) ramping from the previous value of the one or more filter parameters to the newly determined value of the one or more filter parameters may be made over a number of 2 to 10 sampling cycles.
Furthermore, according to a different embodiment as shown in
Number | Date | Country | Kind |
---|---|---|---|
23195134.4 | Sep 2023 | EP | regional |