Open access peer-reviewed chapter - ONLINE FIRST

# Vibration Analysis and Control in the Rail Car System Using PID Controls

By Ilesanmi Afolabi Daniyan and Khumbulani Mpofu

Submitted: February 5th 2019Reviewed: March 5th 2019Published: April 24th 2019

DOI: 10.5772/intechopen.85654

## Abstract

The PID classic control systems are often employed for rail car systems to reduce the vibrations and disturbance rate during movement. In this study, the dynamic modeling and simulation of PID controls for rail car systems were carried out. Using 9 degrees of freedom, the modeling process comprises the representation of the rail car system and the rail track followed by the generation of equations of motion as well as differential equations for the rail car body, wheel sets and bogie. The represented systems are simulated in the MATLAB Simulink 2018 environment based on the equations of motion generated, and subsequently vibration analysis was carried out. The PID control system tuned according to the Nichols-Ziegler rule was introduced to minimize the vibrations and disturbance rate. The performance of the control and the rail car system in terms of the input step response, bandwidth, frequency, phase margin, frequency and input and output rejections was evaluated. The control system demonstrated significant robustness in providing the required active control for the system, while there was improved stability and reduction in noise and vibration under control action of the PID, thus improving ride comfort.

• modeling
• rail car
• simulation
• vibration

## 1. Introduction

