5 Transfer Function Models

5.1 Theory

The (one-sided) Laplace transform of a time domain signal \(y(t)\) is defined as \[\mathcal{L}\{y(t)\} \stackrel{\triangle}{=}Y(s) = \int_0^\infty y(t) e^{-st}\,dt.\] In essence, the Laplace transform indicates the content of the complex signal \(e^{-st}\) that is contained in \(y(t)\). The Laplace transform of the time derivative of \(y(t)\) is given by \[\mathcal{L}\{\dot{y}\} = \int_0^\infty \dot{y} e^{-st}\,dt.\] Using integration by parts \(\int udv = uv-\int vdu\), where \(u=e^{-st}\) and \(dv = \dot{y}dt\), and assuming that \(\lim_{t\to\infty}y(t)e^{-st}=0\), or that \(s\) is in the region of convergence of the Laplace transform, we get \[\begin{aligned} \mathcal{L}\{\dot{y}\} &= \int_0^\infty \dot{y} e^{-st}\,dt \\ &= y(t)e^{-st}\Big|_0^\infty - \int_0^\infty y(t)\left(-se^{-st}dt\right) \\ &= \lim_{t\to\infty}y(t)e^{-st} - y(0) + s\int_0^\infty y(t)e^{-st}\,dt \\ &= sY(s) - y(0). \end{aligned}\] Similarly, the Laplace transform of the second derivative of \(y(t)\) is given by \[\begin{aligned} \mathcal{L}\{\ddot{y}\} &= s\mathcal{L}\{\dot{y}\} - \dot{y}(0) \\ &= s\left(sY(s)-y(0)\right) - \dot{y}(0) \\ &= s^2 Y(s) - sy(0) - \dot{y}(0). \end{aligned}\]

The transfer function is typically defined as the relationship between the input and the output of the system. In that setting the transfer function is found when all initial conditions are set to zero. This is important to remember in the context of modeling. We will see that state-space models explicitly account for initial conditions, but that transfer functions do not.

Given the \(n^{th}\) order differential equation \[\begin{gathered} y^{(n)} + a_{n-1}y^{(n-1)} + \cdots+ a_1 \dot{y} + a_0 y \\ = b_mu^{(m)} + b_{m-1}u^{(m-1)}+\cdots+b_1\dot{u} + b_0 u, \end{gathered}\] the transfer function from \(u\) to \(y\) is found by taking the Laplace transform of both sides of the equation and setting all initial conditions to zero to obtain \[\begin{gathered} s^nY(s) + a_{n-1}s^{n-1}Y(s) + \cdots+ a_1 sY(s) + a_0 Y(s) \\ = b_ms^{m}U(s) + b_{m-1}s^{m-1}U(s)+\cdots+b_1sU(s) + b_0U(s). \end{gathered}\] Factoring \(Y(s)\) and \(U(s)\) we get \[\begin{gathered} \left(s^n + a_{n-1}s^{n-1} + \cdots+ a_1 s + a_0\right) Y(s) \\ = \left(b_ms^{m}+b_{m-1}s^{m-1}+\cdots+b_1s+b_0\right)U(s). \end{gathered}\] Solving for \(Y(s)\) gives \[Y(s) = \left(\frac{b_ms^{m} + b_{m-1}s^{m-1}+\cdots+b_1s + b_0}{s^n + a_{n-1}s^{n-1} + \cdots+ a_1 s + a_0}\right)U(s),\] where \[H(s)= \frac{b_ms^{m} + b_{m-1}s^{m-1}+\cdots+b_1s + b_0}{s^n + a_{n-1}s^{n-1} + \cdots+ a_1 s + a_0}\] is the transfer function from \(u\) to \(y\).

Given the transfer function \(H(s)\), the poles of the transfer function are the roots of the denominator polynomial \[s^n + a_{n-1}s^{n-1} + \cdots+ a_1 s + a_0 = 0.\] Similarly, the zeros of the transfer function are the roots of the numerator polynomial \[b_ms^{m} + b_{m-1}s^{m-1}+\cdots+b_1s + b_0 = 0.\]

As a concrete example, consider the differential equation given by \[y^{(3)} + 2\ddot{y} + 3\dot{y} + 4y = 5\dot{u} + 6u.\] Taking the Laplace transform of both sides, setting the initial conditions to zero, and factoring \(Y(s)\) and \(U(s)\) gives \[(s^3 + 2s^2 + 3s + 4)Y(s) = (5s+6)U(s).\] Solving for \(Y(s)\) gives \[Y(s) = \frac{5s+6}{s^3+2s^2+3s+4} U(s).\] The transfer function from \(u\) to \(y\) is therefore \[H(s) = \frac{5s+6}{s^3+2s^2+3s+4}.\] The poles of the transfer function are the roots of \(s^3+2s^2+3s+4=0\) or \(p_1=-1.6506\), \(p_2=-0.1747+j1.5469\), and \(p_3=-0.1747-j1.5469\). The zeros of the transfer function are the roots of \(5s+6=0\) or \(z_1 = -6/5\).

5.2.1 image Example Problem 3.1.8

For the single-link robot arm, find the transfer function of the system from the torque \(\tau\) to the angle \(\theta\).

Design Study A guided exercise

Derive the arm transfer function

Start from the feedback-linearized arm equation and solve for \(\Theta(s)/\tilde{\tau}(s)\).

Block diagram of the single-link robot arm transfer function.

The completed transfer function should fit this input-output block diagram from \(\tilde{\tau}\) to \(\theta\).

Step 1. Starting differential equation

Enter the coefficient on \(\ddot{\theta}\).

Step 2. Transfer-function coefficients

Step 3. Pole locations

5.3 SIMO Systems and Cascade Approximations

There are many systems that have multiple inputs and/or multiple outputs. In this case, a transfer function exists from each input to each output. For example, suppose that the system is given by the coupled differential equations \[\begin{aligned} \ddot{y}_1 + a_{11}\dot{y}_1 + \ddot{y}_2 + a_{12}\dot{y}_2 &= b_{11}u_1 + b_{12}u_2 + b_{13}\dot{u}_2 \\ \ddot{y}_2 + a_{22}y_2 &= b_{21}u_2. \end{aligned}\] Taking the Laplace transform and arranging in matrix notation gives \[\left(\begin{array}{c|c} s^2+a_{11}s & s^2+a_{12}s \\ \hline 0 & s^2+a_{22}\end{array}\right) \begin{pmatrix}Y_1(s) \\ Y_2(s)\end{pmatrix} \\ = \left(\begin{array}{c|c} b_{11} & (b_{13}s+b_{12}) \\ \hline0 & b_{21}\end{array}\right) \begin{pmatrix} U_1(s) \\ U_2(s)\end{pmatrix}.\] To find the relevant transfer functions, we need to isolate the outputs on the left-hand side by inverting the matrix on the left. Using the inverse formula for a \(2\times 2\) matrix derived in Appendix 31 \[\begin{pmatrix} a & b \\ c & d \end{pmatrix}^{-1} = \frac{\begin{pmatrix} d & -b \\ -c & a\end{pmatrix}}{ad-bc}\] we get \[\begin{aligned} \begin{pmatrix}Y_1 \\ Y_2\end{pmatrix} &= \left(\begin{array}{c|c} s^2+a_{11}s & s^2+a_{12}s \\ \hline 0 & s^2+a_{22}\end{array}\right)^{-1} \left(\begin{array}{c|c} b_{11} & b_{13}s+b_{12} \\ \hline 0 & b_{21}\end{array}\right) \begin{pmatrix} U_1 \\ U_2\end{pmatrix} \\ &= \frac{\left(\begin{array}{c|c} s^2+a_{22} & -s^2-a_{12}s \\ \hline 0 & s^2+a_{11}s\end{array}\right)}{(s^2+a_{11}s)(s^2+a_{22})} \left(\begin{array}{c|c} b_{11} & b_{13}s+b_{12} \\ \hline 0 & b_{21}\end{array}\right) \begin{pmatrix} U_1 \\ U_2\end{pmatrix} \\ &= \frac{\left(\begin{array}{c|c} b_{11}(s^2+a_{22}) & (s^2+a_{22})(b_{13}s+b_{12})-b_{21}(s^2+a_{12}s) \\ \hline 0 & b_{21}(s^2+a_{11}s)\end{array}\right)}{(s^2+a_{11}s)(s^2+a_{22})} \begin{pmatrix} U_1 \\ U_2\end{pmatrix} \\ &= \left(\begin{array}{c|c} \frac{b_{11}}{s^2+a_{11}s} & \frac{b_{13}s^3+(b_{12}-b_{21})s^2+(b_{13}a_{22}-b_{21}a_{12})s+a_{22}b_{12}}{(s^2+a_{11}s)(s^2+a_{22})} \\ \hline 0 & \frac{b_{21}}{s^2+a_{22}}\end{array}\right) \begin{pmatrix} U_1 \\ U_2\end{pmatrix}. \end{aligned}\] Therefore, the transfer function from \(u_1\) to \(y_1\) is \(\frac{b_{11}}{s^2+a_{11}s}\), the transfer function from \(u_2\) to \(y_1\) is \(\frac{b_{13}s^3+(b_{12}-b_{21})s^2+(b_{13}a_{22}-b_{21}a_{12})s+a_{22}b_{12}}{(s^2+a_{11}s)(s^2+a_{22})}\), the transfer function from \(u_1\) to \(y_2\) is \(0\), and the transfer function from \(u_2\) to \(y_2\) is \(\frac{b_{21}}{s^2+a_{22}}\).

