summaryrefslogtreecommitdiff
path: root/1151/CH11/EX11.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1151/CH11/EX11.2
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 '1151/CH11/EX11.2')
-rwxr-xr-x1151/CH11/EX11.2/example2.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1151/CH11/EX11.2/example2.sce b/1151/CH11/EX11.2/example2.sce
new file mode 100755
index 000000000..c398f90f6
--- /dev/null
+++ b/1151/CH11/EX11.2/example2.sce
@@ -0,0 +1,20 @@
+printf("characterstic equation of the given system is s^2+1.4*s+14=0");
+printf("compare it with the standard second order characterstic equation s^2+2*d*w*s+w^2=0");
+w=sqrt(14);
+d=1.4/(2*w);
+d1=.7;
+Kt=2*(d1-d)/w;
+ess1=2*d/w;
+disp(d,"damping ratio")
+disp(w,"natural frrequency(in rad/sec)=")
+disp(ess1,"steady state error without derivative control = ")
+printf("overal transfer function with derivative control is C(s)/R(s)=w^2/(s^2+(2dw+w^2Kt)*s+w^2)=14/(s^2+5.23*s+14")
+disp(Kt,"Kt=")
+rt=(%pi-atan(sqrt((1-d1)/d1)))/(w*sqrt(1-d1^2));
+pt1=%pi/(w*sqrt(1-d1^2));
+mo1=exp((-%pi*d1)/sqrt(1-d1^2))*100;
+ess2=2*d1/w+Kt;
+disp(pt1,"peak time(in sec)for sytem with derivative control is")
+disp(rt,"rise time(in sec)for sytem with derivative control is")
+disp(mo1,"maximum overshoot(in %)for sytem with derivative control is")
+disp(ess2,"steady state error with derivative control = ")