Instrumentation

Chapter 5 — Transfer Functions and State Space Models

This chapter is essentially about one big question:

How do we mathematically describe how a system responds over time when we change its input?

Examples:

  • changing valve opening → tank level changes
  • changing heater power → temperature changes
  • changing motor voltage → speed changes

This is the language of control engineering.


1) Big Idea: What is a Transfer Function?

The most important equation in this chapter is:

G(s)=\frac{Y(s)}{U(s)}

where:

  • (Y(s)) = output in Laplace domain
  • (U(s)) = input in Laplace domain
  • (G(s)) = transfer function

This means:

transfer function = output response / input signal

A transfer function tells us:

  • speed of response
  • overshoot
  • delay
  • stability
  • oscillation tendency

Think of it as the “personality” of the system.


Easy intuition

If input is:

heater power

and output is:

room temperature

then the transfer function describes:

  • how fast room heats
  • whether it overshoots
  • whether it stabilizes

2) Why Use Laplace Transform?

This is one of the most important conceptual points.

Instead of solving differential equations directly in time domain:

\frac{dy}{dt}

we transform them into algebraic equations in (s)-domain.

That turns difficult calculus into simple algebra.

For example:

\frac{dy}{dt}+\frac{1}{\tau}y=\frac{1}{\tau}u

becomes

sY(s)+\frac{1}{\tau}Y(s)=\frac{1}{\tau}U(s)

Much easier.


3) Deviation Variables (VERY Important)

This chapter spends a lot of time on this because it is fundamental.

A deviation variable means:

how much the variable changes from steady state

Formula:

\hat y = y-\bar y

\hat u = u-\bar u

Where:

  • (y) = actual output
  • (\bar y) = steady-state value
  • (\hat y) = deviation from steady state

Why do we use this?

Because control systems care about changes, not absolute values.

Example:

If tank level is normally 5 m and becomes 6 m:

\hat h = 6-5=1

So the system changed by +1 m

This makes equations cleaner.


4) First-Order System (Most Important Model)

This is probably the most important section for exams.

The basic first-order equation:

\frac{dy}{dt}=\frac{1}{\tau}(u-y)

This appears everywhere:

  • temperature systems
  • mixing tanks
  • concentration changes
  • motor speed

Meaning of (\tau)

\tau = \text{time constant}

This controls how fast the system responds.

Small (\tau):

  • fast response

Large (\tau):

  • slow response

Transfer function of first-order system

After Laplace transform:

G(s)=\frac{1}{\tau s+1}

This is probably the single most important formula in this chapter.

G(s)=\frac{1}{\tau s+1}


5) Step Response (SUPER Important)

A step input means sudden change.

Example:

heater power suddenly changes from 0 → 100%

Mathematically:

U(s)=\frac{A}{s}

Then output becomes:

y(t)=A(1-e^{-t/\tau})

y(t)=A\left(1-e^{-t/\tau}\right)


What does this mean?

This gives the classic exponential rise curve.

Starts fast, then slowly levels off.

This is the classic response curve you see everywhere in control systems.


Important rule

At:

t=\tau

system reaches about:

63.2%

of final value

VERY commonly tested.


6) Impulse Response

Impulse means a very fast sudden pulse.

Input:

U(s)=1

Output:

y(t)=\frac{1}{\tau}e^{-t/\tau}

This is useful for analyzing system dynamics.


7) Ramp Response

Ramp means linearly increasing input.

Example:

temperature setpoint continuously rising

U(s)=\frac{B}{s^2}

Output:

y(t)=Bt-B\tau(1-e^{-t/\tau})

This shows lag behind changing inputs.


8) PID Controller Transfer Function

This is one of the most important applied parts.

PID equation:

c(t)=K_c\lefte(t)+\frac{1}{\tau_I}\int e(t)dt+\tau_D\frac{de}{dt}\right

Transfer function:

G_c(s)=K_c\left(1+\frac{1}{\tau_I s}+\tau_D s\right)

G_c(s)=K_c\left(1+\frac{1}{\tau_I s}+\tau_D s\right)


Meaning of each term

P = proportional

Responds to current error

I = integral

Removes steady-state offset

D = derivative

Predicts future trend / dampens oscillation

This is extremely important in process control.


9) Block Diagrams

This section is very practical.

A block diagram visually shows signal flow.

Example:

Input → controller → process → sensor → output


Series blocks

When blocks are connected in series:

G_(s)=G_1(s)G_2(s)G_3(s)

VERY important rule.

You simply multiply them.


Why?

Because intermediate signals cancel.

This makes large systems much easier to analyze.


10) Linearization of Nonlinear Systems (VERY Important)

This is one of the hardest but most useful sections.

Real systems are often nonlinear.

Example:

\frac{dy}{dt}=f(y,u)

Nonlinear equations are difficult.

So we approximate them near an operating point using Taylor expansion.


Main idea

Approximate nonlinear curve by tangent line locally.

This is exactly what linearization means.

f(y,u)\approx f(\bar y,\bar u)+ (y-\bar y)\frac{\partial f}{\partial y}+ (u-\bar u)\frac{\partial f}{\partial u}

This is extremely important.


11) Tank Level Example

Very exam-relevant example.

Nonlinear equation:

F_=C_v\sqrt{h}

This is nonlinear because of square root.

To linearize:

\sqrt h \approx \sqrt{\bar h}+\frac{1}{2\sqrt{\bar h}}(h-\bar h)

\sqrt{h}\approx \sqrt{\bar h}+\frac{1}{2\sqrt{\bar h}}(h-\bar h)

This is classic first-order Taylor expansion.


Why is this useful?

Because after linearization we can use:

  • Laplace transform
  • transfer functions
  • controller design

This is a huge concept in control engineering.


12) Important Practical Insight

The chapter makes an excellent point:

Linear models work best close to operating point

Far away → errors become large

This is shown in the tank example where nonlinear and linear models start to differ.

This is very important conceptually.


Final Big-Picture Summary

This whole chapter teaches:

How systems react to inputs over time

Main tools:

  • deviation variables
  • Laplace transforms
  • transfer functions
  • block diagrams
  • linearization

Core formulas to remember:

G(s)=\frac{Y(s)}{U(s)}

G(s)=\frac{1}{\tau s+1}

G_c(s)=K_c\left(1+\frac{1}{\tau_I s}+\tau_D s\right)


What you should absolutely memorize

  1. transfer function definition
  2. first-order transfer function
  3. step response
  4. time constant meaning
  5. series blocks multiply
  6. PID transfer function
  7. Taylor linearization idea

These are almost always tested.

Quiz

Score: 0/31 (0%)