Download Power Electronics_P. S. Bimbra PDF

TitlePower Electronics_P. S. Bimbra
File Size904.0 KB
Total Pages154
Table of Contents
                            Power Semiconductor Diodes and Transistors
Diode Circuits and Rectifiers
Thyristors
Thyristor Commutation Techniques
Phase Controlled Rectifiers
Choppers
Inverters
AC Voltage Controllers
Cycloconverters
Some Applications
Electic Drives
Power Factor Improvement
Miscellaneous Topics
                        
Document Text Contents
Page 1

Scilab Textbook Companion for
Power Electronics
by P. S. Bimbra1

Created by
Navdeep Kumar

B.E.
Electrical Engineering

Thapar University
College Teacher

Dr. Sunil Kumar Singla
Cross-Checked by
Lavitha Pereira

September 16, 2013

1Funded by a grant from the National Mission on Education through ICT,
http://spoken-tutorial.org/NMEICT-Intro. This Textbook Companion and Scilab
codes written in it can be downloaded from the "Textbook Companion Project"
section at the website http://scilab.in

Page 2

Book Description

Title: Power Electronics

Author: P. S. Bimbra

Publisher: Khanna Publishers, New Delhi

Edition: 5

Year: 2012

ISBN: 978-81-7409-279-3

1

Page 77

2 clc;
3 V_o =660;
4 V_s =220;
5 a=(V_o/V_s)/(1+( V_o/V_s));
6 T_on =120;
7 T=T_on/a;
8 T_off=T-T_on; printf(” p u l s e width o/p v o l t a g e=%. 0

f us ”,T_off);
9

10 T_off =3* T_off;
11 T_on=T-T_off;
12 a=T_on/(T_on+T_off);
13 V_o=V_s*(a/(1-a)); printf(”\nnew o/p v o l t a g e=%. 2 f

V”,V_o);

Scilab code Exa 7.11 1 to find whether load current is cont 2 calculate
value of avg op current 3 to find its max and min values 4 find rms values of
various harmonics 5 compute avg value of supply current 6 ip power power
absorbed by load counter emf and power loss in res

1 clear all;
2 clc;
3 R=1;
4 L=.005;
5 T_a=L/R;
6 T=2000*10^ -6;
7 E=24;
8 V_s =220;
9 T_on =600*10^ -6;

10 a=T_on/T;
11 a1=(T_a/T)*log (1+(E/V_s)*((exp(T/T_a)) -1));
12 if(a1<a)
13 disp(” l oad c u r r e n t i n c o n t i n u o u s ”);
14 else
15 disp(” l oad c u r r e n t i n d i s c o n t . ”);

76

Page 78

16 end
17 I_o=(a*V_s -E)/R; printf(” avg o/p c u r r e n t=%. 0 f A”,

I_o);

18 I_mx=(V_s/R)*((1-exp(-T_on/T_a))/(1-exp(-T/T_a)))-E/
R; printf(”\nmax v a l u e o f s t e ady c u r r e n t=%. 2 f
A”,I_mx);

19 I_mn=(V_s/R)*((exp(T_on/T_a) -1)/(exp(T/T_a) -1))-E/R;
printf(”\nmin v a l u e o f s t e ady c u r r e n t=%. 3 f A”

,I_mn);

20
21 f=1/T;
22 w=2*%pi*f;
23 I1=(2* V_s/(sqrt (2)*%pi)*sind (180*a))/(sqrt(R^2+(w*L)

^2)); printf(”\ n f i r s t harmonic c u r r e n t=%. 4 f A”
,I1);

24 I2=(2* V_s /(2* sqrt (2)*%pi)*sind (2*180*a))/(sqrt(R^2+(
w*L*2)^2)); printf(”\ nsecond harmonic c u r r e n t=
%. 4 f A”,I2);

25 I3=(2* V_s /(3* sqrt (2)*%pi)*sind (3*180*a))/(sqrt(R^2+(
w*L*3)^2)); printf(”\ n t h i r d harmonic c u r r e n t=%
. 5 f A”,I3);

26
27 I_TAV=a*(V_s -E)/R-L*(I_mx -I_mn)/(R*T); printf(”\

navg supp ly c u r r e n t=%. 4 f A”,I_TAV);
28
29 P1=I_TAV*V_s;
30 printf(”\ n i /p power=%. 2 f W”,P1);
31 P2=E*I_o;
32 printf(”\npower absorbed by l oad emf=%. 0 f W”,P2);
33 printf(”\npower l o s s i n r e s i s t o r=%. 2 f W”,P1 -P2);
34 I_or=sqrt(I_o ^2+I1^2+I2^2+I3^2);
35 printf(”\nrms v a l u e o f l o ad c u r r e n t=%. 3 f A”,I_or);

Scilab code Exa 7.12 1 to find whether load current is cont or not 2 to
calculate avg output voltage and avg current 3 to compute max and min

77

Page 153

Chapter 14

Miscellaneous Topics

Scilab code Exa 14.1 to calculate dc output voltage rms value of output
voltage DF PF and HF

1 clear all ;
2 clc ;
3 V_s =230;
4 V_m=sqrt (2) *V_s ;
5 a1 =0;
6 a2 =45;
7 printf ( ” f o r two s i n g l e phase s e r i e s s e m i c o n v e r t o r s ” )

;

8 V_0=V_m/%pi *(2+ cosd (a1)+cosd (a2)) ; printf ( ”nnavg
o/p v o l t a g e=%. 2 f V” ,V_0);

9 V_or=V_s*sqrt ((1/ %pi ) *(4* %pi -3* a2*%pi /180+(3/2) *sind
(2* a2))) ; printf ( ”nnrms v a l u e o f o/p v o l t a g e=%
. 2 f V” ,V_or ) ;

10 DF =(3+ cosd (a2)) /( sqrt (2) *sqrt (5+3* cosd (a2))) ;
printf ( ”nnDF=%. 4 f ” ,DF);

11 PF=sqrt (2/ %pi ) *(3+ cosd (a2)) / sqrt (4* %pi -3* a2*%pi /180)
; printf ( ”nnPF=%. 5 f ” ,PF);

12 HF=sqrt (( %pi *(%pi -(3/4) *a2*%pi /180) /(5+3* cosd (a2)))
-1) ; printf ( ”nnHF=%. 5 f ” ,HF);

13

152

Page 154

14 printf( " nnn n f o r two s i n g l e phase s e r i e s f u l l
c o n v e r t o r s ");

15 a=45;
16 V_0 =2*V_m/%pi *(1+ cosd(a)); printf( " nnavg o /p

v o l t a g e=%. 2 f V" ,V_0);
17 V_or =2*V_s*sqrt ((1/ %pi)*(%pi -a2*%pi /180+(1/2)*sind

(2*a2))); printf( " nnrms v a lu e o f o /p v o l t a g e=%
. 2 f V" ,V_or);

18 DF=cosd(a2/2); printf( " nnDF=%. 4 f " ,DF);
19 PF=sqrt (2/( %pi*(%pi -a2*%pi /180)))*(1+ cosd(a2));

printf( " nnPF=%. 4 f " ,PF);
20 HF=sqrt((%pi*(%pi -a2*%pi /180) /(4+4* cosd(a2))) -1);

printf( " nnHF=%. 2 f " ,HF);

153

Similer Documents