summaryrefslogtreecommitdiff
path: root/1430/CH8/EX8.3
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1430/CH8/EX8.3
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1430/CH8/EX8.3')
-rw-r--r--1430/CH8/EX8.3/exa8_3.jpgbin0 -> 149095 bytes
-rw-r--r--1430/CH8/EX8.3/exa8_3.sce28
2 files changed, 28 insertions, 0 deletions
diff --git a/1430/CH8/EX8.3/exa8_3.jpg b/1430/CH8/EX8.3/exa8_3.jpg
new file mode 100644
index 000000000..24f0a879d
--- /dev/null
+++ b/1430/CH8/EX8.3/exa8_3.jpg
Binary files differ
diff --git a/1430/CH8/EX8.3/exa8_3.sce b/1430/CH8/EX8.3/exa8_3.sce
new file mode 100644
index 000000000..f6315b07e
--- /dev/null
+++ b/1430/CH8/EX8.3/exa8_3.sce
@@ -0,0 +1,28 @@
+// Example 8.3
+// Transformer-coupled Oscillator
+// From figure 8.9(a)
+V_m=12;//Magnitude of voltage source
+omega=50000;// radial frequency (rad/s)
+R_s=1000;//
+V_s=20;// DC source
+Z_C=1/(%i*omega*0.1*10^-6);
+R=500;
+// from figure 8.9(b)
+// referring the ac source to the secondary ,as shown in figure 8.9(b)
+N=1/2;
+R_s_new=N^2*R_s;
+I=complex((N*12)/(N^2*R_s),0);
+// using node equations
+V_out=I/(1/R+1/Z_C+1/R_s_new);
+I_out=(1/Z_C+1/R)*V_out;
+I_in1=N*I_out;// Ac component of primary current
+I_in2=-V_s/R_s; // DC component of primary current
+I_in1_m=abs(I_in1);
+phase_I_in1=atan(imag(I_in1),real(I_in1))*(180/%pi);
+// by superposition total primary current will be
+t=0:0.5:100
+I_in=I_in1_m*cos(omega*t+phase_I_in1) + I_in2;
+plot(t,I_in)
+xlabel('t')
+ylabel('i_in(t)')
+title('Current Waveform')