Skip to main content
Erschienen in:
Buchtitelbild

Open Access 2018 | OriginalPaper | Buchkapitel

6. Regulation

verfasst von : Steven A. Frank

Erschienen in: Control Theory Tutorial

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
download
DOWNLOAD
print
DRUCKEN
insite
SUCHEN
loading …

Abstract

This chapter develops the techniques needed to analyze how quickly a system can return to its setpoint after disturbance. The analysis also considers the design tradeoffs that arise with respect to other measures of performance, such as system stability or responsiveness to a change in setpoint.
The regulation problem analyzes how quickly a perturbed system returns to its equilibrium setpoint. For this problem, we assume that the setpoint does not change. We can, without loss of generality, assume that the external reference signal is \(r=0\).
With no external reference signal, we can express the general form of the regulation problem as in Fig. 6.1. We take the process, P, as given, subject to uncertainties or disturbances represented by the input, d. We seek an optimal controller, C, with respect to particular design tradeoffs.

6.1 Cost Function

The cost function summarizes the design tradeoffs. We use a cost function based on the \(\mathcal {H}_2\) norm, similar to Eq. 5.​5. The \(\mathcal {H}_2\) norm describes the response of the system to perturbations when averaged over all input frequencies. Minimizing the \(\mathcal {H}_2\) norm minimizes the extent to which the system responds to perturbations. Recall that the \(\mathcal {H}_2\) norm is often equivalent to the signal energy, which is the total squared deviation of a signal from zero when measured from the time of an initial perturbation until the time when the signal returns to zero.
From Fig. 6.1, the two inputs are the load disturbance, d, and the sensor noise, n. The two outputs are the process output, \(\eta \), and the control signal, u. We can write the outputs as transfer functions, \(\eta (s)\) and U(s), and the cost function in Eq. 5.​5 as
$$\begin{aligned} \mathcal {J}=\vert \vert U(s)\vert \vert _2^2 + \rho ^2 \vert \vert \eta (s)\vert \vert _2^2. \end{aligned}$$
In this case, we need to relate each of the two outputs to each of the two inputs. We require four transfer functions to describe all of the input–output connections. For the transfer function between the input d and the output \(\eta \), we write \(G_{\eta d}(s)\), for which we assume that the other input, n, is zero. Using our usual rule for the transfer functions of a closed loop, the four functions are
$$\begin{aligned} G_{ud}&= \frac{-PC}{1+PC}&G_{\eta d}&= \frac{P}{1+PC}\nonumber \\[7pt] G_{un}&= \frac{-C}{1+PC}&G_{\eta n}&= \frac{-PC}{1+PC}. \end{aligned}$$
(6.1)
We can express these transfer functions in terms of the sensitivities in Eq. 3.​8 by defining the open loop as \(L=PC\), the sensitivity as \(S=1/(1+L)\), and the complementary sensitivity as \(T=L/(1+L)\), yielding
$$\begin{aligned} G_{ud}&= -T&G_{\eta d}&= PS\nonumber \\[7pt] G_{un}&= -CS&G_{\eta n}&= -T. \end{aligned}$$
(6.2)
Because \(S+T=1\) at any input, s, these transfer functions highlight the intrinsic design tradeoffs.
We can now consider the total cost as the sum of the response with respect to the input d, holding n at zero, plus the response with respect to the input n, holding d at zero
$$\begin{aligned} \mathcal {J}=\,&\vert \vert G_{ud}(s)\vert \vert _2^2 + \rho ^2\vert \vert G_{\eta d}(s)\vert \vert _2^2\nonumber \\[5pt] +\,&\vert \vert G_{un}(s)\vert \vert _2^2 + \rho ^2\vert \vert G_{\eta n}(s)\vert \vert _2^2. \end{aligned}$$
(6.3)
For this example, we use impulse function inputs, \(\delta (t)\), which provide a strong instantaneous shock to the system, as defined in the caption of Fig. 4.​2. We can design the system to be relatively more or less sensitive to disturbance inputs relative to noise inputs by weighting the disturbance input by \(\mu \), so that \(d(t)=\mu \delta (t)\) and \(n(t)=\delta (t)\). Larger \(\mu \) causes design by optimization to yield better disturbance regulation at the expense of worse noise regulation.
The transfer function for an impulse is equal to one. Thus, the transfer functions for disturbance and noise inputs are, respectively, \(D(s)=\mu \) and \(N(s)=1\). A system’s response to an input is simply the product of the input and the system transfer function. For example, the first term in Eq. 6.3 becomes
$$\begin{aligned} \vert \vert D(s)G_{ud}(s)\vert \vert _2^2=\mu ^2\vert \vert G_{ud}(s)\vert \vert _2^2, \end{aligned}$$
and the full cost function becomes
$$\begin{aligned} \mathcal {J}=\,\mu ^2&\vert \vert G_{ud}(s)\vert \vert _2^2 + \mu ^2\rho ^2\vert \vert G_{\eta d}(s)\vert \vert _2^2\nonumber \\[5pt] +\,&\vert \vert G_{un}(s)\vert \vert _2^2 + \rho ^2\vert \vert G_{\eta n}(s)\vert \vert _2^2. \end{aligned}$$
(6.4)
Using the sensitivity expressions in Eq. 6.2, we can write this expression more simply as
$$\begin{aligned} \mathcal {J}=\vert \vert CS \vert \vert _2^2+(\mu ^2+\rho ^2)\vert \vert T \vert \vert _2^2 + \mu ^2\rho ^2\vert \vert PS\vert \vert _2^2. \end{aligned}$$
(6.5)

