Calibration method and device of force sensor, electronic equipment, storage medium and product

By establishing a sensor simulation model and training the calibration model with a small amount of actual loading and a large amount of virtual loading, the problems of long time consumption and high cost in the existing technology are solved, and efficient force sensor calibration is achieved.

CN123135299APending Publication Date: 2026-11-20SHENZHEN XJCSENSOR TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611637588.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-22
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing force sensor calibration methods require multi-point loading on a dedicated multi-component force standard machine or complex loading fixture, which is time-consuming, costly in terms of equipment and labor, and difficult to complete the calibration efficiently.

Method used

By establishing a simulation model of the sensor, performing a small amount of actual loading to adjust the model, generating a large amount of virtual loading data, training and calibrating the model, reducing the number of actual loading points, and improving calibration efficiency.

Benefits of technology

It reduces calibration time and labor costs, decreases reliance on calibration equipment, and improves calibration efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123135299A_ABST
    Figure CN123135299A_ABST
Patent Text Reader

Abstract

The application provides a force sensor calibration method and device, electronic equipment, storage medium and product; the method comprises the following steps: establishing a first simulation model based on the parameter information corresponding to the sensor to be calibrated; actually loading the sensor to obtain actual loading data containing loading values and channel output information; correcting the first simulation model based on the actual loading data to obtain a second simulation model; virtually loading the second simulation model to obtain virtual loading data containing loading values and virtual channel output information; training a first model based on the actual loading data and the virtual loading data; the first model is used to output predicted load information based on the channel output information. In this way, a large number of single-axis and composite loading points are not required for actual calibration during calibration, thereby reducing the calibration time and labor cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of sensor technology, and in particular to a calibration method, apparatus, electronic device, storage medium and product for a force sensor. Background Technology

[0002] In related technologies, the calibration of force sensors typically requires multi-point loading in both positive and negative directions on a dedicated multi-component force standard machine or complex loading fixture, followed by composite loading, to establish a decoupling matrix or nonlinear mapping model from the original signal to the standard load. To cover the range, direction, inter-axis coupling, and nonlinear regions, a large number of physical loading points are required, resulting in a long calibration time and demanding high standards for calibration equipment and operators. Summary of the Invention

[0003] In view of this, embodiments of this application provide a calibration method, apparatus, electronic device, storage medium, and product for a force sensor, aiming to provide a calibration method that can improve calibration efficiency.

[0004] The technical solution of this application embodiment is implemented as follows: In a first aspect, embodiments of this application provide a calibration method for a force sensor, the method comprising: A first simulation model is established based on the parameter information of the sensor to be calibrated; The sensor is actually loaded to obtain actual loading data containing loading values ​​and channel output information; The first simulation model is corrected based on the actual loading data to obtain the second simulation model; The second simulation model is virtually loaded to obtain virtual loading data containing loading values ​​and virtual channel output information; A first model is trained based on the actual loading data and the virtual loading data; the first model is used to output predicted load information based on channel output information.

[0005] In some embodiments, the method further includes: The sensor is actually loaded to obtain test data containing the load value and channel output information; Based on the test data and the first model, a test result characterizing whether the first model is qualified is determined.

[0006] In some embodiments, the method further includes: If the test results determine that the first model is unqualified, then the sensor is actually loaded based on the latest loading point to obtain updated actual loading data; The first simulation model is corrected based on the updated actual loading data to obtain the second simulation model; The second simulation model is virtually loaded to obtain virtual loading data; The first model is trained based on the updated actual loading data and the virtual loading data; Repeat the above steps until the first model is determined to be qualified based on the test results.

[0007] In some embodiments, the method further includes: Based on multiple candidate loading points and the first simulation model, determine the sensitivity information corresponding to the adjustable model parameters in the first simulation model; Based on the sensitivity information, the candidate loading points are filtered to obtain the loading points corresponding to the actual loading data.

[0008] In some embodiments, the step of correcting the first simulation model based on the actual loaded data to obtain the second simulation model includes: Input the loading value from the actual loading data into the first simulation model to obtain the corresponding virtual channel output information; Based on the comparison between the channel output information in the actual loaded data and the virtual channel output information output by the first simulation model, the adjustable model parameters in the first simulation model are corrected to obtain a second simulation model, so that the error between the virtual channel output information output by the second simulation model and the channel output information in the actual loaded data is within a preset error range.

[0009] In some embodiments, the method further includes: The load Jacobian matrix is ​​determined based on the virtual loading data and the second simulation model; The effective load region is determined based on the load Jacobian matrix; wherein, when the loading point is located in the effective load region, the first model outputs predicted load information.

[0010] In some embodiments, training the first model based on the actual loaded data and the virtual loaded data includes: A first model is trained based on the actual loaded data, the virtual loaded data, and the composite loss function; wherein... The composite loss function is the sum of the products of multiple loss functions and their corresponding weights; the composite loss function includes: a first loss function for measuring the difference between the predicted load information output by the first model based on the channel output information in the actual loaded data and the corresponding loaded value; a second loss function for measuring the difference between the predicted load information output by the first model based on the virtual channel output information and the corresponding loaded value; and a third loss function for measuring the difference between the virtual channel output information output by the second simulation model based on the predicted load information from the first model and the channel output information or virtual channel output information input to the first model.

[0011] Secondly, embodiments of this application provide a calibration device for a force sensor, the device comprising: The simulation module is used to establish a first simulation model based on the parameter information of the sensor to be calibrated; The actual loading module is used to perform actual loading on the sensor to obtain actual loading data containing loading values ​​and channel output information; The simulation model correction module is used to correct the first simulation model based on the actual loaded data to obtain the second simulation model. The virtual loading module is used to virtually load the second simulation model to obtain virtual loading data containing loading values ​​and virtual channel output information. The calibration model training module is used to train a first model based on the actual loading data and the virtual loading data; the first model is used to output predicted load information based on channel output information.

[0012] Thirdly, embodiments of this application provide an electronic device, the electronic device including a processor and a memory for storing a computer program capable of running on the processor, wherein, The processor is configured to execute the steps of the method described in the first aspect when running a computer program.

[0013] Fourthly, embodiments of this application provide a storage medium storing a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect.

[0014] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described in the first aspect.

[0015] The technical solution provided in this application embodiment establishes a first simulation model based on the parameter information corresponding to the sensor to be calibrated; performs actual loading on the sensor to obtain actual loading data containing loading values ​​and channel output information; corrects the first simulation model based on the actual loading data to obtain a second simulation model; performs virtual loading on the second simulation model to obtain virtual loading data containing loading values ​​and virtual channel output information; trains a first model based on the actual loading data and virtual loading data; and uses the first model to output predicted load information based on the channel output information.

[0016] In this application, a simulation model is first established based on the relevant parameters of the sensor to be calibrated. Then, a small number of actual loading points are applied to the sensor. The simulation model is adjusted using the actual loading results to make it closer to the sensor. A large number of virtual loading results are then generated on the simulation model. The first model is trained using both the actual and virtual loading results, enabling it to calculate load values ​​based on the original signal, thus obtaining the calibration model. This eliminates the need for extensive single-axis and composite loading point calibration, reducing calibration time and labor costs, improving calibration efficiency, and decreasing reliance on calibration equipment. Attached Figure Description

[0017] Figure 1 This is a schematic flowchart of the force sensor calibration method provided in the embodiments of this application; Figure 2 This is a schematic diagram of the overall process for few-sample digital twin calibration of a six-dimensional force sensor provided in the application example of this application; Figure 3 This is a schematic diagram of the process for selecting identifiable entity anchor points provided in the application example of this application; Figure 4 This is a schematic diagram of the individual digital twin parameter identification process for a single sensor provided in the application example of this application; Figure 5 This is a schematic diagram of the training process for physical digital twin and physical constraint inverse mapping provided in the application example of this application; Figure 6 This is a schematic diagram of the adaptive entity point filling process provided in the application example of this application; Figure 7 This is a schematic diagram of the structure of the calibration device for the force sensor provided in the embodiments of this application; Figure 8 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0018] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0019] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of this application.

[0020] In related technologies, the calibration of force sensors typically requires multi-point loading in both positive and negative directions on a dedicated multi-component force standard machine or complex loading fixture, followed by composite loading, to establish a decoupling matrix or nonlinear mapping model from the original signal to the standard load. To cover the range, direction, inter-axis coupling, and nonlinear regions, a large number of physical loading points are required, resulting in a long calibration time and demanding high standards for calibration equipment and operators.

[0021] In various embodiments of this application, a simulation model is first established based on the relevant parameters of the sensor to be calibrated. Then, a small number of actual loading points are applied to the sensor. The simulation model is adjusted using the actual loading results to make it closer to the sensor. A large number of virtual loading results are then generated on the simulation model. The first model is trained using the actual and virtual loading results, enabling it to calculate the load value based on the original signal, thus obtaining the calibration model. In this way, calibration does not require a large number of single-axis and composite loading points for actual calibration, reducing calibration time and labor costs, improving calibration efficiency, and reducing dependence on calibration equipment.

[0022] The solution proposed in this application can be applied to resistance strain gauge force sensors, and can also be extended to piezoelectric, capacitive, MEMS, or other multi-axis force sensors capable of establishing structural physical models and original signal-load mapping models. The following explanation uses a six-dimensional force sensor as an example. A six-dimensional force sensor, also known as a six-axis force / torque sensor, can simultaneously detect three-dimensional forces Fx, Fy, and Fz, and three-dimensional torques Mx, My, and Mz. A six-dimensional force sensor typically outputs at least six raw signals based on the force / torque (which can be voltage signals directly output from a bridge circuit or output signals conditioned by the acquisition channels), denoted as: .

[0023] This application provides a calibration method for a force sensor, such as... Figure 1 As shown, the method includes: Step 101: Establish the first simulation model based on the parameter information corresponding to the sensor to be calibrated.

[0024] Here, parameter information The parameters of the first simulation model can include, but are not limited to, elastic modulus, Poisson's ratio, local dimensions, beam thickness, installation boundary stiffness, strain gauge sensitivity coefficient, strain gauge position deviation, strain gauge angle deviation, bridge scaling factor, simulation channel gain, and zero point. In finite element simulation software, a digital twin model of the sensor to be calibrated, i.e., the first simulation model, can be modeled based on the parameter information. This model can be used to simulate the main physical relationship between the deformation of the elastic body after the sensor is subjected to load and the output of the bridge.

[0025] Based on the parameter information, adjustable model parameters can be further identified. Changes in adjustable model parameters can easily cause significant changes in the channel output signal of the simulation model. Specifically, according to the design drawings or material tolerances, a certain parameter in the simulation model can be adjusted to its upper and lower limits, while other parameters remain unchanged. The change in output signal under the same load can be calculated. If the change in output signal caused by the parameter change is greater than or equal to a preset change threshold, then that parameter is identified as an adjustable model parameter (or a parameter to be identified). , , This represents all the parameters of the model.

[0026] If the change in the output signal caused by the change in this parameter is less than a preset change threshold, meaning the parameter has little impact on the output, then the parameter is determined to be a nominal value and added to the nominal parameter vector. The parameters in the nominal parameter vector do not need to be adjusted or optimized.

[0027] In some embodiments, the measured parameters of the sensor to be calibrated can be added to the nominal parameter vector. For example, the actual measured thickness of the sensor beam can be directly filled into the first simulation model and fixed as the nominal value without adjustment or optimization.

[0028] In some embodiments, highly correlated parameters can be combined into equivalent parameters and used as adjustable model parameters. For example, when the adhesive transfer coefficient and channel gain affect the output only as their product, their product can be used as the equivalent channel gain for adjustment and optimization.

[0029] The first simulation model can be represented as follows: Where F represents the load input to the first simulation model, This represents the channel output signal of the first simulation model. This represents the relationship between the load and the channel output signal expressed by the first simulation model constructed based on parameter information.

[0030] In some embodiments, to speed up iterative calculations, a response surface can be fitted using finite element simulation results and used as a faster alternative model to replace the first simulation model.

[0031] In some embodiments, taking into account factors such as temperature and installation status, the first simulation model can also be represented as Where z represents auxiliary state variables such as temperature and installation status. When the system introduces z, the actual loading data and virtual loading data should be recorded with corresponding state variables, and the simulation model and the first model should also introduce the same state variables aligned to time.

[0032] Step 102: Perform actual loading on the sensor to obtain actual loading data containing loading values ​​and channel output information.

[0033] In practical applications, the location of the actual loading point needs to be selected within the six-dimensional load domain. A six-dimensional load domain that allows for both actual and virtual calibration can be established based on the product's rated range, safety factor, calibration equipment capabilities, and actual operating conditions. ,in, This indicates that the safety constraints, such as rated range, resultant force, resultant torque, tooling strength, and loading direction, meet the requirements. Fmin is the lower limit of the range, Fmax is the upper limit of the range, and F is the six-dimensional load.

[0034] The set of candidate loading points can be determined from the six-dimensional load domain. The candidate loading point set can simultaneously include positive and negative single-axis points, range boundary points, and representative composite loading points capable of inducing inter-axis coupling and higher-order nonlinearities. In some embodiments, loading points can be selected from the candidate loading point set for actual loading and virtual recording.

[0035] Step 103: Based on the actual loaded data, correct the first simulation model to obtain the second simulation model.

[0036] Here, considering that although products in the same batch have the same design parameters, each product may have slight processing errors, that is, there may be deviations in material elastic modulus, processing size errors, strain gauge position and angle deviations, differences in adhesive layer strain transmission, differences in bridge gain, differences in assembly boundary stiffness, etc. between the actual product to be calibrated and the ideal model (first simulation model). Therefore, it is necessary to modify the parameters of the first simulation model in combination with actual loading data so that the modified second simulation model can be closer to the actual product to be calibrated.

[0037] Step 104: Perform virtual loading on the second simulation model to obtain virtual loading data containing loading values ​​and virtual channel output information; Step 105: A first model is trained based on the actual loading data and the virtual loading data; the first model is used to output predicted load information based on channel output information.

[0038] Thus, by using the second simulation model to expand the loaded data, the first model is trained to calculate the six-dimensional force / torque (predicted load information) based on the channel output signal (i.e., channel output information), and the calibration model (first model) is obtained.

[0039] It is understandable that if a neural network is trained directly using a small amount of actual loading data, it is easy to overfit and insufficient load space coverage due to insufficient sample size. If a neural network is trained using only a large amount of finite element virtual data, the error between the finite element model and the actual product may be solidified into the calibration model. If the actual loading is cancelled, it is impossible to guarantee the absolute force scale (knowing exactly how much loading value a certain output corresponds to) and metrological traceability (the calibration equipment has verifiable calibration records).

[0040] The proposed solution first establishes a simulation model based on the relevant parameters of the sensor to be calibrated. Then, it applies actual loading to a small number of loading points on the sensor. The simulation model is adjusted using the actual loading results to make it more closely resemble the sensor. Next, a large number of virtual loading results are generated on the simulation model. These actual and virtual loading results are then used to train a first model, enabling it to calculate load values ​​based on the original signal, thus obtaining the calibration model. This eliminates the need for extensive actual calibration using numerous single-axis and composite loading points, reducing calibration time and labor costs, improving calibration efficiency, and decreasing reliance on calibration equipment.

[0041] In some embodiments, the method further includes: Based on multiple candidate loading points and the first simulation model, determine the sensitivity information corresponding to the adjustable model parameters in the first simulation model; Based on the sensitivity information, the candidate loading points are filtered to obtain the loading points corresponding to the actual loading data.

[0042] Based on the above example, after determining the candidate loading point set from the six-dimensional load domain, the actual loading point set can be selected from the candidate loading point set. and the actual set of loading points The loading point is loaded into the first simulation model, and the local sensitivity matrix (sensitivity information) of the channel output signal of the model to the adjustable model parameters is calculated. For the q-th loading value... Calculate the local sensitivity matrix corresponding to the adjustable model parameters. The formula is as follows: ;in, When calculating sensitivity information, the parameters of the first simulation model are temporarily set to nominal values, pending subsequent adjustment and optimization.

[0043] For the selected set of actual loading points (Determined from the candidate loading point set, the total number is) The corresponding local sensitivity matrices are stacked to obtain: ; The underscore (_) represents the total matrix obtained by arranging the local sensitivity matrices of the selected multiple loading points vertically.

[0044] Let the channel weighting matrix of a single loading point be... This is used to determine the weight of each channel in the calculation. For A loading point, Expand by block diagonal as .in, yes An identity matrix of order 1. This indicates that the weighting matrix of the same channel is used. Repeat the process Na times along the diagonal of the large matrix, so that each loading point corresponds to a set of channel weights. This represents the Kronecker product. The channel weighting matrix can be determined by noise weighting: repeatedly sampling under a fixed load, calculating the fluctuation magnitude of each channel, i.e., the standard deviation; the larger the fluctuation, the smaller the weight. Alternatively, it can be determined by amplitude normalization: selecting a reference output amplitude for each channel and taking its reciprocal. This avoids a channel from having an excessively large weight in the calculation simply because its output value is large.

[0045] Further calculation of the Fisher information matrix Used to evaluate the actual set of loading points The amount of information.

[0046] Therefore, if the actual set of loading points If one or more of the following formulas (1) to (4) are satisfied, then the actual set of loading points is determined. It can perform actual loading, that is, the loading point corresponding to the actual loaded data.

[0047] (1) (2) Here, formula (1) represents the actual set of loading points. Formula (2) represents the actual set of loading points and can maximize the logarithmic determinant of the information matrix. Maximize The minimum singular value. To satisfy both formulas (1) and (2) simultaneously, a point-by-point selection method can be used: add the loading points to the current actual loading point set according to the rules of formula (1), retain several points with larger information matrices, and further filter based on the rules of formula (2) to make the actual loading point set satisfy both formulas (1) and (2). It is a very small positive number to avoid the inability to take the logarithm when the determinant is zero.

[0048] (3) (4) Here, formula (3) represents the matrix The rank should be equal to the number of preset parameters. (or preset the number of parameters to be identified), so that each parameter to be identified can be distinguished locally; Formula (4) represents the matrix The condition number is less than or equal to the first preset condition number. This can limit the excessive amplification of measurement noise. The specific values ​​of the number of preset parameters and the number of the first preset conditions can be determined according to the actual situation.

[0049] In some embodiments, it can be understood that the actual set of load points When one or more of formulas (1)-(4) are satisfied, the total number of loading points should be such that The smaller the better.

[0050] In some embodiments, if the measurement uncertainty is different at each loading point or channel, it can also be... Set as the corresponding inverse covariance matrix or its equivalent whitening weights. Specifically, repeated sampling and loading results under stable loads, along with equipment specifications (such as calibration uncertainty, repeatability, stability of the loading equipment, and noise and resolution of the acquisition equipment), can be used to estimate the measurement fluctuations of each channel and loading point. Here, covariance refers to the covariance corresponding to the measurement fluctuations, reflecting both the magnitude of the fluctuation of each term (the difference between the measured signal and the model-predicted signal corresponding to a certain loading point or channel; for example, with 10 loading points and 6 channels per point, there are 60 error terms) and whether different channels or loading points change together.

[0051] If the terms are independent, the standard deviation of the k-th term is The whitening weight within the L2 norm can be taken as follows: The inverse covariance matrix is ​​then... The whitening weight is equivalent to dividing each error by its own fluctuation scale. Here, the L2 norm refers to the value in formula (5). The 2-norm.

[0052] For example, after determining the loading point corresponding to the actual loading data, the actual sensor is calibrated using a standard loading device to form the actual loading dataset (actual loading data). ,in, Let i be the load applied to the actual sensor. The output signal of the corresponding channel of the sensor (the signal output of the acquisition channel can also be the voltage signal output by the bridge).

[0053] The load applied to the actual sensor can be a load directly applied by a multi-component standard machine, or it can be generated by a traceable single-axis force combined with a known lever arm. For example, applying a force at a position away from the sensor reference point will generate both force and torque. For instance, applying 100 N along the y-direction with a vertical lever arm of 0.10 m from the reference point will generate a force of 100 N and a corresponding torque of 10 Nm.

[0054] In some embodiments, the step of correcting the first simulation model based on the actual loaded data to obtain the second simulation model includes: Input the loading value from the actual loading data into the first simulation model to obtain the corresponding virtual channel output information; Based on the comparison between the channel output information in the actual loaded data and the virtual channel output information output by the first simulation model, the adjustable model parameters in the first simulation model are corrected to obtain a second simulation model, so that the error between the virtual channel output information output by the second simulation model and the channel output information in the actual loaded data is within a preset error range.

[0055] The specific steps to obtain the second simulation model by correcting the adjustable model parameters (parameters to be identified) in the first simulation model can be expressed by formula (5).

[0056] (5) in, The physical allowable range of the parameter to be identified; Parameters to be identified The corresponding nominal value (the value determined during the design phase); The prior regularization weights for the parameters can be determined based on sensor development data; For the normalization or tolerance weight of each parameter, the reciprocal of the allowable variation of each parameter can be taken to unify the scale of different parameters; This indicates that the adjusted parameters will be added back to the complete parameter list. In the formula, Used to ensure that, under the same loading conditions, the predicted signal (virtual channel output information) output by the simulation model closely approximates the channel output signal (channel output information) output by the actual sensor; regularization term This is used to limit the deviation from the nominal values ​​when adjusting model parameters. Based on formula (5), the adjustable model parameters that change between the second simulation model and the first simulation model are obtained. ,Will Combined with other parameters that remain unchanged, we obtain the complete... , This refers to all the parameters of the second simulation model. Here, the second simulation model can also be called an individual digital twin.

[0057] Here, the virtual channel output information output by the second simulation model can include output signals from at least six channels. The output signal of each channel is subtracted from the corresponding output signal of the same channel in the actual loaded data. The maximum difference obtained is considered to be within a preset error range. This means that the error between the virtual channel output information output by the second simulation model and the channel output information in the actual loaded data is within the preset error range. The specific value of the preset error range can be determined according to the actual situation.

