Code covered by the BSD License  

Highlights from
Nyquist plot with logarithmic amplitudes

3.83333

3.8 | 6 ratings Rate this file 21 Downloads (last 30 days) File Size: 5.78 KB File ID: #7444
image thumbnail

Nyquist plot with logarithmic amplitudes

by Trond Andresen

 

15 Apr 2005 (Updated 04 Jun 2009)

Logarithmically scaled Nyquist plot: viewing problems due to near-infinite amplitudes are avoided.

| Watch this File

File Information
Description

A polar diagram where the amplitude of the open-loop transfer function h0 is on a logarithmic scale, is presented. This gives a one-size-fits-all diagram with less need for zooming in and out, and no need for additional reasoning about infinite-radius encirclements when there are poles on the imaginary axis -- as opposed to what is often necessary with the standard polar (Nyquist-) diagram. All properties needed for stability considerations are upheld, such as encirclements, gain and phase margins. The path for s in the loop transfer function is carefully chosen with regard to possible poles on the imaginary axis. Small excursions into the right half plane in the form of arcs of different-sized logarithmic spirals result in corresponding large but finite arcs for h0 that do not overlap in the logarithmic polar plots.
Encirclements are counted and info about poles in RHP, and open- and closed-loop (in)stability, is given.
New in February 2009: Bugs are fixed related to encirclement counting.
An added functionality is now that the function also counts poles on the im-axis for the closed-loop system, if any. If such poles exist, this corresponds to the graph going through -1. Encirclement counting is then impossible and is disabled.

Note: the program at this stage works only for SISO and continuous-time systems.

Required Products Control System Toolbox
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (6)
07 Apr 2006 Tony Zortea

Great work, very useful for difficult stability problems.

04 Oct 2006 Ricardo Lage  
18 Jul 2007 Matteo Massaro

Great! It would be Excellent if also the number of encirclements was computed.

27 Mar 2008 tushar oza  
12 May 2008 Nabil al-hadawy

******** Thank you ********
This is Function very nice ,and very good
I am plot 20 examples by it , and all this examples are correct and buty

29 Sep 2011 Yanbo

Great work!!!

Please login to add a comment or rating.
Updates
20 Apr 2005

Typos corrected

06 Aug 2008

A suggestion from a user is implemented: Encirclements are counted and info about poles in RHP, and open- and closed-loop (in)stability, is given.

10 Feb 2009

New in February 2009: Bugs are fixed. Furthermore,
 the function also counts possible poles on the im-axis for the closed-loop system. This corresponds to the graph going through -1. Encirclement counting is then impossible and is disabled.

11 Feb 2009

New in February 2009: Bugs are fixed. Furthermore, the function also counts possible poles on the im-axis for the closed-loop system. This corresponds to the graph going through -1. Encirclement counting is then impossible and is disabled.

04 Jun 2009

small bug fixed

Tag Activity for this File
Tag Applied By Date/Time
nyquist plot Trond Andresen 22 Oct 2008 07:45:47
logarithmic Trond Andresen 22 Oct 2008 07:45:47
amplitude Trond Andresen 22 Oct 2008 07:45:47
scale Trond Andresen 22 Oct 2008 07:45:47
nyquist plot Francisco Lotufo 11 Nov 2008 07:15:38
nyquist Yanbo 29 Sep 2011 12:00:28

Contact us at files@mathworks.com