Skip to content
MathWorks - Mobile View
  • Accedere al proprio MathWorks AccountAccedere al proprio MathWorks Account
  • Access your MathWorks Account
    • Il Mio Account
    • Il mio Profilo utente
    • Associa Licenza
    • Disconnettiti
  • Prodotti
  • Soluzioni
  • Università
  • Assistenza
  • Community
  • Eventi
  • Acquista MATLAB
MathWorks
  • Prodotti
  • Soluzioni
  • Università
  • Assistenza
  • Community
  • Eventi
  • Acquista MATLAB
  • Accedere al proprio MathWorks AccountAccedere al proprio MathWorks Account
  • Access your MathWorks Account
    • Il Mio Account
    • Il mio Profilo utente
    • Associa Licenza
    • Disconnettiti

Video e Webinar

  • MathWorks
  • Video
  • Home Video
  • Cerca
  • Home Video
  • Cerca
  • Contatta l’ufficio addetto alle vendite
  • Software di prova
5:17 Video length is 5:17.
  • Description
  • Full Transcript
  • Related Resources

Understanding Bode Plots, Part 2: What Are They?

From the series: Understanding Bode Plots

Learn the principal characteristics of a Bode plot in this MATLAB® Tech Talk by Carlos Osorio. This video explains how a Bode plot describes the frequency response of a linear time-invariant system and the plot’s primary characteristics, such as the DC gain, roll-off rate, natural frequency, crossover frequency, and bandwidth frequency. You will also learn how to create a Bode plot in MATLAB.

In this section, we're going to describe what a frequency response diagram is, as well as take a look at their primary characteristics. By definition, if we fit in a pure sinusoidal tone into a generic linear time-invariant system, the output will also be a pure sinusoidal tone. Notice that a linear time-invariant system can affect the amplitude of the signal and can introduce a shift in the phase of the sine wave. But it will not alter its fundamental frequency.

Comparing the input and the output sinusoidals, we can measure the change in amplitude and phase shift introduced by the system. If each of these individual measurements is plotted on its own axis against the corresponding pure tone frequency of the sine wave, it will give us a single point on a frequency response diagram.

By repeating this process for a number of different pure tone frequencies, we can construct a trace for the amplitude variation, also known as the gain of the system, as well as a trace for the phase shift introduced by the system for any given frequency range. This type of frequency response diagram is what is normally called a bode plot.

Notice that in order to capture all the relevant dynamics, we need to make sure that we excite our system at enough frequency points to get a good trace. This is why when estimating responses empirically or experimentally people usually use random white noise or sinusoidal chirps with enough frequency content as excitations.

Now, in general, if we need an analytic way to calculate this frequency responses directly from the dynamic equations of the system, in the Laplace domain, setting the operator s to a pure, imaginary number like jw is equivalent to exciting the system with a pure sinusoidal tone or frequency w.

The resulting expression for G will be a vector in the complex plane-- part real, part imaginary. The magnitude of that vector is the gain of the transfer function or, in other words, equivalent to the amplitude gain from the input to output sine waves. And the phase angle of that vector corresponds to the phase shift introduced by the system. Both of this will be functions of the frequency w.

As a quick note, frequency diagrams are normally drawn on logarithmic scales. The magnitude is usually displayed in decibels, which is defined as 20 times the log of the amplitude ratio. And the phase angle is usually displayed in degrees. To create a frequency response diagram, we need to evaluate both of these functions at different values of w in the frequency range of interest.

Of course, in a numerical engine like MATLAB, we can easily define our transfer functions directly on the s domain and call the desired built-in function to automatically perform this evaluation and create the appropriate frequency diagram, in this case, bode plot. Before I proceed, I want to define at least some of the standard terminology we will be using for describing the characteristics of our frequency response plot just to make sure that we are all on the same page.

First, when we talk about DC gain, we are referring to the magnitude gain at zero frequency, or DC. Next, roll-off rate refers to the slope at which the magnitude drops off at high frequency. This is usually expressed in dBs per decade, meaning a factor of 10 on the frequency scale. Any peak in the magnitude trace in general will be associated to some natural frequency of the system.

And any magnitude value above 0 dBs means that the system is amplifying the input signal. Remember that 0 dBs corresponds to the log of 1, which will happen when the amplitude of the output matches the amplitude of the input. So the magnitude ratio is 1. And any value below 0 dBs means that the system is attenuation the input signal. The point where that change happens is defined as the crossover frequency.

The last important characteristic I wanted to bring up is what is called bandwidth frequency. This is usually defined at the point where that magnitude crosses -3 dBs. -3 dBs means that the attenuation is going below the RMS value of the input signal where output to input amplitude ratio is (2^0.5)/2.

From our practical perspective, the bandwidth of a system is commonly used as a measure of the upper limit at which our system dynamics can be controlled. Any inputs past that frequency will be severely attenuated by those system dynamics and will barely be seen in the output.

Related Products

  • Control System Toolbox

Learn More

Frequency Response of a SISO System
Bode Diagram Design
Tips and tricks for using Bode plots in MATLAB
bode function to create Bode plots of dynamic systems

3 Ways to Speed Up Model Predictive Controllers

Read white paper

A Practical Guide to Deep Learning: From Data to Deployment

Read ebook

Bridging Wireless Communications Design and Testing with MATLAB

Read white paper

Deep Learning and Traditional Machine Learning: Choosing the Right Approach

Read ebook

Hardware-in-the-Loop Testing for Power Electronics Control Design

Read white paper

Predictive Maintenance with MATLAB

Read ebook

Electric Vehicle Modeling and Simulation - Architecture to Deployment : Webinar Series

Register for Free

How much do you know about power conversion control?

Start quiz
Related Information
Related Information
Using Bode Plots (5 videos)

Feedback

Featured Product

Control System Toolbox

  • Request Trial
  • Get Pricing

Up Next:

Learn how to build Bode plots for first-order systems in this MATLAB Tech Talk by Carlos Osorio.
7:51
Part 3: Simple Systems
View full series (4 Videos)

Related Videos:

7:51
Understanding Bode Plots, Part 3: Simple Systems
7:17
Understanding Bode Plots, Part 4: Complex Systems
5:48
Understanding Bode Plots, Part 1: Why Use Them?
4:34
Using Bode Plots, Part 2: Open Loop Shaping
9:48
Using Bode Plots, Part 5: DC Motor Control Example

View more related videos

MathWorks - Domain Selector

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

  • Switzerland (English)
  • Switzerland (Deutsch)
  • Switzerland (Français)
  • 中国 (简体中文)
  • 中国 (English)

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • Contatta l’ufficio addetto alle vendite
  • Software di prova

MathWorks

Accelerating the pace of engineering and science

MathWorks è leader nello sviluppo di software per il calcolo matematico per ingegneri e ricercatori

Scopri…

Scopri i nostri prodotti

  • MATLAB
  • Simulink
  • Software per studenti​
  • Supporto hardware
  • File Exchange

Prova o Acquista

  • Download
  • Software di prova
  • Contattaci
  • Prezzi e licenze
  • Come acquistare

Impara ad utilizzare i nostri prodotti

  • Documentazione
  • Tutorial
  • Esempi
  • Video e Webinar
  • Formazione

Ricevi supporto tecnico

  • Aiuto all'installazione
  • MATLAB Answers
  • Consulenza
  • License Center
  • Contatta l'assistenza

Informazioni su MathWorks

  • Lavora con noi
  • Sala stampa
  • Missione sociale​
  • Casi dei clienti
  • Informazioni su MathWorks
  • Select a Web Site United States
  • Centro di fiducia
  • Marchi
  • Informativa sulla privacy
  • Antipirateria
  • Stato dell'applicazione

© 1994-2022 The MathWorks, Inc.

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • LinkedIn
  • RSS

Unisciti alla discussione