The rail car system uses steel wheels moving on steel rails, and its suspension system comprises the bogie, primary and secondary suspension elements as well as springs and dampers. The rail car has the power bogies in the front and rear positions each having four wheels arranged in pairs and rigidly connected through an axle. The sets of wheel, which rotates at the same speed, are connected to the bogie through the primary suspension system, which is harder and stiffer in order to minimize load disturbances and uneven weight distributions. This is to maintain a good balance of the rail car while moving along its track. The stiff primary suspension system connects the wheel set to the bogie, while the soft secondary suspension system connects the bogie to the rail car body in order to isolate it from disturbances that stem from rail irregularities, uneven track profiles and its associated vibrations. While the primary suspension system is designed to provide guidance and rail car stability amidst load and weight variations, the secondary suspension system is to enhance comfortable ride by isolating rail car body from rail track irregularities. These design requirements of both suspension systems are to dampen the effect of vibration and increase the overall system’s performance [1, 2]. For a rail car, when vibrations are not kept within the permissible limits, the comfort, safety and health of passengers are at risk, and the time interval for maintenance activities for the components will likely increase. Hence, undesirable vibration in the rail car system is the cause of noise, considerable energy loss, reduction in the system’s performance, fatigue or fracture of some component, instability of a moving rail car and displacement of the rail track, amongst others. Over the years, there are three main types of suspension systems often employed to check vibration in the rail car system, namely, the passive, semi-active and fully active suspension systems [3, 4]. The design requirements of the suspension system of the rail car are to provide support against the dynamic loads and weight of the railcar; prevent load and rail disturbances; isolate the rail car body disturbances that could offset its balance; prevent irregular motions such as bouncing, yawing, etc.; provide guidance along the rail track; and optimize the curving, braking and other car maneuvering performances. The passive suspension system, which consists of springs, absorbs and stores the energy absorbed, while the dampers mounted on each wheel act as the shock absorber that dissipates the energy stored in the spring and reduces the vibrations from the rail transmitted to the vehicle ([5, 6, 7]. The passive suspension system is cost-effective and driven by simple technology, but its demerit lies in the fact that it cannot measure some critical parameters such as the velocity, displacement, acceleration, etc. of the rail car system in real time in order to effect the needed adjustments to stabilize the rail car system; hence, it is rigid and cannot reach the compromise between alternate hard primary and soft secondary suspension systems amidst load and rail irregularities. On the other hand, the active suspension system uses sensors, comparators and actuator for measuring and monitoring some critical parameters that influence rail car stability in real time [8, 9]. The measured system’s parameters are compared with the threshold already pre-set on the controller, which can guarantee comfortable ride. The steady-state errors generated are eliminated through adjustment and compensation for such errors, and as such, there is high-level damping without compromising the system’s performance. The third category of suspension system is the semi-active suspension system, which employs a spring and controllable damper. The spring element stores the energy, while the controllable damper dissipates the energy stored. The semi-active suspension systems combine the features of the passive and active suspension systems such as the use of passive damper and an actively controlled spring. The merit of the semi-active suspension is that it is cost and energy effective [9, 10, 11].

Over the years, researchers have employed several approaches ranging from classic to advance systems to control the suspension system in order to minimize the effect of vibrations. Such approaches include the use of proportional-integral-derivative (PID) control, Fuzzy PID, Linear Quadratic Regulator vibration controller, Adaptive Neuro-Fuzzy Inference System control and magnetorheological dampers, amongst others [12, 13, 14, 15, 16].

## 2. Materials and method

The analysis of vibration and control in the rail car system starts with the schematic representation of the rail car and track system including their degrees of freedoms and subsequent generation of equations of motion. The modeling is done with the masses of the system (rail car, body and wheel sets) having 6 degrees of freedom in the longitudinal, lateral and vertical directions as well as in the roll, pitch and yaw rotational motions. Figures 1 and 2 illustrate the free body diagram for the rail car and track system in their degrees of freedom.

In order to give a complete vibration analysis and control, the model design and simulation of the suspension systems are considered as both linear and non-linear systems. There are three forces acting on the rail car suspension system, namely, the spring force, rolling resistance and forces due to the wheel-track interactions. The spring force and the rolling resistance act on the rail car body with mass m1in the horizontal directions, while the spring force, rolling resistance and the forces due to the wheel-track interactions act on the bogies with mass m2due to load in the horizontal directions. The masses of the rail car and its bogies are represented by m1and m2,respectively, while the bodies are connected to the rail car through the secondary suspension with couplings having stiffness K.If force Fdis the force generated as a result of wheel-track interaction, Fuis the control force and μis the coefficient of rolling friction, then Newton’s second law of motion holds; thus,

F=maE1
F1=Kx1x2μm1gẋ1=m1x¨1E2
F2=FdKx1x2μm2gẋ2=m2x¨2E3

Eq. (3) expresses the summation of the forces

F1+F2=m1x¨1+m2x¨2E4
F1+F2=Mx¨E5
F1+F2=Fd+FuE6

The spring deflection is expressed as Eq. (7):

δ=Kx1x2E7
Fd+Fu=Mx¨+bẋ+KxE8
Fd+Fu=Mx¨+bẋ+KxE9
Hence,x=x..x1TE10
ẋ=dxdt=fxtuttE11

where xtis the state vector and a set of variables representing the configurations of the system. The modeling of the rail car system and its suspension system as well as the track system is done on the MATLAB Simulink 2018 environment (Figure 3).

The transfer function was used for representing the linear systems, and the inputs are the load changes, applied forces as well as the uneven track profiles, while the output of the system is the acceleration and displacement of the rail car body as well as the deflection of the suspension systems.

According to Sezer and Atalay [19], the vectors for the displacement, rail car disturbance and control forces are expressed as Eqs. (12)(14), respectively:

x=[Xr,Lr,Vr,θr,r,ψr,Xb1,Lb1,Vb1,θb1b1,ψb1,Xb2,Lb2,Vb2,θb2b2,ψb2,Xb3,Lb3,Vb3,θb3b3,ψb3,Xw1,Lw1,Vw1,θw1,ψw1,Xw2,Lw2,Vw2,θw2,ψw2,Xw3,Lw3,Vw3,θw3,ψw3,Xw4,Lw4,Vw4,θw4,ψw4,Xw5,Lw5,Vw5,θw5,ψw5,Xw6,Lw6,Vw6,θw6,ψw6]TE12
[Fd]=[000000000000000000000000(ksLYr1)(ksV(Vr1+Vr2))(ksLR1Lr1+ksV(Vr2Vr1))00(ksLLr2)(ksV(Vr3+Vr4))(ksLR1Lr2+ksVa(Vr4Vr3))00(ksLLr3)(ksV(Vr5+Vr6))(ksLR1Lr3+ksVa(Vr6Vr5))00(ksLLr4)(ksV(Vr7+Vr8))(ksLR1Lr4+ksVa(Vr8Vr7))00(ksLLr5)(ksV(Vr9+Vr10))(ksLR1Lr5+ksVa(Vr10Vr9))00(ksLLr6)(ksV(Vr11+Vr12))(ksLR1Lr6+ksVa(Vr12Vr11))0]TE13
[Fu]=[0(UL1+UL2+UL3)(UV1+UV2+UV3+UV4+UV5+UV6)(d3(UL1+UL2+UL3)(p2((UV2+UV4+UV6)(UV1+UV3+UV5)))Lo((UV5+UV6)(UV1+UV2)))(h2UL1UL3))0(UL1)((UV1+UV2))(d2UL1p2(UV2UV1))000(UL2)(UV3+UV4))(d2UL2p2(UV4UV3))000(UL3)(UV5+UV6))( d2UL3p2(UV6UV5))00000000000000000000000000000000]TE14

