Design of Tuning Methods of Pid Controller Using Fuzzy Logic

Tracking a target is an essential function of a seeker for missiles. The target tracking mechanism of a seeker consists of gimbals, mounted with gyroscopes, and an antenna or some other energy receiving devices such as radar, infrared (IR), or laser. Stabilization of such a gimbal is necessary for any guided missile to maintain the tracking device always pointing towards the target. For the stabilization of the gimbal system, several control methods have been employed for making the gimbal to follow an input rate command by eliminating all the gimbal disturbances. Here, a new self-tuning fuzzy logic-based proportional, integral, derivative (PID) controller is introduced for the stabilization of a two-axis gimbal for a manoeuvring guided missile. The proposed control method involves tuning the gains of the PID controller based on the fuzzy logic rule bases considering the missile body rotation. The performance of the stabilization loops has been verified through MATLAB simulations for fuzzy logic-based PID controller compared with the conventional PID controller. The simulation results show the response of the gimbal system with stabilization loops met the control requirements with fuzzy PID controllers but not with conventional PID controllers.

1. Introduction

The important function of an inertial stabilization system in pointing and tracking systems is to provide the target motion measurements and to track the target with a sensor. The majority of tracking systems utilize a gimballed tracker for tracking a fixed or moving target. A stabilization system is used for the gimballed tracker to continuously track the target. The stabilization system continuously maintains the tracking sensor's line of sight (LOS) toward the target by isolating the sensor from operating environmental disturbances.

Stabilization of the tracking sensors (such as antennas or telescope) is usually achieved by placing the antenna in a two-axis gimbal, with a two-axis rate sensor placed on the inner gimbal [1]. The gimbal axis is actuated by a dc motor. The angular speed or rotation rate of the gimbal axis sensed by the rate gyro is compared with an input rate command. The difference between the gimbal rate (or LOS rate) and the input rate (called the rate error) is supplied to a controller from which a control signal is generated to drive the dc motor which produces a required torque to turn the gimbal to follow the rate command. Thus, the stabilization loop in target tracking forms a control system in which the purpose of the controller is to make the rate error as zero when the gimbal following the rate command.

As the gimbal system is attached to a base or vehicle body, the control system has to isolate the tracking sensor (or antenna) from base motion. The overall control system for the two-axis gimbal can be constructed with two stabilization loops as shown in Figure 1, where inner (elevation) and outer (azimuth) gimbals correspond to pitch and yaw axes, respectively. In the stabilization loop, a dc motor requires to produce an amount of torque proportional to the control signal input from the controller. The control of LOS inertial stabilization systems is a complex problem because of the precise requirement of providing accurate target tracking and pointing in the dynamic operating environment and the presence of cross-coupling between the two gimbal axes in the system.

The research on gimbal kinematics and its inertial stabilization was carried out by numerous researchers. In [1–3], the complete equation of motion for a two-axis gimbal has been derived with more detailed explanations of its kinematics and dynamics, but the stabilization of gimbal with the controller through simulation or experimental validation was not carried out. Many types of research have been made on gimbal stabilization through simulation work with many controllers. In [4], a sliding-mode control technique was proposed for a two-axis gimbal system with identical and decoupled azimuth and elevation channels. In [5], a proportional-double integral (PI2) controller with lead compensator (PI2L controller) has been proposed for stabilization of the direct-drive gimballed platform and demonstrated the performance of stabilization loop using simulation and experimental results. In [6], a proxy-based sliding-mode control has been implemented in a two-axis gimbal line-of-sight stabilization. In [7], a proportional-integral (PI) controller for stabilizing the two-axis gimbal has been designed and the performance of the PI controller was validated through MATLAB simulations. In [8], an adaptive fractional-order sliding mode controller has been designed to stabilize the two-axis gimbal with the torque disturbance effects and demonstrated the performance of the controller through numerical simulations. In [9, 10], a linear, quadratic Gaussian (LQG) algorithm has been adopted in the LOS stabilization. More recently, in [11], a hybrid control method with an incomplete derivative PID (IDPID) controller has been proposed for stabilizing an optoelectronic seeker platform, and in [12], an extended state observer-based adaptive supertwisting sliding-mode controller was presented for stabilization of laser seeker platform. Beyond the conventional control techniques, some modern control methods such as robust control [13–15], variable structure control (VSC) [16], and H-infinity control [17] were also employed in line-of-sight stabilization platforms.

In recent years, the fuzzy logic control method has been largely extended. It improves the performance of the control system with better adaptability for nonlinear dynamics with uncertainties [18, 19]. When the accurate mathematical model of the system under control is not available, the fuzzy logic is most suitable for the rapid dynamic environment and complex control problems [20, 21]. Comparing the Takagi Sugeno- (T-S-) based and Mamdani-based fuzzy logic controllers, most of the nonlinear systems are employing the T-S fuzzy model [22]. For complex environments where the system parameters change, the controller is required to tune its gain automatically, and therefore, an adaptive fuzzy control can be used in such cases [19]. An adaptive-neuro fuzzy inference system (ANFIS) and a fuzzy logic-based controller have been presented in [21–25]. Performance analysis of PID, ANFIS, and hybrid-PID ANFIS controllers has been made for brushless dc motor's speed control in [26]. In this paper, a fuzzy logic-based self-tuned PID controller is introduced in a two-axis gimbal system by considering cross-coupling between azimuth and elevation channels, the mass unbalances, and the base (missile) motion. The controller gains are tuned for a dynamic environment based on the fuzzy logic rule bases. The control requirements here are mainly to attain better transient and steady-state responses for a step input command with a faster response without any overshoot and zero steady-state error.

2. Two-Axis Gimbal System Model

The two-axis gimbal configuration considered in this paper is shown in Figure 2. The system consists of a two-axis gimbal arrangement on which the tracking sensor (antenna) is mounted. A dc motor is attached to the gimbal pivot with the help of frictionless bearings, and the rate gyro is mounted on the inner gimbal. The gimbal platform is attached to a base (here, a missile body) which is subjected to motion. The rate gyro senses the gimbal rotation rate, thus the LOS rate of the tracking sensor. The stabilization system will make the LOS rate to zero; thus, it helps in pointing the tracking sensor towards a target point.

2.1. Model of Gimbal

The gimbal system consists of two inertial axes—yaw (outer gimbal) and pitch (inner gimbal)—and is shown in Figure 2. An antenna can be placed on the inner gimbal. To describe the tracking sensor (antenna) axis, the following reference frames are used: a base body-fixed frame with axes, a frame fixed to the inner gimbal (pitch), and a frame fixed to the outer gimbal (yaw). , , and and , , and are the pitch and yaw gimbal frame axes, respectively. The -axis coincides with the antenna axis. The - and -axes coincide and are pointing downwards. The center of rotation is in the frame origin, which is considered to be the same point for all three frames.

Since the antenna is placed in the inner gimbal, there are two coordinate transformations required—(i) the body-fixed frame into the outer yaw gimbal frame by a positive angle of rotation about the -axis and (ii) the yaw gimbal frame into the inner pitch gimbal frame by a positive angle of rotation about the -axis. Thus, frame coincides with frame for . The frame is transformed into frame by a transformation matrix , and the frame is transformed into frame by a transformation matrix and is given by

The angular velocities of the frames , , and , respectively, are given by

The components , , and and , , and are related by

When substituting Equation (3) into Equation (4), the inertial angular rate of the antenna in the inner gimbal axis is given by

And the inertial rate of the outer gimbal is given by:

For deriving the equations of motion for the gimbal, the gimbal is regarded as a rigid body. Now, the inertia matrix of the inner gimbal is denoted by and the inertia matrix of the outer gimbal is denoted by where

According to [1, 2], the equation of motion for the pitch (inner) gimbal is given by where

Expanding Equation (10), using Equations (5) and (6) with further simplification, the equation of motion of inner pitch axis gimbal is given by

The equation of inner pitch gimbal given by Equation (10) is represented as a block diagram as shown in Figure 3.

From Figure 3, it is clear that the inputs to the gimbal platform are the motor torque and the disturbance torque, and the output is the angular velocity of the gimbal which is sensed by the rate gyro for stabilization. Equation (12) is used in the pitch gimbal mathematical model.

The equation of motion for the outer yaw axis gimbal is given by [1]

However, as the inner pitch gimbal is placed on the outer gimbal, the angular momentum of the total gimbal system is the sum of the angular momentum of the inner (pitch) and outer (yaw) gimbals. After some algebraic calculations and simplifications, the equation of motion of yaw axis gimbal is given by where

From Equations (14)–(20), the block diagram of the yaw gimbal is shown in Figure 4. The specifications of the gimbal considered in this paper are given in Table 1. The complete mathematical model used in the simulation of the two-axis gimbal system is shown in Figure 5.


Parameter Value Unit

