From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 104/CH9/EX9.10/9_10.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 104/CH9/EX9.10/9_10.sce (limited to '104/CH9/EX9.10/9_10.sce') 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 -- cgit