where.

Lr1,Lr2,Lr3,Lr4,Lr5,Lr6are the lateral rail disturbance functions; Vr1,Vr3,Vr5,Vr7,Vr9,Vr11are the vertical right rail disturbance functions; Vr2,Vr4,Vr6,Vr8,Vr10,Vr12are the vertical left rail disturbance functions; Xr,Lr,Vrare the longitudinal, lateral and vertical displacements of the rail car body; Xbi,Lbi,Vbiare the longitudinal, lateral and vertical displacements of the rail car bogie; Xwj,Lwj,Vwjare the longitudinal, lateral and vertical displacements of the rail car wheel sets; θr,r,ψr,are the roll, pitch and yaw displacements of the rail car body; θbi,bi,ψbi,are the roll, pitch and yaw displacements of the rail car bogie; θwj,wj,ψwj,are the roll, pitch and yaw displacements of the rail car wheel set (i=1..3;andj=1..6);p1is the lateral distance between the vertical primary suspensions; p2is the lateral distance between the vertical secondary suspensions; d1is the vertical distance between the wheel set and the bogie mass centre; d2is the vertical distance between the bogie mass centre and lateral secondary suspension; d3is the vertical distance between the lateral secondary suspension and railcar body mass centre; Lois the longitudinal distance between the bogies; and ais the lateral distance between the contact points of the wheel-rail.

The mathematical model can be obtained in either the state space or using the transfer function for necessary control actions. The control action is to improve the speed of response, system’s balance and stability and to reduce the steady-state error as well as the amplitude of oscillations. Eqs. (15) and (16) express the form of the second-order systems:

ẏt+ξωnẏt+ωn2yt=kdωn2utE15
Gs=XsFs=1ms2+bs+k=kdωn2s2+2ξωns+ωn2=kdωn2s+σ2+ωd2E16

where.

kdis the dc gain which is the steady-state step response to the magnitude of the step input expressed as Eq. (17)

kd=1kE17

ωdis the damped natural frequency expressed as Eq. (18)

ωd=ωn1ξ2E18

σis the real part of the pole expressed as Eq. (19)

σ=ξωnE19

ωnis the undamped natural frequency at which the system oscillates expressed as Eq. (20)

ωn=kmE20

ξis the damping ratio which defines the rate or nature of amplitude of oscillation (Eq. (21))

ξ=b2kmE21

The performance of the control system is measured by the settling time, delay time rise time, percent overshoot and the steady-state error.

The settling time tsis the time it takes the system to fall within a certain percent (mostly 2%) of the steady-state value for a step input response expressed as Eq. (22):

ts=lnTfξωn=4ζ=4σE22

On the other hand, the rise time is the time it takes the signal to change from a low value to a high value (say 10–90% or 0–100%). The time it takes the peak value to occur known as the time is expressed as Eq. (23):

tp=πωdE23

The steady-state error Esis the difference between the input reference signal Rsand the output signal Ysexpressed as Eq. (24):

Es=RsYsE24

Similarly, the delay time is the time required for the response to reach half the final value for the first time, while the percent overshoot is the percent by which the step response of the system exceeds the final steady-state value. It is a parameter that defines the instability of a system (Eq. (25)):

Po=e1ζπ1ξ2E25

Eq. (26) relates the percent overshoot to the damping ratio:

ξ=lnPoπ2+ln2PoE26

The input parameters of the system are presented in Table 1.

### 2.1 The proportional-integral-derivative (PID) control

The PID control represents the proportional, integral and derivative controls. It is a form of classic control designed to automatically reduce rise and settling times, steady-state errors and percent overshoot. The block diagram of the PID controller is illustrated in Figure 4. The threshold value otherwise referred to as the reference point is pre-set on the controller while real-time measurement using sensors is taken. The error generated, which is the difference between the threshold value and the actual measurement, represents the deviation from the ideal process; thereafter, the actuator effects real-time control to adjust process variables. The output signal of the PID controllers often responds to changes over time with respect to the actual measurements and set points. The PID variables are iteratively adjusted until the steady-state error from the output signal is eliminated. This control action is done by adjusting the controller gain with resulting decrease in the rise time and percent increase in the overshoot, which makes the system go unstable. This rise time is further reduced with the integral control action. Finally, the derivative action is introduced to compensate for the offset. This reduces the percent overshoot and settling time, thus making the system stable over time.

Eq. (27) gives the expression for the control action of the PID controller:

uc=Kpet+KiTi0tetdt+KdTddetdtE27

The Nichols-Ziegler tuning rules employed for tuning the PID control as well as the summary of the effects of its control action on the PID are presented in Tables 2 and 3, respectively.

S/NParameterNotationValueUnit
1Average mass of the rail carM150,500kg
2Average mass of bogieM22410kg
3Mass of primary suspension systemMp30,000kg
4Mass of secondary suspension systemMs30,000kg
5Moments of inertiaIi56,900kgm2
6Rail car roll inertiaIr68,200kgm2
7Rail car pitch inertiaIp71,000kgm2
8Average mass of first wheel set and axlem11300kg
9Average mass of second wheelm21300kg
10Distance between the centre of gravity and the front position of the rail cardi6m
11Distance between the centre of gravity and the middle position of the rail card26m
12Distance between the centre of gravity and the rear position of the rail card36m
13Spring constant of the primary suspension systemk12.4 × 106N/m
14Spring constant of the secondary suspension systemk25.6 × 105N/m
15Spring constant of the wheelk34.0 × 105N/m
16Damping constant of the primary suspension systemb11.2 × 103Ns/m
17Damping constant of the secondary suspension systemb22.95 × 104Ns/m
18Damping constant of the wheelb35.0 × 104Ns/m

### Table 1.

Input parameter for rail car system modeling.

Source: [20, 21].

S/NType of controllerKpKiKd
1P0.5 Kcr0
2PI0.45 Kcr0.83 Pcr0
3PID0.6 Kcr0.5 Pcr0.125 Pcr

### Table 2.

Zeigler-Nichols tuning rules.

S/NController responseRise timeOvershootSetting time
1KpDecreaseIncreaseSmall change
2KiDecreaseIncreaseIncrease
3KdSmall changeDecreaseDecrease

### Table 3.

Effect of the control action of the PID.

The signal (U) which passes through the controller computes the derivative and integral of error signal. The signal error is thereafter sent to the system in order to obtain the system’s output (Y). The PID controller was designed in the MATLAB Simulink 2018 environment to generate a continuous time control. Using the Nichols-Ziegler rules, the tuning of PID controller was done by generating the system’s transfer function and subsequent importation of the parameters obtained into the linear time-invariant system.

The PID control system and its connection to the rail car system are shown in Figures 5 and 6, respectively.

The aim of the control design is to keep the system variables close to the reference in order to compensate for the effect of load and rail disturbances. The system requirement is to check unpleasant motion and ensure rail car stability by reaching a compromise between the stiff primary suspension and soft secondary suspension system.

The actively controlled suspension system can be activated via the use of solenoid, hydraulic, electromagnetic means or through a magnetorheological damper. This system is designed to use the solenoid actuators because of its lightweight, simplicity in structure, ease of installation and short response time, which makes it highly sensitive to disturbances.

## 3. Results and discussion

Figure 7 shows the step response before the iterative adjustment of the PID control. The amplitude of oscillation, which is a function of the percent overshoot, is 2 mm, and the system could not return to the equilibrium position after 3 s. The shape of the plot represents a system that is underdamped, which signifies the need for damping to minimize unwanted motion. The system whose step response is depicted in Figure 7 is relatively unstable as vibration will reduce the system’s and ride performance.

Figure 8 shows the step response from the controlled system. When compared to Figure 1, the amplitude of oscillation has reduced to 1.15 mm and settling time 0.5 s under the effect of the PID control action. The system is relatively stable as the plot gives an indication of a critically damped system. This implies that under the effect of the PID control system, the system could regain its stability and equilibrium position after encountering some level of disturbances.

Figure 9 shows the response of the PID controller in order to determine whether the control system meets the design requirements. The tuned response represents the actual measurement of the process variables, while the baseline response represents the reference or set point. The differences between the tuned response and the baseline response give the steady-state error. The nature of the plot also indicates that the system is critically damped; thus, the damping ratio ξ=1.

Figure 9 shows the reference tracking of the tuned response and the reference (baseline). The design requirement of the control system includes set-point tracking; hence, this plot shows how the closed-loop system responds to a step change in set point. From the plot, the steady-state error is minimal, thus indicating the effectiveness of the control system.

Figure 10 shows the closed-loop step response to a step disturbance at the system’s output. This is important in analyzing the sensitivity of the control system to noise measurement. The negligible value of the steady-state error as shown by the degree of agreement between the tuned output response of the system and the baseline (reference) indicates the high sensitivity and compensation of the system’s control to the noise measurement.

Figure 11 shows the closed-loop system response to load disturbance. The plot represents a step disturbance from the system’s input. The differences between the tuned response and the baseline response, which is a function of the steady-state error, are significantly large. The implication of this is that the control system is insensitive to the rejection of load and other input disturbances, which is capable of offsetting the balance of the system. The large steady-state error resulting from input disturbance rejection stems from the fact that a single PID may not be able to satisfy all the design requirements at the same time; hence, there is always a performance trade-off amongst the reference tracking, percent overshoot and input disturbance rejection. However, the use of Fuzzy PID or ISA-PID controller can be used to meet the design requirements significantly. This will improve the response of the reference tracking with the provision of an additional tuning parameter, which allows for independent control of the effect of the reference signal on the proportional action.

The robustness and performance of the PID control are directly proportional to the degree of stability of the rail car, ride comfort and performance of the rail car. The summary of the performance of the PID control system is presented in Table 4.

ParameterTuned responseBaseline (reference) response
Rise time0.07 s0.0847 s
Settling time0.4991.94 s
Overshoot4.76%10.3%
Peak1.051.1 mm
Phase margin83o60.4o
Closed loopStableStable

### Table 4.

Summary of the performance of the PID control.

From Table 4, the tuned response has better performance and robustness compared to the baseline due to periodic iterative adjustment to eliminate the steady-state error for each step input. The rise time of the tuned response indicates a fast response time of the control system to disturbances or changes when compared to the baseline. This signifies some degree of delay in the time it takes the system to respond to fluctuations. In addition, comparing the settling time for both responses, the tune response settles faster after some disturbances compared to the baseline response. This explains the ability of the rail car to regain its stability after encountering some level of disturbances with the active control system. Also, the percent overshoot for the tuned response is still within the range of the permissible oscillation (5%) for critically damped system which indicates that the rail car system is relatively stable amidst load and rail disturbances. An increase in the phase margins implies a significant reduction in the percent overshoot and bandwidth.

Figure 12 shows the bode response of the control system. This is the plot of the frequency and phase response of the control system. The phase margin was found to be 83o at a frequency of 16.6 rad/s for the tuned response compared to the baseline response with a phase margin and frequency of 60.4o and 17.8 rad/s, respectively. The relationship between the phase margin and percent overshoot is inversely proportional. Hence, the high value of the phase margin results in significant decrease in the percent overshoot, thus improving the rail car stability. Also, the higher closed-loop bandwidth results in faster rise time. The rise time was found to be 0.07 s for the tuned response and 0.0847 s for the baseline response. This implies that for the baseline response, the percent overshoot is still significant to offset the stability of the rail car system.

Figures 13 and 14 show the result of the linearization of the rail car system. This is to determine the dynamics of the system in real time and within time and frequency domains. Figure 13 shows the impulse response of the rail car system, which is the degree of rail car body displacement as a result of load or rail disturbances. The maximum amplitude oscillation is 0.02 mm, which is negligible and insufficient to offset the rail car balance. In addition, the settling time (less than 1 s) is also within the permissible range indicating the ability of the system to regain its stability within a second as a result of load or rail disturbances.

Figure 14 shows the bode plot of the rail car system; the phase margin was found to be 48o at a frequency of 20.2 rad/s which signifies significant reduction in the percent overshoot due to the compensation for steady-state error by the derivative action of the PID.

## 4. Conclusion

The control of undesirable vibrations of the rail car system in 6 degrees of freedom was carried out using the PID control system. The initial displacement and vertical acceleration that characterize the performance of the system on encountering rail and load disturbances were minimized with the iterative adjustment of the PID controller according to Nichols-Ziegler tuning rules. In addition, the performance of the control and the rail car system in terms of the input step response, bandwidth, frequency, phase margin and input and output rejections was within the acceptable range. Hence, the PID control system shows significant robustness in providing the required active control for the system, while the rail car system shows improved stability and reduction in vibration under control action of the PID, thus improving ride comfort. However, a single PID may not sufficiently satisfy all the design requirements at the same time resulting in performance trade-off. However, Fuzzy PID or ISA-PID controller can be used to meet the design requirements significantly. This will further improve the performance and robustness of the rail car system.

chapter PDF

## More

© 2019 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## How to cite and reference

### Cite this chapter Copy to clipboard

Ilesanmi Afolabi Daniyan and Khumbulani Mpofu (April 24th 2019). Vibration Analysis and Control in the Rail Car System Using PID Controls [Online First], IntechOpen, DOI: 10.5772/intechopen.85654. Available from: