summaryrefslogtreecommitdiff
path: root/3889/CH7/EX7.6
diff options
context:
space:
mode:
Diffstat (limited to '3889/CH7/EX7.6')
-rw-r--r--3889/CH7/EX7.6/Ex7_6.sce32
-rw-r--r--3889/CH7/EX7.6/Ex7_6output1.PNGbin0 -> 30392 bytes
-rw-r--r--3889/CH7/EX7.6/Ex7_6output2.PNGbin0 -> 14688 bytes
3 files changed, 32 insertions, 0 deletions
diff --git a/3889/CH7/EX7.6/Ex7_6.sce b/3889/CH7/EX7.6/Ex7_6.sce
new file mode 100644
index 000000000..755d3a126
--- /dev/null
+++ b/3889/CH7/EX7.6/Ex7_6.sce
@@ -0,0 +1,32 @@
+//Example 7.6
+//page 441
+//Control Systems: Principles and Design
+//M Gopal, Second Edition, Tata McGraw-Hill
+//Chapter:Compensator Design Using Root Locus
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//transfer function
+s=%s;
+P=1/((s)*(s+2)*(s^2+2*s+5));
+
+//Root locus plot using evans root locus
+f=figure()
+evans(P)
+title("Root locus of 1/((s)*(s+2)*(s^2+2*s+5))",'fontsize',5)
+h=legend('');
+h.visible="OFF"
+zoom_rect([-2 -1.5 2 1.5]*kpure(P)/3)
+a=gca();
+a.x_location="origin"
+a.y_location="origin"
+a.parent.background=8;
+legends(['root locus';'';'asymptotic directions';'open loop poles'],[2,3,1,-2],with_box=%f,opt="ur",2.8)
+sgrid();
+K=poly(0,'K')
+R= routh_t(P,K);
+disp(R,'Routh Array=')
+kval= kpure(P)
+disp(kval,'Limiting Gain Kmax=')
+
diff --git a/3889/CH7/EX7.6/Ex7_6output1.PNG b/3889/CH7/EX7.6/Ex7_6output1.PNG
new file mode 100644
index 000000000..bdd137584
--- /dev/null
+++ b/3889/CH7/EX7.6/Ex7_6output1.PNG
Binary files differ
diff --git a/3889/CH7/EX7.6/Ex7_6output2.PNG b/3889/CH7/EX7.6/Ex7_6output2.PNG
new file mode 100644
index 000000000..1b5dce8c2
--- /dev/null
+++ b/3889/CH7/EX7.6/Ex7_6output2.PNG
Binary files differ