2.25. OBTAINING THE TRANSIENT RESPONSE OF SYSTEMS USING MATLAB [6]
In the previous section, an algorithm (Eq. 2.248) was developed for obtaining the time response of a control system based on a knowledge of the P and B matrices, and a digital computer program was written in Fortran and applied to obtain the unit response for the control system illustrated in Figure 2.29. In this section, the relatively simple procedure for obtaining transient responses of control systems using MATLAB will be provided.
The MATLAB commands, found in the Control System Toolbox and The Student Edition of MATLAB, for obtaining the unit step response of a control system are as follows:
(a) If the numerator (num) and denominator (den) of a closed-loop system are known in transfer function form:
step(num,den)
If the user wishes to supply the time t at which the step response will be computed at regularly spaced times, the following command is used:
step(num,den, t).
The time vector is automatically determined when t is excluded from the command.
As an illustration for obtaining the transient response ...
Get Modern Control System Theory and Design, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.