control.NyquistResponseData

class control.NyquistResponseData(count, contour, response, dt, sysname=None, return_contour=False)[source]

Nyquist response data object.

Nyquist contour analysis allows the stability and robustness of a closed loop linear system to be evaluated using the open loop response of the loop transfer function. The NyquistResponseData class is used by the nyquist_response() function to return the response of a linear system along the Nyquist ‘D’ contour. The response object can be used to obtain information about the Nyquist response or to generate a Nyquist plot.

count

Number of encirclements of the -1 point by the Nyquist curve for a system evaluated along the Nyquist contour.

Type

integer

contour

The Nyquist ‘D’ contour, with appropriate indendtations to avoid open loop poles and zeros near/on the imaginary axis.

Type

complex array

response

The value of the linear system under study along the Nyquist contour.

Type

complex array

dt

The system timebase.

Type

None or float

sysname

The name of the system being analyzed.

Type

str

return_contour

If true, when the object is accessed as an iterable return two elements”: count (number of encirlements) and contour. If false (default), then return only count.

Type

bool

__init__(count, contour, response, dt, sysname=None, return_contour=False)[source]

Methods

__init__(count, contour, response, dt[, ...])

plot(*args, **kwargs)