diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3523/CH16/EX16.7.3/Ex16_3.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3523/CH16/EX16.7.3/Ex16_3.sce')
-rw-r--r-- | 3523/CH16/EX16.7.3/Ex16_3.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/3523/CH16/EX16.7.3/Ex16_3.sce b/3523/CH16/EX16.7.3/Ex16_3.sce new file mode 100644 index 000000000..890ebaa64 --- /dev/null +++ b/3523/CH16/EX16.7.3/Ex16_3.sce @@ -0,0 +1,30 @@ +clear all
+clc
+close
+
+Vs=200*1e3//Supply voltage
+f=50//Frequency in Hz
+n=12//Number of stages
+
+C=0.15*1e-6//Each stage capacitance in F
+iload=5*1e-3//Load current in A
+
+//Ripple voltage in V
+dv=iload/(f*C*2)*n*(n+1)
+printf('Ripple voltage in V %f',dv)
+
+//Voltage drop in V
+Vdrop=iload/(f*C)*(2*n^3/3+n^2/2-n/6+n*(n+1)/4)
+printf('Voltage drop in V %f',Vdrop)
+
+//Average output voltage in V
+V_av=2*n*sqrt(2)*Vs-Vdrop
+printf('Avarage voltage in V %f',V_av)
+
+//Ripple factor in percentage
+RF=Vdrop/(2*n*Vs*sqrt(2))*100
+printf('Ripple voltage in percentage %f',RF)
+
+//Otimum number of stages
+nopt=sqrt(sqrt(2)*f*C*Vs/iload)
+printf('Optimum number of stgaes for minimum voltage drop %f',int(nopt))
|