summaryrefslogtreecommitdiff
path: root/257/CH7/EX7.26/example_7_26.sce
diff options
context:
space:
mode:
Diffstat (limited to '257/CH7/EX7.26/example_7_26.sce')
-rw-r--r--257/CH7/EX7.26/example_7_26.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/257/CH7/EX7.26/example_7_26.sce b/257/CH7/EX7.26/example_7_26.sce
new file mode 100644
index 000000000..ddff1c556
--- /dev/null
+++ b/257/CH7/EX7.26/example_7_26.sce
@@ -0,0 +1,28 @@
+syms s;
+G=k/((s+2)*s*(s^2+2*s+5))
+H=1;
+
+Kv=limit(s*G*H,s,0) //Kv= velocity error coefficient
+A=1 //magnitude of unit ramp
+Ess=A/Kv
+disp("Ess is less than 0.2 ") //10/k < 0.2
+disp("k lies between 50 and infinity")
+
+Kp=limit(s*y/s,s,0) //Kp= position error coefficient
+Ka=limit(s^2*G*H,s,0) //Ka= accelaration error coefficient
+
+disp(Ka ,"Ka = ")
+disp(Kv ,"Kv = ")
+disp(Kp ,"Kp = ")
+
+Ess1=2/(1+Kp)
+disp(Ess1, "Ess1 = ")
+Ess2=4/(Kv)
+disp(Ess2, "Ess2 = ")
+//Ess3=1/(Ka)
+//disp(Ess3, "Ess3 = ")
+
+disp(" e =Ess1+Ess2+Ess3 = infinity")
+
+
+