summaryrefslogtreecommitdiff
path: root/Working_Examples/293/CH20/EX20.4
diff options
context:
space:
mode:
authorSiddharth Agarwal2019-09-03 18:27:40 +0530
committerSiddharth Agarwal2019-09-03 18:27:40 +0530
commit8ac15bc5efafa2afc053c293152605b0e6ae60ff (patch)
treee1bc17aae137922b1ee990f17aae4a6cb15b7d87 /Working_Examples/293/CH20/EX20.4
parent52a477ec613900885e29c4a0b02806a415b4f83a (diff)
downloadXcos_block_examples-8ac15bc5efafa2afc053c293152605b0e6ae60ff.tar.gz
Xcos_block_examples-8ac15bc5efafa2afc053c293152605b0e6ae60ff.tar.bz2
Xcos_block_examples-8ac15bc5efafa2afc053c293152605b0e6ae60ff.zip
Xcos examples from textbooks and for blocksHEADmaster
Diffstat (limited to 'Working_Examples/293/CH20/EX20.4')
-rwxr-xr-xWorking_Examples/293/CH20/EX20.4/eg20_4.sce38
1 files changed, 38 insertions, 0 deletions
diff --git a/Working_Examples/293/CH20/EX20.4/eg20_4.sce b/Working_Examples/293/CH20/EX20.4/eg20_4.sce
new file mode 100755
index 0000000..c792906
--- /dev/null
+++ b/Working_Examples/293/CH20/EX20.4/eg20_4.sce
@@ -0,0 +1,38 @@
+//a
+rop = 0.4; //ratio of ON time T0 to cycle time Tp
+Vb =550; //rated terminal voltage of the dc motor
+Ia = 30; //current drawn by the motor (in amps)
+Ra = 1; //armature circuit resistance (in ohms)
+ts = 5.94; //torque and speed parameter of the motor (in N-m/A)
+
+Vm = rop*Vb; //average value of the armature terminal voltage
+Ea = Vm - (Ia*Ra); //induced armature voltage
+
+wm = Ea/ts; //motor speed (in rad/s)
+disp("a")
+disp(wm,"motor speed (in rad/s) = ")
+
+//b
+deltaI = 5; //change of armature current during the ON period
+La = 0.1; //armature winding inductance (in H)
+To = La*deltaI/(Vb - Ea); //ON time
+Tp = To/rop; //cycle time
+
+f = 1/Tp ; //required pulses per second
+disp("b")
+disp(f,"required pulses per second = ")
+
+//c
+rop = 0.7; //new ratio of ON time T0 to cycle time Tp
+Vm = rop*Vb; //average value of the armature terminal voltage
+Ea = Vm - (Ia*Ra); //induced armature voltage
+
+wm = Ea/ts; //motor speed (in rad/s)
+disp("c")
+disp(wm,"motor speed with To/Tp equal to 0.7 (in rad/s) = ")
+
+To = La*deltaI/(Vb - Ea); //ON time
+Tp = To/rop; //cycle time
+
+f = 1/Tp ; //required pulses per second
+disp(f,"required pulses per second with To/Tp equal to 0.7 = ") \ No newline at end of file