diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2534/CH5 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2534/CH5')
-rwxr-xr-x | 2534/CH5/EX5.1/Ex5_1.sce | 14 | ||||
-rwxr-xr-x | 2534/CH5/EX5.11/Ex5_11.sce | 8 | ||||
-rwxr-xr-x | 2534/CH5/EX5.12/Ex5_12.sce | 8 | ||||
-rwxr-xr-x | 2534/CH5/EX5.13/Ex5_13.sce | 13 | ||||
-rwxr-xr-x | 2534/CH5/EX5.14/Ex5_14.sce | 10 | ||||
-rwxr-xr-x | 2534/CH5/EX5.15/Ex5_15.sce | 18 | ||||
-rwxr-xr-x | 2534/CH5/EX5.16/Ex5_16.sce | 25 | ||||
-rwxr-xr-x | 2534/CH5/EX5.17/Ex5_17.sce | 26 | ||||
-rwxr-xr-x | 2534/CH5/EX5.2/Ex5_2.sce | 19 | ||||
-rwxr-xr-x | 2534/CH5/EX5.3/Ex5_3.sce | 13 | ||||
-rwxr-xr-x | 2534/CH5/EX5.4/Ex5_4.sce | 14 | ||||
-rwxr-xr-x | 2534/CH5/EX5.5/Ex5_5.sce | 30 | ||||
-rwxr-xr-x | 2534/CH5/EX5.6/Ex5_6.sce | 19 |
13 files changed, 217 insertions, 0 deletions
diff --git a/2534/CH5/EX5.1/Ex5_1.sce b/2534/CH5/EX5.1/Ex5_1.sce new file mode 100755 index 000000000..ff977a7fa --- /dev/null +++ b/2534/CH5/EX5.1/Ex5_1.sce @@ -0,0 +1,14 @@ +//Ex5_
+clc
+Vm = 24
+RL = 1.8*10^3
+Im = Vm/RL
+Irms = Im/2
+Idc = Im/(%pi)
+r = ((Irms/Idc)^2 - 1)^.5
+disp("Vm = "+string(Vm)+"V")//applied voltage to half wave rectifier
+disp("RL = "+string(RL)+"ohm")//load resistance
+disp("Im = Vm/RL = "+string(Im)+"A")//peak current
+disp("Irms = Im/2 = "+string(Irms)+"A")//rms current
+disp("Idc = Im/pi = "+string(Idc)+"A")//D.C. current
+disp("r ((Irms/Idc)^2 - 1)^.5 = "+string(r))//ripple factor
diff --git a/2534/CH5/EX5.11/Ex5_11.sce b/2534/CH5/EX5.11/Ex5_11.sce new file mode 100755 index 000000000..1404afeac --- /dev/null +++ b/2534/CH5/EX5.11/Ex5_11.sce @@ -0,0 +1,8 @@ +//Ex5_11
+clc
+Rf = 10
+RL = 150
+eta_r = 40.6/(1+Rf/RL)
+disp("Rf = "+string(Rf)+"ohm")//forward resistance
+disp("RL = "+string(RL)+"ohm")//load resistance
+disp("eta_r = 40.6/(1+Rf/RL) = "+string(eta_r)+"%")//rectification efficiency
diff --git a/2534/CH5/EX5.12/Ex5_12.sce b/2534/CH5/EX5.12/Ex5_12.sce new file mode 100755 index 000000000..d29f4bac3 --- /dev/null +++ b/2534/CH5/EX5.12/Ex5_12.sce @@ -0,0 +1,8 @@ +//Ex5_12
+clc
+Rf = 12.5
+RL = 100
+eta_r = 80.1/(1+Rf/RL)
+disp("Rf = "+string(Rf)+"ohm")//forward resistance
+disp("RL = "+string(RL)+"ohm")//load resistance
+disp("eta_r = 80.1/(1+Rf/RL) = "+string(eta_r)+"%")//rectification efficiency
diff --git a/2534/CH5/EX5.13/Ex5_13.sce b/2534/CH5/EX5.13/Ex5_13.sce new file mode 100755 index 000000000..50006dec8 --- /dev/null +++ b/2534/CH5/EX5.13/Ex5_13.sce @@ -0,0 +1,13 @@ +//Ex5_13
+clc
+Vdc = 32
+Vm = %pi*Vdc/2
+Vrms = Vm/(2^.5)
+PIV = Vm
+disp("Vdc = "+string(Vdc)+"V")//D.C. voltage
+disp("Vm = pi*Vdc/2 = "+string(Vm)+"V")//peak voltage
+disp("Vrms = Vm/(2^.5) = "+string(Vrms)+"V")//rms voltage
+disp("PIV = "+string(PIV)+"V")//peak inverse voltage
+
+
+// note : value calculated for Vrms in the textbook is wrong.
diff --git a/2534/CH5/EX5.14/Ex5_14.sce b/2534/CH5/EX5.14/Ex5_14.sce new file mode 100755 index 000000000..8747bb279 --- /dev/null +++ b/2534/CH5/EX5.14/Ex5_14.sce @@ -0,0 +1,10 @@ +//Ex5_14
+clc
+C = 10*10^-3
+f = 50
+Idc = 200*10^-3
+Vr = Idc/(2*f*C)
+disp("C = "+string(C)+"F")//circuit capacitance
+disp("f = "+string(f)+"Hz")//operating frequency
+disp("Idc = "+string(Idc)+"A")//D.C. current
+disp("Vr = Idc/(2*f*C) = "+string(Vr)+"V")//ripple voltage
diff --git a/2534/CH5/EX5.15/Ex5_15.sce b/2534/CH5/EX5.15/Ex5_15.sce new file mode 100755 index 000000000..a7a81b905 --- /dev/null +++ b/2534/CH5/EX5.15/Ex5_15.sce @@ -0,0 +1,18 @@ +//Ex5_15
+clc
+C = 600*10^-6
+T = 20*10^-3
+Vr = 1.2
+Vdc = 9
+Vac =Vr/(2*(3^.5))
+r = Vac/Vdc
+Idc = (Vr*C)/(T/2)
+RL = Vdc/Idc
+disp("C = "+string(C)+"F")//rectifier capacitance
+disp("T = "+string(T)+"s")//time
+disp("Vr = "+string(Vr)+"V")//ripple voltage
+disp("Vdc = "+string(Vdc)+"V")//D.C. voltage
+disp("Vac = "+string(Vac)+"V")//A.C. voltage
+disp("r = "+string(r))//ripple factor
+disp("Idc = "+string(Idc)+"A")//D.C. current
+disp("RL = "+string(RL)+"ohm")//load resistance
diff --git a/2534/CH5/EX5.16/Ex5_16.sce b/2534/CH5/EX5.16/Ex5_16.sce new file mode 100755 index 000000000..6e2a10d80 --- /dev/null +++ b/2534/CH5/EX5.16/Ex5_16.sce @@ -0,0 +1,25 @@ +//Ex5_16
+clc
+L = 1// assuming inductance
+f = 50//operating frequency
+XL = 2*%pi*f*L//inductance
+RL = 100//assuming load resistance
+r = .01//ripple factor
+
+//let, capacitances C1 = C2 = C
+//that implies XC1 = XC2 = XC
+disp("XL = 2*%pi*f*L = "+string(XL)+"ohm")
+disp("r = "+string(r))
+XC = ((r*8*XL*RL)/(2^.5))^.5//capacitive resistance
+disp("XC = ((r*8*XL*RL)/(2^.5))^.5 = "+string(XC)+"ohm")
+disp("XC = 1/wC = 1/(2*pi*f*C) = "+string(XC))
+C = 1/(2*%pi*f*XC)//capacitance
+disp("C = 1/(2*pi*f*XC) = "+string(C)+"F")
+// thus, design parameters are :
+disp("design parameters:")
+disp("C1 = C2 = "+string(C)+"F")
+disp("RL = "+string(RL)+"ohm")
+disp("L = "+string(L)+"H")
+
+
+// Note : the calculations done in the textbook for the given problem is wrong.
diff --git a/2534/CH5/EX5.17/Ex5_17.sce b/2534/CH5/EX5.17/Ex5_17.sce new file mode 100755 index 000000000..5b4ee4dd6 --- /dev/null +++ b/2534/CH5/EX5.17/Ex5_17.sce @@ -0,0 +1,26 @@ +//Ex5_17
+clc
+f =50
+disp("vi = 16 sin(wt)")
+Vdc = 16
+RL = 100
+C1 = 2*10^-3
+C2 = 2*10^-3
+L = 1.0
+Idc = Vdc/RL
+XC1 = 1/(2*%pi*f*C1)
+XC2 = 1/(2*%pi*f*C2)
+XL = 2*%pi*f*L
+r = ((2^.5)*XC1*XC2)/(8*XL*RL)
+disp("L = "+string(L)+"H")//inductance
+disp("C1 = "+string(C1)+"F")//capacitance 1
+disp("C2 = "+string(C2)+"F")//capacitance 2
+disp("RL = "+string(RL)+"ohm")//load resistance
+disp("f = "+string(f)+"Hz")//operating frequency
+disp("Vdc = "+string(Vdc)+"V")//d.c. voltage
+disp("Idc = Vdc/RL = "+string(Idc)+"A")//d.c. current
+disp("XL = 2*%pi*f*L = "+string(XL)+"ohm")//inductive resistance
+disp("XC1 = 1/(2*%pi*f*C1) = "+string(XC1)+"ohm")//capacitive resistance due to capacitance 1
+disp("XC2 = 1/(2*%pi*f*C2) = "+string(XC2)+"ohm")//capacitive resistance due to capacitance 2
+disp("r = ((2^.5)*XC1*XC2)/(8*XL*RL) = "+string(r))//ripple factor
+
diff --git a/2534/CH5/EX5.2/Ex5_2.sce b/2534/CH5/EX5.2/Ex5_2.sce new file mode 100755 index 000000000..cd84722bb --- /dev/null +++ b/2534/CH5/EX5.2/Ex5_2.sce @@ -0,0 +1,19 @@ +//Ex5_2
+clc
+Vm = 18
+
+//in half wave circuit
+Vdc = Vm/%pi
+PIV = Vm
+disp("Vm = "+string(Vm)+"V")//peak voltage to rectifier
+disp("Vdc = Vm/pi = "+string(Vdc)+"V")//D.C. voltage
+disp("PIV = Vm = "+string(PIV)+"V")//peak inverse voltage
+
+//in full wave circuit
+Vdc = (2*Vm/%pi)
+PIV = 2*Vm
+disp("Vdc = 2*Vm/pi = "+string(Vdc)+"V")//D.C. voltage
+disp("PIV = 2*Vm = "+string(PIV)+"V")//peak inverse voltage for center trapped
+
+//in full wave Bridge rectifier
+disp("PIV = Vm = "+string(Vm)+"V")//peak inverse voltage
diff --git a/2534/CH5/EX5.3/Ex5_3.sce b/2534/CH5/EX5.3/Ex5_3.sce new file mode 100755 index 000000000..ee303ebfa --- /dev/null +++ b/2534/CH5/EX5.3/Ex5_3.sce @@ -0,0 +1,13 @@ +//Ex5_3
+clc
+Vm = 12
+RL = 1.5*10^3
+Im = Vm/RL
+Irms = Im/(2^.5)
+Idc = (2*Im/%pi)
+r =(((Irms/Idc)^2)-1)^.5
+disp("Vm = "+string(Vm)+"V")//peak voltage to full rectifier
+disp("Im = Vm/RL = "+string(Im)+"A")//peak current
+disp("Irms = Im/(2^0.5) = "+string(Irms)+"A")//rms current
+disp("Idc = (2*Im/pi) = "+string(Idc)+"A")//D.C. current
+disp("r = (((Irms/Idc)^2)-1)^0.5 = "+string(r))//ripple factor
diff --git a/2534/CH5/EX5.4/Ex5_4.sce b/2534/CH5/EX5.4/Ex5_4.sce new file mode 100755 index 000000000..ffe388f53 --- /dev/null +++ b/2534/CH5/EX5.4/Ex5_4.sce @@ -0,0 +1,14 @@ +//Ex5_4
+clc
+Idc = 10*10^-3
+Irms = 14*10^-3
+RL = 1*10^3
+Pdc = (Idc^2)*RL
+Pac = (Irms^2)*RL
+disp("Idc = "+string(Idc)+"A")//D.C. current
+disp("Irms = "+string(Irms)+"A")//rms current
+disp("RL = "+string(RL)+"ohm")//load resistance
+disp("Pdc = (Idc^2)*RL = "+string(Pdc)+"W")//D.C. power
+disp("Pac = (Irms^2)*RL = "+string(Pac)+"W")//A.C. power
+disp("eta_r = Pdc/Pac = "+string(Pdc/Pac*100)+"%")//Rectification efficiency
+
diff --git a/2534/CH5/EX5.5/Ex5_5.sce b/2534/CH5/EX5.5/Ex5_5.sce new file mode 100755 index 000000000..7e45a76af --- /dev/null +++ b/2534/CH5/EX5.5/Ex5_5.sce @@ -0,0 +1,30 @@ +//Ex5_5
+clc
+disp("v = 12 sin(wt)")
+Vm = 12
+RL = 1*10^3
+Rf = 10
+Im = Vm/(RL+Rf)
+Idc =Im/%pi
+Vdc = Idc*RL
+Irms = Im/2
+Pi = (Irms^2)*(RL+Rf)
+VNL = Vm/%pi
+VL = Idc*RL
+Regulation = (VNL - VL)/VL
+disp("Vm = "+string(Vm)+"V")//amplitude of applied signal
+disp("RL = "+string(RL)+"ohm")//load resistance
+disp("Rf = "+string(Rf)+"ohm")//forward resistance
+disp("Im = Vm/(RL+Rf) = "+string(Im)+"A")//peak current
+disp("Idc = Im/pi = "+string(Idc)+"A")//D.C. current
+disp("Vdc = Idc*RL = "+string(Vdc)+"V")//D.C, voltage
+disp("Pi = (Irms^2)*(RL+Rf)")
+disp("Irms = Im/2 = "+string(Irms)+"A")//rms current
+disp("Pi = "+string(Pi)+"W")//input power
+disp("%Regulation = (VNL - VL)/VL")
+disp("VNL = Vm/pi = "+string(VNL)+"V")//non load voltage
+disp("VL = Idc*RL = "+string(VL)+"")//load voltage
+disp("%Regulation = "+string(Regulation*100)+"%")//percentage regulation
+
+
+// NOTE : THE POWER CALCULATED IN THE TEXTBOOK IS WRONG.
diff --git a/2534/CH5/EX5.6/Ex5_6.sce b/2534/CH5/EX5.6/Ex5_6.sce new file mode 100755 index 000000000..bc32feedf --- /dev/null +++ b/2534/CH5/EX5.6/Ex5_6.sce @@ -0,0 +1,19 @@ +//Ex5_6
+clc
+Vdc = 15
+disp("Vdc = "+string(Vdc)+"V")//applied D.C. voltage
+//Half Wave Rectifier
+Vm = %pi*Vdc
+PIV = Vm
+disp("Vm = Vdc*pi = "+string(Vm)+"V")//D.C. voltage for half wave rectifier
+disp("PIV = Vm = "+string(PIV)+"V")//peak inverse voltage for half wave rectifier
+//Full Wave Rectifier
+Vm = %pi*Vdc/2
+PIV = 2*Vm
+disp("Vm = Vdc*pi/2 = "+string(Vm)+"V")//D.C. voltage for full wave rectifier
+disp("PIV = 2*Vm = "+string(PIV)+"V")//peak inverse voltage for full wave rectifier
+//Bridge Rectifier
+Vm = %pi*Vdc/2
+PIV = Vm
+disp("Vm = Vdc*pi/2 = "+string(Vm)+"V")//D.C. voltage for bridge rectifier
+disp("PIV = Vm = "+string(PIV)+"V")//peak inverse voltage for bridge rectifier
|