6.2 Optimization Method

This section follows Qiu and Zhou’s (2013) optimization algorithm. Their cost function in the final equation on page 31 of their book is equivalent to my cost function in Eq. 6.4.
Optimization finds the controller, C(s), that minimizes the cost function. We search for optimal controllers subject to the constraint that all transfer functions in Eq. 6.1 are stable. Stability requires that the real component be negative for all eigenvalues of each transfer function.
A transfer function’s eigenvalues are the roots of the denominator’s polynomial in s. For each transfer function in Eq. 6.1, the eigenvalues, s, are obtained by solution of \(1+P(s)C(s)=0\).
We assume a fixed process, P, and weighting coefficients, \(\mu \) and \(\rho \). To find the optimal controller, we begin with a general form for the controller, such as
$$\begin{aligned} C(s) = \frac{q_1 s+q_2}{p_0 s^2+p_1 s + p_2}. \end{aligned}$$
(6.6)
We seek the coefficients p and q that minimize the cost function.
Qiu and Zhou (2013) solve the example in which \(P(s)=1/s^2\), for arbitrary values of \(\mu \) and \(\rho \). The accompanying Mathematica code describes the steps in the solution algorithm. Here, I simply state the solution. Check the article by Qiu and Zhou (2013) and my Mathematica code for the details and for a starting point to apply the optimization algorithm to other problems. The following section applies this method to another example and illustrates the optimized system’s response to various inputs.
For \(P=1/s^2\), Qiu and Zhou (2013) give the optimal controller
$$\begin{aligned} C(s)=\frac{\sqrt{2\rho \mu }\,\big (\sqrt{\rho }+\sqrt{\mu }\big )s+\rho \mu }{s^2+\sqrt{2}\,\big (\sqrt{\rho }+\sqrt{\mu }\big )s+\big (\sqrt{\rho }+\sqrt{\mu }\big )^2}, \end{aligned}$$
with associated minimized cost,
$$\begin{aligned} \mathcal {J}^*=\sqrt{2}\,\big [\mu ^2\sqrt{\rho }+\rho ^2\sqrt{\mu }+2\rho \mu \big (\sqrt{\mu }+\sqrt{\rho }\big )\big ]. \end{aligned}$$
For \(\rho =1\), the controller becomes
$$\begin{aligned} C(s)=\frac{\sqrt{2\mu }\,\big (1+\sqrt{\mu }\big )s+\mu }{s^2+\sqrt{2}\,\big (1+\sqrt{\mu }\big )s+\big (1+\sqrt{\mu }\big )^2}, \end{aligned}$$
(6.7)
with associated minimized cost,
$$\begin{aligned} \mathcal {J}^*=\sqrt{2}\,\big [\mu ^2+\sqrt{\mu }+2\mu (\sqrt{\mu }+1)\big ]. \end{aligned}$$
We can see the tradeoffs in design most clearly from the controller with \(\rho =1\). When \(\mu \) is small, load disturbance inputs are smaller than sensor noise inputs. An optimal system should therefore tolerate greater sensitivity to load disturbances in return for reduced sensitivity to sensor noise.
In the optimal controller described by Eq. 6.7, a small value of \(\mu \) produces low gain, because C(s) becomes smaller as \(\mu \) declines. We can see from Eq. 6.1 that a small gain for the controller, C, reduces the sensitivity to noise inputs by lowering \(G_{un}\) and \(G_{\eta n}\). Similarly, a small gain for C raises the sensitivity of the system output, \(\eta \), to disturbance inputs by raising \(G_{\eta d}\).
The optimal system achieves the prescribed rise in sensitivity to disturbance in order to achieve lower sensitivity to noise.

6.3 Resonance Peak Example

This section applies the previous section’s \(\mathcal {H}_2\) optimization method to the process
$$\begin{aligned} P(s)=\frac{1}{s^2+0.1s+1}. \end{aligned}$$
(6.8)
This process has a resonance peak near \(\omega =1\).
My supplemental Mathematica code derives the optimal controller of the form in Eq. 6.6. The optimal controller is expressed in terms of the cost weightings \(\mu \) and \(\rho \). The solution has many terms, so there is no benefit in showing it here.
The general solution in terms of \(\mu \) and \(\rho \) provides a simple way in which to obtain the optimal controller for particular values of \(\mu \) and \(\rho \). For example, when \(\mu =\rho =1\), the optimal controller is
$$\begin{aligned} C(s)\approx \frac{0.609(s-0.81)}{s^2+1.73s+2.49}. \end{aligned}$$
Similar controller expressions arise for other values of \(\mu \) and \(\rho \). Those controllers may be used in the closed loop of Fig. 6.1 to form a complete system.
Figure 6.2 shows the relative \(\mathcal {H}_2\) values of the four input–output transfer functions in Eq. 6.1. The \(\mathcal {H}_2\) values express sensitivity over all frequencies.
To interpret this figure, look at Eq. 6.4. As the product of the weightings, \(\mu \rho \), increases, the output of \(G_{\eta d}\) (gold curve) plays an increasingly important role in the total cost relative to the output of \(G_{un}\) (green curve).
As the relative cost weighting of \(G_{\eta d}\) increases, its \(\mathcal {H}_2\) value declines. Similarly, as the relative cost weighting of \(G_{un}\) decreases, its \(\mathcal {H}_2\) value increases. Once again, we see the sensitivity tradeoffs in response to the relative importance of different perturbations.
The top row of Fig. 6.3 compares the Bode plots for the process, P, and the input–output transfer functions in Eq. 6.1. As \(\rho \) increases in the columns from left to right, the rise in the green curve for \(G_{un}\) is the strongest change. We can understand that change by examining the cost function in Eq. 6.4. Because \(G_{ud}=G_{\eta n}\), a rise in \(\rho \) reduces the weighting of \(G_{un}\) relative to all other terms.
The strongest increase in relative weighting as \(\rho \) rises occurs for \(G_{\eta d}\), shown in gold. The mild decline in the gold curve with increasing \(\rho \) is consistent with the increased relative cost weighting of that signal.
The bottom row shows the impulse responses. As with the Bode plots, an increase in \(\rho \) favors reduced response of \(G_{\eta d}\), in gold, causing a smaller impulse response in the right plot with high \(\rho \) relative to the left plot with low \(\rho \). Similarly, an increase in \(\rho \) weakens the pressure on the \(G_{un}\) transfer function in green, causing a larger impulse response with increasing \(\rho \).

6.4 Frequency Weighting

