Clear Filters
Clear Filters

Closed loop phase info on Nichols Grid?

5 views (last 30 days)
Raymond Hudson
Raymond Hudson on 15 Nov 2023
Answered: Krishna on 4 Jan 2024
I am failing in finding any way to turn on the closed loop phase information on a Nichols Plot where the closed loop unity feedback grid has been turned on. It always will show the values associated with the closed loop gain circles, but it does NOT display the values associated with the closed loop circles of phase response. Is there some way I can force MATLAB to display the closed loop phase response values associated with the dotted lines that parallel the open loop phase axes? Thanks!

Answers (1)

Krishna
Krishna on 4 Jan 2024
Hey Raymond,
From what I gather, it seems you are not able to turn on closed loop phase information on a Nicholas plot where the closed loop unity feedback grid has been turned on. In MATLAB, when using the ‘nichols’ command to generate a Nichols plot, the default behaviour includes the grid for closed-loop gain (magnitude) contours but does not label the phase contours. To add phase contour information, you can use the ‘ngrid’ function. This allows you to customize the Nichols plot grid.
You can follow these steps to create a plot with closed loop phase information,
  1. To display the closed-loop phase values on a Nichols plot in MATLAB, start by creating the plot with the ‘nichols’ command for your specific system.
  2. Following that, invoke the ‘ngrid’ function, which will overlay grid lines corresponding to both magnitude and phase on the plot.
  3. Then, to identify and manipulate the text labels that represent the phase values, employ the ‘findall’ function to locate all text objects present within the Nichols plot.
  4. Once you have these text objects, you can alter their properties accordingly to ensure that the closed-loop phase values are visible on the plot.
To learn more about nichols plot please go through the following documentation,
To learn how to plot design using the ‘nichols’ function please go through this documentation,
Hope this helps.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!