




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A step-by-step guide on how to design a root locus using Matlab. It covers entering the open loop transfer function, plotting the root locus, setting axis limits, adding grid lines, and finding the gain and roots at specific points. Additionally, it explains how to check the closed loop response and plot the step response.
Typology: Slides
1 / 8
This page cannot be seen from the preview
Don't miss anything!





Real Axis
In order to look at just the upper left quadrant of the plot, again use the axis command toset the minimum x value, maximum x value, minimum y value, and maximum y value forthe axes. EDU>axis([-5 1 -1 5])
-1^012 -5 -4 -3 -2 -1 0 1
Real Axis
To put on a grid for the axes marks, use the command grid. EDU>grid
-1^01 -5 -4 -3 -2 -1 0 1
Real Axis
To find the gain and the values of the roots at a specific point use the command rlocfind.The roots are given as the 'selected point' and the gain is given as' ans=' EDU>rlocfind(g)Select a point in the graphics windowselected_point =ans =-2.0096+ 2.0096i
Real Axis
To check the closed loop response, the closed loop transfer function is found using thecommand, feedback.argument is the feedback path.EDU>CLTF=feedback(g8,1)Transfer function: 8 The first argument is the forward path (Gk) and the second -------------s^2 + 4 s + 8To plot the step response of the system, use the command step on the CLOSED looptransfer function.transfer function.EDU>step(CLTF) A common mistake is to find the step response of the open loop
Time (sec.)
Step Response 0.20.40.6 (^00) 0.5 1 1.5 2 2.5 3