Académique Documents
Professionnel Documents
Culture Documents
L=0.3H
U(t)=220 2
U= R i + L
* sin(314t)
didt
0< t < :
U= R i11 + L
di1dt
i1=I0
<t<2:
Ri2 + L
i2t
=0
i2
i2 (t) =
=I
Ke- RL(-)
K = I
i2(t) = I . e- RL(-)
I= Vmz sin( )+(I0+Vmz sin ) e- RLw
On a:
I2=i0
i 0=
i0 =
I* e- RLw
Vmz sin( ) (a1-a
) ; avec : a = e- RLw
Donc:
i1(t)=
U = Ri + L
it
it
= F (t, i)
VL
* e-RLw(- )
it
RiL
S1
= F (ti , ii )
S2
= F (ti +
ti 2
S3
= F (ti +
ti 2
,
,
ii
ii
it
VL
it
311 sm 314 tL
+ ti 2 S1)
+ ti 2 S2)
RiL
RiL
= F (t, i)
+1=
+2
+3
Application numrique :
t = 0,001 ,
F (t, i) =
=0
=0
= F (0.0005, 0) = 3.35
= F (0.0005, 1.68.
= F (0.001, 3.35.
) = 3.35
) = 6.71
= 0,0033 +
a) Dessin du courant ic :
12*
*01.0625Vm*sin d
Ucmoy R
1) simulation :
a) programme:
clear all
clc
R=1;
L=0.3;
f=50;
w=2*pi*f;
T=1/f;
dt=0.001;
t1=[0:dt:T/2];
t2=[T/2:dt:T];
t=[0:dt:2];
Vm=220*sqrt(2);
V=Vm*sin(w*t);
Z=sqrt(R^2+(L*w)^2);
Ucmoy =98.04
imoy = 98.04 A
fi=atan((L*w/R));
a=exp(-(R*pi)/(L*w));
Im=(Vm/Z)*sin(fi)*(1/(1-a));
I0=Im*a;
Ip=[];
tp=[0:dt:T];
%_______TRAC SUR UNE PRIODE__________
for tb=[0:dt:T]
V=Vm*sin(w*tb);
if (V>=0)
I1=(Vm/Z)*sin(w*tb-fi)+(I0+(Vm/Z)*sin(fi))*(exp((-R/L)*tb));
Ip=[Ip I1];
else
I2=Im*exp((-R/L)*(tb-T/2));
Ip=[Ip I2];
end;
end;
figure(1)
plot(tp,Ip)
Ic=0;
V1=0;
Irk=[];
for tb=[0:dt:2]
V=Vm*sin(w*tb);
if (V>=0)
K1=(Vm/L)*sin(w*t0)-((R/L)*Ic);
K2=(Vm/L)*sin(w*(t0+0.5*dt))-((R/L)*(Ic+0.5*dt*K1));
K3=(Vm/L)*sin(w*(t0+0.5*dt))-((R/L)*(Ic+0.5*dt*K2));
K4=(Vm/L)*sin(w*(t0+dt))-((R/L)*(Ic+dt*K1));
else
K1=(-R/L)*Ic;
K2=(-R/L)*(Ic+0.5*dt*K1);
K3=(-R/L)*(Ic+0.5*dt*K2);
K4=(-R/L)*(Ic+dt*K3);
end
Ic=Ic+(dt/6)*(K1+2*K2+2*K3+K4);
t0=t0+dt;
Irk=[Irk Ic];
end
figure(2)
plot(t,Irk)
ta=0:dt:2.099;
I=[];
for i=0:99
I=[I Ip];
end
figure(3)
plot(ta,I)
%________representation de lerreur___________
E=[];
te=[1.5:dt:2];
for i=1500:2000
e=Irk(i)-I(i);
E=[E e];
end
figure(4)
plot(te,E)
ValM=0;
for i=1:1:2001
ValM=ValM+(I(i)/2001);
end
ValM
b)
Les graphes:
c
o
u
ra
n
tics
u
ru
n
ep
e
rio
d
e
1
0
1
1
0
0
.5
1
0
0
ic
9
9
.5
9
9
9
8
.5
9
8
9
7
.5
9
7
0
.0
0
2
0
.0
0
4
0
.0
0
6
0
.0
0
8
0
.0
1
t
0
.0
1
2
0
.0
1
4
0
.0
1
6
0
.0
1
8
0
.0
2
icrk
60
50
40
30
20
10
0
0.2
0.4
0.6
0.8
1
T
1.2
1.4
1.6
1.8
ic
99.5
99
98.5
98
97.5
97
0.5
1.5
t
2.5