The \(\mathcal {H}_2\) norm sums a system’s gain over all input frequencies, as in Eq. 5.​4. That sum weights all input frequencies equally.
Often, we wish to protect against perturbations that occur primarily in a limited band of frequencies. For example, disturbance loads, d, typically occur at low frequency, reflecting long-term fluctuations or misspecifications in the system’s intrinsic processes. In that case, our optimization method should emphasize reducing a system’s gain at low frequency with respect to disturbance load inputs and accepting a tradeoff that allows a greater gain at high frequency. By reducing the gain at low frequency, we protect against the common frequencies for load disturbances.
Tradeoffs between low- and high-frequency bands are common. If we start with a process transfer function
$$\begin{aligned} G(s)=\frac{10(s+1)}{s+10}, \end{aligned}$$
then at zero frequency, \(s=j\omega =0\), the gain is one. As frequency increases, the gain approaches ten.
If we weight this process transfer function by \(W(s)=1/(s+1)\), then the new system becomes \(WG=10/(s+10)\). Now, the gain declines with increasing frequency, from a maximum of one at zero frequency to a minimum of zero at infinite frequency.
By weighting the original system, G, by the weighting function, W, we cause the \(\mathcal {H}_2\) norm of the combined system, WG, to be relatively more sensitive to low-frequency disturbances. When we design a controller by minimizing the \(\mathcal {H}_2\) norm associated with WG, we will typically find a system that is better at rejecting low-frequency load disturbances than a design minimizing the \(\mathcal {H}_2\) norm associated with G. For the weighted system, optimization will avoid controllers that reject high-frequency load disturbances, because the weighted system already rejects those high-frequency inputs.
Roughly speaking, a weighting function instructs the optimization method to reduce the gain and sensitivity for certain frequencies and to ignore the gain for other frequencies. The weighting functions do not alter the actual system. The weighting functions are only used to alter the cost function and optimization method that determine the optimal controller.
Figure 6.4 shows the regulation feedback system of Fig. 6.1 with additional weightings for the disturbance and noise inputs. The weightings modify the four system transfer functions and associated sensitivities in Eq. 6.2 to be \(W_dG_{ud}\), \(W_dG_{\eta d}\), \(W_nG_{un}\), and \(W_nG_{\eta n}\). The cost function in Eq. 6.5 becomes
$$\begin{aligned} \mathcal {J}=\mu ^2&\vert \vert W_dT \vert \vert _2^2 + \mu ^2\rho ^2\vert \vert W_dPS\vert \vert _2^2\nonumber \\ +&\vert \vert W_nCS \vert \vert _2^2 + \rho ^2\vert \vert W_nT\vert \vert _2^2. \end{aligned}$$
(6.9)
Consider an example in which we begin with the process, P, in Eq. 6.8. To emphasize low-frequency load disturbances, set \(W_d=1/(s+0.1)\) to be a low-pass filter. That weighting filters out disturbances that are significantly greater than \(\omega =0.1\). To emphasize high-frequency sensor noise, set \(W_n=s/(s+10)\). That weighting filters out noise that is significantly less than \(\omega =10\). By using these two filters, the optimization method puts very low weight on any disturbances in midrange frequencies of \(\omega =(0.1,10)\).
By minimizing the weighted \(\mathcal {H}_2\) cost in Eq. 6.9, we obtain the optimal controller
$$\begin{aligned} C(s)=\frac{2.02(s+1.52)}{s^2+1.17s+6.3}. \end{aligned}$$
I calculated the values for this controller by using the numerical minimization function in Mathematica to minimize the \(\mathcal {H}_2\) cost, subject to the constraint that all transfer functions in Eq. 6.1 are stable. See the supplemental Mathematica code.
Figure 6.5 compares the optimized system response for the unweighted and weighted cases. Panel a shows the Bode magnitude response of the optimized system for the unweighted case, equivalent to the plot in Fig. 6.3c. Panel b shows the response of the optimized system for the weighted case in this section.
The weighted case emphasizes low-frequency load disturbances and high-frequency sensor noise, with low weight on midrange frequencies. Comparing the unweighted case in (a) with the weighted case in (b), we see two key differences.
First, the weighted case allows a large rise in magnitudes and associated sensitivity to perturbations for midrange frequencies. That rise occurs because the particular weighting functions in this example discount midrange perturbations.
Second, the gold curve shows that the weighted case significantly reduces the low-frequency sensitivity of system outputs, \(\eta \), to load disturbances, d. The gold curve describes the response of the transfer function, \(G_{\eta d}\). Note that, because of the log scaling for magnitude, almost all of the costs arise in the upper part of the plot. The low relative magnitude for the lower part contributes little to the overall cost.
Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://​creativecommons.​org/​licenses/​by/​4.​0/​), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.
The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
Metadaten
Titel
Regulation
verfasst von
Steven A. Frank
Copyright-Jahr
2018
DOI
https://doi.org/10.1007/978-3-319-91707-8_6

Neuer Inhalt