diff options
Diffstat (limited to '371/CH12/EX12.2')
-rwxr-xr-x | 371/CH12/EX12.2/12_2.sci | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/371/CH12/EX12.2/12_2.sci b/371/CH12/EX12.2/12_2.sci new file mode 100755 index 000000000..a260ef37c --- /dev/null +++ b/371/CH12/EX12.2/12_2.sci @@ -0,0 +1,8 @@ +//Controllers and Their Optimisation//
+//Example 12.2//
+P=1.8;//permanent error of p controller in percent//
+V=100/1.8-1;//gain of the controller in volts//
+printf('gain of the controller=V=%fvolts',V);
+G=8;//sum of all time constants in milliseconds//
+T1=2*G*V;//motor armature time constant//
+printf('\nMotor armature time constant=T1=%fmilliseconds',T1);
\ No newline at end of file |