Académique Documents
Professionnel Documents
Culture Documents
300
200
100
Uabc(v)+tri
-100
-200
-300
0 0.01 0.02 0.03 0.04 0.05 0.06
t(s)
Figure 1: les signaux des trois réréfrence .
300
200
100
Va(v)
-100
-200
-300
-400
0 0.01 0.02 0.03 0.04 0.05 0.06
t(s)
Figure 2: le signal de tension simple Va
800
600
400
200
Uab(v)
-200
-400
-600
-800
0 0.01 0.02 0.03 0.04 0.05 0.06
t(s)
Figure 3: le signal de tension composée Uab
30
20
10
Ia(A)
-10
-20
-30
0 0.01 0.02 0.03 0.04 0.05 0.06
t(s)
Figure 4: le signal de courant Ia
3) Trace le spectre :
4) Le tableau :
r 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.1 1.2 1.3 1.4 1.5
THD 361.76 251.32 197.16 163.03 138.72 119.73 105.06 91.71 80.08 68.67 62.22 58.26 56.27 54.14 51.79
Va 30.75 59.79 89.33 119.9 130 181.3 209.8 239 269 300.6 319.7 332 338.5 345.7 352.9
350
300
THD(%)
Va(v)
250
THD,Va
200
150
100
50
0
0 0.5 1 1.5
r
300
200
100
Vkref(v)
-100
-200
-300
0 0.01 0.02 0.03 0.04 0.05 0.06
t(s)
300
200
100
Va(v)
-100
-200
-300
-400
0 0.01 0.02 0.03 0.04 0.05 0.06
t(s)
600
400
200
Uab(v)
-200
-400
-600
-800
0 0.01 0.02 0.03 0.04 0.05 0.06
t(s)
Figure 9: le signal de tension composée Uab
30
20
10
Ia(A)
-10
-20
-30
0 0.01 0.02 0.03 0.04 0.05 0.06
t(s)
Figure 10: le signal de courant Ia
3) trace le spectre
4) Le tableau
r 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.1 1.2 1.3 1.4 1.5
THD 355.69 250.71 167.09 163.75 139.39 120.56 105.1 91.83 79.92 68.97 58.49 51.44 49.21 47.79 46.72
VA 30.44 60.56 89.95 119.8 149.9 180 210 239.9 270 300 330 350.6 357.6 360 .9 362.4
400
350
300 THD(%)
Va(v)
250
THD,Va
200
150
100
50
0
0 0.5 1 1.5
r
PROGRAMMEATIONEN S-FUNCTION :
S-function de la commande par modulation de largeurs d’impulsions sinusoïdale ( SPWM) :
function [sys,x0,str,ts]=MLIPWM(t,x,u,flag,Ts)
f=50;
T=1/f;
fp=450;
Tp=1/fp;
r=0.85;
Vdc=600;
if flag==0
sys=[0,0,6,0,0,0,1];
x0=[];
str=[];
ts=[Ts 0];
elseif flag==3
Vp=(Vdc/2)*sawtooth(2*pi*fp*t,0.5);
Varef=r*(Vdc/2)*sin(2*pi*f*t);
Vbref=r*(Vdc/2)*sin(2*pi*f*t-2*pi/3);
Vcref=r*(Vdc/2)*sin(2*pi*f*t+2*pi/3);
Sa2=1-Sa1;
Sb2=1-Sb1;
Sc2=1-Sc1;
sys=[Sa1;Sa2;Sb1;Sb2;Sc1;Sc2];
else
sys=[];
end
S-function de la commande SPWM avec injection de l’harmonique trois :
function [sys,x0,str,ts]=SPWM(t,x,u,flag,Ts)
f=50;
T=1/f;
fp=450;
Tp=1/fp;
r=0.85;
Vdc=600;
a=1/6;
if flag==0
sys=[0,0,6,0,0,0,1];
x0=[];
str=[];
ts=[Ts 0];
elseif flag==3
Vp=(Vdc/2)*sawtooth(2*pi*fp*t,0.5);
Varef=r*(Vdc/2)*sin(2*pi*f*t)+a*(Vdc/2)*sin(6*pi*f*t);
Vbref=r*(Vdc/2)*sin(2*pi*f*t-2*pi/3)+a*(Vdc/2)*sin(6*pi*f*t);
Vcref=r*(Vdc/2)*sin(2*pi*f*t+2*pi/3)+a*(Vdc/2)*sin(6*pi*f*t);
Sa2=1-Sa1;
Sb2=1-Sb1;
Sc2=1-Sc1;
sys=[Sa1;Sa2;Sb1;Sb2;Sc1;Sc2];
else
sys=[];
end
Les programmes auxiliaires
r=[0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.1 1.2 1.3 1.4 1.5];
THD=[361.76 251.32 197.16 163.03 138.72 119.73 105.06 91.71 80.08
68.67 62.22 58.26 56.27 54.14 51.79];
Va=[30.75 59.79 89.33 119.9 130 181.3 209.8 239 269 300.6 319.7
332 338.5 345.7 352.9];
plot(r,VHD,r,Va);
legend('THD(%)','Va(v)')
xlabel('r');
ylabel('THD,Va')
grid on
Signal Va :
a=plot(t,t2,'k');
xlabel('t(s)');
ylabel('Va(v)')
grid on
a=plot(t,t1,'k');
xlabel('t(s)');
ylabel('Vkref(v)')
grid on
Signal Ia :
a=plot(t,t4,'k');
xlabel('t(s)');
ylabel('Ia(A)')
grid on
Signal traingulair
Vp=(Vdc/2)*sawtooth(2*pi*fp*t,0.5);
conclusion