Adaptive Piecewise Linear Controller for Servo Mechanical Control Systems

In this paper, an adaptive piecewise linear control scheme is proposed for improving the performance and response time of servo mechanical control systems. It is a gain stabilized control technique. No large phase lead compensations or pole zero cancellations are needed for performance improvement. Large gain is used for large tracking error to get fast response. Small gain is used between large and small tracking error for good performance. Large gain is used again for small tracking error to cope with disturbance. It gives an almost command independent response. It can speed up the rise time while keeping robustness unchanged. The proposed control scheme is applied to a servo system with large time lag and a complicated electro-hydraulic velocity/position servo system. Time responses show that the proposed method gives significant improvements for response time and performance.


Introduction
This template Gain and phase stabilized are two conventional design methods for feedback control systems.They can be analyzed and designed in gain-phase plots to get wanted gain margin (GM) and phase margin (PM) or gain crossover frequency  cg selected for switching.An adaptive switching algorithm is used.There is no discontinuous connection between two systems.Therefore, there is no chattering problem.Gain scheduling has been used successfully to control nonlinear systems for many decades and in many different applications, such as autopilots and chemical processes [8][9][10].It consisted of many linear controllers for operating points to cope with large parameter variations.This concept will be expanded for response time and performance.Operating points are replaced by fast response and good performance conditions and interpolation for gain evaluation is replaced by an adaptive switching point.It is determined by the filtered command tracking errors.Nonlinear controllers syntheses using inverse describing function for use with hard nonlinear system have been developed for several researchers [11][12][13][14].They are complicated but effective for nonlinear systems.In this paper, a simple three segments piecewise linear controller is proposed.It is easy to analyse and design.Furthermore, it gives an almost reference input independent response.  and phase crossover frequency  cp   [1,2].The gain crossover frequency is closely related to the system bandwidth (or rise time).The phase margin is closely related to performance (or peak overshoot).In general, fast response time and good performance can not be obtained simultaneously for some feedback control systems.For example, the altitude control system of the airframe with altitude and altitude rate feedbacks needs large altitude loop gain for fast response time and low altitude loop gain for good robustness.It is in conflict with another.A simple and effective way to solve this problem and better results for those of linear controllers is generally expected.This is the motivation of this paper.Variable structure control is a switching control method for feedback control systems [3][4][5][6][7].It gives good performance and robustness for coping with system uncertainty.But it suffered from chattering problem and state measurements.In this paper, a fast response system and a good performance system are The proposed control scheme is applied to a servo system with large transportation lag and a complicated electro-hydraulic velocity/position servo system.Time responses show that the proposed method gives signifi-cant improvements for response time and performance.

Piecewise Linear Nonlinearity
Figure 1(a) shows piecewise linear description of the symmetrical nonlinearity.Piecewise linear segments are in the form of   Now, the problem is to determine the values of switch points i and gains K , 2 K will be used to illustrate the advantage of the proposed piecewise linear controller; i.e., three segments are discussed.In this work, switching points 1 and 1 are not fixed and will be determined by the absolute value of the command tracking error of feedback control systems.The control configuration of the industry process using the piecewise linear nonlinearity and PID controller is shown in Figure 1(b).The finding of will be discussed in the next subsection.

Gain Adapting Using the Piecewise Linear Nonlinearity
The loop gain of the closed-loop system can be adapted by the piecewise linear linearity.Considers a second order numerical example described by It is closed with a loop gain K. Then the closed-loop transfer function is Poles locations and natural frequency   n  for two loop gains   The strategy for gain switching is (1) large gain   2 K for large tracking error to get fast response and (2) small gain   1 K for small tracking error (E) to get good performance.It is a variable structure system and can be achieved by selecting a proper switching point 1 of the piecewise linear controller shown in Figure 1(a).For example, the optimal switching point 1 is selected as 0.525 for R = 1 to get both fast response and good performance.Large gain Step response is shown in Figure 2 (solid-line) also for R = 1.It shows that adaptive gain can give a good result for fast response and good performance.
However, it is not true for R is equal to 5, 10 and 50, respectively.Those step responses are shown in T.-S.TSAY 87 50 can be selected for getting good performance.They are 2.625, 5.250 and 26.250 for R = 5, 10 and 50, respectively.They are true for step responses from zeros to 5, 10 and 50 only.Another possible way for the switching point can be dependent on the tracking error (E).A possible switching rule for 1 is found as D 1 0.925 D  E for good performance.Figure 3 shows time responses for R = 1, 5, 10 and 50, respectively.It can be seen that the switching rule gives an input command (R) independent results.However, they are slower than results shown in Figures 2 and 4.
One possible way to speed up the time response is enlarging the large gain phase in the beginning.A low-pass filter for the absolute tracking error (E) to get is used.Figure 5 shows faster response is get for The switching point 1 is shaped for speed up the responses while keeping performance unchanged.Figure 6 shows input independent responses for R = 1, 5, 10 and 50.Note that the natural frequency The design procedures for the proposed method using the adaptive piecewise linear controller can be deduced as: Step 1: Selecting two loop gains for fast response and good performance, respectively.In general, high loop gain  2  K K  for fast responses and low gain   1 K K  for good performance.
The rise time   c T of the system using high gain meets the design specification.The peak overshoot of the system with low gain meet the design specification.
Step 2: determining parameters of low-pass filter to find the optimal switching point  is close related to the rise time.Another parameter n can be found by the optimization method using performance index formulated by integration of the absolute error (IAE) and integration of the square error (ISE) or on-line parameterized method [15,16].The iteration rule for finding where Mps is the specification of the Peak point; Mpc is the peak point found using ; T is simulation period of one step response; and k is the step responses.The proposed control scheme will be applied to a servo system with large transportation lag and a compli-  T.-S.TSAY 88 cated electro-hydraulic velocity/position servo system.

Numerical Example
Example 1: Consider a stable plant has the transfer function [16,17] It is a second order dynamic plus a pure time delay (SOPDT).In this example, a PID controller with parameters 1.1953 and high gain are shown in Figure 7.They show an over-damped system and a zero-damped system.Now, applying the proposed control scheme to the system using The 000; 0.6366; K K T  n K is found by following on-line computing rule: kT is converged to be 1.1385 within three period simulations.The time response is shown in Figure 7 also.It can be seen that the proposed method can give fast response and good performance simultaneously.It is the combination of over-damped and zero-damped systems with 1 .Zero-damped system is used for fast responses and over-damped system is used for good performance.Naturally, it is input command (R) independent also.

D
Simulation results of the proposed method and four other methods are presented for comparisons.They are Ziegler-Nichols method [18,19] for finding PI and PID compensators, Tan et al. [20,21] for finding PID compensator and Majhi [17] for finding PI compensator.Parameters of five found compensators are given below: 1) Proposed Method:      1 and Figure 8, one can see that the proposed method gives faster response, better performance, and better robustness than those of other methods presented.Note that the proposed mrthod can provide a simple way to improved the system that has been controlled.
Example 2: Consider an electro-hydraulic velocity/position servo control system [22] shown in Figure 9.The relation between the servo spool position v X and the input voltage u is in the form of where v K is the valve gain, v  is the damping ratio of the servo valve and v  is the natural frequency of the T     where j K is a constant for specific hydraulic motor; is the supply pressure; S P L P is the load pressure and; s K is the valve flow gain which varies at different operating points.The following continuity property of the servo valve and motor chamber yields The control configuration for velocity and position servo control of the considered system is shown in Fi- gure 11, in which inner loop and outer loop adaptive nonlinear controllers are included.
Design results of the velocity control loop are discussed below: 1) Inner loop PI controller where m is the volumetric displacement; tp is the total leakage coefficient; t is the total volume of the oil; o D C V  is the bulk modulus of the oil; and  is the velocity of the motor shaft.The torque balance equation for the motor is in the form of The PI controller is first found by the optimization toolbox of MATLAB for minimized the integration of absolute errors (IAE), integration of square errors (ISE) and zero peak overshoot.Parameters of the PI controller are

