Next Article in Journal
Integration of Finite Element Analysis and Laboratory Analysis on 3D Models for Methodology Calibration
Previous Article in Journal
Intervention-Induced Changes in Balance and Task-Dependent Neural Activity in Adults with Acquired Brain Injury: A Pilot Randomized Control Trial
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Alignment Prediction of Air Spring Vibration Isolation System for Marine Shafting Based on Genetic Algorithm–Back Propagation Neural Network

1
Institute of Noise and Vibration, Naval University of Engineering, Wuhan 430033, China
2
National Key Laboratory on Ship Vibration & Noise, Wuhan 430033, China
*
Authors to whom correspondence should be addressed.
Sensors 2024, 24(13), 4049; https://doi.org/10.3390/s24134049
Submission received: 31 May 2024 / Revised: 12 June 2024 / Accepted: 20 June 2024 / Published: 21 June 2024
(This article belongs to the Section Physical Sensors)

Abstract

:
Shafting alignment plays an important role in the marine propulsion system, which affects the safety and stability of ship operation. Air spring vibration isolation systems (ASVISs) for marine shafting can not only reduce mechanical noise but also help control alignment state by actively adjusting air spring pressures. Alignment prediction is the first and a key step in the alignment control of ASVISs. However, in large-scale ASVISs, due to factors such as strong interference and raft deformation, alignment prediction faces problems such as alignment measurement sensors failure and difficulty in establishing a mathematical model. To address this problem, a data model for predicting alignment state is developed based on a back propagation (BP) neural network, fully taking advantage of its self-learning and self-adaption abilities. The proposed model exploits the collected data in the ASVIS instead of the alignment measurement data to calculate the alignment state, providing another alignment prediction approach. Then, in order to solve the local optimum issue of BP neural network, we introduce the genetic algorithm (GA) to optimize the weights and thresholds of the BP neural network, and an improved GA-BP model is designed. The GA-BP model can leverage the advantages of the global search capability of GA as well as the BP neural network’s fast convergence in local search. Finally, we conduct experiments on a real ASVIS and evaluate the prediction models using different criteria. The experimental results show that the proposed prediction model with the GA-BP neural network can accurately predict the alignment state, with a mean-square error (MSE) of 0.0114 . And compared to the BP neural network, the GA-BP neural network reduces the MSE by approximately 74 % .

1. Introduction

