Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

Implementing Equation in matlab

Asked by FIR on 28 Dec 2012

I have to implement park transformation ,the input to park transformation is

Va,Vb,Vc and theta and output is Vq,please tell how to implement this block

7 Comments

Jan Simon on 28 Dec 2012

@FIR: Do you think, that you make answering your questions as easy as possible? You did not answer a lot of questions for clarifications in the past. More than 50% of your questions could not be answered sufficiently.

FIR on 28 Dec 2012

ok Jan can you please tell what caarification i have to make for this question

Image Analyst on 5 Jan 2013

Out of 200 questions you've asked, you've accepted only 47% of them (as shown in your profile). Does that mean we have a 53% chance of wasting both your time and our time if we spend time helping you?

FIR

Products

No products are associated with this question.

1 Answer

Answer by Azzi Abdelmalek on 28 Dec 2012
Edited by Azzi Abdelmalek on 28 Dec 2012
Accepted answer

You can use Matlab function block or Interpreted Matlab Function block to implement your abc-dq transformation

8 Comments

Azzi Abdelmalek on 5 Jan 2013

This is exact. But you can simply use one block instead all those blocks. a matlab function block with a function

function [ud,uq]=fcn(ua,ub,uc,tetas)
uq=sqrt(2/3)*(cos(tetas)*ua+cos(tetas-2*pi/3)*ub+cos(tetas-4*pi/3)*uc);
ud=sqrt(2/3)*(-sin(tetas)*ua-sin(tetas-2*pi/3)*ub-sin(tetas-4*pi/3)*uc);

The gain 2/3 or sqrt(2/3) depends on the Park transformation you've chosen.

FIR on 5 Jan 2013

Thanks Azzi i have modelled as per the diagram

http://www.sendspace.com/file/7ejn5s

http://www.sendspace.com/file/h9a77z

but why am not getting same output,please assist

Azzi Abdelmalek on 5 Jan 2013

FIR, I think it was clear how to program a Park transformation block, by the blocks you found or by the block I suggested. Maybe you have some problem with theory, I think you should read this theory.

Azzi Abdelmalek

Contact us