Abstract

In this paper, aspects of analytical design of PID controllers are studied, by combining pole placement technique with symmetrical optimum criterion. The proposed method is based on low-order plant model with pure integrator, and it can be used for both fast and slow processes. Starting from the desired closed-loop transfer function, which contains a second-order oscillating system and a lead-lag compensator, it is shown that the zero value depends on the real-pole value of closed-loop transfer function. In addition, there is only one pole value, which satisfies the assumptions of symmetrical optimum criterion imposed to open-loop transfer function. In these conditions, by combining the pole placement technique with symmetrical optimum criterion, the analytical expressions of the controller parameters can be simplified. For simulations, PID autopilot design for heading control problem of a conventional ship is considered.

1. Introduction

PID controllers are widespread in industry, being the most popular ones for decades. Hence, even small improvements in PID design could have major impact worldwide [1]. There are many theoretical and practical papers on PID tuning algorithms, in time and frequency domain. They are using analytical [15], graphical [68], or empirical methods, including artificial intelligence [9, 10].

Analytical methods rely on low-order plant models characterized by small number of parameters. Two reduced plant models are mostly used: pure integrator plus first-order model, like those for thermal and electromechanical processes, and the first-order plus dead-time model, like in chemical processes, respectively [11].

The proposed analytical method in the paper is based on low-order plant model with pure integrator, and it can be used for both fast and slow processes. An application example is discussed for autopilot design of conventional ships in course-keeping or course-changing control problems.

Pole placement technique (PPT) [1214] and symmetrical optimum criterion (SOC) [1518] were intensively studied as separated methods on both types of reduced plant models mentioned above.

If PPT is used to synthesize the PID controller, the first step is to specify some performance conditions of the closed-loop system, which lead to the analytical expression of the closed-loop transfer function (CLTF). The PID parameters depend on the CLTF and plant model parameters. In general, the closed-loop system is approximated by a second order reference model. If the plant model has pure integrator element and PID type is desired for the controller, then the CLTF must contain an additional lead-lag compensator. In this case, the reference model has four parameters, two from the second order reference model and the other two from the compensator. All these parameters are present in the analytical expressions of PID controller. In addition, if the well known symmetrical optimum criterion [6] is used, the parameters of compensator have particular values, as stated in the paper, which simplify the PID parameters.

By combining the pole placement technique with symmetrical optimum criterion, the analytical expressions of the PID parameters depend only on the parameters of the plant and second order reference models.

In this paper, PID autopilot design for heading control problem of a conventional ship is considered in simulations. The ship model is obtained from the equations describing the horizontal motion of the ship, expressing conservation of hydrodynamic forces and moments. For ship dynamics modeling, which characterize a slow process, the first type of reduced model is used, with pure integrator plus first-order model.

The autopilot must assure performance conditions in both course-keeping and course-changing control problems. It must be PID type to assure null stationary error for both step and ramp variations on reference and disturbances inputs [19, 20]. Thus, in course-keeping control, the PID autopilot can compensate the stationary error (e.g., drift effect), generated by constant or slowly time-variable disturbances (e.g., wind, sea currents). Also, in course-changing control problems, PID autopilot can act as a tracking system to a desired trajectory, consisting of line segments [21].

As a result, the reference model contains a second-order oscillating system and a lead-lag compensator, with real negative values for pole-zero pair, and the open-loop transfer function (OLTF) contains a double-integrator element.

The goal of this paper is to find the simplified analytical expressions of PID controller parameters, which satisfy two simultaneous conditions: the desired behavior of closed-loop system and symmetrical characteristics of the open-loop transfer function. Applying PPT, the controller parameters depend on the parameters of the plant and closed-loop transfer functions. The resulting open-loop transfer function contains a double-integrator element and a pole-zero pair, with real negative values. Hence, the symmetrical optimum criterion can be used. Imposing symmetrical characteristics of the open-loop transfer function, which can be obtained in certain conditions stated in the paper, the analytical expressions of the controller parameters can be simplified.

