There are various system performance measures which a designer can use in order to compare the closed loop performance of a system when he has, for example, designed two different controllers $G_1(s)$ and $G_2(s)$. Obviously, the controller which in the closed loop minimizes the chosen performance measure is better. Such performance measures are the following:
- Integral Square Error $\rightarrow ISE = \int_0^T e^2(t) $
- Integral Absolute Eror $\rightarrow IAE = \int_0^T |e(t)| $
- Integral Time Absolute Eror $\rightarrow ITAE = \int_0^T t|e(t)| $
- Integral Time Square Eror $\rightarrow IAE = \int_0^T te^2(t) $
The upper limits of the integrals refer to a specific time instant which is chosen arbitrarily in order for the integral to be close enough to a steady-state value. It is often taken as the settling time of the system. A simple usage of the integral square error measure (ISE), for example, is to see if a system is overdamped or underdamped. These performance measures instead of only being used to compare the closed-loop performance of different control designs are often also used as a means of picking the specific gains which minimize for example the effect of a disturbance to the system. The general procedure is concluded in four steps:
- Find the transfer function which corresponds to the behaviour you want to affect (i.e. input-output transfer function, disturbance transfer function, error transfer function etc).
- Compute the inverse laplace of the transfer function
- Integrate the time-domain function from $0$ to $\infty$
- Differentiate with respect to the gain you want to adjust and set equal to $0$
Below is an example of such a procedure in order to obtain the gain $K$ which minimizes the effect of a disturbance to the system by using the ISE measure.
1. The disturbance transfer function is:
$$ \frac{Y(s)}{T_d(s)} = \frac{s(s+0.5K)}{s^2+0.5Ks+2.5} $$
2. For a step disturbance the time-domain function for the output of the system is:
$$ y(t) = \frac{\sqrt{10}}{β}[e^{-0.25Kt} \sin (\frac{β}{2}t+ψ)] $$
where $ β = \sqrt{10 - \frac{K^{2}}{4}}$
3. By squaring and integrating $y(t)$ we get the result: $I = \frac{1}{K}+0.1K$
4. Last step is to differentiate with respect to $K$, set equal to $0$ and compute the gain.
\begin{gather}
\frac{dI}{dK}=0 \\
\\
-\frac{1}{K^2}+0.1=0 \\
\\
K = \sqrt{10} \approx 3.2
\end{gather}
The above example is taken from the book: "Modern Control Systems, 13th edition" by Richard S. Dorf & Robert H. Bishop.
In general these measures are often difficult to compute due to the complexity mainly of the integrals. The designer may have to acquire a lot of different outputs of the system for a wide range of the parameters (gains) in order to come to a conclusion regarding the values which minimize the chosen measure. Despite the fact that the optimal system is the one which minimizes a particular performance measure, the term optimal includes a certain amount of relativity due to the fact that the system is optimal with respect to this specific performance measure. If we choose another meausre, the results may differ. For example, the IAE measure provides more optimality than the ISE but it is even more difficult to compute. The book which I mentioned before provides more information as well as some specific optimal transfer function structures for the ITAE performance measure.