Root locus examples matlab tutorial pdf

Control tutorials for matlab and simulink introduction. Pd compensation example 1 now add pd compensation to our example system root locus depends on. Once we sketch the root locus, we may want to accurately locate points on the root locus as well as find their associated gain. How to plot the root locus using matlab first thing you need to do is to enter the open loop transfer function or the equivalent state space then in the command window write rlocussys like the following example sketch the root locus of the following system.

Pdf introduction to root locus method researchgate. The primary mode of delivery consists of two 75minute lectures per week. Each software package employs different methods to create, examine, print, and save transfer functions. The root locus technique is the primary design method used in pr ojects to date. The block diagram of the closedloop system is shown. Searching for the 30% overshoot in figure 3 zoomed diagram of figure 2, we find the dominant poles at 1. The root loci must be symmetric about the real axis. Root locus design is a common control system design technique in which you edit the compensator gain, poles, and zeros in the root locus diagram. The root locus technique is the primary design method used in projects to date. Matlab supplies its own set of gain values that are used to calculate a root locus plot. Along the real axis, the root locus includes all segments that are to the left of an odd number of poles and zeros. The root locus of an openloop transfer function hs is a plot of the. Webb mae 4421 8 vector interpretation of complex functions consider a. At any particular value of k there are 4 closed loop poles.

Design via root locus elec304alper erdogan 1 1 lecture. The root loci of the original and compensated systems are presented in figures 8. If gs has more p oles than zeros as is often the case, m matlab tutorials on the root locus method 10 compliment the lectures. The projects are assigned around week 8 of the regular 16week semester and students work in three or fourmember groups.

Root locus elec304alper erdogan 1 1 lecture 1 root locus. The effect of a dipole on the system response is studied in the next example. Obtain root locus using matlab control systems matlab tutorials. Note that the input argument is the openloop transfer function. Step 3 re im breakaway point 14 matlab command rlocus. Fall 2008 15 summary and exercises examples for root locus. In this tutorial, we will introduce the root locus, show how to create it using matlab, and demonstrate how to design feedback controllers that satisfy certain. Root locus graphically shows how poles of the closedloop system varies as k varies from 0 to infinity. The root locus returns the closedloop pole trajectories as a function of the. Section 5 root locus analysis college of engineering.

The main idea of root locus design is to estimate the closedloop response from the openloop root locus plot. The roots of the characteristic equations are at s1 and s2. The root loci may be found on portions of the real axis to the left of an odd number of open loop poles and zeros. The root locus method typically focuses on the gain parameter. Using rlocus in matlab to plot the root locus youtube. The first two software packages are free alternatives to matlab, and their use is encouraged. An example of the type of root locus well learn to sketch by hand, as well as plot in matlab. Pdf example problems and solutions ogata root locus. The root locus structure also yields ideas for adding elements to the compensator. Root locus elec304alper erdogan 1 7 real axis segments which parts of real line will be a part of root locus. If you specify a settling time in the continuoustime root locus, a vertical line appears on the root locus plot at the pole locations associated with the value provided using a firstorder approximation. The asymptotes of the root locus branches are found as follows. As the openloop gain, k, of a control system varies over a continuous range of values, the root locus diagram shows the trajectories of the closedloop poles of the feedback system. We include a variable gain k in a unityfeedback con.

In the discretetime case, the constraint is a curved line. Using matlab for root locus analysis as an example of how to use matlab to perform a root locus analysis, consider design problem dp6. Choosing a value of k from root locus closedloop response. Rltool tutorial 7302007 4 take a moment and acquaint yourself with the layout of the gui. Sketch the root locus diagram for the parameter k for the closed loop system shown in the diagram. Root locus for uncompensated system zoomed for finding 30% overshoot now, the step response of the uncompensated system with the gain value of 215 is shown in figure 4.

The poles on the root locus plot are denoted by x and the zeros are denoted by o. These problems should be done using matlab or some other program that creates root locus plots. Pdf example problems and solutions ogata root locus sasi. Use matlab to plot root locus university of alabama. Here we put in code for the example and it generates the plot that is on page 4.

Since the root locus is practically unchanged, the system transient response remains the same and the effect due to the pi controller is to increase the type of the control system by one, which produces improved steady state errors. Sketch the root loci for the system shown in figure 639a. Tutorial for our first experiment, it is a tutorial for how root locus design works on matlab. A root loci plot is simply a plot of the s zero values and. Use matlab to plot root locus 20 15 10 5 0 515105 0 5 10 15 real axis imag axis20 15 10 5 0 515105 0 5 10 15 real axis imag axis find k for roots with. It is also possible to have an unstable open loop system and a stable closed loop system. Therefore, the best way to learn is by trying it yourself.

