This article needs additional citations for verification .(January 2008) |
This article includes a list of general references, but it lacks sufficient corresponding inline citations .(December 2022) |
In control theory and stability theory, root locus analysis is a graphical method for examining how the roots of a system change with variation of a certain system parameter, commonly a gain within a feedback system. This is a technique used as a stability criterion in the field of classical control theory developed by Walter R. Evans which can determine stability of the system. The root locus plots the poles of the closed loop transfer function in the complex s-plane as a function of a gain parameter (see pole–zero plot).
Evans also invented in 1948 an analog computer to compute root loci, called a "Spirule" (after "spiral" and "slide rule"); it found wide use before the advent of digital computers. [1] [2] [3] [4] [5] [6] [7] [8] [9]
In addition to determining the stability of the system, the root locus can be used to design the damping ratio ( ζ ) and natural frequency (ωn) of a feedback system. Lines of constant damping ratio can be drawn radially from the origin and lines of constant natural frequency can be drawn as arccosine whose center points coincide with the origin. By selecting a point along the root locus that coincides with a desired damping ratio and natural frequency, a gain K can be calculated and implemented in the controller. More elaborate techniques of controller design using the root locus are available in most control textbooks: for instance, lag, lead, PI, PD and PID controllers can be designed approximately with this technique.
The definition of the damping ratio and natural frequency presumes that the overall feedback system is well approximated by a second order system; i.e. the system has a dominant pair of poles. This is often not the case, so it is good practice to simulate the final design to check if the project goals are satisfied.
The root locus of a feedback system is the graphical representation in the complex s-plane of the possible locations of its closed-loop poles for varying values of a certain system parameter. The points that are part of the root locus satisfy the angle condition. The value of the parameter for a certain point of the root locus can be obtained using the magnitude condition.
Suppose there is a feedback system with input signal and output signal . The forward path transfer function is ; the feedback path transfer function is .
For this system, the closed-loop transfer function is given by [10]
Thus, the closed-loop poles of the closed-loop transfer function are the roots of the characteristic equation . The roots of this equation may be found wherever .
In systems without pure delay, the product is a rational polynomial function and may be expressed as [11]
where are the zeros, are the poles, and is a scalar gain. Typically, a root locus diagram will indicate the transfer function's pole locations for varying values of the parameter . A root locus plot will be all those points in the s-plane where for any value of .
The factoring of and the use of simple monomials means the evaluation of the rational polynomial can be done with vector techniques that add or subtract angles and multiply or divide magnitudes. The vector formulation arises from the fact that each monomial term in the factored represents the vector from to in the s-plane. The polynomial can be evaluated by considering the magnitudes and angles of each of these vectors.
According to vector mathematics, the angle of the result of the rational polynomial is the sum of all the angles in the numerator minus the sum of all the angles in the denominator. So to test whether a point in the s-plane is on the root locus, only the angles to all the open loop poles and zeros need be considered. This is known as the angle condition.
Similarly, the magnitude of the result of the rational polynomial is the product of all the magnitudes in the numerator divided by the product of all the magnitudes in the denominator. It turns out that the calculation of the magnitude is not needed to determine if a point in the s-plane is part of the root locus because varies and can take an arbitrary real value. For each point of the root locus a value of can be calculated. This is known as the magnitude condition.
The root locus only gives the location of closed loop poles as the gain is varied. The value of does not affect the location of the zeros. The open-loop zeros are the same as the closed-loop zeros.
A point of the complex s-plane satisfies the angle condition if
which is the same as saying that
that is, the sum of the angles from the open-loop zeros to the point (measured per zero w.r.t. a horizontal running through that zero) minus the angles from the open-loop poles to the point (measured per pole w.r.t. a horizontal running through that pole) has to be equal to , or 180 degrees. Note that these interpretations should not be mistaken for the angle differences between the point and the zeros/poles.
A value of satisfies the magnitude condition for a given point of the root locus if
which is the same as saying that
Using a few basic rules, the root locus method can plot the overall shape of the path (locus) traversed by the roots as the value of varies. The plot of the root locus then gives an idea of the stability and dynamics of this feedback system for different values of . [12] [13] The rules are the following:
Let P be the number of poles and Z be the number of zeros:
The asymptotes intersect the real axis at (which is called the centroid) and depart at angle given by:
where is the sum of all the locations of the poles, is the sum of all the locations of the explicit zeros and denotes that we are only interested in the real part.
The breakaway points are located at the roots of the following equation:
Once you solve for z, the real roots give you the breakaway/reentry points. Complex roots correspond to a lack of breakaway/reentry.
Given the general closed-loop denominator rational polynomial
the characteristic equation can be simplified to
The solutions of to this equation are the root loci of the closed-loop transfer function.
Given
we will have the characteristic equation
The following MATLAB code will plot the root locus of the closed-loop transfer function as varies using the described manual method as well as the rlocus
built-in function:
% Manual methodK_array=(0:0.1:220).';% .' is a transpose. Looking up in Matlab documentation.NK=length(K_array);x_array=zeros(NK,3);y_array=zeros(NK,3);fornK=1:NKK=K_array(nK);C=[1,3,(5+K),(1+3*K)];r=roots(C).';x_array(nK,:)=real(r);y_array(nK,:)=imag(r);endfigure();plot(x_array,y_array);gridon;% Built-in methodsys=tf([1,3],[1,3,5,1]);figure();rlocus(sys);
The following Python code can also be used to calculate and plot the root locus of the closed-loop transfer function using the Python Control Systems Library [14] and Matplotlib [15] .
importcontrolasctimportmatplotlib.pyplotasplt# Define the transfer functionsys=ct.TransferFunction([1,3],[1,3,5,1])# Calculate and plot the root locusroots,gains=ct.root_locus(sys,plot=True)plt.show()
The root locus method can also be used for the analysis of sampled data systems by computing the root locus in the z-plane, the discrete counterpart of the s-plane. The equation z = esT maps continuous s-plane poles (not zeros) into the z-domain, where T is the sampling period. The stable, left half s-plane maps into the interior of the unit circle of the z-plane, with the s-plane origin equating to |z| = 1 (because e0 = 1). A diagonal line of constant damping in the s-plane maps around a spiral from (1,0) in the z plane as it curves in toward the origin. The Nyquist aliasing criteria is expressed graphically in the z-plane by the x-axis, where ωnT = π. The line of constant damping just described spirals in indefinitely but in sampled data systems, frequency content is aliased down to lower frequencies by integral multiples of the Nyquist frequency. That is, the sampled response appears as a lower frequency and better damped as well since the root in the z-plane maps equally well to the first loop of a different, better damped spiral curve of constant damping. Many other interesting and relevant mapping properties can be described, not least that z-plane controllers, having the property that they may be directly implemented from the z-plane transfer function (zero/pole ratio of polynomials), can be imagined graphically on a z-plane plot of the open loop transfer function, and immediately analyzed utilizing root locus.
Since root locus is a graphical angle technique, root locus rules work the same in the z and s planes.
The idea of a root locus can be applied to many systems where a single parameter K is varied. For example, it is useful to sweep any system parameter for which the exact value is uncertain in order to determine its behavior.
A phase-locked loop or phase lock loop (PLL) is a control system that generates an output signal whose phase is fixed relative to the phase of an input signal. Keeping the input and output phase in lockstep also implies keeping the input and output frequencies the same, thus a phase-locked loop can also track an input frequency. And by incorporating a frequency divider, a PLL can generate a stable frequency that is a multiple of the input frequency.
Resonance is the phenomenon, pertaining to oscillatory dynamical systems, wherein amplitude rises are caused by an external force with time-varying amplitude with the same frequency of variation as the natural frequency of the system. The amplitude rises that occur are a result of the fact that applied external forces at the natural frequency entail a net increase in mechanical energy of the system.
In electrical engineering and control theory, a Bode plot is a graph of the frequency response of a system. It is usually a combination of a Bode magnitude plot, expressing the magnitude of the frequency response, and a Bode phase plot, expressing the phase shift.
In mathematics and signal processing, the Z-transform converts a discrete-time signal, which is a sequence of real or complex numbers, into a complex valued frequency-domain representation.
In mathematics, the complex plane is the plane formed by the complex numbers, with a Cartesian coordinate system such that the horizontal x-axis, called the real axis, is formed by the real numbers, and the vertical y-axis, called the imaginary axis, is formed by the imaginary numbers.
The step response of a system in a given initial state consists of the time evolution of its outputs when its control inputs are Heaviside step functions. In electronic engineering and control theory, step response is the time behaviour of the outputs of a general system when its inputs change from zero to one in a very short time. The concept can be extended to the abstract mathematical notion of a dynamical system using an evolution parameter.
In control theory and signal processing, a linear, time-invariant system is said to be minimum-phase if the system and its inverse are causal and stable.
In signal processing, a comb filter is a filter implemented by adding a delayed version of a signal to itself, causing constructive and destructive interference. The frequency response of a comb filter consists of a series of regularly spaced notches in between regularly spaced peaks giving the appearance of a comb.
In complex analysis, the argument principle is a theorem relating the difference between the number of zeros and poles of a meromorphic function to a contour integral of the function's logarithmic derivative.
In signal processing, specifically control theory, bounded-input, bounded-output (BIBO) stability is a form of stability for signals and systems that take inputs. If a system is BIBO stable, then the output will be bounded for every input to the system that is bounded.
In control theory and stability theory, the Nyquist stability criterion or Strecker–Nyquist stability criterion, independently discovered by the German electrical engineer Felix Strecker at Siemens in 1930 and the Swedish-American electrical engineer Harry Nyquist at Bell Telephone Laboratories in 1932, is a graphical technique for determining the stability of a dynamical system.
In mathematics, signal processing and control theory, a pole–zero plot is a graphical representation of a rational transfer function in the complex plane which helps to convey certain properties of the system such as:
A lead–lag compensator is a component in a control system that improves an undesirable frequency response in a feedback and control system. It is a fundamental building block in classical control theory.
In discrete-time control theory, the dead-beat control problem consists of finding what input signal must be applied to a system in order to bring the output to the steady state in the smallest number of time steps.
In systems theory, closed-loop poles are the positions of the poles of a closed-loop transfer function in the s-plane. The open-loop transfer function is equal to the product of all transfer function blocks in the forward path in the block diagram. The closed-loop transfer function is obtained by dividing the open-loop transfer function by the sum of one and the product of all transfer function blocks throughout the negative feedback loop. The closed-loop transfer function may also be obtained by algebraic or block diagram manipulation. Once the closed-loop transfer function is obtained for the system, the closed-loop poles are obtained by solving the characteristic equation. The characteristic equation is nothing more than setting the denominator of the closed-loop transfer function to zero.
An all-pass filter is a signal processing filter that passes all frequencies equally in gain, but changes the phase relationship among various frequencies. Most types of filter reduce the amplitude of the signal applied to it for some values of frequency, whereas the all-pass filter allows all frequencies through without changes in level.
Bode's sensitivity integral, discovered by Hendrik Wade Bode, is a formula that quantifies some of the limitations in feedback control of linear parameter invariant systems. Let L be the loop transfer function and S be the sensitivity function.
Iso-damping is a desirable system property referring to a state where the open-loop phase Bode plot is flat—i.e., the phase derivative with respect to the frequency is zero, at a given frequency called the "tangent frequency", . At the "tangent frequency" the Nyquist curve of the open-loop system tangentially touches the sensitivity circle and the phase Bode is locally flat which implies that the system will be more robust to gain variations. For systems that exhibit iso-damping property, the overshoots of the closed-loop step responses will remain almost constant for different values of the controller gain. This will ensure that the closed-loop system is robust to gain variations.
The matched Z-transform method, also called the pole–zero mapping or pole–zero matching method, and abbreviated MPZ or MZT, is a technique for converting a continuous-time filter design to a discrete-time filter design.
Hall circles are a graphical tool in control theory used to obtain values of a closed-loop transfer function from the Nyquist plot of the associated open-loop transfer function. Hall circles have been introduced in control theory by Albert C. Hall in his thesis.