While working as a consultant I’m struggling trying to finish my studies in Computer Engineering. The Bachelor degree seems so far away…
Anyway, I’m preparing for an exam right now and I would like to share with you a bit of what I learn along the road, so I’m going to write down a little tutorial on how to draw a bode plot. The transfer function comes from an actual exercise I found in a book.
Given the following transfer function:
Plot the Bode diagram and determine the gain and phase margins.
Step 1 – Extract the constituent parts of the transfer function
That’s easy. In practice we are going to decompose the transfer function into its constituent parts. To simplify that process, we are going to rewrite the transfer function in the Bode form.
As I said that’s an easy step. Now we need to extract the following parts from the transfer function:
- A constant (K)
- Poles at the origin
- Zeros at the origin
- Real Poles
- Real Zeros
- Complex conjugate Poles
- Complex conjugate Zeros
1 – A constant (K)
A no-brainer. The value of K is 50.
Write it down and let’s move forward.
2 – Poles at the origin
For a definition of what a pole is, please refer to the page on wikipedia. We need to find out if there are poles in zero, and of course there’s one. It’s easy to spot it at a glance: just give a look at the denominator:
So, we got a pole in 0, let’s write it down and move to the next step.
3 - Zeros at the origin
Again, for a definition of what a zero is, please refer to the page on wikipedia. This time we have no luck: it’s easy to see that there aren’t zeroes in 0.
Nothing to write this time…just move to the next step.
4 – Real Poles
We got one! Give a look at the denominator again:
We have a pole in -1.
5 - Real Zeros
Looking at our numerator it is easy to spot: there’s a zero in -100.
Write it down and…yeah, you guessed it: move to the next step.
6 - Complex conjugate Poles
Finally, the fun begins! But you have to wait for this part…
To be continued…