3.9632
where m is the viscous damping coefficient and B L T is the external load disturbance which is assumed to be dependent upon the velocity of the shaft.The mathematical model of the considered system is shown in and high gain are selected.The low gain case is the optimized result and the high gain case is the controlled system in the sustaining condition    Time responses for low gain, high gain and adaptive gain are shown in Figure 12.Rise times of the optimization method and the proposed method are 0.0202 sec and 0.0124 sec; respectively.It shows the proposed method can give faster response than that of controlled by the optimized method.The Gain gain/phase margins, phase/gain crossover frequencies, and rise times are given also in Table 2.It gives controlled system using two methods have same robustness while Figure 12 shows the proposed method gives faster response.Design results of the position control loop are discussed below:

1) Outer loop PI controller
The PI controller are first found by the optimizations toolbox of MATLAB for minimized the integration of absolute errors (IAE), integration of square errors(ISE) and zero peak overshoot.Parameters of the PI controller  se/gain crossover frequencies and rise times are given also in Table 3.It gives controlled system using two methods have same robustness while Figure 13 shows the proposed method gives faster response.

Conclusions
The proposed adaptive piecewise linear controller has been shown that provided controlled systems are reference input independent and both good performance and fast response were obtained simultaneously.Three segments piecewise linear controller provided a switching algorithm for low gain and high systems; i.e., low gain for performance and high gain for response time.The switching points were dependent on the command tracking errors.There are zero-damped ones used in Example 1 and 2 to get fast responses in large tracking error phases.Two servo control system examples were designed and comparisons were made with famous on-line computing and control methods and optimization method.They have illustrated better performance and fast response of the proposed method than those of other mentioned methods.
the wanted responses time and performance.For illustrating purpose, two switching points 1

Figure 1 .
Figure 1.(a) Piecewise linear description of an adaptive gain; (b) Control configuration of the industry process using PID controller.
They are an over-damped and an under-damped systems.Time responses are shown in Figure2for 1 dot-line) in which R represents the reference input and C represents the plant output.

1 .
The natural frequency D   n  for the high gain system   2 K K  is used to find n T .The natural frequency   n th k

Figure 5 .
Figure 5.Time responses for R = 1 using
are shown in Figure 8. Gain/phase margins, phase/gain crossover frequencies, Integral of the Square Error (ISE), and Integral of the Absolute Error (IAE) are given in

Figure 8 .
Figure 8. Comparisons with other methods for Example 1.

Figure 9 .
Figure 9. Block diagram of the electro-hydraulic system.servovalve.In general, Equation (12) can be approximated byv v X K u for large v  .The relation between the valve displacement V X and the load flow rate L Q is governed by the well-known orifice law[22] sponses of the controlled system using the found PI controller are shown in Figure12.

Fig- ure 10 .
System parameters are given below:

Figure 10 .
Figure 10.Mathematic model of the electro-hydraulic system.

Figure 11 .
Figure 11.Control configuration of velocity and position servo control system.

Figure 12 .
Figure 12.Time responses of velocity control system for low gain   K 1 1  and high gain   K 2 9.223  and adaptive gain.
low gain case is the optimized result and the high gain case is the controlled system in the sustaining condition gain, high gain, and adaptive gain are shown in Figure13.Rise times of the optimization method and the proposed method are 0.0513 sec and 0.0334 sec; respectively.It shows the proposed method can give faster response than that of controlled by the optimized method.The Gain gain/phase margins, pha-1.001 .Tim

Table 2 . Gain/phase margins, phase/gain crossover frequen- cies and rise times.
Figure 13.Time responses of position control system for , and adaptive gain.K 1 1  K 2 7.877 