Control System Toolbox
  Go to function:
    Search    Help Desk 
rltool    See Also

Initialize the Root Locus Design GUI

Syntax

Description

When invoked without input arguments, rltool initializes a new Root Locus Design GUI for interactive compensator design. This GUI allows you to design a single-input/single-output (SISO) compensator using root locus techniques.

The Root Locus Design GUI looks like this.


This tool can be applied to SISO LTI systems whose feedback structure is in one of the following two configurations.


In either configuration, F is a pre-filter, P is the plant model, H is the sensor dynamics, and K is the compensator to be designed. In terms of the GUI design procedure, once you specify them, F, P, and H are fixed in the feedback structure. This triple, along with the feedback structure, is called the design model.

A design model can be constructed for the GUI by selecting the Import Model menu item from the File menu of the Root Locus Design GUI. Once you select the item, the Import Design Model window opens. You can then import SISO LTI models that have been created with ss, tf, or zpk in your workspace or on your disk (or SISO LTI blocks contained in open or saved Simulink models) into F, P, and H. Otherwise, you can specify your design model by defining F, P, and H manually with LTI models created using ss, tf, or zpk in the text boxes provided on the Import Design Model window.

If sys is any SISO LTI object (created with ss, tf, or zpk) that exists in the MATLAB workspace, rltool(sys) initializes a Root Locus Design GUI, by setting the plant model P to sys.

rltool(sys,comp) also initializes a Root Locus Design GUI for the plant model sys. In addition, the root locus compensator is initialized to comp, where comp is any SISO LTI object that exists in the MATLAB workspace.

When either the plant, or both the plant and the compensator are provided as arguments to rltool, the root locus of the closed-loop poles and their locations for the current compensator gain are drawn on the Root Locus Design GUI. The closed-loop model is generated by placing the compensator (comp) and plant model (sys) in the forward loop of a negative unity feedback system, as shown in the diagram below.

In this case, F and H are taken to be 1, while P is sys. If you want to include F and H in the design model after loading rltool(sys) or rltool(sys,comp), select the Import Model menu item from the File menu of the Root Locus Design GUI to load F and H.

rltool(sys,comp,LocationFlag,FeedbackSign) allows you to override the default compensator location and feedback sign. LocationFlag can be either 1 or 2:

See Also

rlocus      Plot root locus

rlocfind    Select gain from the root locus plot



[ Previous | Help Desk | Next ]