# A Beginner's Guide to Bode Plots

The aim of this page is to explain Bode plots as simply as possible. It will not cover complex topics. But we will cover the basics of how to bode plots for both magnitude and phase angle, explaining each step along the way. Let’s get started by first answering a few questions.

**Q: What exactly are Bode plots?**

**A**: Bode plots are a actually a set of graphs which show the *frequency response* of a system. This system could be any system (not just a circuit!) which experiences change in behavior due to a change in frequency (cycles/second).

**Frequency Response** basically means how our system will change with respect to a given input frequency. In this set of notes we will call our input frequency.

Bode plots typically consist of two graphs. One we’ll call the *magnitude plot* and one called the *phase angle* plot.

**Q: What do we need to start doing the Bode Plots?**

**A**: The first thing we’ll need is called **transfer function**. Usually denoted as or . Generally a transfer function is equivalent to *the ratio of an output to an input*. In terms of circuits this means we might have a and a where our transfer function is

**Q: What does an actual transfer function look like?**

**A:** Transfer functions can come in many different types. We will only go over *first-order* and *second-order* transfer functions. But typically they have a constant , multiplied by a first order term in the numerator. These typically look some like:, , , or . Then they will be divided by another term just like the previous ones (they can also have a constant, too!).

Also **note that the term **.

Examples of a few transfer functions

Now that we’ve covered the basics, let’s get started!

**Simplifying the Transfer Function**

For this first example, we’re going to use the 1st example function from above, .

Typically you will want to get each of the terms into a form which looks something like where is a value based on whatever the term is. Let’s start simplifying. Let’s try simplifying the equation above.

Let’s first factor out a 10 from top term

.

Now let’s do the same for the bottom terms.

Awesome! Now we can take a bunch of these constants and cancel them out. .

Our transfer function is now:

Great! Now we can continue.

**Q: How exactly can do we plot this simplified transfer function. And why is this form considered ‘simplified’?**

**A:** Well, first off It should be important to note that frequencies in typcal electrical signal systems can range from anywhere from very small (1 or less Hz (rare) to extremely high frequencies measured in MegaHertz (common)). So because of this large range of input frequencies, our outputs tend to me very large for a transfer function as well. We’re going to first go over how to do the **magnitude plot**.

Those large values explain why exactly we use a **decibel scale** to measure the output of the transfer function. A decibel (dB) function is typically equal to

Understanding that we measure the transfer output on a log scale is *very important*, and you will see why in a second.

Because we measure on this decibel scale, we need to take the of our transfer function. This will then give us the output on the scale we’re looking for.

Now recall these properties of logarithms

Now look back at our transfer function

.

Notice how all of our terms are either multiplied or divided by one another! This means we can use the property of logarithms to then break our function into different pieces.

After breaking everything up, our function should look something like this:

Notice how all of the different terms are simply log functions added together now! This can make our life much easier when plotting.

Now first recall that , where is our input frequency for our system. If you can also recall simple properties such as , and that you will be able to see how this plot is able to come together.

Notice that we have a constant term, , which is the same for all input frequencies.

We also have a term which will increase for all input frequencies,

Lastly, see the terms which have a form of .

We call our **corner frequencies**. At these frequencies in our plot, the values will not be exact, but they will be very close. Now imagine graphing on a scale where ranges from 0 to or higher.

You can imagine that when the input frequencies aren’t nearly as high as the corner frequencies that the terms with the form will be essentially equal to 0 because and

When we plot this we will find that there isn’t any real change in these terms contribution to the transfer function until we get to the term’s corner frequency.

I should also note that terms which depend on or will increase (or decrease) at a rate of 20dB per **decade**.

**Q: But wait! How do we plot this if we still have a in the equation?**

**A:** We’re simply going to do exactly what we’ve done with other complex systems. Remember this is a **Magnitude** plot. So that the magnitude of

You should also note that this is exactly why we have the two different plots; magnitude and phase, because

However in this case for our intentions, we’re just going to drop the from our magnitude and phase.

This means that for our plots that the magnitude of each term which is in the form of and then our phase is in the form

Then the only other term we should account for in is terms which are simply

In this context decade is a power of 10 before (or after) a number. i.e. a decade after 1 is 10, a decade after 20 is 200, a decade after 300 is 3000, etc…

From here is is possible to then see that we can estimate a bode plot as simply a sum of slopes at different points along the range of frequencies for a transfer function.

See below for a graph with all of the different slopes plotted separately, and then with them all added together.

As you should be able to see, the 2nd image is simply all of the functions from the first image added together.

It should be important to note that due to my current software limitations, I could not use the typical Semi-Log graphing style on the x-axis which is typical for Bode plots. This means that this plot **is not exact**. You can see the actual bode plots for this transfer function with Wolfram Alpha

## Phase Plots

**Q: So then how can we plot the phase angle with respect to the frequency, ?**

If we simply take what we know about complex numbers like above we find that

Let’s first take a look at the function of to refresh us.

Also recall that

So this tells us that the component which is approaches 90 with large values of .

So on a semi log scale we can approximate by saying that for all values , that

This will give us the angle for all of the different components. We can then add the respective phase angles together after plotting.

Recall that as well.

So this means that for approximation of terms which are that at the corner frequency that we will **have a value of **. However, that this will be positive or negatively sloping depending on whether the term is in the numerator or denominator of the transfer function.

So then a **decade prior** to the corner frequency, the value should be .

Then a **decade after** the corner frequency will have a value where the depends on whether the term is in the numerator or denomitor.

**POSITIVE**for the numerator**NEGATIVE**for the denominator

Depending on any constants which might be present in the transfer function typical bode approximations will say that where is a constant, such as our will be equal to zero, or (depending where the constant lies.

If the constant is on an order of magnitude which is Then it should be plotted on the graph, otherwise it should be approximated as

We then simply add the slopes of all terms together to find the phase

So then to plot our phase diagram from the transfer function:

We can then take the arctan of each term, and then add their value together.

This gives us the components

From here we simply add the functions to find the phase plot

So now let’s take a look at what the graph will look like (**note this is not on a semi-log scale!**)

We can see that from this