Root locus tools in matlab for system dynamic analysis. It takes a transfer function and applies the standard rules for sketching a root locus plot by hand. Sketch the root locus diagram for the parameter k for the closed loop system shown in the diagram. The root locus exists on real axis to left of an odd number of poles and zeros of open loop transfer function, gshs, that are on the real axis. Use the angle criteria to determine suitability of any questionable points. 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. Compilation of root locus pages swarthmore college.
If you have a zero, it will try to pull the root locus to the zero. Root locus this lecture we will learn what is root locus how to sketch rootlocus how to determine the closed loop poles via root locus how to use root locus to describe the transient response, and stability of a system as a system parameter is varied. Root locus page 14 root locus what is root locus how to roughly sketch root locus sketching root locus relies heavily on experience. The locus can be sketched quickly to get a general idea of the changes in transient response generated by changes in gain. Root locus method is a widely used graphical technique to analyze how the system roots vary with variation in particular parametric quantity, generally a gain in a feedback control system. In each case gain k is chosen such that percent overshoot is same. A graphical representation of closed loop poles as a system parameter varied.
This is because complex roots occur in conjugate pairs. 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. Root locus design by martin hagan revised by trevor eckert 1 objective the objective of this experiment is to design a feedback control system for a motor positioning system. Root locus design imag axes real axis waterbed reduced sensitivity. Create a new mfile with the following matlab code in order to model the plant and plot the root locus. Zero map real axis imaginary axis fine settling dominated by doublet near 50. To know if the system is absolutely stable and the degree of stability. The root locus graphically displayed both transient response and stability information. In turn, these locations provide indirect information on the time and frequency responses. This particular problem asks me to plot the root locus of a system in which the transfer function has a variable gain in addition to numeric terms. The code bellow displays an errorwarning message subscript indices must either be real positive integers or logicals.
This video shows how to obtain the root locus of a given transfer function using matlab. Gives the evans root locus for a siso linear system in statespace or transfer form hs. For a selected sample of gains k for which i know the shape from matlab. Note that this matches the angle that matlab drew on the rootlocus plot. Specific points on the locus also can be found accurately to give quantitative design information. When you are done, verify that the root locus is as you think it will be using the command rlocusgol. Root locus with rlocus and rlocfind now, before going further, draw the root locus for this system by hand. Specifying percent overshoot in the continuoustime root locus causes two rays, starting at the root locus origin, to appear. Unfortunately, i get a different shape when i try it scilab, using syslin and the evans function but im not sure im doing it right.
Using root locus rules gives the root locus plot in figure 6. Root loci are used to study the effects of varying feedback gains on closedloop pole locations. Let us first view the root locus for the plant in open loop. If you have a complex zero, it will attract one of the root locus plots. For a stable discrete system, real axis zplane poles must lie between the point. Root locus 2 root locus observations because we have a 3rdorder system, there are 3 separate plots on the root locus, one for each root. Pdf root locus design using matlab matlabassignment. I need to plot the root locus with a changing k of a given transfer function without using any special matlab functions i. Design via root locus elec304alper erdogan 1 18 ideal derivative compensation pd observations and facts. Pid and root locus pid control design yvery common and classical control technique ygood tools for choosing gains root locus yshow closed loop poles as function of a free parameter. It is an inputoutput, frequency domain design technique. Of course, matlab can do this more accurately, but it is important to know how pole and zero locations affect. 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.
When you do this, matlab should print out the transfer function in a somewhat natural format. After studying these materials, you should be able to create a root locus and use the locus to understand the closedloop system behavior given an openloop system and a feedback controller. In the discretetime case, the constraint is a curved line. In this video i go through various ways to use matlab to plot and visualize the root locus. Evans, is widely used in control engineering for the design and analysis of control systems. Each plot starts at a location equal to the location of a root of the plant transfer function. Based on rootlocus graph we can choose the parameter for stability and the desired transient. It has two examples and if you want the matlab program, here it. Root locus design oklahoma state universitystillwater. In this method, the closedloop system poles are plotted against the value of a system parameter, typically the openloop transfer function gain. Root locus editor for open loop 1 ol1 real axis imag axis use sisotool. Complex zeros and approach angles note that poles repel the root locus plot. In this lecture we shall introduce the root locus technique, developed by evans during world war 2 while working at north american aviation. Can anybody help me out with how to do root locus in scilab.
Root locus is a process practiced as a stability measure in classical control which can find out system stability by plotting closed loop transfer function poles as a function of a gain parameter in the. Root locus elec304alper erdogan 1 1 lecture 1 root locus. Root locus sketching rules negative feedback rule 1. Rlocus analysis design nyu tandon school of engineering. Compensated poles have more negative real and imaginary parts. The poles on the root locus plot are denoted by x and the zeros are denoted by o. Design via root locus elec304alper erdogan 1 1 lecture. Root locus method root locus matlab electrical academia. Gain a better understanding of root locus plots using matlab. This is a highly intuitive pictorial technique for control system design working in the splane. These real pole and zero locations are highlighted on diagram, along with the portion of the locus that exists on the real axis. By adding zeroes andor poles to the original system adding a compensator, the root locus and thus the closedloop response will be modified. Locus segments now, determine if point 6is on the root locus again angles from complex poles cancel always true for real. Root locus in matlab the basic form for drawing the root locus in matlab, rlocusgs the same denominator system is 6.
The root locus lies entirely on the real axis between the openloop pole and the openloop zero. Ive been using matlab to plot root loci for my control systems class but i ran into a problem with a recent assignment. Standard form for root locus but you noticed that in the previous example i used equivalent. Craig 5 experience in sketching the root loci by hand is invaluable for interpreting computergenerated root loci, as well as for getting a rough idea of. The root locus plot depicts the trajectories of closedloop poles when the feedbackgain k varies from 0 to infinity. Plotting root locus with variables in transfer function. Root locus elec304alper erdogan 1 1 lecture 1 root locus what is rootlocus. Based on the motor model you developed in the open loop step response experiment, you will use the root locus diagram to determine the best closed loop pole loca. Root locus introduction definitions angle criterion angle of departure break point characteristic equation closedloop.
339 902 433 714 218 1621 1517 384 382 787 904 538 867 141 426 947 333 936 1492 1051 251 69 494 1137 253 1179 470 1220 542