For many of the case studies that we will look at in this book, there is a single input, but we are also interested in controlling two or more measurements or outputs. State-space control techniques are able to create control laws to control multiple outputs in a single design step, as we will see in later chapters. However, we also want to be able to create single-input, multiple-output controllers using more classical transfer-function based approaches. Doing so will require more intuition about the systems we are controlling, as well as a clear understanding of our control objectives so that we can make appropriate design decisions and simplifying assumptions.

The majority of our design studies (specifically studies B, C, E, and F) have coupled, higher-order dynamics (greater than order two) with multiple outputs. Instead of coming up with a single feedback loop to control the multiple outputs of interest, we will form a cascade of two lower-order transfer functions and design two independent control loops. Forming the cascade of lower-order transfer functions requires insights into the dynamic behavior of the system, because it may require simplifying assumptions about the dynamic coupling between the two subsystems. Instead of a two-way coupling, the cascade may make the dynamic coupling one-way. To reduce the complexity of the system, we may make simplifying assumptions about the dynamics of one of the subsystems. It is essential for these simplifications to be justifiable given the parameters of the system and our control objectives. For example, in design study C, we form a cascade of two transfer functions: the first is from the torque input to the satellite angular position and the second is from the satellite angular position to the solar panel angular position. Because the satellite is more massive than the solar panels, we will make a valid assumption that while the satellite significantly influences the dynamic behavior of the solar panels, the solar panels do not significantly influence the dynamic behavior of the satellite. As we will see, this will simplify the design of the control system significantly and result in a viable control design that provides good performance.

In forming cascades of transfer functions, other factors may influence the form of the cascade. Our control priorities may play a significant role. For example, in design study B, the balancing of the inverted pendulum is the highest priority and therefore, we will use the force input to control the angle of the pendulum. Of importance, but lower priority, is controlling the cart. These considerations will lead us to form the cascade using the transfer functions from force to pendulum angle and from pendulum angle to cart position. In other situations, the causality of the dynamic behavior is more transparent. In the block-beam system, the force on the beam causes the beam angle to change and the change in beam angle causes the block to slide. We will form the transfer function cascade for the block-beam system accordingly. In the planar VTOL aircraft system, torque from the differential thrust causes the aircraft to pitch, while thrust combined with non-zero pitch causes the aircraft to translate. It is natural, therefore, to think of torque causing pitch, and pitch causing translational motion. We will thus form a cascade of two transfer functions: from torque to pitch angle and from pitch angle to horizontal position.

In forming a cascade of two (or more) transfer functions to represent the dynamics of a single system, it is critically important that we consider the physics of the system and our control objectives as we make simplifying assumptions. Important questions to consider include:

Asking and answering these questions is fundamental to the design of successful control systems. The more insight you have into the physical behavior of the system you are controlling, the better your control system designs will be.

5.4 Design Study B. Inverted Pendulum

5.4.1 image Example Problem 3.2.8

For the inverted pendulum:

(a) Start with the linearized equations and use the Laplace transform to convert the equations of motion to the s-domain.

(b) Find the transfer functions from the input \(\tilde{F}(s)\) to the outputs \(\tilde{Z}(s)\) and \(\tilde{\Theta}(s)\). Assume that the damping constant is negligible. How does this simplify the transfer functions? Is this a reasonable assumption?

