Introduction
In this part we’ll define what a transfer function is for a system, and why they are important.
Let’s firstly cover feedback again.
Feedback system
As we discussed last time we’ll encounter:
- - Interference
- - Control signal/Input signal
- - Response signal/Output signal
- - Reference value
- - Control error
Let’s take a real world example
Example 1
Say that we have a system which controls temperature. We have an initial temperature for 19a.
At the time instance, , we change (via a knob) to be at 21.
From a time period, to , we open a window which cools down the room.
From this real world example we can describe the system as:
, the system is stable at 19
, . We will get a control error, . The control device steps in and increases the temperature, which will stablize at 21.
, The window is opened, which means we have , or in other words, the temperature decreases. This means again that . The control device needs to readjust to this change.
, The window is closed, which will yield a control error, the control device will readjust to this change as well.
, The system will remain stable at 21 again.
Controllers
But how do we actually control a control error? There are many different types of controllers, but the most common are the PID variants.
- P-controller
- I-controller
- D-controller
We also have the combinations:
- PI-controller
- PD-controller
- PID-controller
Laplace transform
We’ve already covered the definition and the formality of the Laplace transform so let’s quickly recover it.
Recall (Laplace transform)
Where
Transfer function
Let’s define the transfer function in words first.
Definition 1 (Transfer function)
The transfer function for a system is equal to the Laplace transformation of the output signal divided by the Laplace transformation of the input signal.
In other words:
Properties
We denote the Laplace transform as
Theorem 1 (Initial value theorem)
Theorem 2 (Final value theorem)
Given that, exists.
Example 2
Say that we have a car that moves, we have which is the driving force forward. is the speed of the car, and of course we have friction/air resistence which we’ll denote .
Let’s find the transfer function of this system.
From Newtons second law of motion we know that:
We know from high-school physics that:
Now the tricky part, , let’s define a simple model which is that the air resistence is proportional to the speed with some constant:
Therefore:
Let’s transform into Laplace (NB: All our initial conditions are zero!).
Let’s introduce and . Therefore:
Unit step function
Definition 2 (Unit step function)
In this series we’ll denote the unit step function with .
The definition for the unit step is:
Let now.
This means that:
Using partial fraction decomposition: