summaryrefslogtreecommitdiff
path: root/104/CH9/EX9.10/9_10.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /104/CH9/EX9.10/9_10.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '104/CH9/EX9.10/9_10.sce')
-rwxr-xr-x104/CH9/EX9.10/9_10.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/104/CH9/EX9.10/9_10.sce b/104/CH9/EX9.10/9_10.sce
new file mode 100755
index 000000000..4a6b9ba64
--- /dev/null
+++ b/104/CH9/EX9.10/9_10.sce
@@ -0,0 +1,15 @@
+//multiple loop systems
+s=%s
+innerloop=syslin('c',6/s*(s+1)*(s+2))
+nyquist(innerloop)
+show_margins(innerloop,'nyquist')
+printf("nyquist plot intersects jw axis at -1 so innerloop is marginally stable")
+outerloop=syslin('c',100*(s+0.1)/(s+10)*(s^3+3*s^2+2*s+6))
+//nyquist(outerloop)
+show_margins(outerloop,'nyquist')
+P=0//no of poles on RHP
+Pw=2//no of poles on jw axis
+theta=-(Z-P-0.5*Pw)*180
+Z=0//for outer loop to be stable
+disp(theta,"theta for stability=")
+printf("theta as seen from nyquist plot is same as that required for stability \n hence outer loop is stable") \ No newline at end of file