Inner gimbal mass 1.23 kg
Outer gimbal mass 0.35 kg
Mass imbalance g·cm
Load (gimbal) inertia kg·m2

2.2. Model of DC Motor

The purpose of the dc motor is to rotate the gimbal by generating a required torque. The shaft of the motor is attached to the gimbal pivot through bearings. The block diagram of the dc motor (transfer function model) is shown in Figure 6.

In Figure 6, " " represents the applied voltage across the armature circuit, " " represents the current flowing through the armature circuit, " " represents the torque developed by the motor, and " " represents the angular velocity of the motor shaft. The specifications of the dc motor considered in this paper are given in Table 2. From the specifications of the dc motor and simplifying the block diagram of the dc motor model, the transfer function of the dc motor is obtained as


Parameter Value Unit

Nominal voltage 27 volts
No load speed 303 rpm
Motor torque constant, 0.85 Nm/A
Armature resistance, 4.5 Ohm
Armature inductance, 0.003 H
Back emf constant, 0.85 volts/(rad/s)
Moment of inertia of rotor, 0.0017 kg·m2

2.3. Model of Rate Gyroscope

The purpose of the rate gyroscope (gyro) is to generate a feedback signal for the stabilization loop by sensing the gimbal rate of rotation so that the controller will drive the gimbal to follow an input rate command. The specifications of the rate gyro considered in this paper are given in Table 3. From the specifications of rate gyro, the transfer function of rate gyro, is given by


Parameter Value Unit

Input rate ±150 deg/s
Scale factor 100 mV/(deg/s)
Bandwidth 400 Hz
Natural frequency 50 Hz
Damping ratio 0.7

3. Fuzzy Logic-Based PID Controller

One of the widely used controllers in the industry is the well-known PID controller. But it is not well suited for systems with nonlinear dynamics and uncertainties. For such cases, the gains of the controller need to be tuned manually, and it is not possible for systems with faster response. Hence, there is a need for some means to tune the gains of the controller automatically. In [27], the tuning problem of digital PID parameters for a dc motor controlled via the controller area network has been investigated. In the proposed controller, a fuzzy logic rule base is formed to tune the controller gains based on an error and its rate of change , where is the difference between the input rate command and the rate gyro output. Hence, the system controller is a self-tuned fuzzy logic-based PID controller. The general structure of the fuzzy logic-based PID controller is shown in Figure 7.

The stabilization system consists of two types of a controller—PID controller and fuzzy logic controller (FLC). For the PID section, a conventional PID controller is used, and its control signal is given by where , , and are the proportional, integral, and derivative gains, respectively. A fuzzy inference in FLC is used to tune the PID controller parameters by making a nonlinear transfer from the and to the PID gains. The structure of FLC consists of four main units: fuzzification, fuzzy rule base, fuzzy inference, and defuzzification. The complete unit of FLC is shown in Figure 8.

The fuzzification process generates a fuzzy value from a real scalar value using various types of fuzzifier, called membership function (MF). An MF defines the mapping between each point in the input space and a membership value, usually between 0 and 1. There are many MFs available in fuzzy logic. Out of those, the simplest and most commonly used MFs are the triangular membership function (trimf) and trapezoidal membership function (trapmf) [28]. In this paper, the trimf function is used. The behaviour of the fuzzy logic control system is determined by the rules available in the rule base. A fuzzy inference system (FIS) uses fuzzy set theory for mapping inputs to outputs. Internal representations of data in a fuzzy system are usually fuzzy sets. FISs can process the inputs according to the prespecified rules using fuzzy arithmetic and generate the outputs as real values. Two FISs are well known, the Mamdani and the Sugeno. In this paper, Mamdani-based FIS is used with 25 rules and 49 rules to tune the PID controller gains for stabilizing the two-axis gimbal. As a final step, the defuzzification process converts the fuzzy inference results into a single number (crisp output) based on a fuzzy set. The two commonly known defuzzification methods are employed for Mamdani-based fuzzy controllers—the mean of maxima (MoM) method and the center of area (CoA) or centroid method, in which the latter one is used in this proposed work.

3.1. Proposed Controller Structure

In literature, several configurations of fuzzy PID and non-PID controllers have been proposed. For traditional fuzzy PID controllers, the design of rule base is more difficult because of three inputs and three-dimension rule base, and in such cases, fuzzy PD type or PI type controllers can be employed. But the PD type controllers which are improving the transient response will not eliminate the steady-state error, and the PI type controllers used for eliminating the steady-state error will not give better transient response for higher-order systems [28]. Thus, for getting the advantages of PD and PI type controllers, it is desirable to combine these controllers to form a fuzzy PID type controller. Because of the difficulty in selecting a range for input and output membership functions, it is necessary to scale, or normalize, the range for input/output variables [28].

A proposed fuzzy PID type controller consists of normalization and denormalization steps which include input and output scaling factors. A crisp input value can be converted into a normalized value using an input scaling factor to maintain the input value within the operating range. From the normalized range of the output, an output scaling factor converts the defuzzified crisp output into an actual physical output. The Simulink model of the proposed fuzzy PID controller with input and output scaling factors is shown in Figure 9, where and are the input scaling factors for error and its rate of change, and and are the output scaling factors. The input scaling factor, , depends on the base motion ( and ), and the equations to determine for azimuth and elevation axes are given by

The input and output variables of FLC are related by

And the output of the fuzzy PID controller is where , , and are proportional, integral, and derivative terms, respectively.

3.2. Controller Design

In the fuzzification process, the triangular membership function is chosen for error, , rate of change of error, , and variables with seven linguistic variables defined, namely, negative large (NL), negative medium (NM), negative small (NS), zero (ZR), positive small (PS), positive medium (PM), and positive large (PL) and are shown in Figure 10. The normalized variation range [min, max] of is described by Equations (28)–(34).

The normalized range of is similar to Equations (28)–(34), except that is used in place of . Here, the max-min method of fuzzy inference is used, and the output control variable can be determined from the centroid method. The value of input and output scaling factors is determined through an online process based on the base motion (here, missile body rotations) where the gimbal is attached. According to Equations (24) and (25), the value depends on missile body pitch rate, , and yaw rate, . The values of other input and output scaling factors used in the simulation are given in Table 4.


Gimbal axis

Elevation (pitch) 0.02 0.09 10
Azimuth (yaw) 0.04 0.33 19

Depending on process and controller type, the formation of fuzzy rules varies. The rule base is chosen based on controller properties, nonlinear disturbances, dc motor characteristics, and gimbal payload. An approach for forming the rule base is as follows: when the difference between the desired output and the system output is too large, the error value needs to be reduced so that the system output reaches the desired value rapidly; thus, the desired rule base is if is PL and is ZR, then the control variable is selected to be PL. If the error is ZR and is nonzero, then should not be zero (for example, if is ZR and is NL, then is NL). When the system output reaches the desired value, both and are zero; thus, there is no need for control input; therefore, should be selected to be ZR. The complete rule base contains 49 rules based on the above approach and is shown in Table 5. For analysing the performance of fuzzy PID controller with 49-rule Mamdani method, another rule base is considered with 25 rules similar to rule base with 49 rules except for the linguistic variables NM and PM.


NL NM NS ZR PS PM PL

NL NL NL NL NL NM NS ZR
NM NL NL NL NM NS ZR PS
NS NL NL NM NS ZR PS PM
ZR NL NM NS ZR PS PM PL
PS NM NS ZR PS PM PL PL
PM NS ZR PS PM PL PL PL
PL ZR PS PM PL PL PL PL

4. Simulation Results

The behaviour of the two-axis gimbal system with and without controllers has been analysed in MATLAB/Simulink. The two-axis gimbal consists of coupled elevation and azimuth stabilization loops. The inertia matrices for the two gimbal axes used in the simulation are

The complete simulation model is developed in MATLAB Simulink. The response of the two-axis gimbal system without a stabilization controller is shown in Figure 11. For analysing the performance of the proposed fuzzy PID controller, its response is compared with the traditional PID controller with selected gain values given in Table 6. The performance of the stabilization loops for the two-axis gimbal system with conventional PID controller and fuzzy logic-based PID controller is validated through MATLAB simulations with step input and various missile body rotation rates.

(a)
(a)

(b)
(b)


Gimbal axis Proportional gain Integral gain Derivative gain

Elevation (pitch) 0.01196 0.00582 0.0009
Azimuth (yaw) 0.0942 0.0458 0.09

The behaviour of the gimbal system with stabilization loops has been verified with various values of missile rotation rate ranging from 5 to 30 deg/s. The comparison graphs showing the performance of stabilization loops with conventional PID controllers and fuzzy logic-based PID controller with 25 rule base and 49 rule base for a given rate command are shown in Figures 12 and 13 with missile body rotation rate of 10 deg/s. The performance specifications of the gimbal system with conventional PID controllers and fuzzy logic PID controller for various missile rotation rates are summarized in Table 7. The result shows better control performance for FLC-based PID controller than the conventional PID controller and overcomes the problems of nonlinearity, disturbances due to cross-coupling between the gimbal axis and missile body rotation.