The air spring vibration isolation system (ASVIS) can significantly reduce mechanical noise while providing high-precision attitude control capabilities, and has been widely used in vessels and high-speed railways [1,2,3]. But for the air spring vibration isolation system of marine propulsion devices, external disturbances such as ship tilting and changes in operational conditions may result in shaft misalignment, which may affect the operational safety of the propulsion device and attenuate the vibration isolation effect [3,4]. Thus, it is necessary to monitor and predict the alignment state in real time, and carry out precise alignment control by actively adjusting the air spring pressure. However, in large-scale ASVISs, due to factors such as strong interference and raft deformation, alignment prediction faces problems such as alignment measurement sensors failure and difficulty in establishing a mathematical model [5,6], making alignment prediction a challenging problem.
The first issue is how to measure the alignment state. It can be roughly divided into the direct measurement method and indirect measurement method [7,8,9,10]. Currently, indirect measurement methods are widely used in the ASVIS [11]. In this method, the height difference at different positions of the ASVIS is first measured, and then the alignment state is calculated using a given mathematical formula. And eddy current sensors are typically employed to measure the height differences due to their stable operation and high reliability in engineering [12]. However, these sensors are prone to electromagnetic interference, which can cause disturbances or deviations in the measured values, consequently impacting the accuracy of alignment predictions. Compared to eddy current sensors, pressure sensors convert mechanical pressure in gases or liquids into electrical signals, offering enhanced resistance to interference [13]. In fact, research has found that there is an approximately linear mapping relationship between the internal pressure of an air spring isolator and its bearing capacity when the height of the air spring isolator remains constant [14,15]. Thus, intuitively speaking, there may also be a certain correlation between the air spring pressure and alignment state. But to date, we have not yet discovered any studies on predicting the alignment status using air spring pressure values.
The second issue is how to calculate the alignment state. Existing models for calculating alignment states typically assume an ideal rigid body model for the raft, and a static mathematical model can be obtained based on parameters such as sensor deployment position [3,9]. However, large air spring isolation systems, like whole cabin vibration isolation systems, exhibit nonlinear and time-varying characteristics [11]. On one hand, these systems carry multiple loads and operate under complex combined conditions, including propulsion equipment, producing various torques at different speeds, causing dynamic changes in the load-bearing capacity of air spring isolators at different positions. On the other hand, the large rafts of these isolation systems span large distances, leading to raft deformations that may also change with different operational conditions. In this case, it is difficult to accurately predict the alignment state using traditional mathematical models, and it is necessary to explore novel alignment prediction models to address this issue.
With the advancement in artificial intelligent technology, back propagation (BP) neural networks have introduced a new approach for complex system modeling [16,17,18]. The BP neural network (NN) is composed of a large number of neurons. By imitating the biological nervous system, the BP neural network extracts useful knowledge from the collected data and completes the model construction of the nonlinear system adaptively. And it has been widely used for fault detection, function approximation, structure optimization, and so on. Nevertheless, the BP neural network also has its own shortcomings, that is, it is apt to fall into the local optimum. To solve this problem, scholars have put forward many suggestions. Among them, swarm intelligent optimization algorithms, such as the genetic algorithm (GA) and particle swarm optimization (PSO) [19,20], are used to optimize the parameters of the BP neural network, which effectively improves the accuracy of the algorithm.
In this paper, we propose an alignment prediction model for the air spring vibration isolation system based on the BP neural network. By fully exploiting the self-learning and self-adapting capabilities of the BP neural network, the data mapping relationship between air spring pressures and the alignment state in an ASVIS is constructed. In order to overcome the local optimum issue and obtain the global optimum, the genetic algorithm is introduced for optimizing the parameters of the BP neural network, and an improved GA-BP model is designed. Ideally, the GA-BP model can make full use of the global search ability of the genetic algorithm and the fast convergence of the BP neural network in local search. To verify the effectiveness of the proposed models, we conduct experiments on a real ASVIS and evaluate the prediction model using four typical criteria. Extensive experimental results reveal that our proposed prediction model based on the GA-BP neural network can accurately and effectively predict the alignment state, with an average accuracy of 98.7 % , a determinant coefficient ( R 2 ) of 0.9539 , a mean absolute error (MAE) of 0.0725 , and a mean-square error (MSE) of 0.0114 . And compared to the BP model, the GA-BP model improves the accuracy and R 2 by approximately 1.1 % and 12 % , respectively, and reduces the MAE and MSE by approximately 38 % and 74 % , respectively. In the future, the alignment prediction model can be used independently or deployed incrementally in existing systems. For example, existing ASVISs usually use eddy current sensors to monitor their attitude. However, when the sensor fails and the alignment state cannot be calculated directly, we can still use the air spring pressures to predict the alignment state so as to improve the reliability of the system.
The main contributions of this paper can be summarized as follows:
  • To the best of our knowledge, we are the first to study the data mapping relationship between air spring pressure and alignment state in an air spring vibration isolation system. And we propose a data model based on the BP neural network to predict the alignment state.
  • We applied the genetic algorithm to optimize the weights and thresholds of the BP neural network and introduced an improved GA-BP prediction model. The model makes full use of the local search ability of the BP neural network as well as the global search ability of the genetic algorithm, through which the prediction accuracy is increased.
  • Extensive experiments are conducted to validate the effectiveness and efficiency of our proposed models. The results show that the prediction model, based on the BP and GA-BP neural networks, can accurately predict the alignment state. And compared with the BP model, the GA-BP model can obtain higher alignment prediction accuracy.
The rest of this paper is organized as follows. Section 2 briefly describes the system model of ASVIS. Section 3 introduces the alignment prediction model based on the BP neural network and the improved GA-BP algorithm. In Section 4, we conduct experiment with a real ASVIS and present our evaluation results. Finally, the paper is concluded in Section 5.

2. System Model

An air spring vibration isolation system mainly consists of air springs, an air control unit (ACU), displacement sensors, and a controller as shown in Figure 1. Air springs are used to isolate mechanical vibrations and support equipment, such as the main engine, as shown in Figure 1a. The ACU can adjust the air spring pressure by inflating and deflating an air spring. The change in the pressure value of an air spring may change the height of the air spring, thus affecting the alignment state of the system. Displacement sensors are used to monitor the height of the ASVIS at different positions. The controller can calculate the alignment state using the monitored data of displacement sensors, and then generate optimized control strategies. The controller, ACUs, and displacement sensors are usually connected and interact with each other through an industrial bus as shown in Figure 1b. In addition, the controller can communicate with other devices to obtain operating condition data, such as the rotational speed of the main engine.
When the ship tilts or the output torque of the main engine changes, the force on the air spring changes accordingly, leading to a change in the air spring deformation and shaft alignment state. For the convenience of description, a coordinate system is established as shown in Figure 1a, and the output shaft of the main engine can be considered the positive direction of the y-axis. In engineering, the alignment state is usually described by four parameters, that is, horizontal angularity, vertical angularity, horizontal offset, and vertical offset. We take the coordinate values in the ideal alignment state as the origin. The alignment state vector in the coupling center point can be described as:
Γ = { x c , z c , α , β }
in which x c is the horizontal offset in the x-axis, z c is the vertical offset in the z-axis, α is the horizontal angularity, and β is the vertical angularity.

3. The Design of Alignment Prediction Model

In this section, we first present the details of the alignment prediction model based on the BP NN, including the network structure, activation function, etc. Then, we introduce how to use the genetic algorithm to optimize the parameters of the NN, and the work flow of the improved prediction model based on the GA-BP NN.

3.1. The Prediction Model Based on BP NN

A BP NN generally consists of an input layer, several hidden layers, and an output layer. This paper adopts a typical single hidden layer BP NN, and the topology structure is shown in Figure 2. S = { s 1 , . . . , s N } is the input vector; I n is the input layer; H k is the hidden layer; O m is the output layer; and τ m is the output value of the output layer.
For values in the input vector S, s i   ( 1 i N ) represents a system state value of the ASVIS, which can be the air spring pressure, the rotational speed of a main engine, and so on. In this paper, we focus on the data mapping relationship between the air spring pressure and alignment state. Thus, s i means the pressure value of the i-th air spring here. The output values represent the alignment state Γ as mentioned above.
Assuming that the nodes number in the input layer is N and the nodes number in the output layer is M, we can estimate the nodes number in the hidden layer by the following empirical formula:
K = N + M + a
where a is a constant, typically taking a value range of 0 to 10. For example, we have 8 air spring pressure values as inputs (N = 8) and 4 alignment state values as outputs (M = 4). Then, we can set the number of nodes K in the hidden layer between 4 and 13.
In a BP NN, each layer has plentiful neurons to mimic the biological nervous system. And a neuron can be seen as a linear function, which is composed of input values, weighted values, threshold values, and an output value. As shown in Figure 2, the weights and thresholds from the input layer to the hidden layer are represented as ω n , k i and b k i , respectively. The output value of the k-th neuron ( 1 k K ) in the hidden layer n e t k i can be calculated by:
n e t k i = n = 1 N ω n , k i s n b k i
where n and k are the neuron number in the input layer and hidden layer, respectively. Generally, the activation function is adopted in the hidden layer to enhance its ability to learn the complex nonlinear relationship. Here, we use the ReLU function as the activation function, which is defined as:
f ( x ) = m a x ( 0 , x )
Then, the output value of the k-th neuron in the hidden layer through the activation function n e t k h can be written as:
n e t k h = f n = 1 N ω n , k i s n b k i
The output value of the m-th ( 1 m M ) neuron in the output layer n e t m o can be calculated by:
n e t m o = k = 1 K ω k , m o n e t k h b m o
where ω k , m o and b m o are the weights and thresholds from the hidden layer to the output layer, respectively. According to Equations (5) and (6), the mapping relationship between the input value in S and the output value in Γ can be described as:
τ m = n e t m o = k = 1 K ω k , m o n e t k i b m o = k = 1 K ω k , m o f ( n = 1 N ω n , k i s n b k i ) b m o
In the training process of the BP NN, it will compare the predicted value with the measured value to calculate an error using the input data and output data. If the error does not meet the requirements, it will back propagate the error from the output layer to the input layer. In this process, the weights and thresholds will be updated by the gradient descent method. Here, the error between predicted value and the measured value is defined as:
E = 1 m i = 1 m ( y i y i ) 2
where y i is the predicted value, and y i is the measured value. Accordingly, the weights and thresholds can be updated by:
w n , k i = w n , k i α d E d w n , k i
w k , m o = w k , m o α d E d w k , m o
b k i = b k i α d E d b k i
b m o = b m o α d E d b m o
where α is the learning rate.

3.2. GA-BP NN Model

BP NNs can effectively characterize nonlinear mapping relationships and update the weights and thresholds based on the collected data by self-learning. However, the performance of the original BP NN is largely affected by the parameters’ initialization value and apt to fall into the local optimum. The genetic algorithm, which is based on the idea of biological evolution in nature, has good global searching ability and is suitable for dealing with complex nonlinear optimization problems. Thus, we introduce the genetic algorithm to optimize the weights and thresholds of the BP NN.
The GA-BP model can be roughly divided into two parts, the BP neural network and GA algorithm. The BP algorithm can quickly converge to the local optimal value, and the GA algorithm is capable of global optimization, but the convergence speed is slow when there are too many network parameters. Therefore, we hope to combine the advantages of both. First, we use the GA algorithm for global optimization. After reaching the preset goal, we update the parameters to the BP neural network. Then, the BP algorithm is used for further optimization. The work flow of the proposed GA-BP NN model is shown in Figure 3. The design of the BP NN for alignment prediction is described in Section 3.1. Here, we focus on the details of the GA algorithm.
(1) Encoding and population initialization: we use real numbers to represent the weights and thresholds of the BP NN, and encode these numbers into an array. The array can also be regarded as a chromosome, and elements in the array can be regarded as genes. Several chromosomes form a population. And the length of the chromosome is the total number of weights and thresholds in the BP NN, which can be calculated by:
L = N × K + K + K × M + M
(2) Calculation of fitness function: The fitness function is used to evaluate the quality of chromosomes. Generally speaking, the larger the fitness value, the closer it is to the optimal solution. Since our goal is to minimize the error between the predicted value and the actual value, the fitness function here is expressed by the reciprocal of the MSE value:
F = 1 E = m i = 1 m ( y i y i ) 2
(3) Selection. The higher the fitness value, the better the chromosome. Thus, we tend to select chromosomes with high fitness values. Here, we use the fitness proportionate selection method. The greater the fitness of the chromosomes, the greater the probability of being selected, and the probability p i of the i-th chromosome being selected can be calculated by:
p i = F i j = 1 N p o p F j
where F i is the fitness value of the i-th chromosome in the population. N p o p is the number of the population.
(4) Crossover and mutation. Crossover refers to the exchange of genes at the same position between different chromosomes to form new chromosomes. This paper uses the uniform crossover method. Assume that the crossover probability is p c . Then, for two different chromosomes, each gene of them has a probability of p c to exchange with each other, that is:
c i k = c j k , p > p c c j k = c i k , p > p c
where c i k and c j k are the k-th gene for the i-th chromosome and the j-th chromosome, respectively. p is a random value in [ 0 , 1 ] .
Mutation means that some gene values randomly change to enrich the gene diversity. Suppose that the maximum value of mutation is v r and the probability of variation is p m . When a gene is selected for mutation according to the probability p m , the value after mutation is updated by:
c i k = c i k + ϕ · v r
where ϕ is a random value in [ 1 , 1 ] .
When the model training is complete, we can deploy the model based on the optimized parameters and perform alignment predictions.

4. Performance Evaluation

In this section, we evaluate the performance of the proposed prediction model based on the BP and GA-BP NNs and present the experimental results. Firstly, we experimented with a real air spring vibration isolation system and collected the operation data required for the model learning. Then, in order to verify the effectiveness of the GA-BP model, we compared the performance of GA-BP with original BP NN, in which four different criteria were adopted. Finally, we studied the impact of different parameters on the performance of our proposed model.

4.1. Experiment Setup

(1) Experimental device: In this paper, we carried out the experiment with a main engine air spring vibration isolation system (ME-ASVIS) as shown in Figure 4. In the ME-ASVIS, we use eight air springs to support the main engine with an inclined angle of 30 ° . Each air spring has a rated load of 8 tons and a natural frequency of 5 Hz. Air springs are connected to the ACUs to monitor its pressure and perform charging and deflating operations. The alignment state is monitored and calculated by seven displacement sensors. And these data are recorded and stored in the controller.
(2) Data collection: Within the acceptable working pressure range of the air spring and near the ideal alignment state, the air pressure is changed randomly through inflation and deflation. During this process, we monitor the air pressure values and alignment state. A total of 19,336 groups of data are recorded, where each group of data includes eight air spring pressure values and four alignment state values. The distribution of recorded data is shown in Figure 5. And we can see that the change in air spring pressure has little effect on horizontal angularity α . In addition, we randomly divide the data into a training set and test set, of which the training set accounts for 80 % and the test set accounts for 20 % .
(3) Model implementation: The proposed model is implemented by Python (version 3.12.2), and pytorch (version 2.2.1) is used to provide the basic function for establishing a neural network. The GPU is NVIDIA GeForce RTX 3070 (Santa Clara, CA, USA) and the CUDA version is 12.4.89. For BP NN, the learning rate is set to 0.02, the default number of nodes in the hidden layer is set to 8, and the Adam optimizer is selected in the BP algorithm. For GA, the default population is 50, the crossover probability is 0.5 , the mutation probability is 0.1 , and the maximum mutation value is 0.05 . The maximum training iteration is 5000.
(4) Performance metrics: In order to demonstrate the effectiveness of the proposed model, in addition to MSE, three other typical criteria are used in the paper, that is, mean absolute error, determinant coefficient, and accuracy. The mean absolute value is expressed by:
M A E = 1 n i = 1 n y i y i
where n is the amount of collect data, y i is the i-th predicted value, and y i is the i-th measured value. And the determinant coefficient R 2 is defined as:
R 2 = 1 S S E S S T = S S R S S T
in which S S T is the total sum of squares, S S R is the regression sum of squares, and S S E is the residual sum of squares. These values can be calculated by:
S S T = i = 1 n ( y i y ¯ ) 2
S S R = i = 1 n ( y i y ¯ ) 2
S S E = i = 1 n ( y i y i ) 2
where y ¯ is the average value of y i .
In engineering, when the alignment state is within the given error range, we believe that the system is in the alignment state and can stop the alignment control; otherwise, it is considered that the system is in the misalignment state and alignment control needs to be continued. Here, we set the alignment error interval to 0.3, that is, when | x c |   < 0.3 mm, | z c |   < 0.3 mm, | α | < 0.3 mm/m, and | β | < 0.3 mm/m, the system is considered to be in the alignment state. Then, the accuracy of the alignment prediction model is defined as:
A c c u r a c y = T P + T N N t o t a l
where N t o t a l is the total number of samples in the test set, T P is the sample amount such that the predicted alignment state is the actual alignment state, and T N is the sample amount such that the predicted misalignment state is the actual misalignment state.

4.2. Results

(1) Performance results of the proposed prediction model. Using the training set and test set, the prediction model is trained and tested with the BP and GA-BP neural networks. We first trained the prediction model with GA-BP, and obtained the optimized weights and thresholds in the neural network as shown in Equations (24)–(27). According to these optimized parameters and Equation (1), we can obtain the explicit data relationship between the air spring pressure and alignment state for a specific ASVIS. And we can predict the alignment state by the collected air spring pressure values. Figure 6 shows the prediction results with the GA-BP neural network, in which 50 samples are randomly selected and displayed. We can see that all components of the alignment state can be accurately predicted. Thus, we can say that the alignment prediction model based on the GA-BP neural network has a good prediction ability.
{ ω n , k i } = 1.01 0.41 0.49 0.45 0.00 0.01 0.05 0.79 0.65 1.18 0.40 0.46 0.76 0.27 1.04 0.15 0.24 0.80 0.79 0.42 0.34 0.01 0.24 0.21 1.38 0.18 0.01 0.99 1.02 1.12 0.44 0.29 0.86 1.08 0.28 0.39 0.50 0.39 0.64 0.73 0.38 0.29 0.88 0.85 0.21 1.09 0.40 1.06 0.22 0.95 0.12 0.21 0.34 1.18 0.03 0.04 1.31 0.29 0.20 0.56 0.36 0.53 0.37 0.68
{ b k i } = 0.36 0.92 1.42 0.66 0.96 0.71 0.51 0.72
{ ω k , m o } = 0.19 0.56 1.44 0.24 0.66 0.79 0.25 0.65 0.13 1.10 0.89 0.21 0.23 1.47 0.65 0.38 0.68 0.13 0.16 0.47 0.13 0.03 0.44 0.10 0.47 1.39 0.42 0.79 0.87 0.46 0.29 0.20
{ b m o } = 0.7121 2.6351 0.0761 1.2726
To fully verify the effectiveness of the proposed model, we also tested the prediction model based on the BP neural network and GA-BP neural network with different performance metrics. As shown in Table 1, the prediction model performs well with both the BP and GA-BP neural networks, and the GA-BP neural network is superior to the BP neural network in these performance metrics. Compared with the original BP neural network, GA algorithm can help the prediction model reduce the MSE and MAE value by 74 % and 38 % , respectively, and increase the R 2 value by 12 % . For single alignment state component, there is an interesting phenomenon. The horizontal angularity α performs best in MSE and MAE while it performs worst in R 2 . In fact, this is because the value of α itself is small, which can be seen in Figure 5, so its MSE and MAE value are also small. However, consider that the determinant coefficient of α is the worst, the ability to predict and describe this component through the pressure value itself is the worst among all alignment state components. Besides, we test the prediction accuracy. And the accuracy of prediction model based on BP neural network and GA-BP neural network is 97.6 % and 98.7 % , in which GA-BP improves prediction accuracy by 1.1 % . Thus, we can say that the introduction of GA algorithm in BP neural network can effectively improve the prediction accuracy and reduce the prediction error.
In addition, we compared the results of GA-BP neural network in terms of convergence and stability with different algorithms (i.e., GA and BP). Figure 7a shows the training process of the training set and Figure 7b shows the prediction performance of the test set, including MSE and accuracy. For the GA-BP neural network, GA is used to optimize network parameters in the first 2000 iterations, and BP algorithm is used to optimize network parameters in the last 2000 iterations. As shown in Figure 7a, compared with BP neural network, GA-BP neural network can obtain the global optimal value. Compared with only using GA to optimize network parameters, the convergence speed of GA-BP neural network is faster. As shown in Figure 7b, we can see that GA-BP and GA can stably obtain optimal values. However, the performance of the algorithm is unstable since the BP algorithm is easy to fall into local optimal.
(2) The impact of the number of nodes in hidden layer. The number of nodes in the hidden layer K is usually determined using an empirical equation, as shown in Equation (2). Here, we test the prediction performance of K in the range of 4∼13. Figure 8a shows the training process of prediction model based on GA-BP model, in which GA algorithm is used to optimize network parameters for the first 0–2000 iterations, and BP algorithm is used to optimize network parameters for the last 2000–4000 iterations. It can be seen that BP algorithm can quickly converge to the optimal value on the basis of the optimized parameters obtained by GA algorithm. And when K = 8 , the convergence rate of BP neural network has basically reached the maiximum. Figure 8b shows the MSE values calculated by the network model using optimized parameters on the test set. It can be seen that with the increase of the number of nodes in the hidden layer, the MSE value decreases, and when K = 8 , the prediction performance is basically optimal. This is consistent with the results shown in Figure 8a.
(3) The impact of different parameters in GA on the performance. We first test the effect of population size on the convergence speed and learning error of the GA algorithm. Figure 9a shows fitness value in the network parameters training process using the GA algorithm. The training process here does not include the iterative process of BP neural network. It can be seen that the population size affects the convergence speed of the algorithm. When the population size is 10, the convergence rate is the slowest. As the population size increases, the convergence speed increases. But when the population size reaches 40, the convergence rate is basically unchanged. Figure 9b shows the MSE values under different population sizes, which is calculated with the test set. Combined with the results in Figure 9a,b, it can be said that the population size has little effect on the learning error, mainly affecting the convergence speed of the GA algorithm.
Then, we test the effect of mutation probability on the prediction performance. The mutation operation is mainly to avoid the algorithm falling into local optimum. We selected four probability values, namely 0.01, 0.05, 0.1 and 0.5, and the results are shown in Figure 10. It can be seen that when the mutation probability is too small, the convergence speed of the algorithm is slow. Increasing the mutation probability can improve the convergence speed of the algorithm. However, when the mutation probability is too high, it will affect the learning results, leading to the increase of MSE value.
Except for the mutation probability, the mutation range value can also affect the mutation operation in the GA algorithm, as shown in Equation (17). Here, we tested five different mutation range values, and the results are shown in Figure 11. It can be seen that the mutation range can affect the convergence speed and MSE value of the algorithm at the same time. The smaller the mutation probability, the slower the convergence speed, and the smaller the MSE value. However, when the mutation range value is reduced to 0.1, further reducing the value has little effect on the final learning result, i.e., MSE value.

5. Conclusions

In this paper, we investigate the alignment prediction problem in the air spring vibration isolation system, and present a data model to predict the alignment state using air spring pressures based on the BP neural network. And in order to obtain the global optimum, GA is applied to optimize the weights and thresholds of the BP neural network, and an improved GA-BP model is designed. To validate the effectiveness of the proposed alignment prediction model, we conducted the experiments in a real ASVIS, and four typical criteria, that is, MSE, MAE, R2, and accuracy, are introduced to evaluate the performance. The extensive experiment results show that the prediction model, based on the BP neural network and GA-BP neural network, can accurately predict the alignment state according to the air spring pressure. And compared with original BP neural network, GA-BP can achieve higher prediction accuracy and lower prediction error. In engineering, the prediction model proposed in this paper provides another approach to alignment prediction, which can be deployed independently or used as an assistant in case of sensor failure in alignment measurement, thus effectively improving the reliability of the system.

Author Contributions

Conceptualization, S.L. and L.S.; methodology, S.L.; software, S.L.; validation, S.L.; investigation, S.L. and Z.-W.L.; resources, S.L. and L.S.; data curation, S.L.; writing—original draft preparation, S.L.; writing—review and editing, S.L.; visualization, S.L.; supervision, L.S.; funding acquisition, S.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the National Key Laboratory on Ship Vibration and Noise under Grant 6142204220104.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are unavailable due to privacy.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ASVISair spring vibration isolation system
BPback propagation
GAgenetic algorithm
NNneural network
MAEmean absolute error
MSEmean-square error
ACUair control unit

References

  1. Mendia-Garcia, I.; Gil-Negrete Laborda, N.; Pradera-Mallabiabarrena, A.; Berg, M. A survey on the modelling of air springs—Secondary suspension in railway vehicles. Veh. Syst. Dyn. 2022, 60, 835–864. [Google Scholar] [CrossRef]
  2. Shi, L.; Cheng, G.; Bu, W. Mechanical characteristics analysis and control algorithm for floating raft system with mass variation. Sci. Rep. 2023, 13, 9457. [Google Scholar] [CrossRef]
  3. He, L.; Xu, W.; Bu, W.; Shi, L. Dynamic analysis and design of air spring mounting system for marine propulsion system. J. Sound Vib. 2014, 333, 4912–4929. [Google Scholar] [CrossRef]
  4. Eisenmann, R. Machinery Malfunction Diagnosis and Correction: Vibration Analysis and Troubleshooting for Process Industries; Prentice Hall PTR: Hoboken, NJ, USA, 1998. [Google Scholar]
  5. Qiu, Y.; Xu, W.; Bu, W.; Qin, W. Raft attitude control and elastic deformation suppression technique for large-scale floating raft air spring mounting system. J. Vib. Control 2022, 28, 3457–3468. [Google Scholar] [CrossRef]
  6. Liu, H.; Ma, Q.; Li, Y.; Wang, K. Vibration control of a marine centrifugal pump using floating raft isolation system. Low Freq. Noise Vib. Act. Control 2020, 39, 382–392. [Google Scholar] [CrossRef]
  7. Simm, A.; Wang, Q.; Huang, S.; Zhao, W. Laser based measurement for the monitoring of shaft misalignment. Measurement 2016, 87, 104–116. [Google Scholar] [CrossRef]
  8. Liao, T.T. Modeling and analysis of laser shaft alignment using 4× 4 homogeneous coordinate transformation matrix. Measurement 2009, 42, 157–163. [Google Scholar] [CrossRef]
  9. Cheng, J.W.; Bu, W.J.; Shi, L.; Fu, J.Q. A real-time shaft alignment monitoring method adapting to ship hull deformation for marine propulsion system. Mech. Syst. Signal Process. 2023, 197, 110366. [Google Scholar] [CrossRef]
  10. Lee, J.U. Application of strain gauge method for investigating influence of ship shaft movement by hydrodynamic propeller forces on shaft alignment. Measurement 2018, 121, 261–275. [Google Scholar] [CrossRef]
  11. Zhang, Y.; Xu, W.; Li, Z.; Yin, L. Alignment and safety analysis of marine propulsion shafting using intelligent floating raft system. J. Mar. Sci. Technol. 2021, 26, 323–330. [Google Scholar] [CrossRef]
  12. Nabavi, M.R.; Nihtianov, S.N. Design strategies for eddy-current displacement sensor systems: Review and recommendations. IEEE Sens. J. 2012, 12, 3346–3355. [Google Scholar] [CrossRef]
  13. Li, J.; Bao, R.; Tao, J.; Peng, Y.; Pan, C. Recent progress in flexible pressure sensor arrays: From design to applications. J. Mater. Chem. 2018, 6, 11878–11892. [Google Scholar] [CrossRef]
  14. Quaglia, G.; Guala, A. Evaluation and Validation of an Air Spring Analytical Model. Int. J. Fluid Power 2003, 4, 43–54. [Google Scholar] [CrossRef]
  15. Holtz, M.W.; Van Niekerk, J.L. Modelling and design of a novel air-spring for a suspension seat. J. Sound Vib. 2010, 329, 4354–4366. [Google Scholar] [CrossRef]
  16. Huang, Y.; Xiang, Y.; Zhao, R.; Cheng, Z. Air quality prediction using improved PSO-BP neural network. IEEE Access 2020, 8, 99346–99353. [Google Scholar] [CrossRef]
  17. Ding, S.; Li, H.; Su, C.; Yu, J.; Jin, F. Evolutionary artificial neural networks: A review. Artif. Intell. Rev. 2013, 39, 251–260. [Google Scholar] [CrossRef]
  18. Cui, K.; Jing, X. Research on prediction model of geotechnical parameters based on BP neural network. Neural Comput. Appl. 2019, 31, 8205–8215. [Google Scholar] [CrossRef]
  19. Wang, W.; Tang, R.; Li, C.; Liu, P.; Luo, L. A BP neural network model optimized by mind evolutionary algorithm for predicting the ocean wave heights. Ocean. Eng. 2018, 162, 98–107. [Google Scholar] [CrossRef]
  20. Ding, S.; Su, C.; Yu, J. An optimizing BP neural network algorithm based on genetic algorithm. Artif. Intell. Rev. 2011, 36, 153–162. [Google Scholar] [CrossRef]
Figure 1. The composition and connection diagram of ASVIS. (a) the schematic diagram of ASVIS and coordinate system. (b) the electrical connection diagram of ASVIS.
Figure 1. The composition and connection diagram of ASVIS. (a) the schematic diagram of ASVIS and coordinate system. (b) the electrical connection diagram of ASVIS.
Sensors 24 04049 g001
Figure 2. Alignment prediction model based on the BP NN.
Figure 2. Alignment prediction model based on the BP NN.
Sensors 24 04049 g002
Figure 3. The work flow of the GA-BP NN model.
Figure 3. The work flow of the GA-BP NN model.
Sensors 24 04049 g003
Figure 4. Physical diagram of ME-ASVIS used in the experiment.
Figure 4. Physical diagram of ME-ASVIS used in the experiment.
Sensors 24 04049 g004
Figure 5. The value distribution of the collected data. (a) the distribution of air spring pressure values. (b) the distribution of the alignment state.
Figure 5. The value distribution of the collected data. (a) the distribution of air spring pressure values. (b) the distribution of the alignment state.
Sensors 24 04049 g005
Figure 6. Comparision of the actual value with the predicted value of the proposed model based on GA-BP neural network. (a) comparison of predicted and measured horizontal offsets. (b) comparison of predicted and measured vertical offsets. (c) comparison of predicted and measured horizontal angularity. (d) comparison of predicted and measured vertical angularity.
Figure 6. Comparision of the actual value with the predicted value of the proposed model based on GA-BP neural network. (a) comparison of predicted and measured horizontal offsets. (b) comparison of predicted and measured vertical offsets. (c) comparison of predicted and measured horizontal angularity. (d) comparison of predicted and measured vertical angularity.
Sensors 24 04049 g006
Figure 7. The prediction performance with different algorithms. (a) the fitness value in the training process with different algorithms. (b) the MSE value and accuracy of different algorithms calculated on the test set.
Figure 7. The prediction performance with different algorithms. (a) the fitness value in the training process with different algorithms. (b) the MSE value and accuracy of different algorithms calculated on the test set.
Sensors 24 04049 g007
Figure 8. The fitness values and MSE values with different nodes number in the hidden layer. (a) the fitness values in the training process with different numbers of hidden layer nodes. (b) the MSE value calculated with the test set with different numbers of hidden layer nodes.
Figure 8. The fitness values and MSE values with different nodes number in the hidden layer. (a) the fitness values in the training process with different numbers of hidden layer nodes. (b) the MSE value calculated with the test set with different numbers of hidden layer nodes.
Sensors 24 04049 g008
Figure 9. The fitness values and MSE values with different populations. (a) the fitness values in the training process with different populations. (b) the MSE value calculated for different populations in the test set.
Figure 9. The fitness values and MSE values with different populations. (a) the fitness values in the training process with different populations. (b) the MSE value calculated for different populations in the test set.
Sensors 24 04049 g009
Figure 10. The fitness values and MSE values with different mutation probabilities. (a) the fitness values in the training process with different mutation probabilities. (b) the MSE value calculated in the test set with different mutation probabilities.
Figure 10. The fitness values and MSE values with different mutation probabilities. (a) the fitness values in the training process with different mutation probabilities. (b) the MSE value calculated in the test set with different mutation probabilities.
Sensors 24 04049 g010
Figure 11. The fitness values and MSE values with different mutation ranges. (a) the fitness values in the training process with different mutation ranges. (b) the MSE value calculated in the test set with different mutation ranges.
Figure 11. The fitness values and MSE values with different mutation ranges. (a) the fitness values in the training process with different mutation ranges. (b) the MSE value calculated in the test set with different mutation ranges.
Sensors 24 04049 g011
Table 1. The results of proposed prediction model based on GA-BP and BP neural network.
Table 1. The results of proposed prediction model based on GA-BP and BP neural network.
Model x c z c α β Total
GABPMSE0.00870.02870.00120.00720.0114
MAE0.07370.12530.02490.06620.0725
R20.99020.97630.74770.98780.9539
BPMSE0.08450.04440.00370.04240.0438
MAE0.13840.15040.04930.13220.1176
R20.9050.96330.19630.92840.8545
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.

Share and Cite

MDPI and ACS Style

Liu, S.; Shi, L.; Liu, Z.-W. Alignment Prediction of Air Spring Vibration Isolation System for Marine Shafting Based on Genetic Algorithm–Back Propagation Neural Network. Sensors 2024, 24, 4049. https://doi.org/10.3390/s24134049

AMA Style

Liu S, Shi L, Liu Z-W. Alignment Prediction of Air Spring Vibration Isolation System for Marine Shafting Based on Genetic Algorithm–Back Propagation Neural Network. Sensors. 2024; 24(13):4049. https://doi.org/10.3390/s24134049

Chicago/Turabian Style

Liu, Song, Liang Shi, and Zhi-Wei Liu. 2024. "Alignment Prediction of Air Spring Vibration Isolation System for Marine Shafting Based on Genetic Algorithm–Back Propagation Neural Network" Sensors 24, no. 13: 4049. https://doi.org/10.3390/s24134049

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop