MathWorks - Mobile View
  • Sign In to Your MathWorks AccountSign In to Your MathWorks Account
  • Access your MathWorks Account
    • My Account
    • My Community Profile
    • Link License
    • Sign Out
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Get MATLAB
MathWorks
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Get MATLAB
  • Sign In to Your MathWorks AccountSign In to Your MathWorks Account
  • Access your MathWorks Account
    • My Account
    • My Community Profile
    • Link License
    • Sign Out

Videos and Webinars

  • MathWorks
  • Videos
  • Videos Home
  • Search
  • Videos Home
  • Search
  • Contact sales
  • Trial software
  Register to watch video
  • Description
  • Full Transcript
  • Related Resources

Using Bode Plots, Part 2: Open Loop Shaping

From the series: Using Bode Plots

Carlos Osorio, MathWorks

Learn how to achieve desired closed-loop characteristics by shaping open-loop frequency response in this MATLAB® Tech Talk by Carlos Osorio.

So given that now we have a general idea of the shapes, we would like for those two main closed-loop transfer functions T and S, the question becomes, how can we make sure that our controller will make the closed-loop system have a response that is anywhere close to having those frequency characteristics? To answer that, let us start by taking a look at the bode plot of a generic open-loop transfer function. Because this is just the product of P times C on a logarithmic scale, the frequency trace PC will be the superposition of the trace of the given plant and the trace of the controller we're trying to design.

The big advantage of dealing with the open-loop transfer function is that we can directly design the shape of C in such a way that, when superimposed with our plan, P, the resulting PC will have somewhat desirable characteristics. So now we might ask, what kind of shape should we give to our open-loop transfer function in order for it to make the closed-loop system have the frequency characteristics we are looking for? 

Let me first highlight the 0 dB line on the magnitude trace and the minus 180 degrees on the phase trace. And remember, the crossover frequency is located where the magnitude trace crosses that 0 dB line. We want to see how the complementary sensitivity transfer function T=PC/(1+PC), relates to the open-loop transfer function.

Note that we cannot use superposition directly because there is a summation in the denominator. So we need to use our asymptotic approximation method to try to infer the shape of T from the given open-loop transfer function. If we look at the region way before the crossover frequency, and the magnitude of the open-loop transfer function is much greater than 1, or 0 dB on the plot, then PC will dominate the denominator, and T will be approximately PC/PC, or 1. So both the magnitude and the phase of T will stay at approximately 0 on the bode plot. 

If we look at the region way after the crossover, and the magnitude of the open loop transfer function is much less than 1, now, the 1 will dominate the denominator, and T will approximate PC/1, which means that the trace for T on this region will follow the trace of PC.

Note that the actual trace of T follows our asymptotic approximation very closely. In a similar fashion, if we look at the sensitivity transfer function, when PC is much greater than 1, it will approximate 1/PC, which, in a logarithmic scale, means the negative of PC. So the trace of S will be symmetric with respect to 0 in the low-frequency region. 

When PC is much less than 1, S will approximate 1/1. So both the magnitude and the phase of S will be approximately 0 on the body plot for the high-frequency region. Once again, the actual trace of S follows our asymptotic approximation quite closely.

So just to summarize, if we want good tracking performance characteristics in T and good disturbance rejection in S, we need to make sure that our open-loop design has a high enough gain at low frequencies-- in other words, PC needs to be well above zero dB, at least a decade below the crossover frequency. Actually, if we want to achieve zero steady-state error, our gain needs to be infinity at DC, which means that our open loop transfer function needs to resemble a pure integrator on low frequencies. 

If we want good noise rejection characteristics, our open loop designs should have a good, sharp roll of rate and provide nice attenuation past the crossover frequency. So as we have just seen, it is quite straightforward to figure out what will be going on at the high and low frequency ends of our open loop design. It is a bit trickier to be able to predict the behavior of our closed-loop system in the region around the crossover frequency. The location of the crossover frequency and the manner in which we cross over will not only have an effect on the performance of our controller, but it is also critical to the stability of our closed-loop system.

Related Products

  • Control System Toolbox

Learn More

Watch other MATLAB Tech Talk videos

Feedback

Featured Product

Control System Toolbox

  • Request Trial
  • Get Pricing

Up Next:

Learn what gain margin and phase margins are and how to use them for control design in this MATLAB Tech Talk by Carlos Osorio.
6:58
Part 3: Phase and Gain Margins
View full series (5 Videos)

Related Videos:

6:11
Using Bode Plots, Part 1: Closed-Loop Systems
9:48
Using Bode Plots, Part 5: DC Motor Control Example
6:58
Using Bode Plots, Part 3: Phase and Gain Margins
4:42
Using Bode Plots, Part 4: Lead, Lag, PID Controllers
5:48
Understanding Bode Plots, Part 1: Why Use Them?

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: .

Select web site

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

  • Contact sales
  • Trial software

Explore Products

  • MATLAB
  • Simulink
  • Student Software
  • Hardware Support
  • File Exchange

Try or Buy

  • Downloads
  • Trial Software
  • Contact Sales
  • Pricing and Licensing
  • How to Buy

Learn to Use

  • Documentation
  • Tutorials
  • Examples
  • Videos and Webinars
  • Training

Get Support

  • Installation Help
  • Answers
  • Consulting
  • License Center
  • Contact Support

About MathWorks

  • Careers
  • Newsroom
  • Social Mission
  • Contact Sales
  • About MathWorks

MathWorks

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Discover…

  • Select a Web Site United States
  • Patents
  • Trademarks
  • Privacy Policy
  • Preventing Piracy
  • Application Status

© 1994-2021 The MathWorks, Inc.

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

Join the conversation