[0058] If the error between the virtual channel output information output by the second simulation model and the channel output information in the actual loaded data is already within the preset error range, the adjustable model parameters can still be further corrected to achieve... Minimum.

[0059] In some embodiments, it is necessary to determine that the error between the predicted signal (virtual channel output information) output by the second simulation model after parameter correction and the channel output signal output by the actual sensor is less than the allowable error range under the same loading conditions before the second simulation model is deemed usable; otherwise, it is necessary to continue adjusting the parameters of the simulation model or adjusting the loading point.

[0060] Understandably, the relationship between the load and the output signal expressed by the second simulation model is represented as follows: .

[0061] It is understandable that the parameters of the first simulation model can be adjusted based on the measured data of the sensor to obtain the second simulation model. For example, the model parameters can be adjusted based on the measured values ​​of the processing dimensions, the measured values ​​of the strain gauge patch coordinates, or the batch detection values ​​of the material. If measurement error is taken into account, the nominal value in the regularization term of formula (5) can be replaced with the measured value.

[0062] In some embodiments, the method further includes: The load Jacobian matrix is ​​determined based on the virtual loading data and the second simulation model; The effective load region is determined based on the load Jacobian matrix; wherein, when the loading point is located in the effective load region, the first model outputs predicted load information.

[0063] Here, to ensure that the inverse mapping from the calibration model's output channel signal to the six-dimensional load has a clear physical meaning within the target working domain (the accurately measurable load range and combined operating conditions), the local identifiability of the individual digital twin for the six-dimensional load can be further examined. Specifically, virtual loading is applied to the individual digital twin, and the load Jacobian matrix is ​​defined as follows: ; For the effective load area that the calibration model can effectively calculate and predict load information, it should meet the rules of formula (6) and formula (7).

[0064] (6) (7) Formula (7) indicates that the condition number of the load Jacobian matrix does not exceed the second preset condition number. If a certain load region does not meet the rules of formulas (6) and (7), it indicates that different six-dimensional loads in that region may produce sensor outputs that are too close, and the inverse mapping model is prone to ill-conditioned or non-uniqueness. This region should be excluded from the effective load region. When the sensor is loaded in a region outside the effective load region, it can output a low-confidence or out-of-range flag signal (such as 0 or 1) to let the host system (such as a computer) know that the current result should not be regarded as normal accuracy.

[0065] For example, after obtaining the second simulation model, the second simulation model is virtually loaded to obtain virtual loading data containing loading values ​​and virtual channel output information.

[0066] Based on the above screening, from the six-dimensional load domain The payload domain, or effective payload region, is determined in the middle. And select a virtual loading point within this load domain. The number of virtual loading points is Nv. Virtual channel output information is obtained through individual digital twins. This leads to the formation of a virtual dataset (virtual data loading). .

[0067] in, Assign confidence weights to virtual samples. Regions near entity anchor points, those with sufficient finite element model validation, or those with low parameter sensitivity can be assigned higher weights; regions at extrapolation boundaries, in highly nonlinear regions, or with high model uncertainty can be assigned lower weights. Regions with excessively low weights will not participate in the training of the calibration model.

[0068] In some embodiments, training the first model based on the actual loaded data and the virtual loaded data includes: A first model is trained based on the actual loaded data, the virtual loaded data, and the composite loss function; wherein... The composite loss function is the sum of the products of multiple loss functions and their corresponding weights; the composite loss function includes: a first loss function for measuring the difference between the predicted load information output by the first model based on the channel output information in the actual loaded data and the corresponding loaded value; a second loss function for measuring the difference between the predicted load information output by the first model based on the virtual channel output information and the corresponding loaded value; and a third loss function for measuring the difference between the virtual channel output information output by the second simulation model based on the predicted load information from the first model and the channel output information or virtual channel output information input to the first model.

[0069] For example, the inverse mapping model can be expressed as formula (8); (8) in, U represents the predicted load information output by the calibration model, where U is the channel output information input to the calibration model. To calibrate the network parameters of the model; The physical latent state is optional, meaning it may not exist in formula (8). The physical latent state is used to simulate deformations that occur inside the sensor but are not directly measured online, such as reduced-order displacement, key node displacement (how much a certain important node in the finite element model has moved), key strain modes, or other state quantities that can participate in the constraints of the mechanical equations. It is understandable that during the training of the first model, the channel output signals from the actual loading data and the virtual loading data are input into the first model to obtain the predicted load information. The predicted load information is then compared with the corresponding loading values ​​in the actual loading data and the virtual loading data to calculate at least the first loss function and the second loss function. With the goal of minimizing the first loss function and the second loss function, the parameters of the first model are iteratively optimized to finally obtain the trained first model.

[0070] In some embodiments, the trained inverse mapping model should also satisfy the constraints of formulas (9)-(10) or (11) to avoid prediction results that do not conform to the structure of the sensor to be calibrated.

[0071] A linear structure indicates that the load and deformation are approximately proportional, while a reduced-order structure indicates that the full finite element degrees of freedom are replaced with fewer deformations ("reduced-order" means using fewer representative variables to approximately describe all the deformation variables that need to be calculated in the finite element model, reducing the amount of computation). For linear or reduced-order structures, the following should be satisfied: (9) Where q represents d selected degrees of freedom or modal coefficients; K is a d×d stiffness matrix; and B is a d×6 load distribution matrix. This is used to calibrate the model output, which shows the predicted six-dimensional load (predicted load information). The constraint means that the predicted force and sensor deformation should correspond; 'd' indicates how many deformation variables the simplified model retains, the specific value of which is determined by the modeler based on simulation results; first, the main deformation variables are retained, then compared with the complete model. If the calculation error is large, more variables are added. This indicates that the stiffness matrix, obtained using the identified model parameters, is calculated from the structural model. When using a reduced-order model, Its size is d×d.

[0072] (10) Formula (10) represents the channel output signal calculated from structural deformation. Here, q represents d deformation variables; C is an m×d transformation matrix, containing the relationship from structural deformation to strain gauge strain, and then to bridge output; b represents the zero point of each channel; and U represents m channels of signal.

[0073] When large deformations or contact effects exist, the load and deformation may no longer be proportional, requiring a nonlinear structural model. For nonlinear structures, the following must be satisfied: (11) Formula (11) indicates that after substituting deformation and load into the mechanical equation, the unbalance should be zero or sufficiently small.

[0074] Thus, the inverse mapping model does not rely solely on fitting the input-output samples, but requires the predicted results to simultaneously satisfy the mechanical constraints of the actual loading point, the individual digital twin, and the sensor structure. Understandably, linear or reduced-order structures are suitable for sensor structures that satisfy small deformations and where load and displacement are proportional; nonlinear structures are suitable for loads and displacements that are not proportional (large deformations / contact, etc.). Linear or reduced-order structures and nonlinear structures are different implementation choices, and the inverse mapping model is not required to satisfy both simultaneously.

[0075] For example, when training the inverse mapping model, the actual loaded data and the virtual loaded data are used as training datasets, and a first model is trained using a composite loss function. The composite loss function includes: entity anchor supervision loss (first loss function), virtual sample supervision loss (second loss function), and virtual-real loop closure consistency loss (third loss function).

[0076] Formula (12) is the formula for the entity anchor point supervision loss, Formula (13) is the formula for the virtual sample supervision loss, and Formula (14) is the formula for the virtual-real closed-loop consistency loss.

[0077] (12) (13) (14) It is understandable that during the training of the first model, the losses should be minimized. Formula (12) indicates that the predicted load information output by the first model based on the channel output information in the actual loaded data should be close to the load value in the actual loaded data; Formula (13) indicates that the predicted load information output by the first model based on the channel output information in the virtual loaded data should be close to the load value in the virtual loaded data; Formula (14) indicates that the predicted load information output by the first model is fed into the second simulation model to obtain the channel output signal predicted by the second simulation model, and the difference between the channel output signal predicted by the second simulation model and the channel output signal input to the first model should be close. In Formula (14), the number of samples of the channel output signal input to the first model is N, and the samples can come from the virtual loaded data and the actual loaded data. It is a scaling matrix used before calculating load error, which is responsible for the dimensional normalization of the six force / moment components and the weighting of the uncertainty of the standard load of the entity; Including the reciprocal of the six-axis range ensures that all six components, regardless of their unit or magnitude, have equal status in the loss function; it also allows for the selection of more reliable loading points based on the uncertainty data of the loading points. Larger loading points allow for a greater impact on the model fitting results.

[0078] The composite loss function is the sum of the products of multiple loss functions and their corresponding weights, i.e. The sum of the weights corresponding to each loss function is 1, and the specific value of each weight can be determined according to the actual situation.

[0079] In some embodiments, the composite loss function may further include at least one of the following loss functions: Mechanical and physical residual loss: For the inverse mapping model that satisfies the linear order reduction constraint, the loss is specifically as follows: .in, This represents the sensor deformation estimated by the first model based on the signal from the k-th sample, where k represents the sample number. To calibrate the predicted six-dimensional loads output by the model, this mechanical-physical residual loss is used to check whether the "estimated deformation" and "estimated force" correspond to each other.

[0080] Loss of consistency in sensor observations:

[0081] Preferably, the composite loss function can be expressed as: ,in For network parameter regularization, These are the weights of the corresponding loss functions.

[0082] In some embodiments, the method further includes: The sensor is actually loaded to obtain test data containing the load value and channel output information; Based on the test data and the first model, a test result characterizing whether the first model is qualified is determined.

[0083] Here, in addition to being used to correct the simulation model and train the first model, some additional actual loading points should be set to verify the performance of the first model. These actual loading points are then applied to the actual sensors to obtain test data. ,in, Indicates the loaded value. This represents the corresponding channel output signal, and Nt is the number of loading points corresponding to the test data.

[0084] Then, the channel output signal from the test data is input into the first model, causing the first model to output the corresponding predicted load information, and the normalized verification error is calculated. Formula (15) is the formula for calculating the normalized verification error, where, This represents the predicted load information output by the first model.

[0085] (15) Uncertainty indices can also be determined based on test data. Formula (16) is the formula for calculating the uncertainty index.

[0086] (16) in, For the uncertainty of the inverse mapping model, Uncertainty arising from the propagation of digital twin parameters This refers to the load space distance or coverage index relative to the calibrated anchor point used for testing.

[0087] Specifically, multiple first models are independently trained using the same batch of training data and different initial parameters. The same set of sensor signals is then input into these models, and the standard deviation of the prediction results for each axis is calculated. The greater the difference in results, the more unstable the prediction, and the greater the uncertainty of the inverse mapping model. Based on the measurement error range of dimensions, material parameters, etc., the simulation model parameters are slightly adjusted, and the virtual channel output signal is recalculated under the same load. Then, the load information is calculated using the same inverse mapping model. The standard deviation of the results for each axis before and after parameter adjustment is statistically analyzed. The larger the standard deviation, the greater the uncertainty. The larger; Calculate the distances between the loaded points in the test data and existing entity anchor points (the actual loaded points used to correct the simulation model and train the inverse mapping model), and take the minimum value. A larger distance indicates fewer nearby real calibration points and less coverage. The larger. , , These are the weights corresponding to the uncertainties.

[0088] In some embodiments, the method further includes: If the test results determine that the first model is unqualified, then the sensor is actually loaded based on the latest loading point to obtain updated actual loading data; The first simulation model is corrected based on the updated actual loading data to obtain the second simulation model; The second simulation model is virtually loaded to obtain virtual loading data; The first model is trained based on the updated actual loading data and the virtual loading data; Repeat the above steps until the first model is determined to be qualified based on the test results.

[0089] Based on the above example, when the above normalized verification error Greater than the corresponding error threshold ,or That is, the uncertainty index is greater than the corresponding uncertainty threshold U. th When the inverse mapping model (first model) is determined to be unqualified, active point supplementation is required. The supplemented actual loading point F... new Formula (17) must be satisfied.

[0090] (17) in, This indicates the amount of new information about the parameters that were not fully identified at the supplementary loading point.

[0091] Specifically, ;in, and These are the information matrices before and after the point filling. For small positive numbers, 10 can be taken. -8 Or 10 -6 I is the identity matrix of the same dimension, which means that it is the same dimension as the information matrix before and after the point is filled. For example, if there are 8 parameters to be identified, the information matrix is ​​8×8, and the identity matrix here should also be 8×8.

[0092] This indicates the load space coverage value; the greater the distance between the supplementary loading point and the existing entity anchor point, the fewer nearby loading points there are. The larger.

[0093] This indicates the loading difficulty, tooling switching cost, or security risk penalty items. The specific values ​​can be determined by the R&D personnel based on the actual situation.

[0094] After adding the loading points, a new actual loading is performed based on the latest loading points, and the actively added data is added to the entity loading data to update the parameters of the second simulation model and the parameters of the inverse mapping model. The performance of the inverse mapping model is then evaluated again until the inverse mapping model is qualified.

[0095] Understandably, the loading points used for testing are different from existing entity anchor points. If a loading point used for testing needs to be used to correct the simulation model and train the inverse mapping model, then that point should be removed from the loading points used for testing, and a new loading point that has not participated in correcting the simulation model and training the inverse mapping model should be set as the loading point used for testing to maintain the separation of validation data and training data.

[0096] It is understandable that simultaneously satisfying , When the calibration is complete, the inverse mapping model training can be considered complete and qualified.

[0097] In some embodiments, determining that the inverse mapping model training is complete and satisfactory also requires that it meets the following conditions: Where s represents the current round of modified simulation model, and s-1 represents the previous round of modified simulation model; and These are the parameters obtained from these two rounds of identification (adjusted model parameters); the fraction indicates how much the parameters have changed relative to the previous round. This is used to prevent the denominator from being zero; It is the threshold for allowed changes.

[0098] Furthermore, in some embodiments, if the accuracy improvement brought by the newly added entity anchor points is less than the marginal benefit threshold, the inverse mapping model is determined to be trained successfully and qualified. The marginal benefit threshold is determined in advance during the sensor development stage, taking into account repeated measurement fluctuations and product error requirements. For example, if the accuracy improvement of the inverse mapping model is less than the change that the experiment itself can stably resolve, there is insufficient evidence to suggest that adding more anchor points is effective. However, if the product accuracy is still unqualified, training should not be stopped and the model should not be judged as qualified simply because the improvement is small; the model or calibration scheme should be adjusted again.

[0099] After the inverse mapping model is trained, during actual measurement, the sensor acquires multi-channel signals U(k), and the predicted load information is obtained through the deployed inverse mapping model. .

[0100] Because the inverse mapping model cannot directly determine whether the load exceeds the effective load range based on the unknown real load. Therefore, out-of-domain detection can be performed based on the prediction results and the input signal. If the multi-channel signal U(k) exceeds the threshold relative to the signal domain during training in terms of distance, density, reconstruction error, etc., a low confidence status flag (such as 0 or 1) is output. The host system will switch the decoupling method to basic linear decoupling matrix decoupling or the most recently used effective decoupling model, or prompt the system to recalibrate the scheme.

[0101] The technical solution provided in this application embodiment establishes a first simulation model based on the parameter information corresponding to the sensor to be calibrated; performs actual loading on the sensor to obtain actual loading data containing loading values ​​and channel output information; corrects the first simulation model based on the actual loading data to obtain a second simulation model; performs virtual loading on the second simulation model to obtain virtual loading data containing loading values ​​and virtual channel output information; trains a first model based on the actual loading data and virtual loading data; and uses the first model to output predicted load information based on the channel output information.

[0102] In this application, a simulation model is first established based on the relevant parameters of the sensor to be calibrated. Then, a small number of actual loading points are applied to the sensor. The simulation model is adjusted using the actual loading results to make it closer to the sensor. A large number of virtual loading results are then generated on the simulation model. The first model is trained using both the actual and virtual loading results, enabling it to calculate load values ​​based on the original signal, thus obtaining the calibration model. This eliminates the need for extensive single-axis and composite loading point calibration, reducing calibration time and labor costs, improving calibration efficiency, and decreasing reliance on calibration equipment.

[0103] The following section provides a more detailed description of this application with reference to application examples.

[0104] In the application example of this application, the calibration and parameter generation methods are as follows: 1) Import sensor CAD, material, strain gauge, bridge and assembly boundary information to establish a parametric master digital twin (first simulation model).

[0105] 2) Establish a six-dimensional load domain based on the product range and the loading equipment capacity.

[0106] 3) Determine the parameters to be identified based on manufacturing tolerances, sensitivity, and parameter correlation.

[0107] 4) Calculate the parameter sensitivity (sensitivity information) of the candidate load points, and select a small set of entity anchor points with identifiability based on the information matrix, matrix rank, minimum singular value or condition number.

[0108] 5) Perform anchor point loading on the standard loading device and collect actual loading data; reserve a small number of entity verification points that are not involved in training for testing the model.

[0109] 6) Use actual loaded data to identify the model parameters of the parent digital twin and form an individual digital twin (second simulation model) corresponding to a single sensor.

[0110] 7) Examine the six-dimensional load Jacobian moments of the individual digital twins, and exclude regions with insufficient local rank or excessive condition number from the effective load region or mark them as high uncertainty regions; then generate virtual loading samples covering single-axis, positive and negative, composite loads and boundary regions in the effective load region.

[0111] 8) Utilize physical anchors and virtual data to jointly train the inverse mapping model; when backpropagating using the virtual-real closed-loop consistency loss, adopt a differentiable digital twin or equivalent gradient calculation method.

[0112] 9) Test data that was never used for parameter identification and network training The entity prediction error was verified and calculated within the six-dimensional payload domain (payload region). .

[0113] 10) If the error or uncertainty exceeds the threshold, select the next high-value anchor point for entity loading and add it to the actual loaded data. This is used to update simulation model parameters and inverse mapping models; Maintain independence.

[0114] 11) After the stopping condition is met, output the second simulation model parameters, inverse mapping model, effective load area, uncertainty, entity anchor point and verification record to form a digital calibration file for a single sensor.

[0115] In this application example, a strain gauge six-dimensional force sensor with six or more bridge outputs is used as an example. A master digital twin is established based on the design CAD and finite element model. Parameters that are sensitive to the output and have identifiable characteristics, such as the equivalent correction coefficient of the elastic modulus, the gain correction coefficients of the six bridges, and the position / angle of some strain gauges, are selected as... The remaining low-sensitivity or highly relevant parameters are fixed at the nominal manufacturing values.

[0116] From all allowable loads, several uniaxial positive and negative points and a small number of composite load points are selected as anchor points using the sensitivity matrix. After the anchor points are loaded, the parameters of the second simulation model are identified. Then, a large number of virtual load samples are generated by the second simulation model. The physical constraint inverse mapping model obtains full load space coverage on the virtual samples and uses physical anchor points to correct for absolute scale and individual errors.

[0117] For batch products with limited multi-component standard machine resources, a large number of six-dimensional composite loading points can be replaced with a small number of composite anchor points with optimized information content. Some single-axis force and torque anchor points can also be achieved by using traceable single-axis force loading devices with known lever arms. Complex six-dimensional combined working conditions are mainly completed by individual digital twins, and the training results of the inverse mapping model are verified using a small number of independent composite verification points.

[0118] Sensors of the same model but different serial numbers share the same master digital twin (first simulation model), but each sensor obtains a different second simulation model through its own anchor point data. Therefore, the system can extract material batches, processing dimensions, patch positions, adhesive layers, and assembly boundary differences to form a digital calibration file with "one parameter per machine and one calibration model per machine".

[0119] After completing the initial small-sample calibration, a virtual scan was performed in the six-dimensional permissible load space. When a composite load region was detected... When the load is significantly higher than in other regions, instead of re-performing the full calibration, we actively supplement the load point by selecting a load within that region that has both high uncertainty and high parameter information and is easily implemented by the equipment as the supplementary actual loading point F. new After adding one entity load and updating the model, if both the uncertainty index and the normalized verification error meet the threshold, then the calibration ends.

[0120] If the finite element simulation model deviates significantly from the independent entity verification points under certain high loads or special composite working conditions, the weight of the corresponding virtual samples should be reduced. This involves narrowing the effective payload area or prioritizing the addition of entity anchors within that area. This prevents digital twin errors from being directly used as high-reliability training labels.

[0121] Figure 2 This is a schematic diagram of the overall process for the few-sample digital twin calibration of a six-dimensional force sensor provided in the application example of this application.

[0122] The process involves several steps. First, a parametric physical model is established based on parameter information (such as sensor CAD, material, bridge, and assembly boundary information) to obtain a parent digital twin (first simulation model). Then, identifiable entity anchor points (actual loading points) are selected from the six-dimensional candidate load domain (six-dimensional load domain). A small number of traceable entity anchor points are calibrated using these identifiable anchor points to obtain actual loading data. Next, individual parameters of the parent digital twin are identified using the actual loading data (adjustable model parameters are modified) to obtain an individual digital twin (second simulation model). In the individual digital twin, six-dimensional full load space virtual sampling (virtual loading) is performed to obtain virtual loading data. Finally, the actual loading data obtained from the small number of traceable entity anchor point calibrations and the virtual loading data are used to train a physical constraint inverse calibration model (first model). After training, the model performance is verified and the uncertainty index is evaluated using independent entities (test data). If the first model meets the stopping condition, the calibration model training is considered complete and qualified. The individual calibration model, effective domain, and digital calibration file are then output. If the first model is not satisfactory, high-quality entity anchors are added to identify individual parameters again to obtain a new individual digital twin.

[0123] Figure 3 This is a schematic diagram of the process for selecting identifiable entity anchor points provided in the application example of this application.

[0124] First, a candidate load set (candidate loading point set) is determined based on the six-dimensional load domain. The loading point to be actually loaded is selected from the candidate load set and loaded into the first simulation model. The physical model output (channel output signal of the first simulation model output) and parameter sensitivity (local sensitivity matrix) are calculated to form a stacked sensitivity matrix. The anchor point information content index (information matrix) is further calculated so as to select the anchor point under the equipment capability and safety constraints. The parameter identifiability is further judged by formula (3)-(4). If it is, the minimum entity anchor point set is output. Otherwise, the candidate combined load is increased or the parameter to be identified is adjusted.

[0125] Figure 4 This is a schematic diagram of the individual digital twin parameter identification process for a single sensor provided in the application example of this application.

[0126] The process involves determining the parameters to be identified based on nominal parameters and their allowable range of variation, and establishing a parameterized digital twin (the first simulation model). Predictive signals are calculated using this parameterized digital twin to obtain the anchor point error (the error relative to the physical anchor point). A parameter regularization term is then used to limit the adjustment range of the model parameters, thereby updating the subset of parameters to be identified (adjustable model parameters). Further checks are made to determine if convergence and physical constraints are met, specifically whether the error and parameter changes have stabilized and whether the parameters are reasonable. If so, the individual parameters are output. And individual digital twins (second simulation models), otherwise adjust the parameter subset (parameters to be identified) or add anchor points to obtain new entity anchor point data, and then recalculate the prediction signal through parameterized digital twins.

[0127] Figure 5 This is a schematic diagram of the training process for physical digital twins and physical constraint inverse mapping provided in the application example of this application.

[0128] The composite loss function is determined based on the entity anchor data (actual loaded data). This composite loss function is used to update the network parameters of the first model, resulting in a physically constrained inverse mapping model (which can be the first model after several training rounds). The physically constrained inverse mapping model then outputs predicted payloads (or optionally, physical hidden states) from the training set, backfilling the output predicted payloads into the individual digital twin to obtain the back-substituted predicted signal output by the individual digital twin (i.e., the channel output signal predicted by the second simulation model). This allows the determination of the virtual-real closed-loop consistency loss, which is then added to the composite loss function. The predicted payloads output by the physically constrained inverse mapping model can also be used to establish mechanical-physical residuals. It is added to the composite loss function.

[0129] Figure 6 This is a schematic diagram of the adaptive entity point filling process provided in the application example of this application.

[0130] After completing the initial few-sample calibration (entity anchor point loading), a virtual scan is performed within the six-dimensional load domain to obtain virtual loading data. After training the first model using both the actual and virtual loading data, the prediction uncertainty and coverage of the first model are calculated. If the uncertainty or coverage meets the requirements, the calibration model and effective load region are output; if the uncertainty or coverage does not meet the requirements, the next anchor point with the highest value is selected, and traceable entity loading is performed again to update the individual digital twin and inverse mapping models.

[0131] Based on the above analysis, the beneficial effects of this application are at least as follows: 1) Select entity anchor points based on identifiability, so that the principle of reducing calibration points is based on observable parameters and information content, rather than empirically reducing loading points.

[0132] 2) Use a small number of traceable physical anchor points to determine the absolute value scale and individual differences of a single sensor, avoiding the scale uncertainty and metrological traceability problems that exist in completely virtual calibration.

[0133] 3) By explicitly identifying the physical parameters of the simulation model corresponding to a single sensor, the nominal finite element model (first simulation model) is transformed into an individual digital twin, which helps to reduce model deviations caused by manufacturing tolerances, patch and assembly differences.

[0134] 4) By generating a large range of virtual load data in the six-dimensional payload domain through individual digital twins that have been verified for identifiability and credibility, the number of real composite loading operations can be reduced, and the long-term occupation of multi-component standard machines can be reduced.

[0135] 5) By combining physical anchor point loss, virtual sample loss, consistency between virtual and real closed loops, and mechanical and physical residual constraints, the risk of non-physical extrapolation in untested regions of few-sample neural networks can be reduced.

[0136] 6) By setting confidence weights and effective load regions for virtual samples, the errors of the finite element model are not indiscriminately solidified into the final calibration model.

[0137] 7) By using independent entity verification points and uncertainty-driven active point supplementation, real loading is added only in the truly weak load areas of the model, which helps to achieve the target accuracy with the least amount of actual calibration.

[0138] 8) The same model can share the same master digital twin, and each product only identifies a small number of individual parameters, which is suitable for batch production, one machine one file and automated calibration.

[0139] 9) The final calibration model simultaneously preserves entity anchor points, individual parameters, effective domain and uncertainty information, which has stronger interpretability and traceability than a single 6×6 decoupling matrix.

[0140] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.

[0141] In order to implement the method of the embodiments of this application, the embodiments of this application also provide a calibration device for a force sensor, which corresponds to the calibration method of the force sensor described above. The steps in the calibration method embodiments of the force sensor are also fully applicable to the calibration device embodiments of the force sensor.

[0142] like Figure 7 As shown, the calibration device for the force sensor includes: a simulation module 701, an actual loading module 702, a simulation model correction module 703, a virtual loading module 704, and a calibration model training module 705.

[0143] Simulation module 701 is used to establish a first simulation model based on the parameter information of the sensor to be calibrated; The actual loading module 702 is used to perform actual loading on the sensor to obtain actual loading data containing loading values ​​and channel output information. The simulation model correction module 703 is used to correct the first simulation model based on the actual loaded data to obtain the second simulation model. The virtual loading module 704 is used to virtually load the second simulation model to obtain virtual loading data containing loading values ​​and virtual channel output information. The calibration model training module 705 is used to train a first model based on the actual loading data and the virtual loading data; the first model is used to output predicted load information based on channel output information.

[0144] In some embodiments, the apparatus further includes: a model performance testing module 706; The model performance testing module 706 is used to actually load the sensor and obtain test data containing the loading value and channel output information. Based on the test data and the first model, a test result characterizing whether the first model is qualified is determined.

[0145] In some embodiments, the model performance testing module 706 is further configured to: If the test results determine that the first model is unqualified, then the sensor is actually loaded based on the latest loading point to obtain updated actual loading data; The first simulation model is corrected based on the updated actual loading data to obtain the second simulation model; The second simulation model is virtually loaded to obtain virtual loading data; The first model is trained based on the updated actual loading data and the virtual loading data; Repeat the above steps until the first model is determined to be qualified based on the test results.

[0146] In some embodiments, the actual loading module 702 is further configured to: Based on multiple candidate loading points and the first simulation model, determine the sensitivity information corresponding to the adjustable model parameters in the first simulation model; Based on the sensitivity information, the candidate loading points are filtered to obtain the loading points corresponding to the actual loading data.

[0147] In some embodiments, the simulation model correction module 703 is specifically used for: Input the loading value from the actual loading data into the first simulation model to obtain the corresponding virtual channel output information; Based on the comparison between the channel output information in the actual loaded data and the virtual channel output information output by the first simulation model, the adjustable model parameters in the first simulation model are corrected to obtain a second simulation model, so that the error between the virtual channel output information output by the second simulation model and the channel output information in the actual loaded data is within a preset error range.

[0148] In some embodiments, the virtual loading module 704 is further configured to: The load Jacobian matrix is ​​determined based on the virtual loading data and the second simulation model; The effective load region is determined based on the load Jacobian matrix; wherein, when the loading point is located in the effective load region, the first model outputs predicted load information.

[0149] In some embodiments, the calibration model training module 705 is specifically used for: A first model is trained based on the actual loaded data, the virtual loaded data, and the composite loss function; wherein... The composite loss function is the sum of the products of multiple loss functions and their corresponding weights; the composite loss function includes: a first loss function for measuring the difference between the predicted load information output by the first model based on the channel output information in the actual loaded data and the corresponding loaded value; a second loss function for measuring the difference between the predicted load information output by the first model based on the virtual channel output information and the corresponding loaded value; and a third loss function for measuring the difference between the virtual channel output information output by the second simulation model based on the predicted load information from the first model and the channel output information or virtual channel output information input to the first model.

[0150] It should be noted that the force sensor calibration device provided in the above embodiments is only illustrated by the division of the above-described program modules when calibrating the force sensor. In practical applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the force sensor calibration device and the force sensor calibration method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.

[0151] Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiments of this application, the embodiments of this application also provide an electronic device. Figure 8 The diagram shows only an exemplary structure of the electronic device, not the entire structure; implementation is possible as needed. Figure 8 The structure shown may be part or all of the structure.

[0152] like Figure 8As shown, the electronic device 800 provided in this application embodiment includes at least one processor 801, a memory 802, and a user interface 803. The various components in the electronic device 800 are coupled together via a bus system 804. It can be understood that the bus system 804 is used to implement communication between these components. In addition to a data bus, the bus system 804 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 8 The general labeled all buses as Bus System 804.

[0153] The user interface 803 may include a monitor, keyboard, mouse, trackball, click wheel, buttons, touchpad, or touch screen.

[0154] The memory 802 in this embodiment is used to store various types of data to support the operation of the electronic device 800. Examples of such data include any computer program used to operate on the electronic device 800.

[0155] The force sensor calibration method disclosed in this application can be applied to or implemented by the processor 801. The processor 801 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the force sensor calibration method can be completed by the integrated logic circuitry in the hardware of the processor 801 or by instructions in software form. The processor 801 can be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 801 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiments of this application can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software modules can be located in a storage medium, specifically memory 802. The processor 801 reads information from memory 802 and, in conjunction with its hardware, completes the steps of the force sensor calibration method provided in the embodiments of this application.

[0156] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0157] It is understood that memory 802 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Sync Link Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memories.

[0158] In an exemplary embodiment, this application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, such as a memory 802 storing a computer program. This computer program can be executed by the processor 801 of the electronic device 800 to complete the steps described in the method of this application embodiment. The computer-readable storage medium can be a ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM, etc.

[0159] In an exemplary embodiment, this application also provides a computer program product, including a computer program that can be executed by a processor 801 of an electronic device 800 to perform the steps described in the method of this application embodiment.

[0160] It should be noted that terms such as "first" and "second" are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. In this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0161] It should be understood that the phrase "some embodiments" throughout the specification means that a particular feature, structure, or characteristic related to an embodiment is included in at least one embodiment of this application. Therefore, "some embodiments" appearing throughout the specification does not necessarily refer to the same embodiment.

[0162] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.

[0163] In the description of the embodiments of this application, it should be noted that, unless otherwise explicitly specified and limited, the terms "connected" or "linked" should be interpreted broadly. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or a connection that allows communication between the components; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal communication between two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0164] Furthermore, the technical solutions described in the embodiments of this application can be combined arbitrarily without conflict.

[0165] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A calibration method for a force sensor, characterized in that, The method includes: A first simulation model is established based on the parameter information of the sensor to be calibrated; The sensor is actually loaded to obtain actual loading data containing loading values ​​and channel output information; The first simulation model is corrected based on the actual loading data to obtain the second simulation model; The second simulation model is virtually loaded to obtain virtual loading data containing loading values ​​and virtual channel output information; A first model is trained based on the actual loading data and the virtual loading data; the first model is used to output predicted load information based on channel output information. The process of training the first model based on the actual loaded data and the virtual loaded data includes: A first model is trained based on the actual loaded data, the virtual loaded data, and the composite loss function; wherein... The composite loss function is the sum of the products of multiple loss functions and their corresponding weights; the composite loss function includes: a first loss function for measuring the difference between the predicted load information output by the first model based on the channel output information in the actual loaded data and the corresponding loaded value; a second loss function for measuring the difference between the predicted load information output by the first model based on the virtual channel output information and the corresponding loaded value; and a third loss function for measuring the difference between the virtual channel output information output by the second simulation model based on the predicted load information from the first model and the channel output information or virtual channel output information input to the first model.

2. The method according to claim 1, characterized in that, The method further includes: The sensor is actually loaded to obtain test data containing the load value and channel output information; Based on the test data and the first model, a test result characterizing whether the first model is qualified is determined.

3. The method according to claim 2, characterized in that, The method further includes: If the test results determine that the first model is unqualified, then the sensor is actually loaded based on the latest loading point to obtain updated actual loading data; The first simulation model is corrected based on the updated actual loading data to obtain the second simulation model; The second simulation model is virtually loaded to obtain virtual loading data; The first model is trained based on the updated actual loading data and the virtual loading data; Repeat the above steps until the first model is determined to be qualified based on the test results.

4. The method according to claim 1, characterized in that, The method further includes: Based on multiple candidate loading points and the first simulation model, determine the sensitivity information corresponding to the adjustable model parameters in the first simulation model; Based on the sensitivity information, the candidate loading points are filtered to obtain the loading points corresponding to the actual loading data.

5. The method according to claim 1, characterized in that, The step of correcting the first simulation model based on the actual loaded data to obtain the second simulation model includes: Input the loading value from the actual loading data into the first simulation model to obtain the corresponding virtual channel output information; Based on the comparison between the channel output information in the actual loaded data and the virtual channel output information output by the first simulation model, the adjustable model parameters in the first simulation model are corrected to obtain a second simulation model, so that the error between the virtual channel output information output by the second simulation model and the channel output information in the actual loaded data is within a preset error range.

6. The method according to claim 1, characterized in that, The method further includes: The load Jacobian matrix is ​​determined based on the virtual loading data and the second simulation model; The effective load region is determined based on the load Jacobian matrix; wherein, when the loading point is located in the effective load region, the first model outputs predicted load information.

7. A calibration device for a force sensor, characterized in that, The device includes: The simulation module is used to establish a first simulation model based on the parameter information of the sensor to be calibrated. The actual loading module is used to perform actual loading on the sensor to obtain actual loading data containing loading values ​​and channel output information; The simulation model correction module is used to correct the first simulation model based on the actual loaded data to obtain the second simulation model. The virtual loading module is used to virtually load the second simulation model to obtain virtual loading data containing loading values ​​and virtual channel output information. The calibration model training module is used to train a first model based on the actual loading data and the virtual loading data; the first model is used to output predicted load information based on channel output information. The calibration model training module is specifically used for: A first model is trained based on the actual loaded data, the virtual loaded data, and the composite loss function; wherein... The composite loss function is the sum of the products of multiple loss functions and their corresponding weights; the composite loss function includes: a first loss function for measuring the difference between the predicted load information output by the first model based on the channel output information in the actual loaded data and the corresponding loaded value; a second loss function for measuring the difference between the predicted load information output by the first model based on the virtual channel output information and the corresponding loaded value; and a third loss function for measuring the difference between the virtual channel output information output by the second simulation model based on the predicted load information from the first model and the channel output information or virtual channel output information input to the first model.

8. An electronic device, characterized in that, The electronic device includes a processor and a memory for storing a computer program capable of running on the processor, wherein the processor, when running the computer program, performs the steps of the method according to any one of claims 1 to 6.

9. A storage medium storing a computer program, characterized in that, When the computer program is executed by the control device, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the controlled device, it implements the steps of the method according to any one of claims 1 to 6.