Method for correcting an age-related deviation of a sensor value in a sensor system

The neural graph network-based unsupervised recalibration method addresses sensor calibration deviations by adapting to sensor states, ensuring accurate output through unsupervised training, overcoming the limitations of traditional recalibration methods.

DE102023205657B3Active Publication Date: 2024-10-31ROBERT BOSCH GMBH BESCHRÄNKTER HAFTUNG 70469 STUTTGART +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
DE102023205657
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-06-16
Publication Date
2024-10-31
Estimated Expiration
2043-06-16

AI Technical Summary

Technical Problem

Existing sensor systems face challenges in maintaining optimal calibration over time due to aging effects and environmental changes, leading to deviations in sensor output that cannot be adequately corrected by traditional recalibration methods lacking sufficient knowledge of the sensor's functioning.

Method used

A data-based calibration model using a neural graph network is trained unsupervisedly to adapt to sensor states, incorporating detection and state variables, and employs an unsupervised training method to recalibrate the sensor system without labeled data, utilizing a sensor state graph and a twin model to determine a loss for recalibration.

Benefits of technology

Enables reliable sensor output correction over the lifespan of the system, maintaining accuracy despite aging and environmental influences, allowing recalibration without the need for labeled data or test bench measurements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The invention relates to a computer-implemented method for recalibrating a trained data-based calibration model (6) for use in a sensor system (1) for measuring one or more physical quantities, wherein the data-based calibration model (6) is designed as a neural graph network trained to output an output vector, comprising one or more output quantities (A) and several auxiliary quantities, depending on a sensor state graph (10) representing a sensor state, comprising the following steps: - Acquiring (S2) one or more acquisition quantities (E) with respect to the one or more physical quantities and one or more state quantities (Z) indicating one or more environmental influences on the sensor system (1);- Determining (S3) a sensor state graph (10) depending on the one or more acquisition variables (E) and the one or more state variables (Z) at an acquisition time; - Augmenting (S4) the sensor state graph (10); - Evaluating (S5) the augmented sensor state graph (10) with the data-based calibration model (6) to obtain the output vector; - Determining a loss (L) depending on the output vector; - Unsupervised training (S6) of the calibration model (6) depending on the determined loss (L).
Need to check novelty before this filing date? Find Prior Art

Description

Technical area

[0001] The invention relates to sensor systems for detecting at least one sensor variable. The invention further relates to Measures to correct ageing effects using a data-based correction model that is applied during operation the sensor system is adapted or trained unsupervised. Technical background

[0002] Sensor systems are usually calibrated after their manufacture, since the components used within deviations within a permissible tolerance. Calibration can be based on a mathematical calibration model, whereby the model parameters of the model are adapted to the individual sensor system is adapted. For example, during the calibration process with the sensor system Measured values ​​for reference states are recorded and, depending on the measured values, the model parameters are The calibration model is integrated into the sensor system so that the measured values corresponding to the raw sensor data are processed using the calibration model to provide a measured value.

[0003] Depending on the location of the sensor system, after some time of operation and / or due to accumulation effects When environmental conditions change, the original calibration is no longer optimal for the sensor system This deviation can be compensated by recalibration, but this is due to a lack of knowledge about the exact functioning of the sensor system and its calibration often In addition, the sensor system's lifetime changes due to aging effects. Behavior, so that the calibration model cannot permanently make a sufficiently good correction of the sensor value can.

[0004] Adaptive methods are already known for calibration models to adapt them to new conditions according to the actual initial calibration process. These are so-called test-time training algorithms, such as for example from the publications Liu, Yuejiang et al., ´´TTT++: When Does Self-Supervised Test-Time Training Fail or Thrive?´´, 2021 and Sun, Yu et al., ´´Test-Time Training for Out-of-Distribution Generalization´´, 2019. At For example, the training task is image classification by a neural network, where an unsupervised Retraining without a label is described. Disclosure of the invention

[0005] According to the invention, a method for adapting a data-based calibration model for a sensor system according to claim 1 and a sensor system according to the independent claim.

[0006] Further embodiments are specified in the dependent claims.

[0007] According to a first aspect, a method, in particular a computer-implemented method, for Recalibration of a data-based calibration model for use in a sensor system for measuring one or more several physical quantities, with the data-based calibration model being a neural graph Network is trained to function on a sensor state graph that represents a sensor state represents outputting an output vector containing one or more output variables and several auxiliary variables includes the following steps: - Recording one or more recording variables relating to the one or more physical variables (or which represent one or more physical quantities) and one or more State variables that affect one or more sensor-internal variables and / or one or more environmental influences specify the sensor system; - Determining a sensor state graph depending on the one or more detection variables and the one or more state variables at a recording time; - Augmenting the sensor state graph; - Evaluate the augmented sensor state graph with the data-based calibration model to determine the to obtain the output vector; - Determining a loss depending on the output vector; - unsupervised training of the calibration model depending on the specific loss.

[0008] Sensor systems, such as integrated sensor systems, such as acceleration sensors, gyroscopes, Vibration sensors, radiation sensors, capacitive and piezoelectric sensors and the like require a Calibration, with which component-specific deviations from a standard behavior can be compensated. For this purpose, calibration models can be implemented in sensor systems that an output variable as a correction variable for applying a detection variable (detected sensor raw data) (for Determination of the sensor output variable) or, depending on the detection variable, output a corrected Output sensor output variable.

[0009] A model is generally understood here to be a data-based calculation model that can be trained, to represent a desired functional relationship.

[0010] Due to the diverse influences of environmental factors and the like on the detection size, the sensor output variable is a combination of the detection variable with one or more state variables that are additional sensor elements can be recorded using the calibration model. These state variables can For example, one or more environmental influences on the sensor system, such as temperature, humidity, Air pressure, a level of pollution, an effect of electromagnetic radiation, an effect of mechanical stress, vibrations, etc. Alternatively or additionally, these state variables can For example, specify one or more sensor-internal quantities, such as sensor-detected offsets or Sensitivities of the sensors for one or more detection variables, signals from dedicated stress sensors, Signals from BITEs (built-in test equipment), signals from the amplitude or phase control of an actuator in the Sensor system, a quality and / or a frequency of detection modes of a sensor or characteristics derived therefrom.

[0011] For inertial sensors, these state variables may include one or more of the following: offsets or Sensitivities of the acceleration or yaw rate sensors, signals from dedicated stress sensors, recorded (Detection mode) phase values, signals from BITEs (built-in test equipment), signals from the amplitudes or Phase control of the drive of a yaw rate sensor, qualities and frequencies of the drive or detection modes of a Angular rate sensor, qualities and frequencies of the modes of an acceleration sensor, difference between the drive and the Detection mode frequency of a yaw rate sensor, cross-axis sensitivities of the acceleration or yaw rate sensor, and difference values ​​or a dynamic response of the quadrature or the yaw rate when applying a given quadrature or angular rate stimulus.

[0012] Depending on the one or more state variables, a correction of the detection variable can be Calibration must be carried out.

[0013] The data-based calibration model is adjusted or updated once after the sensor system has been manufactured. trained and can be retrained or fine-tuned immediately after installation in the final application Once the sensor system is used in an end application, it must be ensured during its lifetime that the sensor output provided is reliable and independent of aging and environmental influences can be provided accurately. Therefore, regular recalibration is usually required.

[0014] However, for these recalibrations, test bench data / training data are usually not available, since the sensor system is installed in an end application and test bench measurement is not possible. Therefore, the Recalibration can only be performed without labeled data. According to the above procedure, this is data-based calibration model using an unsupervised training procedure.

[0015] For this purpose, the method provides, based on one or more detection variables and one or more State variables that are recorded at a time step or recording time, a mathematical graph with to create nodes and edges.

[0016] It can be provided that the determination of the sensor state graph is carried out by nodes of the Sensor state graphs are assigned node variables that correspond to the one or more detection variables and the one or more state variables at the time of acquisition, and edges of the Sensor state graphs, each connecting two nodes of the sensor state graph, one edge size is assigned, which represents a correlation between the detection sizes representing the nodes or State variables, whereby in particular the correlation is determined by evaluating the temporal progression of the Recording variables or state variables are determined within a specified time window.

[0017] The one or more detection variables and the one or more state variables are therefore referred to as The graph can have nodes that are each assigned to one of the node sizes. Node values ​​are assumed to be the respective value of the node size at the time of acquisition. An edge connects two node and indicates the relationship between two nodes as edge values, for example in the form of a correlation between the corresponding node sizes. Instead of the correlation that results, for example, from comparing the trends of the two node sizes in question can be determined, other functions can also be used with which two of the node sizes are related to each other in A mathematical sensor state graph formulated in this way then reflects the recorded sensor state which is then represented by the values ​​of the acquisition variables as nodes and the edge values ​​of the edges between two nodes is specified.

[0018] Using a neural graph network, the data structure of the sensor state graph can be converted into a The output vector contains an output value as a correction value for the Correcting the detection variable or as a corrected sensor output. In addition, the output vector includes further Auxiliary quantities that can be used for the recalibration process.

[0019] The output vector obtained using the neural graph network is designed to to output an output variable and on the other hand to provide an output through the auxiliary variables, which is Determination of a loss suitable for training the neural graph model. The loss corresponds to a specification for the precision or prediction accuracy of the calibration model and is used for training the The above procedure allows, by representing a sensor state in the form of a Sensor state graphs and the use of a neural graph network by augmenting the sensor state Graphs to determine a loss that is suitable for unsupervised retraining of the graph neural network.

[0020] Augmenting the sensor state graph can be achieved by randomly removing one or more of the nodes, by randomly removing one or more of the edges, by randomly swapping node sizes and / or by random swapping of edge sizes can be performed.

[0021] When augmenting the sensor state graph, one or more nodes and / or one or more Edges are removed or swapped in a known manner. Omitting or swapping the nodes and / or Edges are randomly selected.The possibilities can be restricted so that only certain Augmentations are possible. Random, specific rotations of the graph can also be realized, for example. In addition, further augmentation options are conceivable, such as the specific change of numerical values etc.

[0022] In this way, it is possible to calibrate the sensor system without detecting labels, by hiding individual influencing factors by augmenting the mathematical graph on the input side, e.g. and / or interchanged. By coupling the output of the correction variable and the auxiliary variables for the Unsupervised learning of the calibration model during an initial training process can thus efficiently Recalibration must be carried out.

[0023] As soon as the sensor state is available in the form of values ​​of the one or more detection variables and the one or which is available as a mathematical graph for several state variables for a recording time, this can be of the data-based calibration model to obtain the output variable. The data-based Calibration model is designed as a neural graph network and trained to compare the output vector with the Output variable and auxiliary variables.

[0024] At the same time or at predetermined times, which can be regular, a recalibration For this purpose, the calibration model is trained using an unsupervised training procedure trained to compensate for the increasing deviations due to aging and environmental influences. Unsupervised training methods take advantage of the fact that neural graph networks lack input data are irrelevant and an evaluation can still be carried out. The unsupervised training procedure uses to determine a loss required for training, an augmented sensor state graph.

[0025] According to one embodiment, the loss can be determined by - using the calibration model, an evaluation model is provided that corresponds to the calibration model or that in addition to the calibration model one or more subordinate further includes neuron layers or data-based models, - a twin model is provided which is trained in a manner similar to the evaluation model and has a different configuration regarding the valuation model, - an augmented sensor state graph is evaluated by the evaluation model to obtain a to obtain evaluation vector; - another augmented sensor state graph is evaluated by the twin model to obtain a to obtain further evaluation vector; and - the loss is determined as a measure of a difference between the valuation vectors.

[0026] Here, for the unsupervised training procedure of the data-based calibration model, a first and a A second augmented sensor state graph can be created.

[0027] Now the evaluation is carried out using an evaluation model to create a first output vector with the auxiliary variables to obtain.

[0028] In addition to the evaluation model, a twin model is provided, which, in the same way as the calibration model is designed and trained as a neural graph network, but has a different configuration and in particular based on a different set of hyperparameters. For example, the Evaluation model, the calibration model can be used unchanged or with a first number of downstream neural layers (e.g. in the form of fully connected layers) are added to the evaluation model, while the twin model is provided, which is a completely different from the evaluation model The twin model can be configured, for example, by the calibration model with a second different number of downstream neuronal layers (e.g. in the form of fully connected layers) are formed. The evaluation model and twin model are designed so that the format of the respective output vector is the same, so that a difference between the output vectors can be easily evaluated.

[0029] In this way, the first augmented sensor state graph is evaluated by the evaluation model and the second augmented sensor state graph by the twin model. The difference between the resulting Output vectors can be evaluated by a loss.

[0030] The loss L can be calculated, for example, based on a Euclidean distance of the two resulting output vectors y ´ y of a cosine similarity L=2-2yKalmodZwilling‖yKalmod‖2‖yZwilling‖2 Kalmod twin where y is the output vector of the evaluation model and y is the output vector of the Kalmod twin twin model.

[0031] The loss is used to evaluate both the valuation model and the twin model using inherent known gradient-based methods such as backpropagation, so that this can be used to determine the Output variable can be used in conventional operation of the sensor system.

[0032] The evaluation model and the twin model are combined in an initial calibration process using of labeled data. For this purpose, the calibration model is trained together with a loss in conventionally based on training data sets that contain the sensor state graph that represents a sensor state a specific acquisition time, and includes assigned labels as an output variable to determine Model output of the output variable in the output vector by the calibration model and on the other hand by unsupervised training by augmenting the mathematical sensor state graph to determine the corresponding Auxiliary variables of the output vector of the calibration model. In addition to the classic training using Backpropagation can also be used for meta-learning or few-shot learning. The twin model can be be trained initially in a similar way. By alternately training the calibration model with the Training data sets and its modification to the evaluation model and the twin model using the unsupervised training procedure, a suitable coupling of the output variable and the auxiliary variables in the output vector can be reached.

[0033] The joint loss can be used to train the evaluation model (modified calibration model) and the twin model. Since the loss is calculated using both models, the gradients for both models with one loss. Using backpropagation, for example, the resulting loss is calculated backwards and thus the gradients are calculated. This allows the backward calculation of the backpropagation over both Models. Typically, gradients with different learning rates are applied to both models, but also be an identical learning rate.

[0034] In a further embodiment of the unsupervised training method for the data-based Calibration model can be provided in such a way that the auxiliary quantities have a Specify the output graph of the calibration model, where the loss is determined by fitting the calibration model using of the augmented sensor state graph is evaluated to create a reconstructed sensor state graph and the loss as a measure a difference between the original sensor state graph and the reconstructed Sensor state graph is determined.

[0035] Here, the auxiliary variables of the output vector represent a representation of a sensor state graph, which Shape (number of nodes and connection by the edges) of the original non-augmented sensor state The auxiliary variables can be assumed as parameters to describe the sensor state graph become.

[0036] The auxiliary variables can be determined depending on an augmented sensor state graph by evaluating the calibration model, whereby the auxiliary quantities are a reconstruction of the original Sensor state graphs should be specified. Training can be done with a loss that is the difference between the original sensor state graph (before augmentation) and the reconstructed sensor state graphs. The difference can be defined as the Euclidean distance between the original Sensor state graphs and vectors (or tensors) describing the reconstructed sensor state graph be specified.

[0037] According to one embodiment, the data-based calibration model can be initially implemented before commissioning of the Sensor system can be trained by determining the loss for a variety of sensor states and another loss from training data sets for supervised training, where a total loss is calculated from the loss and the further loss is determined, whereby the calibration model is initially trained based on the entire loss.

[0038] After the sensor system has been manufactured, the calibration model is initially trained under Using labeled training data that represents a sensor state graph of an output variable of an output vector The initial training is carried out alternately or simultaneously (with a common loss) with a step of the unsupervised training procedure based on an augmented sensor state graph as described previously, where the output vector of the calibration model is the output variable and the auxiliary variables for determining the unsupervised loss. The auxiliary variables can be a graph in the format of a sensor state graph describe.

[0039] In operation, a loss based on augmented Sensor state graphs are determined and thus the calibration model based, for example, on gradient-based This results in a corresponding Adjustment of the output variable(s) in the output vector, as these are directly linked to the Auxiliary variables of the output vector. This provides the possibility to of the sensor system available without labeled training data sets a recalibration in an improved way to execute. Brief description of the drawings

[0040] Embodiments are explained in more detail below with reference to the accompanying drawings. They show: Fig. 1 shows an exemplary sensor system for providing a value of a sensor output with a retrainable implemented calibration model; Fig. 2 is a schematic representation of a sensor state graph; Fig. 3 shows a schematic representation of a method for unsupervised retraining of a Calibration model according to a first embodiment; Fig. 4 is a flowchart illustrating a procedure for unsupervised retraining of the Calibration model as shown in Fig. 3; Fig. 5 a schematic representation of a model for unsupervised retraining of a calibration model according to a further embodiment; and Fig. 5 is a flowchart illustrating a procedure for retraining the calibration model as shown in Fig. 5. Description of embodiments

[0041] Fig. 1 shows a schematic representation of a sensor system 1 with a sensor element 2 for detecting a or several physical quantities, such as acceleration, radiation, vibration, level, etc., and for providing one or more, in particular electrical, detection quantities E, which are detected by the one or more several physical quantities. The one or more measured quantities E are determined by a Preprocessing unit 3 preprocesses, such as amplified and / or filtered. By the acquisition variables E can also be several similar physical quantities, such as accelerations in several spatial directions, be displayed.

[0042] Furthermore, one or more state sensors 4 are provided to detect state variables Z. These state variables Z can represent environmental conditions and can be a temperature, humidity, an air pressure, a mechanical stress load, such as a bending load, a vibration load, a exposure to electromagnetic radiation, etc. Furthermore, the state variables can also indicate internal represent sensory signals that indicate the states of the sensor system. For example, the state variables for example, a quadrature in an acceleration sensor or an operating voltage of a laser diode, etc. The one or more state variables Z can also be determined by the preprocessing unit 3 be preprocessed, such as amplified and / or filtered.

[0043] In a graph creation unit 5, the one or more detection variables E and the one or several state variables Z are processed into a mathematical sensor state graph 10. Such a Sensor state graph is shown as an example in Fig. 2. The one or more detection variables E and the one One or more state variables Z are referred to as node variables K, which represent the node 11 of the The nodes 11 of the sensor state graph are connected to each other by edges 12 connected or related, whereby the edges 12 are assigned a respective edge size G.

[0044] The edge sizes G can specify the edge relationships between the node sizes, for example in Form of a correlation between the node sizes. The correlation can be determined by comparing the temporal progression of the respective node sizes within a predetermined time window, which in particular at a current point in time (the last determined samples). Furthermore, the edge sizes G can also be in other forms specify a relationship between two node sizes K represented by the nodes 11. The resulting mathematical sensor state graph 10 indicates the state of the sensor system 1 at a specific time step, ie a point in time at which data is collected.

[0045] The edge sizes can be determined once in special measurement series. Time series can be different environmental conditions to capture time series in time windows and to Furthermore, the edge sizes can also be determined by the previous supervised training determined by varying the edge sizes during training in order to achieve a kind of hierarchical training to determine the optimal values. The training can be repeated several times with different edge sizes, which can be varied, for example, in a Bayesian manner.

[0046] The sensor state graph is now fed to a trained data-based calibration model 6, which initially is trained. On the output side of the calibration model, an output vector with an output variable for each of the or several measured variables E and other auxiliary variables. The one or more output variables can correspond to a sensor output quantity A, which is corrected in particular according to the calibration model 6 and which clearly corresponds to the measure of the physical quantity represented by the respective detection quantity E Alternatively, the respective output variable can also be a correction variable with which the respective Detection size can be applied e.g. in an optional loading block 7, for example additively or multiplicative to calculate the sensor output A depending on the sensor state.

[0047] The calibration model 6 is initially trained based on training data sets in which a Sensor state graph is assigned to one or more output variables that correspond to the measured physical quantity or from which it can be determined. The initial training of the calibration model is described in more detail below described.

[0048] During operation of the sensor system 1, due to aging effects and / or Environmental influences lead to deviations in the sensor behavior, so that the calibration model 6 increasingly less the real sensor system 1. The resulting sensor output can thus represent the measured physical size become increasingly poor, which distorts the measurement result. For this purpose, a calibration control unit 8 which are to be used regularly or at predetermined intervals during the operation of the sensor system 1 in an end application Time points or externally triggered recalibration using an unsupervised training procedure.

[0049] In the following, embodiments for carrying out a recalibration of the calibration model 6 are described in more detail described.

[0050] During recalibration, the data-based calibration model 6 or its model parameters are changed, so that one or more of the recorded variables are corrected in a different way. The training of the data-based Calibration Model 6 aims to provide one or more provide several output variables, each of which corresponds to the sensor output variable as a corrected detection variable or a Correction size for subsequently correcting the acquisition size and for providing a is suitable for or contributes to the sensor output quantity assigned to the corresponding physical quantity.

[0051] Using the schematic diagram of Fig. 3 and the flow chart of Fig. 4, a method for Retraining the calibration model is described in more detail. The method starts in step S1 from providing a calibration model 6, which was initially trained based on training data sets.

[0052] In step S2, a sensor state is detected for a specific time step or detection time and in step S3 creates a sensor state graph as described above. The sensor state is determined by the one or more Recording variables and one or more state variables are specified.

[0053] In a subsequent step S4, a first augmented Sensor state graph and a second augmented sensor state graph are generated. The augmentation of the Sensor state graphs can be created by omitting nodes and / or edges or swapping nodes and edges as shown schematically in Fig. 3. The augmentation is random and, above all, independent of Values ​​of the acquisition variables and / or one or more state variables.

[0054] An evaluation model 21 is provided which corresponds to the calibration model and the output vector as the evaluation vector B. Alternatively, the evaluation model can use the calibration model 6 and one or several further downstream first neuron layers 22 in the form of Fully-Connected Layers (MLP), which Further process the output vector of the calibration model and provide an evaluation vector on the output side. Other extensions with one or more neuron layers or other data-based models are also possible. conceivable.

[0055] Furthermore, a twin model 23 is provided which, in a manner identical to the evaluation model 21 trained, but has a different configuration 24. The twin model 23 may include the calibration model 6 and be modified in a different way than the evaluation model 21 in order to realize the difference of the configuration 24.

[0056] During the initial training of the evaluation model 21, the twin model 23 is also trained with the aim of that this provides an evaluation vector B identical to the evaluation model 21. The evaluation model 21 and the twin model 23 are each suitable to process a graph as input and the evaluation vectors B, which have similar formats.

[0057] The twin model 23 is also designed as a neural graph network like the calibration model, but have a different structure based on a different selection of hyperparameters.

[0058] The evaluation model 21 and the twin model 23 can also be identical but by different numbers of subsequent fully connected layers, so that both data-based neural graph network models are not 1:1 copies of each other and different configurations have.

[0059] As part of an unsupervised training step for retraining the calibration model, in step S5 the evaluation model 21 with the first augmented sensor state graph and the twin model 23 with the second augmented sensor state graph is evaluated to obtain the evaluation vectors B.

[0060] In step S6, the evaluation model 21 and the twin model 23 are trained using a loss L. The loss is calculated by comparing the evaluation vectors B of the evaluation model 21 and the twin model 23 as a difference between the resulting evaluation vectors B. For this purpose, the evaluation vectors B be checked for a Euclidean distance or a cosine similarity to determine the loss L. The Loss L essentially evaluates the distance between the evaluation vectors B.

[0061] The retraining is carried out in both the evaluation model 21 and the twin model 23 based on gradient-based training procedure. Since the evaluation model 21 contains the calibration model 6 This process adapts the calibration model to the sensor condition. Calibration model 6 then serves to to correct the detection signal and improve the performance of the sensor system 1.

[0062] According to a further embodiment, the retraining can be carried out without the use of a twin model 23 Based on the schematic diagram in Fig. 5 and the flow chart in Fig. 6, a Ver The method for retraining the calibration model 6 is described in more detail. In step S11, the method starts from the Providing a calibration model 6 that was initially trained based on training data sets.

[0063] In step S12, a sensor state is detected for a specific time step or detection time and how A sensor state graph 10 is created as described above. The sensor state is determined by the one or more Recording variables E and one or more state variables Z are specified.

[0064] For this purpose, in step S13, in the manner described above, an augmented sensor state graph 10 is created from the Sensor state graph 10 of a current sensor state or a sensor state at a specific time in as described above. This sensor state graph 10 is augmented and assigned to the calibration model 6 supplied.

[0065] The calibration model 6 is designed to evaluate the augmented sensor state graph to To provide an output vector which comprises one or more output variables A and auxiliary variables which represent a sensor state graph 10 whose format corresponds to an original sensor state graph.

[0066] Thus, the calibration model 6 can be designed, in addition to the output of the output variables, also - described by the auxiliary variables - a sensor state graph 10 from an augmented sensor state graph to which corresponds to the original sensor state graph. By comparing the original Sensor state graphs with the reconstructed sensor state graph, a loss L can be used as the evaluated difference between the sensor state graphs 10. The difference can be determined based on parameters of the Sensor state graphs, which can be described as graph vectors, in particular by determining a Euclidean distance or a cosine similarity of the two graph vectors.

[0067] In step S14, the calibration model 6 is trained based on the loss L.

[0068] This embodiment has the advantage that only a single augmentation of the sensor state graph needs to be done and only one data-based neural graph network model needs to be trained.

[0069] In this way, the model parameters of the data-based calibration model 6 can also be adjusted accordingly be adapted and applied online, ie during the ongoing operation of the sensor system 1.

[0070] Before using the sensor system 1, it is necessary to initially train the calibration model 6. the elements of the output vector, namely the one or more output variables A and the auxiliary variables in a In such a way that during unsupervised training during operation of the sensor system 1 - as described above - the model parameters of calibration model 6 are changed so that an optimal Adjustment or correction of the recording variables can be made.

[0071] When initially training the calibration model, it is necessary to determine the one or more Output variables must be linked with the auxiliary variables that are also output in a suitable manner. For this purpose, a combined Training is provided, which alternates or parallels a supervised training based on training data sets and a supervised training based on the loss, which for example is achieved with one of the training methods described above The training is preferably carried out under varying environmental conditions (ie varying state variables) for a large number of different values ​​of physical quantities in order to obtain the best possible to achieve space-filling mapping of an input data space by the calibration model.

[0072] The training data sets for the supervised training result from a measurement of the sensor system on a test bench in which one or more physical quantities applied by the sensor system are to be measured and the corresponding recording variables are recorded. The applied physical Sizes are assigned to a sensor output size that the sensor system should output when the corresponding physical quantities. Thus, the training data sets correspond to an input vector from one or the several acquisition variables and the one of the several state variables (at a certain applied physical quantity), which is associated with the corresponding physical quantity Sensor output size is labeled.

[0073] While the Loss L for the unsupervised training is largely based on the evaluation of the auxiliary variables unsupervised output side of the calibration model 6, the determination of the monitored loss L is based on the respective supervised Evaluation of the training data sets, in particular from the comparison of the label of the training data set with the one or more output variables of the calibration model.

[0074] Both loss values ​​L , L resulting from this can be added to a total loss L , as follows, unsupervised supervised total are calculated as follows: Ltotal=λ1⋅Lunsupervised+λ2⋅Lsupervised. where λ and λ 1 2 Weighting factors that can be specified in advance. In this way, the calibration model 6 can initially be trained to perform both tasks, namely the output of one or more correct output variables and the Output of auxiliary variables that enable the unsupervised retraining of the calibration model, together with solve.

[0075] The recalibration may be performed during each acquisition time step prior to the determination of the one or more Output variables are carried out so that when determining the output variable(s), the most current state of the sensor system can be taken into account.

[0076] Furthermore, it can be provided that in addition to the step of retraining at each acquisition time of the sensor system 1, the calibration model 6 is reset, ie the model parameters of the calibration model 6 are reset to the initial values ​​obtained during the initial training. This has the advantage that the Recalibration can lead to a not too high deviation of the model parameters of the calibration model 6 and This results in a deterioration of performance over time. Instead, only a foreseeable parameter space for the variation of the model parameters of the calibration model, which is already sufficient for a safe application can be controlled and determined during the training phase.

Claims

1. Method, in particular a computer-implemented method, for recalibrating a trained data-based Calibration model (6) for use in a sensor system (1) for measuring one or more physical Sizes, wherein the data-based calibration model (6) is designed as a neural graph network that trains is to generate an output vector depending on a sensor state graph (10) representing a sensor state which includes one or more output variables (A) and several auxiliary variables, with the following steps: - detecting (S2) one or more detection variables (E) relating to the one or more physical variables and one or more state variables (Z) indicating one or more environmental influences on the sensor system (1), at a point in time; - determining (S3) a sensor state graph (10) depending on the one or more detection variables (E) and the one or more state variables (Z); - Augmenting (S4) the sensor state graph (10); - Evaluating (S5) the augmented sensor state graph (10) with the data-based calibration model (6) in order to to obtain the output vector; - Determining a loss (L) depending on the output vector; - unsupervised training (S6) of the calibration model (6) depending on the determined loss (L).

2. The method according to claim 1, wherein the determination of the sensor state graph (10) is carried out by nodes of the Sensor state graphs (10) are assigned node variables that correspond to the one or more detection variables (E) and which correspond to one or more state variables (Z) at the time of acquisition, and edges of the Sensor state graphs (10), each connecting two nodes of the sensor state graph (10), each having a Edge size is assigned, which represents a correlation between the nodes connected by the respective edge represented recording variables (E) or state variables (Z), whereby in particular the correlation is determined by Evaluation of temporal courses of the recorded variables (E) or state variables (Z) within a given time window is determined.

3. The method according to claim 2, wherein the augmentation of the sensor state graph (10) is carried out by randomly removing a or more of the nodes, by randomly removing one or more of the edges, by randomly swapping node sizes and / or by randomly swapping edge sizes.

4. Method according to one of claims 1 to 3, wherein the loss (L) is determined by - using the calibration model (6), an evaluation model is provided that corresponds to the calibration model (6) or that in addition to the calibration model (6) one or more downstream neuron layers or includes data-based models, - a twin model (23) is provided which is trained in a manner similar to the evaluation model (21) and has a different configuration (24) with respect to the evaluation model (21), - an augmented sensor state graph (10) is evaluated by the evaluation model (21) in order to to obtain an evaluation vector (B); - a further augmented sensor state graph (10) is evaluated by the twin model (23) in order to obtain a further to obtain evaluation vector (B); and - the loss is determined as a measure of a difference between the valuation vectors (B).

5. The method according to claim 4, wherein depending on the loss (L), both the evaluation model and the twin model is retrained.

6. Method according to claim 4 or 5, wherein the loss (L) is determined as cosine similarity or as Euclidean distance.

7. Method according to one of claims 1 to 3, wherein the calibration model (6) is provided such that the Auxiliary variables specify an output graph of the calibration model (6); where the loss (L) is determined by - the calibration model (6) is evaluated using the augmented sensor state graph (10) in order to to obtain the reconstructed sensor state graph (10); - the loss (L) as a measure of a difference between the original sensor state graph (10) and the reconstructed sensor state graph.

8. Method according to one of claims 1 to 7, wherein the data-based calibration model (6) is initially of the sensor system (1) is trained (S1) by determining the loss (L) for a large number of sensor states and a further loss (L) is determined from training data sets for supervised training, whereby a total loss (L) is the loss (L) and the further loss, with which the calibration model (6) is initially trained.

9. Method according to one of claims 1 to 8, wherein the one or more output variables (A) comprise one or more Correction variables for applying the one or more detection variables (E) in order to be dependent on the one or more sensor output variables from one or more correction variables, or wherein the one or more the plurality of output variables (A) correspond to the one or more sensor output variables.

10. Method according to one of claims 1 to 9, wherein the calibration model (6) is used by depending on the one or more detection variables (E) and the one or more state variables (Z) of the Sensor state graph (10) is determined, wherein depending on the sensor state graph (10) one or the several output variables (A).

11. Device with a data processing device which is designed to carry out the method according to one of claims 1 to 10 to execute.

12. A computer program product comprising instructions which, when executed by at least one Data processing device causes them to carry out the steps of the method according to one of claims 1 to 9 to execute.

13. Machine-readable storage medium comprising instructions which, when executed by at least one Data processing device causes them to carry out the steps of the method according to one of claims 1 to 9 to execute.

Citation Information

Patent Citations

  • Inertial sensor and computer-implemented method for self-calibration of an inertial sensor

    DE102019214984A1

  • Method for operating a driver assistance system and driver assistance system for a vehicle

    DE102020204321A1

  • Method and apparatus for calibrating and operating a sensor component using machine learning methods

    DE102020209481A1

  • SENSOR DEVICE AND CALIBRATION METHOD

    DE102020213808A1

  • Causal discovery and missing value imputation

    EP4123509A1