Missile rotation Specification Elevation axis Azimuth axis
Conventional PID Fuzzy PID WITH 25 rule base Fuzzy PID WITH 49 rule base Conventional PID Fuzzy PID WITH 25 rule base Fuzzy PID WITH 49 rule base

5 deg/s Rise time (sec) 0.068 0.2 0.2 0.061 0.18 0.172
Overshoot (%) 6.2 0 0 8.1 0 0
Settling time (sec) 2.4 0.33 0.31 0.41 0.23 0.2
Steady-state error 0.002 0 0 0.0025 0 0

10 deg/s Rise time (sec) 0.07 0.3 0.29 0.06 0.2 0.2
Overshoot (%) 8.8 0 0 9.32 0 0
Settling time (sec) 2.6 0.42 0.42 0.45 0.287 0.282
Steady-state error 0.0026 0 0 0.003 0 0

15 deg/s Rise time (sec) 0.1 0.33 0.3 0.0612 0.23 0.22
Overshoot (%) 12.1 0 0 14.55 0 0
Settling time (sec) 2.9 0.44 0.4 0.63 0.3 0.29
Steady-state error 0.11 0 0 0.112 0 0

20 deg/s Rise time (sec) 0.12 0.35 0.33 0.068 0.29 0.232
Overshoot (%) 13.2 0 0 15.1 0 0
Settling time (sec) 3.1 0.47 0.425 0.66 0.39 0.38
Steady-state error 0.12 0 0 0.12 0 0

25 deg/s Rise time (sec) 0.16 0.38 0.36 0.08 0.33 0.29
Overshoot (%) 16.6 0 0 16.8 0 0
Settling time (sec) 3.6 0.49 0.44 0.73 0.44 0.42
Steady-state error 0.15 0 0 0.14 0 0

30 deg/s Rise time (sec) 0.25 0.43 0.38 0.12 0.36 0.34
Overshoot (%) 20.4 0 0 19.6 0 0
Settling time (sec) 4.4 0.56 0.51 0.78 0.53 0.49
Steady-state error 0.22 0 0 0.2 0 0

5. Conclusions

A two-axis gimbal model for a missile seeker was proposed considering the factors of missile motion, dynamic mass imbalance, and coupled gimbal axes. For that gimbal system, a self-tuning fuzzy logic-based PID controller was proposed to stabilize the gimbal LOS rate for its stabilization loop. The controllers have been designed with the proposed fuzzy logic-based rules to obtain the control output. The performance of stabilization loops has been verified through MATLAB simulations and found that the fuzzy logic-based PID controller performs with better accuracy, i.e., zero overshoot and zero steady-state error, and settles faster than traditional PID controllers, thereby improving the performance of the gimbal in case of nonlinearities. From the results, the following observations have been made. First, the response of the gimbal system for a rate command is faster with traditional PID controllers than the fuzzy logic-based PID controllers, but the response is settled faster with fuzzy logic-based PID controllers than the traditional PID controllers. Second, the response of the gimbal system for missile rotation rate of 5-30 deg/s shows an overshoot of nearly 6-20% with the conventional PID controllers, whereas there is no overshoot in the gimbal system response with the fuzzy logic-based PID controllers. Finally, the steady-state responses of the gimbal system with the conventional PID controllers have an error of around 0.1-22% for the missile rotation rate of 5-30 deg/s, whereas there is no error in the steady-state from the gimbal system with the fuzzy logic-based PID controllers. Further, the performance of the gimbal system is greatly improved with fuzzy PID controllers employing 49 rules than 25 rules for the rule base. Although a lot of control methods have been used widely to improve the performance of the control system, the aim of the proposed fuzzy logic-based PID controller is to tune the controller gains automatically to overcome the missile rotation and also to eliminate the overshoot without much increase in rise time and eliminate the steady-state error in gimbal system response so that the tracking device mounted in the gimbal follow the LOS rate command.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

All authors declare that they have no conflict of interest.

Copyright © 2021 S. Senthil Kumar and G. Anitha. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Design of Tuning Methods of Pid Controller Using Fuzzy Logic

Source: https://www.hindawi.com/journals/ijae/2021/8897556/

0 Response to "Design of Tuning Methods of Pid Controller Using Fuzzy Logic"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel