Abstract
Unwanted vibration of flexible manipulator results in unsatisfactory performance of any dynamic system using the flexile manipulator. This paper presents a robust control strategy in order to suppress undesirable vibration due to flexible manipulator maneuver. First, the appropriate model of the flexible manipulator is extracted by applying the control-model identification technique for linear and nonlinear model, namely, autoregressive with exogenous input (ARX) model and nonlinear ARX (NARX) respectively. The linear model is estimated by recursive least square method (RLS) and nonlinear model identified by artificial neural network (NN). Finally, the PID controller is designed for each proposed model to cancel the vibration of the flexible manipulator. The robustness of the controller is evaluated by imposing new disturbances into the linear and nonlinear systems. System identification and controller design is conducted by numerical and simulation approaches. The results from simulation indicate that performance of PID controller using linear model is satisfactory compared to nonlinear model.
1. Introduction
Manipulators are one of the important appendages of most of dynamic systems. Owing to some functional applications they have been extensively utilized in aero investigations [1], biomedical applications [2], robotic system [3] and many other fields that require heavy, tedious and accurate structural minipulations. In most cases where the need for less energy consumption, increase of operation speed and optimization of dimensions, the flexible manipulator is the preferable choice over its rigid counterpart.
Apart from useful contribution of flexible manipulator, its low stiffness characteristic evolves drawbacks of unwanted vibration or chaotic motion especially when it is stimulated by any external loads or maneuvered by simple torque at some points. This extra oscillation causes time delay and also wastes a great deal of energy. Quite recently, considerable attention has been paid to deal with flexible manipulator weaknesses. A solution would be designing a proper control system in order to suppress the unwanted oscillation. The controller can be selected in active or passive configuration. In system control strategy, if the accurate modelling of flexible manipulator is implemented in the primitive stage, the system will yield satisfactory response. Recently, research on modelling and control of flexible manipulator has become very popular with a variety of approaches. Tang et al. [4] presented the modelling of single flexible manipulator by using Lagrange formulation, where the trajectory and vibration control based on approximation of neural network (NN) and the concept of sliding mode control (SMC) are considered. Feliu et al. [5] proposed lumped masses to model the single flexible manipulator and feedforward controller is designed as control scheme. In [6] the assumed mode method (AMM) was used to obtain the mathematical model of two flexible links, while the neural adaptive control was adapted for control strategy. However, dealing with huge differential equations for modelling of flexible manipulater by classical approach is cumbersome, so the system identification method utilizes the differences equations to model the dynamic system [7]. In a recent paper by Duarte et al. [8] the black box technique is applied to present the dynamic model of flexible link and vibration cancelation is done by using the H∞ control scheme. Franke et al. [9] developed the frequency response function (FRF) to extract the transfer function of flexible manipulator, and for eliminating the vibration feedforward input the shaping was carried out using strain feedback control. The most interesting approach to this issue has been proposed by [10] in which the soft computing method is implemented for trajectory and vibration control. Also, beam structural analysis could be considered as an insight of modelling and control for flexible manipulator [11].
In this paper the author offers another alternative system identification technique in which autoregressive with exogenous input (ARX) model as linear structure and NARX model as nonlinear structure are signified. In short, the ARX model is one where its parameters are estimated by conventional recursive least square (RLS) approach. For NARX model the nonparametric model estimation is done by artificial neural network algorithm. Finally the proportional integral derivative (PID) controller is utilized for both models for eliminating the undesirable vibration. The performance of PID controller is also evaluated by applying different disturbances on the control system.
2. The flexible manipulator system
Fig. 1 depicts a typical single-link flexible manipulator. The single-link flexible manipulator is considered a pinned-free arm with length and tip mass , attached to either a rigid or flexible hub. Here, the rigid joint is considered with arm inertia . As in most cases an input torque is applied at the hub by an electrical motor. , and represent the Young modulus, second moment of inertia and mass density per unit length, respectively, of the arm. In this study, the motion of the flexible manipulator is defined in the and axis systems, as stationary and moving coordinates, respectively. The overall displacement is consisted of angular displacement and elastic deflection which can be described as:
Fig. 1Typical flexible manipulator arm
The governing equation of the flexible manipulator, by considering the boundary and initial conditions, is obtained as:
The analytical method can be used to deal with the fourth order PDE. Most studies do not take into account the solution of Eq. (2) by analytical method directly, because by changing the boundary conditions and adding more than one flexible link, solving of such PDEs becomes thorough. So, other alternative methods have been used to present the dynamic model of flexible manipulator with different number of links. For instance, by truncating the continuous link into finite number of subsystems or elements and applying the assume mode method (AMM) [12] and finite element method (FEM) [13] a discrete model could be presented. The dynamic motion of the flexible manipulator can be extracted by incorporating the energy principle in the Lagrange or Hamilton formulations. The lumped parameters system is also used [5] to derive the dynamic equation of single link flexible manipulator, but with less accuracy than FEM and AMM. In the present study, to derive the mathematical model of the flexible manipulator system, the system identification technique is applied, as a novel approach, for modelling of dynamic systems possessing complicated dynamic characteristics and encountering with some uncertainties such as nonlinear behavior, changeable mass, stiffness and damping.
3. System identification
Identification of dynamic systems which have flexibility has attracted researchers recently. In this work, linear system identification is carried out by using the ARX model and nonlinear system identification is conducted using NARX model. In addition to choosing the model structure, the input and output signals, as discrete set of data, must be assigned as well. Input and output data can be obtained from experimental test of real system. The system is excited with test signal and its response measured. When the experiment test is not available other alternative method can be carried out to simulate the system. In this study, the input and output signal detection is done by finite difference (FD) method that is described in [14].
3.1. Linear system identification
A linear model using autoregressive with exogenous input (ARX) model is presented in this study. Fig. 2 illustrates the schematic of the ARX model. Using the symbols in Fig. 2 the model function can be written as:
where, and are polynomials and is the input data and is the output data while is the white noise. By neglecting the noise effect and rewriting Eq. (3) we have:
where:
By substituting Eqs. (5) and (6) into Eq. (4) the model in Eq. (3) can be shown as:
or:
In both discrete polynomials, and refer to the order of the function where . and are backshift operators and is the sampled output.
Fig. 2ARX model structure
3.1.1. Parameters estimation
By signifying the ARX model, we can estimate the model parameters by applying the recursive least square method (RLS). Fig. 3 shows the schematic of RLS method. By rewritting Eq. (7) in the standard form the mathematical definition of RLS is presented as:
where is the actual output, is the regressor that includes the input and output data and are the system parameters. Consequently, Eq. (9) can be presented in the matrix form of Eq. (10) by replacing with and with:
By employing the cost function and adding new parameters the unknown parameters in Eq. (9) can be estimated by Eq. (11):
Two new parameters are introduced, namely as arbitrary value and as error variable, and they can be defined as:
Note that in Eq. (12), is the forgetting factor that varies from 0 to 1. Finally, the estimated output in Eq. (14) is obtained by replacing the estimated parameter by in Eq. (9):
However, the proposed model using the estimated parameter is optimum when the mean-square error (MSE) gets minimized:
In Eq. (15), and are the actual and estimated output respectively, and denotes the number of sampled data.
Fig. 3Diagram of RLS algorithm
3.1.2. RLS result
By considering the finite difference method, Fig. 4 and 5 show the results [14] of the input signal (as bang-bang torque imposed at link hub) and response output signal (manifested as tip displacement). These two signals are sampled with period of 0.04 ms into 68842 points and normalized between –1 and 1.
Fig. 4Sampled input signal, bang-bang torque
Fig. 5Sampled output signal, tip displacement
Consider the implementation of the two described signals into the ARX model. The modelling becomes more reliable when the estimation process is divided into training and testing steps. In this case the model parameters are estimated by using half of the data and tested by employing the entire data in order to achieve the adaptive model with the minimum mean square error (MSE). After conducting the system identification process, the model order of 2 is found to be the best model with minimum MSE of 2.8546×10-8.
The parameters of the second order model, namely in Eqs. (5) and (6), are extracted by making the regressor matrix in Eq. (10) create and in Eqs. (12) and (13) respectively. Then the desired parameters would be estimated by Eq. (11) in vector form, where–2.0733×10-6, –2.091×10-6. On the other hand, the estimated output is evaluated by Eq. (14) which tries to minimize the MSE as well. The above formulation are programmed using Matlab software. Finally, by inserting the adapted parameters in Eq. (3) the transfer function of ARX model can be found, as presented by Eq. (16). The actual and estimated responses, with their errors, are illustrated in Figs. 6 and 7 graphically:
Fig. 6Actual and estimated output
Fig. 7Error between actual and estimated output
For validation of the linear ARX model the frequency response function (FRF) for both actual and estimated output are illustrated in Fig. 8. As it is shown in the frequency domain the estimated output follows the same trend as actual output. All frequencies are captured using the proposed linear model but with negligible phase differences in high frequency domain. It is noted that the active vibration control for flexible manipulator system is intended to work in low frequency range.
Fig. 8Frequency response function for actual and estimated output
3.2. Nonlinear system identification
In this section nonlinear system identification is discussed in relation to nonlinear autoregressive with external (exogenous) input (NARX) model. Fig. 9 shows the nonlinear estimation process using the artificial neural network (NN) algorithm for NARX model in the iterative process. As rule of thumb the NN uses the past input and output data to estimate the present output as delayed input and output variables (regressors) namely, , ,…, , , ,…, . In this study the NN is trained by using the Levenberg-Marquardt back propagation in order to achieve the minimum error. Nonlinear identification process has the same scenario with the formerly described linear identification, which means making the nonlinear structure using the half of the data and testing the extracted model using the entire data to obtain the adaptive model with minimum MSE. In this work all numerical calculations were computed using the software tool from Mathworks Inc. which include MATLAB, Simulink and control environments. In the literature this type of system identification is known as black box technique because the model function is not physically significant.
Fig. 9Schematic of NARX NN structure
3.2.1. Neural network result
By altering the configuration of neural network (NN) algorithm such as different time delay and number of neurons in the hidden layer the best model with minimum MSE can be accurately achieved. In this case only one hidden layer is selected and the best model is obtained by choosing 8 neurons and a time delay of 6, thus obtaining an MSE of 8.770×10-12 in the training process, see Table 1. Finally the black box model is implemented for estimating output from the entire data testing process. This model is depicted in Fig. 10 with MSE 3.4×10-5 for entire data. The estimated output and actual output with their absolute error are illustrated in the Figs. 11 and 12 respectively.
Fig. 10NARX NN model simulation
Fig. 11Actual and estimated output
Fig. 12Error between actual and estimated output
Table 1Values of MSE in neural network configuration
Number of neurons | Delay = 2 MSE | Delay = 4 MSE | Delay = 6 MSE | Delay = 8 MSE | Delay = 10 MSE |
2 | 2.0486×10-8 | 1.0249×10-9 | 9.867×10-9 | 8.554×10-11 | 4.14×10-9 |
4 | 1.15×10-8 | 2.189×10-7 | 3.215×10-7 | 1.132×10-9 | 1.22×10-5 |
6 | 2.023×10-11 | 1.17×10-9 | 8.296×10-6 | 5.426×10-9 | 6.76×10-8 |
8 | 2.058×10-11 | 1.37×10-7 | 8.770×10-12 | 6.24×10-9 | 1.036×10-5 |
10 | 2.055×10-11 | 4.75×10-6 | 2.667×10-11 | 9.33×10-7 | 2.23×10-6 |
Fig. 13Validation results
a) Auto-correlation
b) Cross-correlation
c) Cross-correlation
d) Cross-correlation
e) Cross-correlation
3.2.2. Model validation
Previously, the system identification technique was implemented by dividing input-output data into two sets of data for training and for testing process to show the model adaptiveness to a new set of data. For linear model the FRF was utilized to validate the model. However, predictive capability of proposed nonlinear model by system identification technique should be validated by some statistical method such as the correlation test [15], as given in Eq. (17). A model is validated when these equations are satisfied, in other words, when the residuals (errors) are uncorrelated with linear and nonlinear combinations of past input and output:
where is input, is the predicted error, indicates the cross-correlation function between and and is an impulse function. For nonlinear system identification all five equations should be used [14]; in the present case a 95 % confidence band indicates that the proposed NN model satisfies all five equations, see Fig. 13.
4. Feedback controller
In order to eliminate the tip vibration of flexible link manipulator active vibration PID control scheme is conducted for both ARX and NARX models in the feedback control strategy. In this study discrete modelling for the sampled time is proposed, and the digital PID controller is selected for both linear and nonlinear models. The PID controller parameters are automatically tuned by using the interactive design mode technique.
Fig. 14System response with controller
4.1. Active vibration control for linear model
In this section the ARX model is embedded into the feedback control loop, see Fig. 15. The adaptive and robust capability of PID controller can be evaluated by altering the disturbance signal. The parameters of the designed PID controller in presence of a first disturbance, a step signal, is stored when different disturbance signal is imposed to the system. In this case the repeating sequence signal is utilized as another alternative disturbances signal. The response of system to a step input reference signal, with two different disturbance is depicted in Fig. 14. As expected the system vibration is canceled and stabilized by PID controller with 6 % overshoot and 0.002 steady state error.
Fig. 15Digital PID controller with discrete system in the feedback loop
To evaluate how well the system performs in the feedback control loop, the bang-bang torque is imposed as a reference signal. From Fig. 16, with the new reference signal the controller stabilizes system and damps the extra vibration as well. The disturbance signal profile is illustrated in Fig. 17 as a repeating sequence signal.
Fig. 16System response to the bang-bang torque as reference signal
Fig. 17Repeating sequence disturbance signal
By applying the frequency response function (FRF) for both controlled and uncontrolled systems that are stimulated by bang-bang torque, the performance of the PID controller can be evaluated from the well-damped amplitudes of response in the FRF result, shown in Fig. 18.
Fig. 18Frequency response of the bang-bang torque for controlled and uncontrolled system
4.2. Active vibration control for nonlinear model
In this section the proposed NARX neural network model is utilized in the feedback scheme with digital PID controller. The control system is depicted in Fig. 19 and the response of the system to a reference signal (step signal) in the presence of two different disturbances namely, step signal and repeating sequence signal, is illustrated in Fig. 20. In order to follow the same scenario with presented control scheme for linear system in the previous section, the bang-bang reference torque signal is exerted into the control system to evaluate the control capability with respect to different reference signals and disturbances.
Fig. 19Digital PID controller with black box system in the feedback loop
Fig. 20System response to the step signal with two different disturbances
As illustrated in Fig. 21, the PID controller in the presence of bang-bang torque shows a desirable response (without overshooting). The step signal is imposed as disturbances, by applying a new disturbance, such as repeating sequence signal. Some peaks are seen in the controlled response.
Fig. 21System response to the bang-bang torque as reference signal
The FRF is taken into account for evaluating the robustness of PID controller on nonlinear NARX neural network model in the case of a step signal disturbance. From Fig. 22 it can be seen that the PID controller completely attenuates the vibration of the flexible manipulator by reducing the amplitude for the entire frequency domain. It is also observed that the amplitude is augmented when imposed by a repeating sequence disturbance in the high frequency region. However, the flexible manipulator system is concerned with active vibration control in the low frequency domain rather than high frequency domain.
Fig. 22Frequency response to the bang-bang torque for controlled and uncontrolled system
5. Conclusions
This study has demonstrated a PID controller design for linear and nonlinear modeling of flexible manipulator with the aim of suppressing unwanted vibration due to external excitations. A significant implication is that the linear model (ARX) shows a better estimation with MSE of 2.8546×10-8 compared to nonlinear model (NARX) with MSE of 3.4×10-5. The excellent supression in the linear model can be verified from test data acquisition using finite difference method, because the FD method estimates a linear model for nonlinear system. In addition, proposed models are validated by employing FRF and correlation test for linear and nonlinear model respectively. The PID controller was implemented in both models to cancel the vibration. In the presence of input signal and disturbances in the control loop, the amplitude of the system response for entire frequency domain is canceled for the linear model. However, the amplitude of the system response for nonlinear model is barely attenuated especially in the low frequency region. The most likely explanation of the different PID controller performance in both models is that the parametric PID controller is well adapted with parametric linear model rather than nonlinear and nonparametric models. The next stage of this research is experimental confirmation of our simulation and also designing the nonlinear control scheme for the proposed NARX model.
References
-
Qinglei Hu Input shaping and variable structure control for simultaneous precision positioning and vibration reduction of flexible spacecraft with saturation compensation. Journal of Sound and Vibration, Vol. 318, Issues 1-2, 2008, p. 18-35.
-
Yaryan M., Naraghi M., Rezaei S. M., Zareinejad M., Ghafarirad H. Bilateral nonlinear teleoperation for flexible link surgical robot with vibration control. Proceedings of the 19th Iranian conference on Biomedical Engineering (ICBME), Tehran, Iran, 2012, p. 21-22.
-
Rocha C. R., Tonetto C. P., Dias A. Robotics and computer-integrated manufacturing. A comparison between the denavit-hartenberg and the screw-based methods used in kinematic modeling of robot manipulators. Robotics and Computer Integrated Manufacturing, Vol. 27, Issue 4, 2011, p. 723-728.
-
Yuangang Tang, Fuchun Sun, Zengqi Sun Neural network control of flexible-link manipulators using sliding mode. Neurocomputing, Vol. 70, Issues 1-3, 2006, p. 288-295.
-
Vicente Feliu, Emiliano Pereira, Ivan M. Diaz, Pedro Roncero Feedforward control of multimode single-linkflexible manipulators based on an optimal mechanical design. Robotics and Autonomous Systems, Vol. 54, 2006, p. 651-666.
-
Gerasimos G. Rigatos Model-based and model-free control of flexible-link robots: a comparison between representative methods. Applied Mathematical Modelling, Vol. 33, Issue 10, 2009, p. 3906-3925.
-
Francisco Ramos, Vicente Feliu New online payload identification for flexible robots. Application to adaptive control. Journal of Sound and Vibration, Vol. 315, 2008, p. 34-57.
-
Franklyn Duarte, Pablo Ballesteros, ChristianBohn H∞ and state-feedback controllers for vibration suppression in a single-link flexible robot. IEEE/ASME Internatinal Conference on Advanced Intelligent Mechatronics (AIM) Wollongong, Australia, 2013, p. 1719-1724.
-
Rene Franke, Jorn Malzahn, Thomas Nierobisch, Frank Hoffmann, Torsten Bertram Input shaping and strain gauge feedback vibration control of an elastic robotic arm. IEEE International Conference on Robatic and Automation, Kobe Internatinal Conference Center, Kobe, Japan, 2010, p. 672-677.
-
Akira Abe Residual vibration suppression for robot manipulator attached to a flexible link by using soft computing techniques. Proceeding of IEEE Internatinal Conference on Robotic and Biomimetics, Phuket, Thailan, 2011, p. 2324-2329.
-
Qiu Zhi-Cheng, Shi Ming-Li, Wang Bin, Xie Zhuo-Wei Genetic algorithm based active vibration control for a moving flexible smart beam driven by a pneumatic rod cylinder. Journal of Sound and Vibration, Vol. 331, Issue 10, 2012, p. 2233-2256.
-
Hu Junfeng Vibration suppression of a high-speed flexible parallel manipulator based on its inverse dynamics. IEEE internatinal Conference on Intelligent Systems Design and Engineering Application, Sanya, Hainan, 2012, p. 744-747.
-
Tokhi M. O., Mohamed Z., Shaheed M. H. Dynamic characterisation of a flexible manipulator system. Robatica, Vol. 19, Issue 4, 2001, p. 571-580.
-
Yatim H. M., Darus I. Z. M. Intelligent parametric identification of flexible manipulator system. IEEE Conference on Control, System and Industrial Information (ICCSII), Bandung, Indonesia, 2012.
-
Billings S. A., Voon W. S. F. Correlation based validity tests for nonlinear models. International Journal Control, Vol. 44, Issue 1, 1986, p. 235-244.
About this article
The authors would like to extend their thanks to the Faculty of Mechanical Engineering of Universiti Teknologi Malaysia for the support in implementing the project.