From the root locus graph obtained from matlab simulation zoomed in figure 10, it is evident that the dominant pole for the leadcompensated system with 30% overshoot shows 2. For the system above the characteristic equation of the root locus due to variations in kcan be written directly from eq. As you can see, the locus is symmetric about the real axis. Root locus starts k0 at poles of open loop transfer function, g. Control tutorials for matlab and simulink suspension. The tutorial provides a brief introduction to the use of matlab with examples, and then describes the control system toolbox with examples. Working through the examples will give you a feel for the way that matlab operates. A root locus exists on the real axis between points s 1 and s 03. The primarily objective is to help you learn quickly the. There will be as many separate loci as the largest number of finite open loop poles or zeros. Design of laglead compensator using root locus method. Sketch the rootlocus of the system the number of branches. Root locus is a way of determining the stability of a control system. The root locus of an openloop transfer function hs is a plot of the locations locus of all possible closed loop poles with proportional gain k and unity feedback.

Using root locus ideas to design controller we have seen how to draw a root locus for given plant dynamics. Further, we also may want the value of gain at that point. Use the angle criteria to determine suitability of any questionable points. The root locus of an openloop transfer function is a plot of the locations locus of all possible closedloop poles with some parameter, often a proportional gain, varied between 0 and. Review consider a feedback system that has one parameter gain k0 to be designed. It is an approach to select the gain as to achieve desired transient behavior. The pr imary mode of delivery consists of two 75minute lectures per week. For example, we might want to know the exact coordinates of the root locus as it crosses the radial line representing 20% overshoot. In the previous article, we have discussed the root locus technique that tells about the rules that are followed for constructing the root locus. Matlab program 611 generates a root locus plot as shown in figure 650. Root locus 2 root locus example we will show that by manipulating the denominator polynomial it is possible to generate a root locus plot for the variation of other transfer function parameters. Sometimes, proportional control with a carefully chosen value of k is.

This tutorial illustrates how to use the rlocus command in matlab to quickly and easily sketch the root locus. Sketch the root loci of the control system shown in figure 640a. Design via root locus elec304alper erdogan 1 1 lecture 1. Exam i handout reference info to be provided with the exam mason gain formula example 2. As an example of how to use matlab to perform a root locus analysis, consider design problem dp6. The open loop transfer function, gshs, has 5 poles, therefore the locus has 5 branches. Root locus examples with general steps electronics coach. The plot of the root locus has crosses at the location of the plant open loop ol poles at s 0 and s 2, and squares at the location of the closed loop cl system poles for the current compensator, cs. The root locus rules of behavior provide insight for adjusting additional compensator parameters. Examples show how to tune the gains of the pid to get an acceptable response. The root loci are asymptotic to straight lines, for large values of s, with angles given by. Since the pole at s1 is closer to the origin, we would expect it to dominate somewhat, giving the system behavior similar to a first order system with a. The projects are assigned around week 8 of the regular 16week semester and students work in three or fourmember. Using simulink, matlab, and lego mindstorms to teach a.

Closedloop poles plotting the root locus of a transfer function choosing a value of k from root locus closedloop response. This document is intended to give you an example of using matlab and root locus to design controllers compen sators in the zplane. Loci terminates at the openloop zeros including those at infinity. Gain computation for marginal stability, by using routhhurwitz criterion angle of departure angle of arrival can be obtained by a similar argument. Root locus an example of the type of root locus well learn to sketch by hand, as well as plot in matlab. For the purposes of this tutorial, we will use the following transfer function as an example. Example 1 sketch the root locus of the closedloop system.

In this tutorial, we will introduce the root locus, show how to create it using matlab, and demonstrate how to design feedback controllers that satisfy certain performance criteria through the use of the root locus. Root locus elec304alper erdogan 1 20 root locus example problem. Next, sketch of proofs for root locus algorithm root locus. Basis plot of the closedloop system roots, as k varies from 0 to. Here we will use matlab functions and code to create plots for different examples of systems that are presented. The root locus must have n branc hes, each branch starts at a pole of gs and goes to a zero of gs. The figure below shows a unityfeedback architecture, but the procedure is identical for any openloop transfer function, even if some elements of the openloop transfer function are in. Here in this article, we will see some examples regarding the construction of root locus. This video demonstrates how to obtain root locus of a given transfer function using matlab. The goal is to use matlab to draw a root locus diagram for the parameter k, given the parameter m 4. You will need to print one or more plots for each problem.

With the aid of this toolbox, for example, the control engineer can draw the bode diagram, root locus or time response of. Pdf root locus design using matlab matlabassignment. Root locus examples erik cheever swarthmore college. Design via root locus elec304alper erdogan 1 1 lecture 1 design via root locus motivation. This document is intended to give you an example of using matlab and root locus to design controllers compensators in the zplane. Gain computation for marginal stability, by using gain computation for marginal stability, by using routhhurwitz criterion angle of departure angle of arrival can be obtained angle of departure angle of arrival can be obtained by a similar argument. The block diagram of the closedloop system is shown below. By adding zeros andor poles to the original system adding a compensator, the root locus and thus the closedloop response will be modified. Where applicable, also explain the compensator the added poles andor zeros. Syde 352l control systems laboratory laboratory 0 matlab simulink workshop goals. Plot root loci with a square aspect ratio so that a line with slope 1. Root locus plot of dynamic system matlab rlocus mathworks.

1314 1035 1228 136 562 310 1707 843 1330 1328 1278 138 1396 1313 31 479 660 1301 1259 220 1127 948 1249