Need help with your Discussion

Get a timely done, PLAGIARISM-FREE paper
from our highly-qualified writers!

glass
pen
clip
papers
heaphones

Spice project

Spice project

Spice project

Description

Unformatted Attachment Preview

EE-420
PROJECT-2
Root Locus
In this project, you will learn how to use MATLAB to sketch the Root Locus of a
system and find the critical points.
I.
Sketching the Root Locus
First, you need to find the loop transfer function ??(??)??(??). The coefficients of the
numerator and denominator of the loop transfer function must be stored in the
vectors µm!nd %n respectively. You can then define the loop transfer function
by using &&unction in MATLAB.
As an example, suppose that num=[1 -2 7] and den=poly([-3 -5]). Then the
transfer function can be defined as GH=tf(num,den).
Remark: Pleases note that you can either define the numerator and the denominator
directly by their coefficients (like the numerator in the example above) or by their
roots (like the denominator in the example above where the roots are -3 and -5).
After defining the loop transfer function, you can easily plot the root-locus by
executing rlocus(tf,K), where K is a vector containing the values of the gain from
zero up to a large number. In general, we do not have to define the vector K. The
function generates K automatically if we just use rlocus(tf). In case if the
resolution of the plot is not enough, you can define K with smaller steps.
II.
Generating the Grid of Constant Damping Ratios
To find the value of the natural frequency for a given damping ratio, we can use the
Data Cursor on the plot window and find the gain, damping ratio, percent overshoot
and natural frequency of each pole on the root locus. Fig. 1 shows the root locus of the
loop transfer function given in the previous section.
To visualize the locations of the damping ratios on the plot, we can draw the grid of
constant damping ratios by using the function sgrid. We need to define vectors for
the damping ratios and the natural frequencies separately and feed them into sgrid.
1
The entire MATLAB code for the above root locus is given as follows:
clear;
clc;
close all;
num = [1 -2 7];
den = poly([-3 -5]);
% The Numerator
% The Denominator
GH = tf(num,den);
K = [0:0.0001:30, Inf];
rlocus(GH,K);
% The Loop Transfer Function
% The Gain Vector
z=0.2:0.1:0.9;
wn=0:2:26;
sgrid(z,wn)
% Define damping ratio values: 0.2 to 0.5 in steps of 0.05
% Define natural frequency values: 0 to 10 in steps of 1
Fig. 1: The root locus of the loop transfer function given in Section I.
2
II. Questions
1. Consider the system of Fig. 2:
Use MATLAB to sketch the Root Locus when:
(a) ?? (??) =
(b) ?? (?? ) =
!(#$%)(# ! $’)
(#$()(#)*)
!(#$()
(# ! $+)(#)+)(#$*)
2. For the system of Fig.2., assume:
?? (??) =
??
??(?? + 5)(?? + 8)
(a) Calculate the following points by hand:

j?? axis crossings and the corresponding gain.
Real axis breakaway point.
Real axis intercept for the asymptotes.
The angle of the asymptotes.
(b) Draw a rough sketch of the root locus using the above points by hand.
(c) Use MATLAB to plot an accurate sketch of the root locus. Use the cursor to
show the above points on the sketch. (Take snapshots and include them in your
project).
(d) Use the cursor to find:
– The value of K and the closed loop poles that have a damping ratio of 0.401.
(Take snapshots and include them in your project).
– The value of K and the closed loop poles that have a damping ratio of 0.602.
(Take snapshots and include them in your project).
3
3.
Consider the system of Fig. 3:
(a) Calculate the following points by hand:
– j?? axis crossings and the corresponding gain.
– The range of K to keep the system stable.
– Real axis breakaway and break-in points.
(b) Use MATLAB to plot an accurate sketch of the root locus. Use the cursor to
show the above points on the sketch. (Take snapshots and include them in your
project).
(c) Use the cursor to find the value of K that yields a stable system with critically
damped second order poles. (Take snapshots and include them in your project).
4

Purchase answer to see full
attachment
Explanation & Answer:

5 Questions

User generated content is uploaded by users for the purposes of learning and should be used following our honor code & terms of service.

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."

Order Solution Now

Our Service Charter


1. Professional & Expert Writers: Eminence Papers only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Eminence Papers are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Eminence Papers are known for the timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Eminence Papers, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.

We Can Write It for You! Enjoy 20% OFF on This Order. Use Code SAVE20

Stuck with your Assignment?

Enjoy 20% OFF Today
Use code SAVE20