1. Introduction
The six-axis acceleration sensor is a crucial component for measuring the motion parameters of an object in six axes. It is capable of detecting the object’s linear acceleration along three axes and its angular acceleration along three orthogonal axes in space. It is widely utilized in the high-precision acquisition of carrier position data, particularly in the field of intelligent robot control [
1], inertial navigation system [
2], vision system anti-jitter [
3], touch mobile device attitude detection [
4], human health detection and localization rescue [
5,
6,
7], and biomedical treatment [
8,
9]. Compared with the traditional inertial navigation module, the parallel six-axis accelerometer has a strong anti-disturbance ability and a smaller cumulative error [
10], which can provide a guarantee for the accuracy of the object’s positional information. Additionally, the parallel structure principle allows for the integration and simultaneous output of holographic inertial information, facilitating the integration of inertial sensing devices.
However, due to the elastic element structure of the six-axis accelerometer, machining and assembly errors, detection circuit noise and other aspects of the six-axis accelerometer, the six-axis accelerometer signal output of the various paths presents strong coupling, nonlinear characteristics and the existence of nonlinear coupling error seriously affects the sensor’s measurement accuracy [
11,
12], which restricts the application of the parallel-type six-axis accelerometer in the high-precision inertial navigation system. At the same time, the mechanism behind these nonlinear coupling errors is complex and difficult to describe quantitatively. As a result, developing a high-precision decoupling method capable of inhibiting or even eliminating these coupling errors has become a critical challenge for the engineering application of parallel six-axis accelerometers.
In order to solve the inter-dimensional coupling problem of multidimensional sensors, high-precision decoupling methods are proposed, and the current research is categorized into two main groups. One type is to start from the research of the design principle and manufacturing process and try to eliminate the root cause of its generation [
13,
14,
15]. The other is to study the suitable decoupling algorithm to reduce the accelerometer coupling error by numerical operation. However, the first method is difficult to construct, which is not conducive to the popularization of the application. Yao et al. [
16] used the least-squares method to decouple the three-dimensional force sensors, and the maximum error of the three orthogonal directions in the space can be controlled at 0.8%. Feng et al. [
17] added a nonlinear error term based on polynomial fitting for the decoupling model on the basis of the linear decoupling method, which significantly improves the accuracy of the decoupling algorithm compared to linear decoupling algorithms. Liang et al. [
18] used extreme learning machine for nonlinear decoupling; this algorithm has obvious advantages in training speed and avoiding local optimums, but it is more sensitive to noisy data and the training results have a certain degree of instability with the selection of initialization parameters [
19]. Qian et al. [
20] used a standard back propagation (BP) neural network for nonlinear decoupling of multidimensional sensors, and the results showed that the standard BP neural network decoupling accuracy is better, but there are shortcomings such as insufficient global convergence ability and slower convergence speed.
In this paper, a nonlinear decoupling algorithm for a six-axis accelerometer based on improved BP neural network is proposed for the nonlinear and strong coupling problems existing in the current parallel six-axis accelerometer measurement research, as well as the shortcomings of the standard BP neural network. The decoupling accuracy and convergence speed are improved by introducing the gradient descent algorithm with momentum and the Levenberg–Marquardt algorithm (LM), and the model training is completed based on the calibration data obtained from standard loading experiments. The feasibility of the algorithm is verified by comparing with the linear decoupling method, which provides a reference for the study of high-precision nonlinear decoupling of the six-axis accelerometers.
2. Six-Axis Accelerometer Decoupling Principle
The accelerometer studied in this paper is a parallel six-axis accelerometer with the measurement principle of resistive strain, and the overall structure is shown in
Figure 1, which consists of an inertial mass block, six elastic branching rods and a lower platform.
According to the Gough–Stewart constitutive principle, there are six branching rods between the mass block and the lower platform. When acceleration is applied to the six-axis accelerometer, a small relative displacement tends to occur between the mass block and the lower platform, and the six branching rods are stressed to produce strain. Strain gauges are affixed to specific sensitive areas of the branch rods shown in
Figure 1 to measure the magnitude and direction of the strain, and the strain signals are converted to analog voltage signals by a Wheatstone full-bridge circuit. In order to improve the signal-to-noise ratio of the sensor, the mass block is made of brass, and the sensitive areas of the branch rods are designed with rounded skeletons. The main structure of the sensor is CNC machined and assembled with threaded connections.
When the accelerometer is subjected to an acceleration load, the output voltage signal of the measurement circuit already contains the errors caused by inter-dimensional coupling and other factors. Therefore, a decoupling operation must be performed on the sensor. The output voltage signal matrix
V and the corresponding input acceleration load vector matrix
α are obtained after multiple loading of the six-axis accelerometer, and the following expression for the input–output relationship can be established:
where
α is the acceleration load vector obtained by multiple loading along the direction of each degree of freedom;
V is the output voltage signal of each channel corresponding to the acceleration load vector of multiple loading.
C is the mapping relationship matrix between the input acceleration load vector and the output voltage signal.
α is in the form shown in Equation (2):
where
is the linear acceleration for multiple loadings along the orthogonal axial direction in space and
is the angular acceleration for multiple loadings in the direction of rotation around the orthogonal axial direction in space.
Since the signals output from the strain gauges are analog voltage signals rather than the physical quantity of acceleration to be measured, the correspondence between the acceleration input signals and the sensor output electrical signals, i.e., the mapping relationship matrix , obtained through calibration, determines the accuracy of the final acceleration information obtained. Therefore, obtaining the mapping relation matrix with smaller error is the key to improve the decoupling accuracy of the six-axis accelerometer.
3. Nonlinear Decoupling Methods
3.1. Nonlinear Decoupling Model Based on BP Neural Network
BP neural network is a multi-layer forward neural network based on the error back propagation algorithm for learning and training. In the training process, through the back propagation of error signals from the back to the front, layer by layer, the weights of the network are corrected after a cycle of iteration until the output value of the network is in a stable state. To establish the BP neural network model and determine the mapping relationship between the input and output of the BP neural network model, the connection parameters between the input layer and the hidden layer and the hidden layer and the output layer must be obtained through sample training. The whole process includes two parts: forward propagation of the input signal and back propagation of the error signal.
To decouple the six-axis accelerometer using a BP neural network, the first step is to establish a BP neural network decoupling model. The six-axis accelerometer can measure the linear acceleration in the three orthogonal axes in space and the angular acceleration around the three orthogonal axes. Therefore, both the input vector and output vector have a dimension of . The output vector of the six-axis accelerometer is the input vector of the neural network decoupling model.
Based on the parallel six-axis accelerometer studied in this paper, a BP neural network topology containing one hidden layer is used. The input layer of the network is the output voltage signal of the six-axis accelerometer, and the output layer of the network is the acceleration-to-be-measured signal obtained by decoupling the model. The number of neurons in the input layer of the neural network
. The number of neurons in the output layer
. The number of neurons in the hidden layer is determined according to the empirical formula
(where
is an integer between 1 and 10). In order to make the output of the neural network present a nonlinear characteristic, the nonlinear and microscopic Sigmoid function is chosen as the activation function between the input and hidden layers. Among the different types of Sigmoid functions, the Tan-Sigmoid function with a large output range is chosen:
. A linear function
is used as the transfer function between the hidden layer and the output layer. The established decoupling model of BP neural network is shown in
Figure 2.
The output of the BP neural network decoupling model is:
where
;
;
is the neural network input value;
is the neural network output;
and
are the hidden layer activation function and the output layer activation function, respectively;
is the connection weight between the
i-th neuron of the input layer and the
k-th neuron of the hidden layer; and
is the connection weight between the
k-th neuron of the hidden layer and the
j-th neuron of the output layer.
3.2. Global Training Function Optimization Based on Gradient Descent with Momentum
The gradient descent algorithm in BP neural networks is mainly used to optimize the model parameters in the back propagation process. While the prediction results of the BP neural network model based on the standard fastest algorithm are generally satisfactory, there are shortcomings such as a large number of iterations, slow convergence speed and violent network oscillation. To address these issues, the gradient descent algorithm with momentum is used for global training, while the Levenberg–Marquardt (LM) algorithm is applied for local learning in the standard BP neural network.
In the weight update stage of the standard BP neural network most-rapid descent method, the momentum factor
(
) is introduced to make the weight correction of the neural network have some inertia, as shown in Equation (4):
After the introduction of the new momentum factor, if the direction of the gradient obtained from two adjacent iterations is the same, the momentum factor can enlarge the update amount of the weights to accelerate the convergence process so that the neural network can speed up the computation. In contrast, the update amount of the weights will be partially offset by the momentum factor so that the neural network has a certain degree of shock resistance, and it is easier to find the point of the minimum value.
3.3. Local Learning Function Optimization Based on LM Algorithm
The LM algorithm is an optimization algorithm based on Taylor expansion that corrects the weights of the neural network according to Equation (5):
where
is the Jacobi matrix of the first-order derivatives of the error function with respect to the network weights,
denotes the gradient, and, for a binary differentiable function
,
can be expressed as:
The LM algorithm only requires knowledge of the gradient of the objective function and iterates by calculating the change in the gradient, and this method has a faster convergence rate when using scientific computing tools for the calculation.
Using the LM algorithm as well as the gradient descent with momentum as the global training function and the local learning function of the standard BP neural network, respectively, can make the neural network nonlinear decoupling model have better shock resistance while converging faster, reduce the coupling error of the outputs, and achieve the purpose of significantly improving the measurement accuracy of the sensor.
4. Decoupling Experiment and Result Analysis
The six-axis accelerometer studied in this paper was calibrated and sensitivity linear calibration experiments were carried out at the China Academy of Measurement Sciences. The comparative method medium-frequency vibration standard device APS 129 ELECTRO-SEIS used for the calibration platform and the experimental system are shown in
Figure 3.
The data required for neural network training were collected through calibration experiments. The flow of the calibration experiment is shown in
Figure 4. Before starting the experiment, all system components were activated and warmed up for 30 min. After zeroing the system’s initial values, acceleration samples were set at equal intervals within the accelerometer’s range. The standard vibration platform was then initiated and the accelerometer was subjected to a sinusoidal acceleration signal. The output voltage of the accelerometer was recorded at the specified sampling points. During the experiment, the frequency of the sinusoidal acceleration signal input from the standard vibration platform was 16 Hz. The data acquisition system used in this experiment mainly consists of the signal acquisition instrument of model Inv3062c (China Orient Institute of Noise & Vibration Technology, Beijing, China) and the acquisition software on PC. The computer processing system sampled the output voltage at a frequency of 500 Hz and recorded the output voltage at equally spaced acceleration sampling points within the range.
The six-axis accelerometer was connected to the data acquisition system through a multichannel dynamic strain gauge. The output signals were collected by the data acquisition system on the computer. Through calibration experiments, we obtained six-channel digital voltages from the accelerometer output under equally spaced acceleration inputs. Part of the data of the calibration experiments are shown in
Table 1,
Table 2 and
Table 3.
The gradient descent with driving momentum is introduced into the BP neural network to establish a nonlinear decoupling model for the six-axis accelerometer with improved BP neural network. The data collected from the calibration experiments are used to train the neural network employing the LM algorithm. The maximum number of iterations in the training process is set to be 1000, the learning rate is 0.01 and the sum of target errors is 1 × 10
−5. As shown in
Figure 5, the number of network iterations and the mean square error of the decoupling results decrease rapidly as the number of hidden-layer neurons increases. The number of iterations reaches a minimum at 8 for the number of hidden layer neurons, while the mean square error reaches a minimum at 9 for the number of hidden layer neurons. In order to obtain the best decoupling accuracy, the number of neurons in the hidden layer is chosen to be 9. The specific calibration, training and decoupling processes are shown in
Figure 6.
To improve the training effectiveness of the network and verify the decoupling accuracy of the network, the static calibration data are divided into two parts: the training set and the test set. The training set comprises 90% of the data, while the test set accounts for 10%. The model after the completion of training uses the voltage of the test set as the input, and the output of the model is the decoupled acceleration value. The data of the training results are shown in
Table 4.
Using the trained improved BP neural network for nonlinear decoupling of the six-axis accelerometer, the decoupled value of acceleration output from each channel is almost the same as the loaded standard value. The linearity of the decoupled output data showed significant improvement. When a load is applied in a single direction, the output of inter-dimensional coupling in the remaining directions is nearly zero, which indicates that the improved BP neural network model effectively decoupled the parallel six-axis accelerometer.
The weight matrices
and
and threshold vectors
and
of the improved BP neural network nonlinear decoupling model input layer and implied layer as well as the implied layer and output layer for the completed training are shown in Equations (7)–(10), respectively. The last three columns of the hidden and output layer weight matrices
and threshold vectors
are zeros, so they are not listed.
According to the static calibration experimental data, the Gough–Stewart structure six-axis accelerometer calibration matrix based on the least squares method can be obtained as shown in Equation (11). Selected random static calibration data are decoupled by Equation (7), and the decoupling accuracies of linear calibration decoupling three orthogonal-axis direction acceleration can be obtained as 2.6%, 3.7% and 0.4%.
According to the test results of the nonlinear decoupling model based on the improved BP neural network, the calibrated decoupling error of the acceleration of each axis of the six-axis accelerometer can be obtained, as shown in
Table 5.
The decoupling error data presented in
Table 5 reveal that, as the calibrated loaded linear acceleration increases, the decoupling accuracy of the
x-axis linear acceleration gradually decreases, while the decoupling accuracy of the
y-axis linear acceleration shows a trend of decreasing and then increasing. The decoupling accuracy of the
z-axis linear acceleration tends to be stable in general. The decoupling accuracies of
x-,
y- and
z-axis acceleration of the six-axis accelerometer after the decoupling of the improved BP neural network model are 0.035%, 0.018% and 0.039%, respectively. Overall, the decoupling ac-curacies remain within 0.05%, representing a significant improvement compared to the linear decoupling method based on the least squares approach.
5. Conclusions
In this paper, in view of the limitations of the existing linear decoupling methods for six-axis accelerometers, a nonlinear decoupling study of six-axis accelerometers has been carried out by improving BP neural networks, and the following conclusions have been drawn:
The decoupling model based on the improved BP neural network constructs a good nonlinear mapping relationship between the input and output of the six-axis accelerometer, which solves the problem that the application of linear decoupling methods such as the least squares method to the six-axis accelerometer cannot fully reflect the poor measurement accuracy caused by the nonlinear factors of the sensor system.
The standard BP neural network is topologically optimized using the LM algorithm as well as the gradient descent with momentum, which makes the neural network nonlinear decoupling model have better shock resistance and improves the decoupling accuracy while converging faster.
By comparing the accuracy of the neural network model calibration decoupling and the least squares decoupling results, the six-axis accelerometer decoupling model based on BP neural network is very effective, and the measurement accuracy has been significantly improved, which provides theoretical support for the study of nonlinear decoupling of six-axis accelerometers.
Author Contributions
Conceptualization, C.D., J.Z. and C.Y.; methodology, C.D. and J.Z.; software, C.D. and J.Z.; validation, J.Z. and C.Y.; formal analysis, J.Z. and C.Y.; investigation, J.Z.; resources, C.Y.; data curation, C.D. and J.Z.; writing—original draft preparation, C.D.; writing—review and editing, J.Z.; visualization, C.D.; supervision, C.Y.; project administration, C.D. and C.Y.; funding acquisition, C.Y. and Z.S.; validation, J.Z., C.Y., Z.H. and Z.S. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by National Natural Science Foundation of China, grant number 52205043.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The data set is within the article.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Zheng, R.; Sun, G.; Li, F.D. A Fusion Localization System for Security Robots Based on Millimeter Wave Radar and Inertial Sensors. Sensors 2024, 24, 7551. [Google Scholar] [CrossRef] [PubMed]
- Brunson, B.; Wang, J.; Ma, W. Innovative Modeling of IMU Arrays Under the Generic Multi-Sensor Integration Strategy. Sensors 2024, 24, 7754. [Google Scholar] [CrossRef] [PubMed]
- Wang, J.H.S.; Qiu, K.; Chao, P.C.P. Control Design and Digital Implementation of a Fast 2-Degree-of-Freedom Translational Optical Image Stabilizer for Image Sensors in Mobile Camera Phones. Sensors 2017, 17, 2333. [Google Scholar] [CrossRef] [PubMed]
- Naser, R.S.; Lam, M.C.; Qamar, F.; Zaidan, B.B. Smartphone-Based Indoor Localization Systems: A Systematic Literature Review. Electronics 2023, 12, 1814. [Google Scholar] [CrossRef]
- Liu, T.; Gou, G.; Gao, F.; Yao, P.; Wu, H.; Guo, Y.; Yin, M.; Yang, J.; Wen, T.; Zhao, M.; et al. Multichannel Flexible Pulse Perception Array for Intelligent Disease Diagnosis System. Acs Nano 2023, 17, 5673–5685. [Google Scholar] [PubMed]
- Razavi, H.; Salarieh, H.; Alasty, A. Towards Real-Time Partially Self-Calibrating Pedestrian Navigation With an Inertial Sensor Array. IEEE Sens. J. 2020, 20, 6634–6641. [Google Scholar]
- Zhang, Q.; Xu, X.; Shi, F.; Shu, L.; Wang, J. An integrated positioning method with IMU/UWB based on geometric constraints of foot-to-foot distances. Measurement 2025, 242, 115771. [Google Scholar]
- Hu, J.; Qiu, Y.; Wang, X.; Jiang, L.; Lu, X.; Li, M.; Wang, Z.; Pang, K.; Tian, Y.; Zhang, W.; et al. Flexible six-axis force sensor inspired by the tenon-and-mortise structure of ancient Chinese architecture for orthodontics. Nano Energy 2022, 96, 107073. [Google Scholar] [CrossRef]
- Lipperts, M.; van Laarhoven, S.; Senden, R.; Heyligers, I.; Grimm, B. Clinical validation of a body-fixed 3D accelerometer and algorithm for activity monitoring in orthopaedic patients. J. Orthop. Transl. 2017, 11, 19–29. [Google Scholar]
- Wang, L.; You, J.; Yang, X.; Chen, H.; Li, C.; Wu, H. Forward and Inverse Dynamics of a Six-Axis Accelerometer Based on a Parallel Mechanism. Sensors 2021, 21, 233. [Google Scholar] [CrossRef] [PubMed]
- Brookhuis, R.A.; Droogendijk, H.; de Boer, M.J.; Sanders, R.G.P.; Lammerink, T.S.J.; Wiegerink, R.J.; Krijnen, G.J.M. Six-axis force–torque sensor with a large range for biomechanical applications. J. Micromech. Microeng. 2014, 24, 35015. [Google Scholar]
- Kang, M.; Lee, S.; Kim, J. Shape optimization of a mechanically decoupled six-axis force/torque sensor. Sens. Actuators A Phys. 2014, 209, 41–51. [Google Scholar] [CrossRef]
- Dai, H.; Wu, Z.; Meng, C.; Zhang, C.; Zhao, P. A Magnet Splicing Method for Constructing a Three-Dimensional Self-Decoupled Magnetic Tactile Sensor. Magnetochemistry 2024, 10, 6. [Google Scholar] [CrossRef]
- Yan, Y.; Hu, Z.; Yang, Z.; Yuan, W.; Song, C.; Pan, J.; Shen, Y. Soft magnetic skin for super-resolution tactile sensing with force self-decoupling. Sci. Robot. 2021, 6, eabc8801. [Google Scholar] [PubMed]
- Xiong, Y.; Yu, J. Structural design and optimization of a novel self-decoupled six-axis force/torque sensor. Transducer Microsyst. Technol. 2015, 34, 106–108. [Google Scholar]
- Yao, B.; Zhang, J.; Dai, Y.; Sun, H. Research on Decoupling Method of Multi-Dimensional Force Sensor for Minimally Invasive Surgical Robots. Chin. J. Sci. Instrum. 2020, 41, 147–153. [Google Scholar]
- Feng, L.; Jia, L.; Wang, D.; Wang, H.; Wang, S.; Xiong, P.; Song, A. An Intuitively Derived Decoupling and Calibration Model to the Multiaxis Force Sensor Using Polynomials Basis. IEEE Sens. J. 2024, 24, 9514–9522. [Google Scholar] [CrossRef]
- Liang, Q.; Long, J.; Coppola, G.; Zhang, D.; Sun, W. Novel decoupling algorithm based on parallel voltage extreme learning machine (PV-ELM) for six-axis F/M sensors. Robot. Comput.-Integr. Manuf. 2019, 57, 303–314. [Google Scholar]
- Chen, P.; Li, Y.; Gao, H.; Zhang, X.; Du, H.; Ren, T. Novel static decoupling algorithm for the multi-axis wheel force sensor based on the Informer network. Measurement 2025, 241, 115766. [Google Scholar] [CrossRef]
- Qian, M.; Qi, Y.; Wei, X. Research on Decoupling of Fiber Bragg Grating Tactile Signals Based on Neural Network. Chin. J. Sci. Instrum. 2021, 42, 44–51. [Google Scholar]
| Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).