Park's transformation
9 views (last 30 days)
Show older comments
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.
0 Comments
Answers (2)
satheesh kumar Telagamsetti
on 12 Apr 2012
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 Comment
Muhammad saleem
on 13 Feb 2014
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
on 5 Nov 2016
How to create the park transformation block in simulink ....Plz tell me...
0 Comments
See Also
Categories
Find more on Simscape Electrical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!