A decoupling method for six-dimensional force sensor
By optimizing the support vector regression machine through the improved sparrow search algorithm based on logistic chaos mapping, the inter-dimensional coupling problem of the six-dimensional force sensor is solved, the measurement accuracy is improved, the error is reduced, and a more efficient signal decoupling effect is achieved.
Patent Information
- Application Number
- CN202210194336.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-01
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-03-01
AI Technical Summary
Existing six-dimensional force sensors will produce inter-dimensional coupling when one-dimensional force is applied alone, resulting in reduced measurement accuracy. Commonly used decoupling methods such as the least squares method and BP neural network have problems with large errors or are prone to falling into local minima.
The Sparrow search algorithm based on the improved logistic chaos mapping is used to optimize the support vector regression machine. By optimizing the penalty parameter C and the kernel function parameter g, the optimal parameters are generated to train the six-dimensional force sensor model to achieve six-dimensional force and torque signals. effective decoupling.
It significantly improves the measurement accuracy of the six-dimensional force sensor, reduces errors, especially type II errors, which are reduced by 96.7% compared to the BP neural network, and improves the accuracy of decoupling.
Smart Images

Figure CN114707399B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of sensor technology, and in particular to a decoupling method for a six-dimensional force sensor. Background Art
[0002] The six-dimensional force sensor is a sensor that can measure force and torque in the three directions of X, Y, and Z. It is mainly used in force and force-position control. It can provide force information for robot control and is an important sensor for intelligent robots. It can detect the external force and torque of robot-related parts, such as wrists and fingers, and can control wrist movement and servo control to accurately complete the work.
[0003] Six-axis force sensors can be divided into strain type, capacitive type, piezoelectric type, photoelectric type and piezoresistive type according to the measurement principle. Among them, the resistive six-axis force sensor is the earliest developed, most mature and currently the most widely used type. The resistive strain type six-axis force sensor refers to a metal strain gauge pasted on an elastic body. By using the action of force and torque, the elastic body undergoes a slight deformation, which drives the metal strain gauge to bend and changes its resistance value. By measuring the change in resistance value, the force and torque information of the six-axis force sensor can be obtained.
[0004] Strain gauges are usually pasted around the elastic beam, and due to the design principle of the elastic body, it is inevitable that the six-dimensional force signal will be coupled between dimensions. That is, when a single one-dimensional force is applied, the six-dimensional electrical signal will generate output. Therefore, a decoupling algorithm is needed to decouple the output of the six-dimensional force sensor, eliminate inter-dimensional interference, and improve the measurement accuracy of the sensor.
[0005] Common decoupling methods include the least square method to find the calibration matrix, decoupling based on BP neural network, etc. However, the six-dimensional force sensor is often not a linear system, but has nonlinearity, and the least square method is likely to cause large errors. The BP neural network is prone to fall into the local minimum. Summary of the invention
[0006] Aiming at the shortcomings of the prior art and the defect that the regression accuracy of the support vector regression machine depends largely on the penalty parameter C and the kernel function parameter g, the present invention proposes a decoupling method for a six-dimensional force sensor.
[0007] In order to achieve the above technical objectives, the technical solution of the present invention is:
[0008] A decoupling method for a six-dimensional force sensor specifically comprises the following steps:
[0009] S1, perform a calibration experiment on the six-axis force sensor, use the electrical signal as input data, and use the force or torque value actually applied to the six-axis force sensor as output data;
[0010] S2, initialize the penalty parameter C and kernel function parameter g by logistic chaotic mapping method, substitute the input data, output data and initially generated penalty parameter C and kernel function parameter g into the support vector regression machine, calculate its fitness value, and sort it, and take the penalty parameter C and kernel function parameter g corresponding to the optimal fitness value as the optimized penalty parameter C and kernel function parameter g;
[0011] S3, substituting the penalty parameter C and the kernel function parameter g obtained in step S2 into the support vector regression machine for training, and obtaining a one-dimensional model of the six-dimensional force sensor;
[0012] S4, repeat steps S2 to S3 six times to obtain six one-dimensional models of six six-dimensional force sensors; each time, the electrical signal collected by the six-dimensional force sensor is used as input and transmitted to the six models respectively, so as to obtain the six-dimensional force and torque values acting on the six-dimensional force sensor, and complete the decoupling.
[0013] Furthermore, the output data is divided into six groups, namely, force TFx on the x-axis, force TFy on the y-axis, force TFz on the z-axis, torque TMx on the x-axis, torque TMy on the y-axis, and torque TMz on the z-axis.
[0014] Furthermore, the step S2 specifically includes the following sub-steps:
[0015] S201, initializing the population by using the logistic chaos mapping method to set the penalty parameter C and the kernel function parameter g;
[0016] S202, using logistic chaotic mapping to initialize the penalty parameter C and the kernel function parameter g, generating n sets of penalty parameters C and kernel function parameters g;
[0017] S203, substituting the input data and output data obtained in step S1, the penalty parameter C and the kernel function parameter g generated in step S202 into the support vector regression machine to calculate the mean square error, taking the mean square error as the fitness value, and obtaining n groups of fitness values; sorting the n groups of fitness values and the corresponding penalty parameter C and the kernel function parameter g to obtain the first optimal fitness value;
[0018] S204, if the first optimal fitness value reaches the threshold, the corresponding penalty parameter C and kernel function parameter g are used as the optimized penalty parameter C and kernel function parameter g; if the first optimal fitness value does not reach the threshold, the n groups of penalty parameters C and kernel function parameters g are divided into discoverers, joiners and alerters in proportion according to the sparrow optimization algorithm, and are optimized separately; the penalty parameter C and kernel function parameter g optimized in step S205 and the input data and output data obtained in step S1 are substituted into the support vector regression machine to calculate the fitness value, and sort them to obtain the second optimal fitness value; until the maximum number of iterations is reached, or the second optimal fitness value reaches the threshold, the optimized penalty parameter C and kernel function parameter g are obtained.
[0019] Furthermore, the step S202 is specifically as follows: firstly, a set of penalty parameters C and kernel function parameters g are randomly generated, and then other sets of parameters are generated by using the logistic chaotic mapping method, and the formula is as follows:
[0020] X n+1 =uX n (1-X n )n=1,2,3……
[0021] Among them, X n is the nth group of penalty parameters C and kernel function parameters g, X n+1 is the n+1th group of penalty parameters C and kernel function parameters g, and u is the iteration coefficient.
[0022] Furthermore, the optimization update of the discoverer is as follows:
[0023]
[0024] in, represents the d-dimensional position of the i-th individual in the t+1-th generation in the population, is a uniform random number in (0, 1], Q is a standard normal distribution random number. R2 is a uniform random number in (0, 1], R is the warning threshold, iter max is the maximum number of iterations.
[0025] Furthermore, the optimization update of the joiner is as follows:
[0026]
[0027] Among them, xw is the worst position of the sparrow in the current race, xb is the best position of the sparrow in the current race, D is the total dimension of the population, and n is the number of populations.
[0028] Furthermore, the optimization update of the sentinel is as follows:
[0029]
[0030] Among them, β is a random number that conforms to the standard normal distribution, K is a uniform random number between [-1,1], ε is a small number to prevent the denominator from being unique, and f w is the fitness value of the sparrow in the worst position, f i is the fitness value of the sparrow at the ith position, f g is the fitness value of the sparrow in the optimal position.
[0031] Furthermore, the one-dimensional model of the six-dimensional force sensor is the corresponding relationship between the electrical signal measured by the six-dimensional force sensor and the actual one-dimensional force / torque.
[0032] The beneficial effects of the present invention are as follows: the present invention proposes a decoupling method for a six-dimensional force sensor, which is a support vector regression machine algorithm optimized by a sparrow search algorithm improved based on logistic chaotic mapping, which can effectively find the optimal parameters of the support vector regression machine, improve the measurement accuracy of the six-dimensional force sensor, and reduce errors. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a six-dimensional force sensor elastic body diagram;
[0034] Figure 2 is a flow chart of the method of the present invention; DETAILED DESCRIPTION
[0035] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0036] The terms used in the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms "a", "the" and "the" used in the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0037] It should be understood that although the terms first, second, third, etc. may be used in the present invention to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0038] In order to better understand the above technical solution, the decoupling method of the six-axis force sensor of the present invention will be described in more detail below in conjunction with the accompanying drawings and specific implementation methods. In the absence of conflict, the features of the following embodiments and implementation methods can be combined with each other.
[0039] The present invention proposes a decoupling method for a six-dimensional force sensor, which is implemented by a support vector regression machine algorithm optimized by a sparrow search algorithm based on logistic chaotic mapping. In the decoupling of the six-dimensional force sensor, six support vector regression machines are needed, and the six electrical signal outputs of the six-dimensional force sensor after being subjected to force and torque are used as the input of the support vector regression machine, and each dimension of the force and torque (Fx, Fy, Fz, Mx, My, Mz) actually subjected to the six-dimensional force sensor is used as the output of the support vector regression machine. In each support vector regression machine, an improved sparrow search algorithm is needed to optimize the C and g parameters in the support vector regression machine, and the optimized C and g parameters are substituted into the support vector regression machine for training, and the model after training can be used to predict decoupling. That is, after inputting the six-dimensional force electrical signal into the support vector regression machine, the force and torque signal can be predicted and output. The algorithm is based on the completed calibration experiment and the collection of the input and output data of the six-dimensional force sensor.
[0040] The basic principle of the six-axis force sensor is as follows:
[0041] Figure 1 The elastic body diagram of the six-dimensional force sensor is shown in Figure 2. This part mainly consists of the elastic body 1 and the strain gauge 2. There are 12 strain gauges in total, which are distributed in the upper, lower, left and right positions of the three beams of the elastic body 1. The upper, lower and left and right strain gauges form a bridge in pairs, outputting a voltage signal, that is, the 12 strain gauges form a total of six groups of bridges, outputting 6 weak voltage signals U0.
[0042] The six voltage signals U0 are output after signal filtering and amplification, that is, the six voltage signals U n , these 6 voltage signals U n They are coupled with each other, so it is necessary to use a decoupling algorithm to eliminate the coupling effect and output six-dimensional force and torque data, namely Fx, Fy, Fz, Mx, My, and Mz.
[0043] In order to obtain the data needed for the decoupling algorithm, the six-dimensional force sensor needs to be calibrated to obtain the actual six-dimensional force and torque data and six-dimensional electrical signal data. Here is a brief description of the calibration experiment:
[0044] Assume that the measuring range of Fx and Fy is 0-100N, the measuring range of Fz is 0-150N, the measuring range of Mx and My is 0-7Nm, and the measuring range of Mz is 0-10Nm. Fix the six-dimensional force sensor on the designed calibration device, apply forces and torques in three directions, namely Fx, Fy, Fz, Mx, My, and Mz, to it, and collect the six output electrical signals of the six-dimensional force sensor. Taking force Fx as an example, the range of applied force is -100 to 100N, and a set of data is collected every 5N. Then apply Fx and Fy, and Mx and My to it at the same time, and collect the six output electrical signals of the six-dimensional force sensor.
[0045] After obtaining all the data, the decoupling algorithm can be used to decouple it and find the relationship between the input data and the output data.
[0046] In the algorithm designed by the invention, the support vector regression machine adopts LIBSVM, which is specifically a simple and easy-to-use SVM (support vector machine) pattern recognition and regression software package.
[0047] In the software package, you only need to use two functions in the package, which are model training function model = libsvmtrain (TS, TSX, cmd) and prediction function [predict, accuracy, values] = libsvmpredict (TS', TSX', model). TS is the label of the training sample, TSX is the feature of the training sample, cmd is the training parameter, TS' is the label of the test sample, TSX' is the feature of the test sample, model is the training model, predict is the predicted value, accuracy is a 3x 1 array, which represents the classification accuracy, the root mean square error of the regression, and the square correlation coefficient of the regression, and values represents a matrix containing the decision value or probability estimate.
[0048] Substitute all input and output data into the model training function libsvmtrain to get the corresponding model between the input and output. Then put the model and the input data to be predicted into the prediction function libsvmpredict to get the output of the prediction pair.
[0049] In the training parameter cmd, the main parameters are the penalty parameter C and the kernel function parameter g. C is the penalty coefficient, that is, the tolerance for errors. The higher C is, the less tolerant errors are, and the easier it is to overfit. The smaller C is, the easier it is to underfit. If C is too large or too small, the generalization ability will deteriorate, so a suitable value needs to be taken. g is a parameter that comes with the support vector machine after selecting the RBF function as the kernel function. It determines the distribution of the data after it is mapped to the new feature space. The larger g is, the fewer support vectors are, and the smaller g is, the more support vectors are. The number of support vectors will affect the speed of training and prediction.
[0050] Therefore, in the support vector regression machine, the parameters of C and g determine the accuracy of its regression to a great extent. Therefore, it is necessary to optimize these two parameters, which requires the use of an improved sparrow search algorithm based on logistic chaotic mapping. Then the method proposed by the present invention is described in detail below.
[0051] The present invention proposes a decoupling method for a six-dimensional force sensor, which specifically includes the following steps:
[0052] (1) The data collected during the calibration process is processed and divided into input data and output data.
[0053] In the step (1), the collected data is processed, and the specific steps are as follows:
[0054] The data collected by calibration are divided into input data and output data. The input data is the electrical signal output of the six-dimensional force sensor when it is subjected to force or torque, and the output data is the actual force or torque value applied to the six-dimensional force sensor. Among them, the output data is divided into six groups, namely TFx, TFy, TFz, TMx, TMy, and TMz. Each support vector regression machine uses one group of outputs, that is, one-dimensional output of the six-dimensional force sensor. And all data are normalized.
[0055] (2) The penalty parameter C and the kernel function parameter g are optimized using the sparrow search algorithm improved by logistic chaotic mapping.
[0056] In the step (2), the penalty parameter C and the kernel function parameter g are optimized using the sparrow search algorithm improved by logistic chaotic mapping. The specific steps are as follows:
[0057] (2.1) Set the parameters of the improved sparrow search algorithm. The first is to optimize the number of parameters. In this paper, the penalty parameter C and the kernel function parameter g of the support vector regression machine need to be optimized, so the number of optimized parameters Dim is 2. The second is to optimize the upper and lower limits of the parameters. In this algorithm, the range of the penalty parameter C is set to [0, 5], and the range of the kernel function parameter g is set to [0, 5]. Then the lower limit of the parameter ll = [0, 0], and the upper limit of the parameter ul = [5, 5]. Finally, set the number of sparrows P to 20 and the maximum number of iterations MAXI to 30. Set the warning value WV to 0.6, the proportion of discoverers DR to 0.7, the proportion of followers FR to 0.3, and the proportion of sparrows aware of danger DS to 0.2.
[0058] (2.2) Use logistic chaotic mapping to initialize the population and generate a matrix PS with 20 rows and 2 columns. The two numbers in each row represent the penalty parameter C and kernel function parameter g randomly generated within the range. The 20 rows represent 20 sets of penalty parameters C and kernel function parameters g. First, randomly generate a set of penalty parameters C and kernel function parameters g, and then use the logistic chaotic mapping formula to generate other sets of parameters:
[0059] X n+1 =uX n (1-X n )n=1,2,3……
[0060] Among them, Xn is the nth group of penalty parameters C and kernel function parameters g, Xn+1 is the n+1th group of penalty parameters C and kernel function parameters g, and u is the iteration coefficient.
[0061] When u=4, the population is in a completely chaotic state, so u is taken as 4 here. After 20 sets of data are determined through continuous iteration of this formula, the population initialization is completed.
[0062] (2.3) Calculate the initial fitness matrix Fitness, substitute the input data and output data obtained in step (1), the penalty parameter C and the kernel function parameter g generated by each row of the matrix PS into the support vector regression machine to calculate the mean square error (mse), and use mse as the fitness value. Obtain 20 sets of fitness values to form the fitness matrix Fitness. After calculating the fitness values of the parameters of each row of the matrix PS, sort the 20 fitness values to obtain the first optimal fitness value and the worst fitness value in the initial population. And sort each row of the matrix PS according to the fitness value.
[0063] (2.4) If the first optimal fitness value reaches the threshold, the corresponding penalty parameter C and kernel function parameter g are used as the optimized penalty parameter C and kernel function parameter g; if the first optimal fitness value does not reach the threshold, the next iteration is started. According to the improved sparrow optimization algorithm, the data of the first 70% rows of the matrix PS are used as the discoverer, and the position of the discoverer is updated. The data of the remaining 30% rows are used as the follower, and the position of the follower is updated. Take 20% of the data in PS at random as the vigilant, and update the position of the vigilant. Here, it is necessary to pay attention to controlling the boundaries of the data. When the data exceeds ll and ul, the data needs to be set at the boundary position. After the data processing is completed, it is a new matrix PS. Then substitute the penalty parameter C and kernel function parameter g of each row of the matrix PS data into the support vector regression machine to calculate the fitness value, and sort them to obtain the second optimal fitness value. When the iteration reaches the maximum number of iterations, or the second optimal fitness value reaches the set accuracy, the optimization of the penalty parameter C and kernel function parameter g is completed.
[0064] Among them, the position update formula of the discoverer in the sparrow is as follows:
[0065]
[0066] in, represents the d-dimensional position of the i-th individual in the t+1-th generation in the population, is a uniform random number in (0, 1], Q is a standard normal distribution random number. R2 is a uniform random number in (0, 1], R is the warning threshold, the value range is [0.5, 1], iter max is the maximum number of iterations.
[0067] The joiner's location update looks like this:
[0068]
[0069] Among them, xw is the worst position of the sparrow in the current race, xb is the best position of the sparrow in the current race, D is the total dimension of the population, and n is the number of populations. From the formula, it can be seen that when i>n / 2, its value is the product of a standard normal distribution random number and an exponential function with the natural logarithm as the base. When the population converges, its value conforms to the standard normal distribution random number (its value will converge to 0). If i<=n / 2, its value is the position of the current optimal sparrow plus the random addition and subtraction of the distance between the sparrow and the optimal position in each dimension, and the sum is evenly divided into each dimension. This process can be described as randomly finding a position near the current optimal position, and the variance of each dimension from the optimal position will become smaller, that is, there will not be a large difference from the optimal position in one dimension, while the difference in other positions is small. (Its value converges to the optimal position).
[0070] While the sparrows are foraging, some of them will be responsible for vigilance. When danger approaches, they will give up the current food. That is, no matter whether the sparrow is a finder or a follower, it will give up the current food and move to a new location. Each generation will randomly select SD individuals from the population to perform warning behavior. The position update formula is as follows:
[0071]
[0072] Where β is a random number that conforms to the standard normal distribution, K is a uniform random number between [-1,1], ε is a small number to prevent the denominator from being unique, and f w is the fitness value of the sparrow in the worst position, f i is the fitness value of the sparrow at the ith position, f g is the fitness value of the sparrow in the optimal position. From formula (3), it can be seen that if the sparrow in the warning is in the current optimal position, it will escape to a position near itself. How close it is depends on the ratio of its distance to the worst position and the difference between its own food and the worst food; if the sparrow is not in the optimal position, it will escape to the vicinity of the current optimal position. (Its value converges to the optimal position).
[0073] (3) Substitute the optimized parameters C and g into the support vector regression machine for training. The model after training is a one-dimensional model of the six-dimensional force sensor.
[0074] The one-dimensional model of the six-dimensional force sensor is the corresponding relationship between the electrical signal measured by the six-dimensional force sensor and the actual one-dimensional force / torque.
[0075] (4) The above process is repeated 6 times to obtain 6 models. Each time, the output electrical signal of the six-dimensional force sensor is used as the input signal and transmitted to the six models respectively. The six results obtained are the six-dimensional force and torque values of the six-dimensional force sensor.
[0076] In the embodiment of the present invention, the error of the six-axis force sensor is divided into two types, type I error and type II error. The type I error refers to the deviation between the actual force or torque value applied to the sensor and the ideal force or torque value, and its formula is:
[0077]
[0078] The type II error refers to the fact that the force or torque applied in this direction will interfere with other directions. The formula for this error is:
[0079]
[0080] In the formula, F 理想Refers to the force or torque that the sensor receives in this direction under ideal conditions, F 实际 It refers to the force or torque that the sensor outputs in this direction after decoupling in actual situations. 干扰 Refers to the interference output caused by the force or torque applied in this direction to other directions, F max is the range value in other directions.
[0081] In the experiment, only the maximum six-dimensional force / torque applied separately is measured and compared. The maximum type I error and maximum type II error obtained from the decoupled data can be used as the type I error and type II error of the six-dimensional force sensor after decoupling by the decoupling algorithm.
[0082] The decoupling results of the calibration data based on the least squares method are shown in Table 1 below. It can be obtained that the type I error is 5.18% and the type II error is 2.52%.
[0083] Table 1
[0084]
[0085] The decoupling results of the calibration data based on the BP neural network decoupling algorithm are shown in Table 2 below. It can be obtained that the type I error is 0.539% and the type II error is 0.899%.
[0086] Table 2
[0087]
[0088] The decoupling effect of the support vector regression machine algorithm optimized by the sparrow search algorithm improved based on logistic chaotic mapping on the calibration data of the six-dimensional force sensor is shown in Table 3 below. The type I error is 0.325% and the type II error is 0.03%.
[0089] Table 3
[0090]
[0091]
[0092] Comparing the type I error and type II error obtained by the three algorithms, it can be clearly seen that the decoupling effect of the method of the present invention is the best. In addition, compared with the BP neural network, the type I error of the method of the present invention is reduced by 39.7%, and the type II error is reduced by 96.7%.
[0093] Therefore, the decoupling method of the six-dimensional force sensor proposed in the present invention realizes the calibration of the six-dimensional force sensor by using the support vector regression machine algorithm optimized by the sparrow optimization algorithm improved based on the logistic chaotic mapping, which can well solve the problem of coupling between the six-dimensional force sensor signals and improve the measurement accuracy.
[0094] The above embodiments are only used to illustrate the design ideas and features of the present invention, and their purpose is to enable those skilled in the art to understand the content of the present invention and implement it accordingly. The protection scope of the present invention is not limited to the above embodiments. Therefore, any equivalent changes or modifications made based on the principles and design ideas disclosed by the present invention are within the protection scope of the present invention.
Claims
1. A decoupling method for a six-dimensional force sensor, characterized in that: The specific steps include: S1, perform a calibration experiment on the six-axis force sensor, use the electrical signal as input data, and use the force or torque value actually applied to the six-axis force sensor as output data; S2, initialize the penalty parameter C and kernel function parameter g by logistic chaotic mapping method, substitute the input data, output data and initially generated penalty parameter C and kernel function parameter g into the support vector regression machine, calculate its fitness value, and sort it, and take the penalty parameter C and kernel function parameter g corresponding to the optimal fitness value as the optimized penalty parameter C and kernel function parameter g; S3, substituting the penalty parameter C and the kernel function parameter g obtained in step S2 into the support vector regression machine for training, and obtaining a one-dimensional model of the six-dimensional force sensor; S4, repeat steps S2 to S3 six times to obtain six one-dimensional models of six six-dimensional force sensors; each time, the electrical signal collected by the six-dimensional force sensor is used as input and transmitted to the six models respectively, so as to obtain the six-dimensional force and torque values acting on the six-dimensional force sensor, and complete the decoupling.
2. The decoupling method of the six-dimensional force sensor according to claim 1, characterized in that: The output data is divided into six groups, namely, force TFx on the x-axis, force TFy on the y-axis, force TFz on the z-axis, torque TMx on the x-axis, torque TMy on the y-axis, and torque TMz on the z-axis.
3. The decoupling method of the six-dimensional force sensor according to claim 1, characterized in that: The step S2 specifically includes the following sub-steps: S201, initializing the population by using the logistic chaos mapping method to set the penalty parameter C and the kernel function parameter g; S202, using logistic chaotic mapping to initialize the penalty parameter C and the kernel function parameter g, generating n sets of penalty parameters C and kernel function parameters g; S203, substituting the input data and output data obtained in step S1, the penalty parameter C and the kernel function parameter g generated in step S202 into the support vector regression machine to calculate the mean square error, taking the mean square error as the fitness value, and obtaining n groups of fitness values; sorting the n groups of fitness values and the corresponding penalty parameter C and the kernel function parameter g to obtain the first optimal fitness value; S204, if the first optimal fitness value reaches the threshold, the corresponding penalty parameter C and kernel function parameter g are used as the optimized penalty parameter C and kernel function parameter g; If the first optimal fitness value does not reach the threshold, the n groups of penalty parameters C and kernel function parameters g are divided into discoverers, joiners and vigilants in proportion according to the sparrow optimization algorithm, and optimized separately; The penalty parameter C and kernel function parameter g optimized in step S205 and the input data and output data obtained in step S1 are substituted into the support vector regression machine to calculate the fitness value, and sort them to obtain the second optimal fitness value; until the maximum number of iterations is reached, or the second optimal fitness value reaches the threshold, the optimized penalty parameter C and kernel function parameter g are obtained.
4. The decoupling method of the six-dimensional force sensor according to claim 3, characterized in that: The step S202 is specifically as follows: firstly, a set of penalty parameters C and kernel function parameters g are randomly generated, and then other sets of parameters are generated by using the logistic chaotic mapping method, and the formula is as follows: X n+1 =uX n (1-X n )n=1,2,3…… Among them, X n is the nth group of penalty parameters C and kernel function parameters g, X n+1 is the n+1th group of penalty parameters C and kernel function parameters g, and u is the iteration coefficient.
5. The decoupling method of the six-dimensional force sensor according to claim 3, characterized in that: The optimized update of the discoverer is as follows: in, represents the d-dimensional position of the i-th individual in the t+1-th generation in the population, is a uniform random number in (0, 1], Q is a standard normal distribution random number; R2 is a uniform random number in (0, 1], R is the warning threshold, iter max is the maximum number of iterations.
6. The decoupling method of the six-dimensional force sensor according to claim 3, characterized in that: The optimized update of the joiner is as follows: Among them, xw is the worst position of the sparrow in the current race, xb is the best position of the sparrow in the current race, D is the total dimension of the population, and n is the number of populations.
7. The decoupling method of the six-dimensional force sensor according to claim 3, characterized in that: The optimization update of the Vigilant is as follows: Among them, β is a random number that conforms to the standard normal distribution, K is a uniform random number between [-1,1], ε is a small number to prevent the denominator from being unique, and f w is the fitness value of the sparrow in the worst position, f i is the fitness value of the sparrow at the ith position, f g is the fitness value of the sparrow in the optimal position.
8. The decoupling method of the six-dimensional force sensor according to claim 1, characterized in that: The one-dimensional model of the six-dimensional force sensor is the corresponding relationship between the electrical signal measured by the six-dimensional force sensor and the actual one-dimensional force / torque.
Citation Information
Patent Citations
Method and system for assembling robot based on visual sense and force feedback control
CN104057290A
Walker capable of determining use intent and a method of operating the same
CN111096878A
Policy combination mechanism fusion dragonfly algorithm porosity prediction method, system and device
CN113033074A
Temperature compensation method of six-dimensional force sensor
CN113820062A
