summaryrefslogtreecommitdiff
path: root/3041/CH8/EX8.8/Ex8_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3041/CH8/EX8.8/Ex8_8.sce
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 '3041/CH8/EX8.8/Ex8_8.sce')
-rwxr-xr-x3041/CH8/EX8.8/Ex8_8.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3041/CH8/EX8.8/Ex8_8.sce b/3041/CH8/EX8.8/Ex8_8.sce
new file mode 100755
index 000000000..fd98e077d
--- /dev/null
+++ b/3041/CH8/EX8.8/Ex8_8.sce
@@ -0,0 +1,25 @@
+//Variable declaration
+Vs=200 //dc source voltage(V)
+Il=5 //current to load voltage(A)
+Vl=15 //load voltage(V)
+eta=.85 //efficiency
+f=20 //oscillator frequency(Hz)
+iSmax=2.6 //peak value of supply current(A)
+P=100 //full load power supply(W)
+pdf=0.4 //pulse duty factor
+
+//Calculations
+Isav=(Vl*Il)/(Vs*eta) //average peak supply current(A)
+iS=(2*Isav)/pdf //supply current(A)
+T=1000/f //oscillation time period(uS)
+tp=pdf*T //transistor time(us)
+d=iS/tp //change in iS with respect to time(A/us)
+tp1=iSmax/d //transistor time(us)
+pdf1=tp1/T //pulse duty factor
+Isav1=(iSmax*pdf1)/2 //average peak supply current(A)
+eta1=(P*100)/(Vs*Isav1) //efficiency
+
+//Results
+printf ("peak value of supply current is %.3f A",Isav)
+printf ("pdf is %.3f ",pdf)
+printf ("overall efficienc is %.1f %%",eta1)