summaryrefslogtreecommitdiff
path: root/371/CH12/EX12.2/12_2.sci
blob: a260ef37c9ff189a44b7e802a8a66f4223f8a192 (plain)
1
2
3
4
5
6
7
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);