Está en la página 1de 38

Otaxihs de

Jin.

(a)

4 Jilt*

(A)

I
in

'11

5i

2?

r4
Cb)

"2

J(X

tvt >

Osv

0.

-w-

(a)

(b)

or

peU

^Uium

JL/e

cicrw

\SoWca&

Ass'.* , * X s

cs araM^s s*

I\WlAVS

-mmnrL

(a)

(b)

o
o^a
^ ^
n

e
r m

\jla\re{

^Jof

ha

^ssba^o

deste c i r c u i t

^-S*

Observe..

proviso

u*c

nushrfJos

OP^araj>

As

Uc^rJoS.

l_ 4 i -.V.
~3F

1,1

j0^u^>

Ful.*U>.

U^'i- - * i V
-3F

-V
v

"AoJol

Osnt^

^u**4d

ObsfYVA ^jllC

JbfiwJirio

hancfoYw^Mr

J.C

As

C <M ^

CHtSCJM^Jro

n L.
r *\
r

-G^iaa.J&&

do

Cn rede

\frl(Ja

(t-a>Tj + ^

no

d{

^ar^fil^irni

reJ^kdU

current

q.cjmJo

^ >

wide

/ '

-^6i0ktfwW

Fig.9.5

Fig.9.6

^rocwa-

Se

<pow\&

wu(a

parcel

vvudo3.

VCD

CAtCaxAo

[VV] -

'iiA.DT

(>,r) ^ 0

in

CD,

cbju^^eJp.

05

ef

mMf

. Ho f to Jo,

3
-Wv

Sl0

9
L

for

P.

-hi*

fe

AM/V

-A/WV

CVZ

ST ^

( K

= { ( 5 > '(!

!Ln

* 0
(

! o

-2_

V
J

. Apes

(^e^MC^K

At

3/11/13 3:23

PM

C:\Program F i l e s \ M A T L A B \ R 2 0 0 6 b \ p e s i m \ i s s a

%
%

C o n v e r s o r Buck, i s o l a d o ;
D R = r e l a g a o de t r a b a l h o

Q.

"O

clear
clc
%

n=256;
DR=0.7;
nc=round(DR*n);
ncycle=240;
niter=200;
freq=35000.0;
delt=l/(freq*n);
dteta=2.0*pi/n;
%
rload=7.0;
ls=0.18e-03;
cp=0.le-03;
lm=0.92e-03;
glow=0.1e-07;
ghigh=100.0;
%
clim=0.1e-02;
vin=50.0;
tnl2=l.0;
tnrl=0.25;
%

gload=l/rload;
gls=delt/ls;
gcp=cp/delt;
glm=delt/lm;
gsum=gls+gcp+gload;
gldtot=gls*(gcp+gload)/gsum;
%

vl=0.0;v2=0.0;
pi1=0.0;pvc=0.0;pim=0.0;
o
"6

for

k=l:ncycle
go,
nk=n*(k-1);
Q.
O

for

j=l:n
"6

tn(nk+j,l)=delt*(nk+j-l);
i f j <= nc
gsw=ghigh;
else
gsw=glow;
end
Q.
O

for i t s = l : n i t e r

isolated

buck.m

1 of 3

3/11/13 3:23

PM

C:\Program F i l e s \ M A T L A B \ R 2 0 0 6 b \ p e s i m \ i s s a

i s o l a t e d buck.m

vc=(gls*v2+pil+gcp*pvc)/(gsum);
il=gls*(v2-vc)+pil;
vdr=tnrl*vl ;
isw=gsw*(vin-vl);
im=glm*vl+pim;
[idl, gdl]=fdiode(v2-vl,ghigh,glow);
[id2,
gd2]=fdiode(v2,ghigh,glow);
[idr, gdr]=fdiode(vin+vdr,ghigh,glow);
ipl=tnrl*idr-idl;
cin=idr+isw;
cvl=isw-im-ipl ;
cv2=-(idl+id2+il);
err=sqrt(cvl~2+cv2~2);
g.
o

if

err < d i m
break;
else
%

gmat= [ ( g s w + g l m + g d l + g d r * t n r l ' 2 ) - g d l ; - g d l ( g d l + g d 2 + g l d t o t ) ]
dvec=gmat\[cvl;cv2];
dvl=dvec(1,1);dv2=dvec(2,1);
vl=vl+dvl;
v2=v2+dv2;
v

end
end
if

( i t s >= n i t e r )
error('

end
xi
cinduct(nk+j ,1 ) = i l;
vinduct(nk+j,1)=v2-vc;
cmag(nk+j,1)=im;
cpri(nk+j,1)=ipl;
vcap(nk+j,1)=vc;
vter(nk+j,1)=vdr;
pil=il;pvc=vc;pim=im;
end
ao
end
o,
o

subplot(4,1,1)
plot(tn,cinduct)
subplot(4,1,2)
plot(tn,vinduct)
subplot(4,1,3)
plot(tn,cmag)
subplot(4,1,4)
plot(tn,vter)

does n o t c o n v e r g e ' )

2 of 3

to

-f

f o r

ie

\e

(b)
Fig.9.8

3/15/13 10:42

AM

C:\Program F i l e s \ M A T L A B \ R 2 0 0 6 b \ p e s i m \ i s s a

%
%

C o n v e r s o r Buck m e i a - p o n t e , i s o l a d o ,
D R = r e l a c a o de t r a b a l h o

Q.
O

clear
clc
%

n=24 0;
nd2=n/2;
DR=0.4;
ns=round(DR*n);
ncycle=300;
niter=20000;
freq=100000.0;
delt=l/(freq*n);
dteta=2.0*pi/n;
%

rload=2.0;
ls=0.2e-04;
cp=0.le-03;
glow=0.le-02;
ghigh=1000.0;
nl=39;n2=13;
n21=n2/nl;
%
clim=0.1e-01;
vin=135.0;
vn2=vin/2.0;
a

gload=l/rload;
gls=delt/ls;
gcp=cp/delt;
gsum=gls+gcp+gload;
gldtot=gls*(gcp+gload)/gsum;
%

vl=0.0;v2=0.0;
pil=0.0;pv0=0.0;
%

for

k=l:ncycle
Q.
"6

nk=n*(k-1);
g,

for

j=l:n
g
o

tn(nk+j,1)=delt*(nk+j-1);
i f j <= ns
nsl=l;
else
nsl=0;
end
i f ( j >= nd2) && ( j < ns+nd2)
ns2=l;

Issa,

Exer.5.5;

isobuck

hb.m

1 of 3

3/15/13 10:42 AM

C:\Program F i l e s \ M A T L A B \ R 2 0 0 6 b \ p e s i m \ i s s a

isobuck

hb.m

2 of 3

else
ns2=0;
end
%

for

its=l:niter
o
o

vswl=vn2-vl;
vsw2=vn2+vl;
[iswl, gswl]=fcgbt2(vswl,ghigh,glow,nsl) ;
[isw2, gsw2]=fcgbt2(vsw2,ghigh,glow, ns2);
g
vdl=v2-n21*vl;
vd2=v2+n21*vl;
[idl,gdl]=fdiode(vdl,ghigh,glow);
[id2, gd2]=fdiode(vd2,ghigh,glow);
il=n21*(id2-idl);
"6

v0=(gls*v2+pil+gcp*pv0)/(gsum);
il=gls*(v2-v0)+pil;
g
-O
cvl=iswl-isw2-il;
cv2=-(idl+id2+il) ;
Q.
O

err=sqrt (cvl 2+cv2 2) ;


G,
o
/ s

%
%
%

msgl=(['
disp(msgl)
pause

iter=

' int2str(its)

'

if

err < clim


break;
else
%

gswl2=gswl+gsw2 ;
gdl2=gdl+gd2;
gll=gswl2+n21 2*(gdl+gd2) ;
gl2=-n21*(gdl-gd2) ;
g22=gdl2+gldtot;
g m a t = [ g l l g l 2 ; g l 2 g22] ;
dvec=gmat\[cvl;cv2] ;
dvl=dvec(1,1);dv2=dvec(2,1);
vl=vl+dvl;
v2=v2+dv2;
A

if

( n s l == 0) &&
vl=0.0;

(ns2 == 0)

end
end
o,
o

end
%

if

( i t s >= n i t e r )
error)'

does n o t c o n v e r g e ' ) ;

err=

' num2str(err)]);

3/15/13 10:42 AM

C:\Program F i l e s \ M A T L A B \ R 2 0 0 6 b \ p e s i m \ i s s a

end
%

cinduct(nk+j,1)=il;
vinduct(nk+j,I)=v2-v0;
vload(nk+j,1)=v0;
pil=il;pv0=v0;
end
%

end
o.

t)
subplot(3,1,1)
plot(tn,cinduct)
subplot(3,1,2)
plot(tn,vinduct)
subplot(3,1,3)
plot(tn,vload)
a

isobuck

hb.m

3 of 3

},

Jco

S,

\><

aJn^Xcx.

diodo

^ UiUa

D2 S&f&

in

^3mo
^JeJre

mosUdb

^wvaUfe

uJo,

R j . <M* , As

durante

vucsk^/o

arauL

f<*,<**

-r&u^) >ufJU

clfC^lo

a R h j & c . As Woes r

Sab

CKILKTJQS

dt

Co Jo

vtuios

J\oJo

a ^e*/tSafc

&

111.'/

xv^JbuXoV

e -Y . Ob
0

Fig.9.10

Fig.9.11

3/15/13 11:11 AM

C:\Program F i l e s \ M A T L A B \ R 2 0 0 6 b \ p e s i m \ i s s a

a
o

%
%

Conversor P u s h - p u l l , i s o l a d o , I s s a ,
DR=relagao de t r a b a l h o

clear
clc
o,
o

n=24 0;
nd2=n/2;
DR=0.4;
ns=round(DR*n);
ncycle=300;
niter=2000;
freq=100000.0;
delt=l/(freq*n);
dteta=2.0*pi/n;
"6

rload=2.0;
ls=0.2e-04;
cp=0.le-03;
glow=0.le-02;
ghigh=100.0;
nl=39;n2=13;
nl2=nl/n2;
Q.
O

clim=0.le-01;
vin=135.0;
Q.
O

gload=l/rload;
gls=delt/ls;
gcp=cp/delt;
gsum=gls+gcp+gload;
gldtot=gls*(gcp+gload)/gsum;
Q,
O

vl=0.0;v2=0.0;
pil=0.0;pv0=0.0;
Q,
O

for

k=l:ncycle
nk=n*(k-1);
g

for

j=l:n
o,
o

tn(nk+j,l)=delt*(nk+j-1);
o

if

j <= ns
nsl=l;
else
nsl=0;
end
i f ( j >= nd2)
ns2=l;

&&

( j < ns+nd2)

Exer.5.5;

isolated pushpull

vl.m

1 of 3

3/15/13 11:11 AM

C:\Program F i l e s \ M A T L A B \ R 2 0 0 6 b \ p e s i m \ i s s a

i s o l a t e d pushpull vl.m

2 of 3

else
ns2=0;
end
%

for

its=l:niter
"6

vswl=vin-nl2*(v2-vl);
vsw2=vin+nl2*(v2-vl);
i f v s w l < 0.0
vswl=0.0;
end
i f vsw2 < 0.0
vsw2=0.0;
end
[iswl, gswl]=fcgbt2(vswl,ghigh,glow,nsl);
[isw2,
gsw2]=fcgbt2(vsw2,ghigh,glow,ns2);
vdl=vl;
vd2=2.0*v2-vl;
[idl,gdl]=fdiode(vdl,ghigh,glow);
[id2, gd2]=fdiode(vd2,ghigh,glow);
ivl=id2-nl2*(iswl-isw2);
a
v0=(gls*v2+pil+gcp*pv0)/(gsum);
il=gls*(v2-v0)+pil;
%

cvl=ivl-idl;
cv2=-(id2+ivl+il);
err=sqrt(cvl 2+cv2 2);
A

g,
o

%
%
%

msgl=(['
disp(msgl)
pause

iter=

' int2str(its)

if

err < clim


break;
else
g
o

gswl2=gswl+gsw2 ;
gll=nl2*nl2*gswl2+gdl+gd2;
gl2=-(nl2*nl2*gswl2+2.0*gd2) ;
g21=gdl-gd2;
g22=2.0*gd2+gldtot;
g m a t = [ g l l g l 2 ; g 2 1 g22] ;
dvec=gmat\[cvl;cvl+cv2] ;
dvl=dvec(1,1);dv2=dvec(2,1);
vl=vl+dvl;
v2=v2+dv2;
end
g

end
%

'

err=

' num2str(err) ] ) ;

3/15/13 11:11 AM

if

C:\Program

( i t s >=
error(

Files\MATLAB\R2006b\pesim\issa i s o l a t e d p u s h p u l l v l . m

niter)
1

end
g
o

cinduct(nk+j,1)=il;
vinduct(nk+j,1)=v2-v0;
vload(nk+j,1)=v0;
pil=il;pvO=vO;
cdiodel(nk+j,1)=idl;
cdiode2(nk+j,1)=id2;
end
%

end
g,
o

subplot(5,1,1)
plot(tn,cinduct)
subplot(5,1,2)
plot(tn,vinduct)
subplot(5,1,3)
plot(tn,vload)
subplot(5,1,4)
plot(tn,cdiodel)
subplot(5,1,5)
plot(tn,cdiode2)

does n o t c o n v e r g e '

3 of 3

2.98

2.982

2.984

2.986

2.988

2.99

2.992

2.994

2.996

2.998
x 10'

50
-50
2.98

2.982

2.984

2.986

2.988

2.99

2.992

2.994

2.996

2.998
x 10"

35.46
\

35.44 35.42
2.98

2.982

2.984

2.986

2.988

2.992

2.994

2.996

2.998
x 10

-3

L.SA
2.98

2.982

2.984

2.986

2.988

2.99

2.992

2.994

2.996

2.998
x 10'

2.98

2.982

2.984

2.986

2.988

2.99

2.992

2.994

2.996

2.998
x 10

-3

Ae\iaAor

de

Ye^o

W
-*~|
D 'D

>

Fig.9.12
tCtK

C\zserv<x - Se

*jue

" irtrt

die do

eskv*

A\rel*^eJe

fo\ojc\Z^do

, TJo)

^ ( U o

Via. 3>X -

ai ^

'5

/
JK

CenvHvuJL^.

0
3) ^ 0,5"'

Fig.9.13

vw i Solano
15oU^-

2S o ,

j w

i* +

C ?

So

1
(a)

U
S >S
2

^
(b)
Fig.9.14

via R g . ^ . l C ,

Ml' H a J o s

5e

^cejbsuw

\i0

ucdo

(Fib, ^ ' ^ ^

ec\*Jt<xs. Acs'^ *f
y

r
L

as

v
z /

a
C

a o

<dbs

CUUPS

0 -

t, Or) -

* 1

4,

^IvA^S

^'

5 l,\yio^

he

(\Md
Swii'

'

V;., fUr.VIft

3 )

4-

L.

>

awJro
o

1
L

Sab

[UoJivaJlaS

i r
-

(a)

5,

JEj

(b)
i

b1
i

(i

+
>*

<

l
(c)
Fig.9.15

<p

Fig.9.16

También podría gustarte