(c) From the simplified \(\tilde{Z}(s)/\tilde{F}(s)\) and \(\tilde{\Theta}(s)/\tilde{F}(s)\) transfer functions, compute the \(\tilde{Z}(s)/\tilde{\Theta}(s)\) transfer function. Draw a block diagram of the system as a series of two transfer functions from \(\tilde{F}(s)\) to \(\tilde{\Theta}(s)\) and from \(\tilde{\Theta}(s)\) to \(\tilde{Z}(s)\).

(d) Describe how this transfer-function cascade makes sense physically. How does force influence the pendulum angle? How does the pendulum angle influence the cart position?

Design Study B guided exercise

Build the pendulum transfer-function cascade

Start from the linearized equations and identify the force-to-angle and angle-to-position relationship.

Cascade block diagram for the inverted pendulum.

Use the cascade structure to separate the fast force-to-angle subsystem from the angle-to-position subsystem.

Step 1. Simplifying assumption

Step 2. Force-to-angle subsystem

Step 3. Angle-to-position subsystem

The PID and loopshaping techniques that we will discuss in Parts III and V will use the approximate transfer function models of the plant derived above. The state-space methods discussed in Part IV will use a state-space model, which does not depend on neglecting the coupling between subsystems and does not depend on a separation into fast and slow subsystems.

5.5 Design Study C. Satellite Attitude Control

5.5.1 image Example Problem 3.3.8

For the satellite attitude control problem:

(a) Start with the linearized equations for the satellite attitude problem and use the Laplace transform to convert the equations of motion to the s-domain.

(b) Find the full transfer matrix from the input \(\tau(s)\) to the outputs \(\Phi(s)\) and \(\Theta(s)\).

(c) From the transfer matrix, find the second-order transfer function from \(\Theta(s)\) to \(\Phi(s)\).

(d) Under the assumption that the panel moment of inertia \(J_p\) is significantly smaller than the spacecraft moment of inertia \(J_s\) (specifically, \((J_s+J_p)/J_s \approx 1\)), find the second-order approximation for the transfer function from \(\tau(s)\) to \(\Theta(s)\).

(e) From your results on parts (c) and (d), form the approximate transfer function cascade for the satellite/panel system and justify why it makes sense physically.

Design Study C guided exercise

Build the satellite transfer-function cascade

The transfer-function model separates the body-angle dynamics from the panel-angle dynamics using a physically motivated cascade approximation.

Satellite cascade block diagram.

The approximation lets the body angle drive the panel dynamics while neglecting the panel's back-effect on the massive satellite body.

Step 1. Identify the s-domain outputs

Step 2. Body angle to panel angle

Step 3. Torque to body angle approximation

Step 4. Interpret the approximation

5.6 Interactive Transfer Function Check

Chapter 5 activity

Read a second-order transfer function

Adjust the coefficients in H(s)=b0/(s2+a1s+a0) and watch how the denominator determines poles while b0/a0 sets the DC gain when a0 is nonzero.

Transfer function
Poles
DC gain
System order

Transfer functions describe zero-initial-condition input-output behavior. Poles come from the denominator roots; zeros come from numerator roots.

5.7 Knowledge Check

Q1. Initial conditions

What initial-condition assumption is used when forming a transfer function?

Q2. Poles

Where do the poles of a transfer function come from?

Q3. DC gain

For H(s)=6/(s2+4s+3), enter the DC gain H(0).

Show solution

Answer: 2, because H(0)=6/3.

Q4. First-order pole

For the denominator s+4, enter the pole location.

Show solution

Answer: -4, because s+4=0 gives s=-4.

Q5. Numerator roots

What are the roots of a transfer function numerator called?

Show solution

Answer: They are zeros.

Q6. Transfer-function assumption

Which assumption is used when deriving a transfer function from a differential equation?

Q7. Pole-zero identification

For G(s)=(s+4)/((s+1)(s+3)), which statement is correct?

Q8. DC gain

For stable G(s)=(s+2)/(s2+6s+8), what final value should a unit step input approach?

Q9. Cascade approximation

When is a cascade approximation most useful?

5.8 Notes and References

The Laplace transform can be found in introductory textbooks on signals and systems like [16] and in introductory textbooks on differential equations. The transfer function of a linear time-invariant system is also covered in introductory textbooks on signals and systems, and in most introductory textbooks on control like [4].