Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > Math Resources > Mathematics Software Discussion
Reply
 
Thread Tools Display Modes
  #1  
Old October 25th, 2009, 02:17 PM
Newbie
 
Join Date: Oct 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
aabbddlah is on a distinguished road
Default matlab problem

Hello everyone

i v just joined the forum and i would like u to give me some sort of help in my induction motor project
i am using matlab to carry out the value for torque and then plot the torque Vs speed graph using matlab

so i am given the parameters
I2=5.42A
R2=.8Ω

to carry out the torque values for (rotor speeds(wr)=from 0-50rad/s)

knowing that slip=s=0 when wr=50rad/s
and slip=1 when wr=0

Torque=(3/wr)*(I2^2) * {R2(1-s)/s}
To sum up i want to produce a torque speed plot using matlab

i suppose that i can do that using for loop
i think that it is not hard but i am not that good in matlab

here is my little attempt

for I2=5.42

for R2=.8
for s=.02
torque=(3/wr)*{(i2)^2}*{(r/s)*(1-s)}

plz help!
torqueplot
Reply With Quote
Advertisement
 
  #2  
Old October 25th, 2009, 04:41 PM
Member
 
Join Date: Mar 2007
Posts: 104
Country:
Thanks: 17
Thanked 14 Times in 14 Posts
elbarto is on a distinguished road
Default

Try This:

Code:
I2=5.42;
R2=.8;
s=.02;
wr = 0:50;
torque=(3./wr)*(I2^2)*(R2/s)*(1-s);
plot(wr,torque)
xlabel wr
ylabel T
title('Torque Plot')
Reply With Quote
  #3  
Old October 25th, 2009, 05:18 PM
Newbie
 
Join Date: Oct 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
aabbddlah is on a distinguished road
Default

Well that was outstanding
many thanks to u sir
Reply With Quote
  #4  
Old October 26th, 2009, 01:25 AM
Member
 
Join Date: Mar 2007
Posts: 104
Country:
Thanks: 17
Thanked 14 Times in 14 Posts
elbarto is on a distinguished road
Default

No problem at all. Please let me know if there is anything in the code that is unclear. I was in a hurry this morning so did not have time to add comments to help explain how plotting in MATLAB works.

Regards Elbarto
Reply With Quote
  #5  
Old October 26th, 2009, 05:32 PM
Newbie
 
Join Date: Oct 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
aabbddlah is on a distinguished road
Default


Sorry but I think that did not put the problem in the proper way
In fact torque should be calculated for different speeds and slips
(Not only different values of speed!)
So
given
R2=.8ohm
Rt=1.2ohm
Lt=2.2ohm
L2=3 ohm
s = (ws-wr) / ws , where ws=synchronous speed and wr=rotor speed
i2=formula in photo
torque=(3./wr)*(I2^2)*(R2/s)*(1-s
Also current cannot be one constant value
It should be calculated accordingly to slip values, so for each slip value we should have a value for current
To sum up , I think that we should use for loop to carry out values of slip ,corresponding speed ,and corresponding current on a range of values to create the proper plot
If the code is correct we must end up with the graph shown in the attachment
I will be thankful if u would help me
Many thanks
Attached Thumbnails
matlab-problem-propper-output1.jpg  matlab-problem-not-q-but-example.jpg  matlab-problem-propper-output.bmp  
Reply With Quote
  #6  
Old October 26th, 2009, 06:07 PM
Member
 
Join Date: Mar 2007
Posts: 104
Country:
Thanks: 17
Thanked 14 Times in 14 Posts
elbarto is on a distinguished road
Default

If you provide some code, even if it just a simple example calculation then someone will help you create the graph in MATLAB. I say this because it is difficult to understand the equations you posted up.

Also try to use code tags in your posts where appropriate. It makes reading code a lot easier.

Code:
look for the # symbol on the toolbar
Elbarto
Reply With Quote
  #7  
Old October 27th, 2009, 01:50 PM
Newbie
 
Join Date: Oct 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
aabbddlah is on a distinguished road
Default

elbarto
I do appreciate ur help

in the attachment there is a worked example to claculate the torque

so i want to plot the torque speed graph for different values of slip ,speed and current as well


please help me experts
Attached Thumbnails
matlab-problem-picture.jpg  
Reply With Quote
  #8  
Old October 28th, 2009, 09:09 AM
Newbie
 
Join Date: Oct 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
aabbddlah is on a distinguished road
Default

hi
again

i think that i am nearly there

here is my attempt

vt=225;
rt=1.2;
f=50;
r2=.8;
ws=157;
Lt=2.2;
L2=3;
s=2:.001:-1.2;
wr=(1-s).*ws;
Z=sqrt(((rt+(r2./s))^2)+((Lt+L2)^2));
i2=vt/Z;
torque=(3./wr)*(i2^2)*(r2/s)*(1-s);
plot(s,torque);
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 02:47 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.