Park's transformation

How to implement a dq to abc Park's transformation by writing a code in mfile (and not using Simulink). Anyone who cud share such file? I tried using symbolic math but am unable to find abc-frame answers in polar form.
Thanks for ur time.

回答(2 个)

clear,clc,clf;
Vm=30000*sqrt(2);
w=2*pi*50;
T=1/50;
dt=1e-4;
k=0;
for t=0:dt:50*T
k=k+1;
tt(k)=t;
Va(k)=Vm*sin(w*t);
Vb(k)=Vm*sin(w*t-(2*pi/3));
Vc(k)=Vm*sin(w*t+(2*pi/3));
end;
%grid on;
%plot(Va);
%hold on;
%plot(Vb);
%hold on;
%plot(Vc);
k=0;
for t=(2*pi/(3*w)):dt:50*T
k=k+1;
Vd(k)=(2/3)*(Va(k)*sin(w*t)+Vb(k)*sin(w*t-2*pi/3)+Vc(k)*sin(w*t+(2*pi/3)));
Vq(k)=(2/3)*(Va(k)*cos(w*t)+Vb(k)*cos(w*t-2*pi/3)+Vc(k)*cos(w*t+2*pi/3));
Vo(k)=(1/3)*(Va(k)+Vb(k)+Vc(k));
end
subplot(3,1,1);
grid on;
plot(Vd);
subplot(3,1,2);
hold on;
plot(Vq);
subplot(3,1,3);
hold on;
plot(Vo);

1 个评论

But in the result we do not get any vector diagram in dq-plane. Do you know how we can generate vector diagram which traces the d q variables after anytime t.

请先登录,再进行评论。

Hisham samad
Hisham samad 2016-11-5

0 个投票

How to create the park transformation block in simulink ....Plz tell me...

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by