The paper is organized as follows. Section 2 provides mathematical models for the plant, PID controller, and reference closed-loop system used in simulations, for both fast and slow processes. In Section 3, the PID controller synthesis using PPT is presented. The analytical expressions of controller parameters are simplified in Section 4, by imposing symmetrical characteristics of OLTF. Section 5 describes the simulation results, using a PID autopilot for heading control of a ship. Conclusions are presented in Section 6.

2. Mathematical Models

Mathematical models for plant, PID controller, and reference closed-loop system used in simulations are discussed in this section. The classical factorized forms of transfer functions are considered, to express poles and zeros, based on which pole placement technique and symmetrical optimum criterion can be used.

In the paper, a low-order plant model with pure integrator is considered, for both fast and slow processes. The controller is of PID type, being imposed by performance conditions of closed-loop system, which are detailed at the end of this section.

The classical structure of the control loop, for a linear SISO process without disturbances, is illustrated in Figure 1.

The plant has a low-order model, which contains a pure integrator. It is characterized by a dominant time constant () and a gain coefficient (). The analytical expressions of plant model and PID controller depend on the process type, fast or slow [22].

(a) If the process is fast, then the small time constants can not be neglected. An equivalent small time constant () is added to the model, corresponding to the sum of parasitic time constants: where .

In this case, the PID controller is of the following form: where .

The open-loop transfer function, , is as follows:

Using pole cancellation, the nonzero dominant pole of the plant model is cancelled by choosing . Thus, only two controller parameters must be determined: and .

It can be observed that if the process does not have any non-zero dominant pole (model without time constant ), then the controller is of PI type (without time constant ), and the same parameters must be determined ( and ).

(b) If the process is slow, the equivalent small time constant can be neglected () and the plant model is as follows:

In this case, the PID controller contains a supplementary degree of freedom and it is of the following form: where .

The open-loop transfer function for slow process is as follows:

Again, the non-zero dominant pole of the plant model is cancelled, using pole cancellation, resulting . In this case, three controller parameters must be determined: , , and . This is a more general case, due to the time constant , which is not imposed by the process and it can be chosen. Therefore, in this paper, the plant model given in (4) is used for simulations, but discussions include both plant models given in (1) and (4).

The open-loop transfer functions, given in (3) and (6), have similar expressions, after pole cancellation: where the time constant has different meanings, depending on the type of process considered. In the first case for fast processes, it represents the equivalent small time constant imposed by the process (), while in the second case it is a controller parameter ().

In general, the behavior of the closed-loop system is approximated by a second order reference model: where is the natural frequency and is the damping coefficient. The performance conditions of the closed-loop system can be specified, by imposing the model parameters ( and ).

Starting from the plant model with pure integrator and considering the reference model from (8), it results a real-PD controller. The corresponding OLTF is as follows:

It can be observed that the open-loop transfer function, corresponding to CLTF presented in (8), has one pure integrator, which assures null stationary error only for step variations of reference input, denoted in Figure 1.

If the controller must assure null stationary error for both step and ramp variations on reference and disturbances inputs, then the controller must be PID type. In this case, the open-loop transfer function contains a double-integrator element, one being included from the plant model, and the other one from the PID controller. The resulted OLTF has the general form expressed in (7), which cannot be generated from the reference model given in (8).

To obtain the expression of OLTF given in (7), the reference model must be completed with a lead-lag compensator, which contains a pole-zero pair, with real and negative values [22]: where , , and , so that .

Particular values for pole-zero pair of lead-lag compensator simplify the analytical expressions of the controller parameters, as stated in the next sections. In addition, symmetrical characteristics of OLTF are obtained.

3. Aspects of PID Controller Design Using Pole Placement Technique

