WOLFRAM

NyquistPlot[lsys]

generates a Nyquist plot of the transfer function for the system lsys.

NyquistPlot[lsys,{ωmin,ωmax}]

plots for the frequency range ωmin to ωmax.

NyquistPlot[expr,{ω,ωmin,ωmax}]

plots expr using the variable ω.

Details and Options

Examples

open allclose all

Basic Examples  (5)Summary of the most common use cases

A Nyquist plot of a transfer-function model:

Out[1]=1

A Nyquist plot of a system with resonant frequencies:

Out[1]=1

A Nyquist plot of a discrete-time system:

Out[1]=1

A discrete-time system with resonant frequencies:

Out[1]=1

Another discrete-time system with resonant frequencies:

Out[1]=1

Scope  (24)Survey of the scope of standard use cases

Basic Uses  (11)

Nyquist plot of a continuous-time system:

Out[1]=1

Nyquist plot of another continuous-time system:

Out[1]=1

Specify the frequency range:

Out[1]=1

Nyquist plot of a discrete-time system:

Out[1]=1

Nyquist plot of a continuous-time, transfer-function model:

Out[1]=1

Discrete-time, transfer-function model:

Out[1]=1

Nyquist plot of a state-space model:

Out[1]=1

The Nyquist plots of systems with resonant frequencies have encirclements at infinity:

Out[1]=1
Out[2]=2
Out[3]=3

An improper system with resonant frequencies:

Out[1]=1

A system with a time delay:

Out[1]=1

Specify the expression of the sinusoidal transfer function of a system:

Out[1]=1

Linear System Stability  (7)

There are no unstable open-loop poles ():

The plot shows that is not encircled ():

Out[2]=2

Hence the closed-loop system is stable (); all poles are stable:

Out[3]=3
Out[4]=4

Here and , and hence :

Out[2]=2

Here , i.e. one unstable pole in the closed-loop system:

Out[3]=3

Here and , and hence :

Out[2]=2

The closed-loop system has two unstable poles:

Out[3]=3

Now , and is encircled counterclockwise, so , and hence :

Out[2]=2

The closed-loop system has no unstable poles:

Out[3]=3

For positive feedback, count encirclement around ; here , :

Out[2]=2

There are unstable poles in the closed-loop system:

Out[3]=3

A discrete-time system with no unstable poles ():

There are no encirclements of ():

Out[2]=2

Hence the closed-loop system is stable ():

Out[3]=3

A stable discrete-time system () with positive feedback:

There is one clockwise encirclement of () :

Out[2]=2

The closed-loop system is unstable, with one pole outside the unit circle:

Out[3]=3
Out[3]=3

Nonlinear System Stability  (6)

Starting with a stable linear system ():

Out[2]=2

Using feedback , where it is also true that , since the disk is not encircled:

Out[3]=3

Simulate closed-loop system constant feedback for :

Out[5]=5

The following stable system () has one clockwise encirclement () of the disk for feedback in the sector :

Out[2]=2

Hence the closed-loop system is unstable for any feedback in that sector:

Out[4]=4

An unstable system ():

With a feedback configuration that has one counterclockwise encirclement ():

Out[2]=2

The closed-loop system is stable with any feedback in the sector:

Out[4]=4

A stable system has feedback in the sector , and its NyquistPlot is to the right of :

Out[2]=2

The closed loop is stable for any feedback in the sector :

Out[4]=4

A stable system:

The NyquistPlot lies within the circle for feedback in the sector :

Out[2]=2

The closed loop is stable for any feedback within the sector :

Out[4]=4

A stable system lsys with feedback in the sector :

The NyquistPlot of -lsys with feedback in the sector shows a stable closed-loop system:

Out[2]=2

Simulate the closed loop with constant feedback:

Out[4]=4

Generalizations & Extensions  (1)Generalized and extended use cases

A Nyquist plot can be obtained from a transfer-function model or directly from its expression:

Out[2]=2

Options  (26)Common values & functionality for each option

CoordinatesToolOptions  (1)

Obtain magnitude and phase (in degrees) by selecting the graphic and typing a period (.):

Out[2]=2
Out[4]=4

Exclusions  (5)

By default, there are no exclusions for a system with no resonant frequencies:

Out[2]=2

Exclude the point corresponding to 0.75:

Out[1]=1

Exclude multiple frequencies:

Out[1]=1

Resonant frequencies correspond to semicircles of infinite radius:

Out[1]=1

Exclude only one of the resonant frequencies:

Out[1]=1

ExclusionsStyle  (2)

Specify the style of the exclusions:

Out[1]=1

A Nyquist plot without the infinite encirclements:

Out[1]=1

FeedbackSector  (4)

Stable configurations:

The stable configuration of a system that is unstable:

Out[1]=1

An unstable configuration:

Out[1]=1

With feedback gain 0.1, the system is stable:

Out[1]=1

Rescale the gains to use the Nyquist stability criterion:

Out[2]=2

FeedbackSectorStyle  (1)

Specify the style of the graphics generated by the circle criterion:

Out[2]=2

NyquistGridLines  (2)

Automatically chosen values of closed-loop magnitude and phase:

Out[2]=2

Draw specific contours:

Out[1]=1

PlotLegends  (4)

Use placeholder legends for multiple systems:

Out[1]=1

Use the systems as the legend text:

Out[1]=1

Use LineLegend to add an overall legend label:

Out[1]=1

Place the legend above the plot:

Out[1]=1

PlotRange  (2)

Specify the range of coordinates to include in a plot:

Out[2]=2

Points at infinity are shown in the region specified by PlotRangePadding:

Out[4]=4
Out[5]=5
Out[6]=6

Specify the plot range explicitly:

Out[1]=1
Out[2]=2

PlotTheme  (2)

Use a theme with a frame and grid lines:

Out[1]=1

Change the style of the grid lines:

Out[1]=1

StabilityMargins  (2)

Show the stability margins:

Out[2]=2

Stability margins for a system with resonant frequencies:

Out[1]=1

StabilityMarginsStyle  (1)

Specify the style of stability margins:

Out[2]=2

Applications  (2)Sample problems that can be solved with this function

Compute gain and phase margins:

Out[1]=1

With no encirclements of and no poles in the right half-plane, the closed loop with unity negative feedback is stable (Nyquist stability criterion):

Out[1]=1
Out[2]=2

Properties & Relations  (1)Properties of the function, and connections to other functions

The sinusoidal transfer function of a discrete-time system is periodic:

Out[2]=2
Wolfram Research (2010), NyquistPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/NyquistPlot.html (updated 2014).
Wolfram Research (2010), NyquistPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/NyquistPlot.html (updated 2014).

Text

Wolfram Research (2010), NyquistPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/NyquistPlot.html (updated 2014).

Wolfram Research (2010), NyquistPlot, Wolfram Language function, https://reference.wolfram.com/language/ref/NyquistPlot.html (updated 2014).

CMS

Wolfram Language. 2010. "NyquistPlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/NyquistPlot.html.

Wolfram Language. 2010. "NyquistPlot." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/NyquistPlot.html.

APA

Wolfram Language. (2010). NyquistPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NyquistPlot.html

Wolfram Language. (2010). NyquistPlot. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NyquistPlot.html

BibTeX

@misc{reference.wolfram_2025_nyquistplot, author="Wolfram Research", title="{NyquistPlot}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/NyquistPlot.html}", note=[Accessed: 13-May-2025 ]}

@misc{reference.wolfram_2025_nyquistplot, author="Wolfram Research", title="{NyquistPlot}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/NyquistPlot.html}", note=[Accessed: 13-May-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_nyquistplot, organization={Wolfram Research}, title={NyquistPlot}, year={2014}, url={https://reference.wolfram.com/language/ref/NyquistPlot.html}, note=[Accessed: 13-May-2025 ]}

@online{reference.wolfram_2025_nyquistplot, organization={Wolfram Research}, title={NyquistPlot}, year={2014}, url={https://reference.wolfram.com/language/ref/NyquistPlot.html}, note=[Accessed: 13-May-2025 ]}