How to draw efficiency map contour of a motor?

Given vectors of Speed, Torque and Efficiency. How do I draw the contour for efficiency map of the motor in matlab?

6 Comments

okay but where are the given vectors ?
could you please share the vectors
Could you give me the vector speed, torque and efficiency code
Hi, vectors you can get from datasheet of the motor or from technical papers.
How can we create lookup table 2D (obsolete) using electric motor efficiency map?
Hello may any one guide me how to get builtin simulink model of PMSM based 3 phase inverter

Sign in to comment.

 Accepted Answer

x0 = min(speed) ; x1 = max(speed) ; nx = 100 ;
y0 = min(torque) ; y1 = max(torque) ; ny = 100 ;
x = linspace(x0,x1,nx) ;
y = linspace(y0,y1,ny) ;
[X,Y] = meshgrid(x,y) ;
Z = griddata(speed,torque,efficiency,X,Y)
contour(X,Y,Z)
Where speed, torque and efficiency are vectors.

21 Comments

Hi, thanks for the answer. Now i have obtained the contour and i want to extract the co-ordinates of the plot.
% code
load('motorchar')
x0=min(omega); x1=max(omega); nx=100;
y0=min(T); y1=max(T); ny=100;
x=linspace(x0,x1,nx);
y=linspace(y0,y1,ny);
[X,Y]=meshgrid(x,y);
Z=griddata(omega,T,eff,X,Y);
contourf(X,Y,Z);
colorbar;
I have obtained the contour.
Now the contour is a function(speed,torque,efficiency). I want to extract or obtain the co-ordinate/value of efficiency for random speed and torque. Please let me know how to do it. (The values that can be seen using the cursor, but I want to obtain this in a program)
Thanks anyways. I got this one.
It was the same 'griddata' command to obtain the levels of certain X and Y.
Hi Praveen Kumar, I tried to plot the IM efficiency map contour but I could not. I think I missed something, would you share the code, please.
Code example:
load 'speedprofile'
load 'motorstat'
x0=min(omega); x1=max(omega); nx=1000;
y0=min(T); y1=max(T); ny=1000;
x=linspace(x0,x1,nx);
y=linspace(y0,y1,ny);
[X,Y]=meshgrid(x,y);
Z=griddata(omega,T,eff,X,Y);
figure;
contourf(X,Y,Z);
h=contourf(X,Y,Z);
colorbar;
hey could you send me the code in full. I cannot understand the use of grid data here and how would efficiency be plotted
You need to have three data; Speed , torque and efficiency which are obtained from motor data sheet. I will attach the full code in a day or two.
How, did you get the efficiency values ?
Can you describe the the data required to plot this curve?
Is it standard load test data where load is increased till motor stalls or any other test data?
How to do that using lookup table?
@Soumik Ghost Efficiency values can be obtained from the datasheet of the motor or by load test if you have the motor and required instruments.
@Soham I have used the standard test data provided by the manufacturer. I am not fully aware about the load test method used.
You will need a vector of speed, torque and efficiency data (maybe increasing speed or torque. Either dependent on manufacturer datasheet or measure these data from motor load test).
@Ahmed Ali RM
I have not tried using look up table. But, I think you can easily do it. Try some lookup table examples.
@Praveen Kumar
could you please share the example vector data for speed, torque and efficiency. Thank you in advance
Hi,
Please find the code and example of vectors of speed, T and eff in the .mat file.
hi i have my own measurments of speed and torque of a motor and their corresponding efficiency is it possible to plot them with this efficiency map when i try to do that i get this error
Error using griddata (line 110)
X and Y must be same length as Z or the lengths of X and Y must match the size of Z.
could you help me please
As the error says, I think X and Y lengths are not of same size.
hi i'm attaching here the excel files could you check them please i made measurement of each value of the torque and the speed and i plot the correspending efficiency value for them. the arrays are arranged in an ascendending order for a ramp input ? thanks
Okay. I will check and let you know.
I really want a similar plot, can anyone give me the data so I can do it in matlab, it would be better if using lookup table. Please! I really appreciate it
have you find the code to plot the efficiency map? i need it also if you can share
The answer has already been given. If you need something different, then it's up to you to describe what data you actually have and what specifically you want to do with it.

Sign in to comment.

More Answers (1)

Hello dear, please guide me. I want to draw efficieny map, I have toque, speed data but no efficieny data. How can I get the efficieny data in Simulink model. Please gudie me.

3 Comments

You cant get efficiency data from Simulink. You need to obtain the data from datasheets or from experiments.
Dear parveen kumar, I m facing difficulty to calculate the efficiency, so need your guidance,. May you give me your whatsapp no or email so that I may forward my simulink model to you. Please dear sir guide me
Sorry, at present wont be able to look at your model. If you want to plot the efficiency map, please check above example. You need speed, torque and efficiency data.

Sign in to comment.

Communities

More Answers in the  Power Electronics Control

Asked:

on 4 Sep 2017

Commented:

DGM
on 23 Apr 2024

Community Treasure Hunt

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

Start Hunting!