In this section, existence conditions of parameters of CLTF are discussed, and PID parameters are determined based on PPT [19]. Consider the control structure shown in Figure 1, with the OLTF given in (7) and the desired CLTF in (10).

Proposition 1. For every value of the pole () in the desired closed-loop transfer function given in (10), there is only one zero value () for which the open-loop transfer function has a double-pole in origin, and in addition, the zero frequency is smaller than the pole frequency: .

Proof. The proposition demonstration includes the next lemma results.

Lemma 2. The necessary and sufficient condition, for the existence of a double-pole in origin for the open-loop transfer function of a control system illustrated in Figure 1, starting from a desired CLTF of the form given in (10), is as follows:

Proof. The transfer function of the open-loop system can be computed starting from the desired CLTF:
From (12) it can be observed that a double-pole in origin is obtained for every frequency, if and only if the coefficient of the third term of denominator is null: which is equivalent with equation in (11) for .

As a result, the unique zero value results, whose expression depends on the selected pole value:

For every frequency () of the pole, the corresponding frequency () of the zero given in (14) is smaller:

In this case, the real values of pole-zero pair and conjugate complex poles, of the desired CLTF given in (10), are illustrated in the complex plane in Figure 2.

Using (13) and (15) in (12), the expression of the open-loop transfer function is obtained:

The zero and pole frequencies of the open-loop transfer function are denoted by and , respectively:

The open-loop transfer function can be rewritten as follows:

Putting into evidence the time constants, the open-loop transfer function can be rewritten, like in (7):

Equaling OLTF without pole cancellation, from (3) or (7), with (19), an equality of two polynomials of 3rd order in variable is obtained: where or , depending on the plant model.

Because the equality must be true for every frequency, it results a four equation system:

The solutions of the equation system are the PID controller parameters [19]:

It can be observed that the solution (22c) represents the pole cancellation condition, and it does not depend on the pole value.

If a fast process is considered, then the time constant given in (22d) represents the equivalent small time constant of the plant model (). If the process is slow, then the same time constant is a controller parameter ().

The time constants must satisfy the inequalities:

This can be transposed into frequency domain: Using (17) in (24), a system of 2 inequalities is obtained:

The reference model must be chosen so that the parameters of closed-loop transfer function (, , and ) satisfy this system of inequalities.

4. Design Aspects by Imposing Symmetrical Characteristics of OLTF

After applying PPT, the parameters of PID controller depend on the CLTF parameters (, , and ). In general, and characterize the desired behavior of the closed-loop system, and they have fixed values, while the pole value can be chosen. Specific pole values can be imposed by using supplementary conditions. In this paper, the conditions for choosing the pole value refer to the symmetrical optimum criterion, which simplify the expressions of PID parameters.

The goal is to find that pole value of the CLTF, which satisfies the assumptions of symmetrical optimum criterion around natural frequency , for the transfer function of open-loop system given in (16). Using this value, the expressions of PID parameters given in (22a), (22b), (22c), and (22d) are simplified.

Proposition 3. There is only one admissible value for the pole () of CLTF given in (10), so that the corresponding OLTF given in (16) has symmetrical characteristics around , and this value is as follows:

Proof. For the specified open-loop transfer function, only the symmetry of magnitude-frequency characteristic around natural frequency must be imposed, as it implies also the symmetry of phase-frequency characteristic.
The general form of the symmetrical optimum criterion imposes two conditions for magnitude-frequency characteristic of OLTF:
(a) cross-over frequency must be equally placed between zero and pole frequencies on the 10-base logarithmic scale:
(b) for cross-over frequency , the magnitude-frequency characteristic of OLTF must have 0 dB:
Using (17) in (27), the first condition in variable is as follows:
From (29), the solution results are as follows:
Therefore, the condition given in (27) is satisfied if and only if .
For the second condition in (28), the magnitude of open-loop transfer function in frequency is computed from (18):
The frequencies and are replaced with their expressions from (17), resulting the following:
Using (32) in (28), the same solution in (30) is obtained: .
Using (30) in (15), it results the following:

The expression of CLTF becomes

From (17), the zero and pole frequencies of OLTF are

The open-loop transfer function can be rewritten as follows:

The real values of pole-zero pair and complex conjugate poles, of the CLTF given in (34), are illustrated in Figure 3.

The position of the zero, , depends on parameter. Three situations are possible:(i)if , then and the zero is placed between the two points: and , respectively;(ii)if , then . This is the particular case of the Kessler’s symmetrical optimum method [6];(iii)if , then and the zero is placed to the right of the point . This is the case illustrated in Figure 3.

Knowing the pole value of CLTF, , the simplified parameters of PID controller result from (22a), (22b), (22c), and (22d):

In this case, the system of inequalities from (25a) and (25b) is simpler, including only 2 variables from reference model ( and ):

Proposition 4. In the case of symmetrical characteristics of the OLTF given in (36) around the natural frequency , the phase margin and the distance between the frequency points on the 10-base logarithmic scale depend only on the parameter .

Proof. The distance between the frequency points on the logarithmic scale can be easily obtained, using (35) in (27):
Using the OLTF given in (36), the phase margin results as follows:
For particular case of the Kessler’s symmetrical optimum method (), the distance between frequency points is equal with an octave and the phase margin is .

5. Simulation Results

For simulations, the heading control problem of a ship is considered, using a PID autopilot.

The ship yaw angle () is the model output, and rudder command () generated by autopilot is the control input. The ship model is linear with parametric uncertainties, depending on ship loading conditions and forward speed of the ship, while the wave characteristics change frequently.

It is a first order Nomoto model of the form given in (4), being identified for a ship speed of 22 knots [21]: where and represent the Laplace transforms of yaw angle and rudder angle, respectively.

The ship model parameters are as follows:

The autopilot model is given in (5) and the desired CLTF is given in (10). The parameters and are chosen from performance conditions [20]:

Using the values from (42) and (43), it can be easily verified that the conditions in (38a) and (38b) are satisfied.

From the desired closed-loop transfer function with pole-zero pair specified in (30) and (33), and imposing symmetrical characteristics of the OLTF, the expressions in (34) and (36) are obtained. From (37a), (37b), (37c), and (37d), the autopilot parameters are obtained:

The step response of the closed-loop transfer function is illustrated in Figure 4. The step reference input is represented with dotted line.

Considering the second order reference model given in (8), the resulting autopilot is of real-PD type. The response is over-dumped, being represented with dashed line. For PID autopilot based on reference model with lead-lag compensator given in (10), the response is overshot and it is drawn with continuous line.

Similarly, the ramp response of the CLTF is illustrated in Figure 5. The ramp reference input is represented with dotted line. Considering the second order reference model given in (8) with real-PD type, the response is shown with dashed line. An important stationary error can be observed. For reference model with lead-lag compensator given in (10) with PID autopilot, the response is represented with continuous line. In this case, a null stationary error is obtained.

PID autopilot assures null stationary error for both step and ramp variations on reference inputs.

For reference model with compensator and PID autopilot, the symmetrical characteristics of the open-loop transfer function are illustrated in Figure 6. It can be observed that the two conditions for magnitude-frequency characteristic of OLTF generate the symmetry of phase-frequency characteristic. In this case, the phase margin is .

6. Conclusions

By combining the pole placement technique with symmetrical optimum criterion, the analytical expressions of PID parameters are simplified. In addition, it was demonstrated that there is only one possible pair for the pole-zero values of closed-loop transfer function, so that the PID controller satisfied two simultaneous conditions: the desired behavior of closed-loop system and symmetrical characteristics of the open-loop transfer function. For simulations, PID autopilot design for heading control problems of a conventional ship is considered. PID autopilot assures null stationary error for both step and ramp variations on reference inputs.