Go to Post It shouldn’t be about whether or not you think it’s easy or not, it’s about whether or not you think the effect of the change would be a positive step for our country. - Bill Gold [more]
Home
Go Back   Chief Delphi > Technical > Motors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-12-2013, 22:03
James Kuszmaul James Kuszmaul is offline
NEFIRST CSA
FRC #0971 (Spartan Robotics)
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Worcester, MA
Posts: 61
James Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud of
Re: combined free speed of 3 motors

Quote:
Originally Posted by Ether View Post
The derivation I provided in the original post applies if the same voltage is applied to all the motors, and the individual motor stall torque and free speed values are all at the same spec voltage. The resulting "combined" Free Speed (together with the simple-to-calculate Stall Current and Stall Torque) allow you to view the combination as equivalent to a single motor with those characteristics. Treating the combination as equivalent to a single motor allows you to use all the single-motor math you are already familiar with.
However, using all that single motor math will cause you to result in suboptimal results (if you attempt to optimize in any way, beyond just modelling the system). Also, has anyone gone through the proof that you can validly treat the two motors as one, given that you input the same voltage?
__________________
FRC971 (Student) 2011-2014
FRC190 (College Mentor-ish) 2014
WPILib Development 2014-present
  #2   Spotlight this post!  
Unread 19-12-2013, 22:15
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: combined free speed of 3 motors

Quote:
Originally Posted by James Kuszmaul View Post
However, using all that single motor math will cause you to result in suboptimal results (if you attempt to optimize in any way, beyond just modelling the system).
I'm having trouble extracting an interpretation of the above. Could you explain what you mean? Perhaps give an example?


Quote:
Also, has anyone gone through the proof that you can validly treat the two motors as one, given that you input the same voltage?
I thought that's what I did in the attachment to the original post. At what point in the derivation do you disagree?

To be clear, the derivation assumes the motors will be used to drive a load (like a drivetrain or heavy arm for example) with a reflected inertia much larger than the rotor inertia, so the dynamic contribution of the rotor inertia can be ignored.


  #3   Spotlight this post!  
Unread 19-12-2013, 22:31
James Kuszmaul James Kuszmaul is offline
NEFIRST CSA
FRC #0971 (Spartan Robotics)
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Worcester, MA
Posts: 61
James Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud of
Re: combined free speed of 3 motors

Quote:
Originally Posted by Ether View Post
I'm having trouble extracting an interpretation of the above. Could you explain what you mean? Perhaps give an example?
If you had two different motors, both attached to something (perhaps a shooter wheel), and you wanted to create an optimal controller for the wheel (given some cost function), then I doubt (although I may be wrong) that that optimal controller would have you always apply the same voltage to the motors. Hence, it is suboptimal to make this simplification, although there certainly may be situations where it is convenient, and therefore valuable, to make the simplification (such as if you were limited for space on your Digital Sidecar and wanted to be able to use a y-cable to control two different motors).

Quote:
Originally Posted by Ether View Post
I thought that's what I did in the attachment to the original post. At what point in the derivation do you disagree?

To be clear, the derivation assumes the motors will be used to drive a load (like a drivetrain or heavy arm for example) with a reflected inertia much larger than the rotor inertia, so the dynamic contribution of the rotor inertia can be ignored.
I see how you would be driving a large load (in my equations, the moment of inertia was primarily a place holder for such a load), but I do not see how a derivation of a formula for the free speed logically leads to the idea that all the single motor formulas must be valid.
I agree that you can calculate a stall torque, stall current, free speed, resistance, and free current for the motor combination, but just because those numbers may be meaningful does not necessitate that the single motor equations are true.
In other words, just because you have formulas for combined stall torque, stall current, free speed, resistance, and free current, why is it that these equations are still valid for values of V, I, omega, and Torque other than those at stall torque and free speed:
V = I*R + omega / Kv
Torque = Kt * I
I may be missing something, but I have not seen any proof that these equations continue to hold, and I like to see proofs .
__________________
FRC971 (Student) 2011-2014
FRC190 (College Mentor-ish) 2014
WPILib Development 2014-present
  #4   Spotlight this post!  
Unread 19-12-2013, 22:47
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: combined free speed of 3 motors


Many teams that put 3 motors on a drivetrain gearbox want to know the acceleration characteristics when full voltage is applied to all 3 motors. Finding the single-motor "equivalent" motor curve permits the use of existing spreadsheets and models that don't support multiple mixed-motors on the gearbox.

Quote:
I may be missing something, but I have not seen any proof that these equations continue to hold, and I like to see proofs
Go through the attachment to post#1 step-by-step and tell me at what step you disagree or are unconvinced, and I will explain the justification and make explicit any tacit assumptions.


  #5   Spotlight this post!  
Unread 19-12-2013, 22:50
Paul Copioli's Avatar Unsung FIRST Hero Woodie Flowers Award
Paul Copioli Paul Copioli is offline
President, VEX Robotics, Inc.
FRC #3310 (Black Hawk Robotics)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Rockwall, TX
Posts: 1,381
Paul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond repute
Re: combined free speed of 3 motors

Quote:
Originally Posted by Ether View Post

Many teams that put 3 motors on a drivetrain gearbox want to know the acceleration characteristics when full voltage is applied to all 3 motors. Finding the single-motor "equivalent" motor curve permits the use of existing spreadsheets and models that don't support multiple mixed-motors on the gearbox.



Go through the attachment to post#1 step-by-step and tell me at what step you disagree or are unconvinced, and I will explain the justification and make explicit any tacit assumptions.


Additionally, we have been using this model for several years to determine our robots' acceleration profile and time to distance at different spots of the field. The analysis has routinely been within 5% of actual robot performance.
__________________
In full disclosure I am the President of VEX Robotics, a division of Innovation First International.
  #6   Spotlight this post!  
Unread 19-12-2013, 23:11
James Kuszmaul James Kuszmaul is offline
NEFIRST CSA
FRC #0971 (Spartan Robotics)
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Worcester, MA
Posts: 61
James Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud of
Re: combined free speed of 3 motors

Quote:
Originally Posted by Ether View Post
[i]
Go through the attachment to post#1 step-by-step and tell me at what step you disagree or are unconvinced, and I will explain the justification and make explicit any tacit assumptions.
Perhaps I was unclear. I agree with your derivation of the free speed. I agree with the idea that there is a free speed as you describe and that it is of value.
What I am wondering about is your statement that
Quote:
The resulting 'combined' Free Speed (together with the simple-to-calculate Stall Current and Stall Torque) allow you to view the combination as equivalent to a single motor with those characteristics. Treating the combination as equivalent to a single motor allows you to use all the single-motor math you are already familiar with.
(emhasis mine)
I agree that you can calculate numbers for free speed, stall current, and stall torque for the combined motors. It makes intuitive sense why you could use the single motor equations, given that you can find a Kv, Kt, and R, how do you prove (I don't necessarily disagree; I just don't agree) that
T = I * Kt
and
V = I * R + omega / Kv
[Edit: To be clear, how do you prove that these statements apply for the combined motors; I already know that they apply to a single motor]

I presume that I have been unclear in my questions, because I have been asking essentially the same question, phrased differently, the last couple posts.
__________________
FRC971 (Student) 2011-2014
FRC190 (College Mentor-ish) 2014
WPILib Development 2014-present
  #7   Spotlight this post!  
Unread 19-12-2013, 23:34
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: combined free speed of 3 motors

Quote:
Originally Posted by James Kuszmaul View Post
I agree that you can calculate numbers for free speed, stall current, and stall torque for the combined motors. It makes intuitive sense why you could use the single motor equations... how do you prove...
Perhaps it will help to present the math in a slightly different way. Attached is a derivation for the torque vs speed curve for the 3-motor combination directly from the torque vs speed curves for the individual motors.

It's straightforward algebra. It follows naturally from the assumptions that 1) all three motor speeds are the same (since they are mechanically linked) and 2) the individual motor torques are additive.

As you can see, the combination behaves exactly like a single motor with torque = Tstall*(1-Speed/Sfree), where:

Tstall = T1s + T2s + T3s .... and .... Sfree = (T1s + T2s + T3s)/(T1s/S1f + T2s/S2f + T3s/S3f)

Attached Thumbnails
Click image for larger version

Name:	combo_torque_vs_speed.png
Views:	46
Size:	9.2 KB
ID:	15597  

Last edited by Ether : 20-12-2013 at 02:00.
  #8   Spotlight this post!  
Unread 20-12-2013, 09:34
James Kuszmaul James Kuszmaul is offline
NEFIRST CSA
FRC #0971 (Spartan Robotics)
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Worcester, MA
Posts: 61
James Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud of
Re: combined free speed of 3 motors

Quote:
Originally Posted by Ether View Post
Perhaps it will help to present the math in a slightly different way. Attached is a derivation for the torque vs speed curve for the 3-motor combination directly from the torque vs speed curves for the individual motors.

It's straightforward algebra. It follows naturally from the assumptions that 1) all three motor speeds are the same (since they are mechanically linked) and 2) the individual motor torques are additive.

As you can see, the combination behaves exactly like a single motor with torque = Tstall*(1-Speed/Sfree), where:

Tstall = T1s + T2s + T3s .... and .... Sfree = (T1s + T2s + T3s)/(T1s/S1f + T2s/S2f + T3s/S3f)

This is definitely the right step getting to where I want to be, however, although I do see the linear relationship between net speed and torque, I do not see how that necessarily allows us to use the single motor equations (V=IR + v/Kv and I = KtI) for the combined motors. I have worked out some of the equations and attached the derivations. Hopefully you will be able to see where I am going and can help get it that last few steps.
Attached Files
File Type: pdf multiple_motors.pdf (83.8 KB, 18 views)
__________________
FRC971 (Student) 2011-2014
FRC190 (College Mentor-ish) 2014
WPILib Development 2014-present
  #9   Spotlight this post!  
Unread 20-12-2013, 10:12
James Kuszmaul James Kuszmaul is offline
NEFIRST CSA
FRC #0971 (Spartan Robotics)
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Worcester, MA
Posts: 61
James Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud of
Re: combined free speed of 3 motors

Quote:
Originally Posted by Ether View Post
My interest was in finding the equivalent torque vs speed curve for the motor combination.

If you want the equivalent R and Kt, they would be given by:

R = 1/(1/R1 + 1/R2 + 1/R3) ... and ... Kt = (T1s + T2s + T3s)/(I1s + I2s + I3s)
Yes; those are what those constants should be (and what the resistance is). But as for Kt, it makes sense for it to be that (I say as much in the attachment to my previous post). Prove it. I may be sounding a bit picky, but I really dislike taking anything or granted that I can't see the derivation of. And I can't see how you derived that Kt other than to say it is combined motors' stall torque divided by their combined stall current. But why is it valid to say that? Why do Torque and Current still relate linearly? Intuitively, it makes sense. However, I have not been able to figure it out with actual equations.
__________________
FRC971 (Student) 2011-2014
FRC190 (College Mentor-ish) 2014
WPILib Development 2014-present
  #10   Spotlight this post!  
Unread 21-12-2013, 12:52
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: combined free speed of 3 motors


Worthy of note: If you combine motors with substantially mismatched free speeds, the free current for the combination can be large, and thus the value of Kt for the combination at high speeds will be less than the value calculated at stall.

I think this may be what James was trying to say.

edit: If you look at the last graph, you'll see that the 550 probably won't last long in this setup.

Attached Thumbnails
Click image for larger version

Name:	CIM+550 combined.png
Views:	49
Size:	16.0 KB
ID:	15620  Click image for larger version

Name:	CIM+550 torques.png
Views:	43
Size:	15.7 KB
ID:	15621  Click image for larger version

Name:	CIM+550 current.png
Views:	51
Size:	14.6 KB
ID:	15622  

Last edited by Ether : 21-12-2013 at 14:29. Reason: added note and new graphs
  #11   Spotlight this post!  
Unread 21-12-2013, 12:57
James Kuszmaul James Kuszmaul is offline
NEFIRST CSA
FRC #0971 (Spartan Robotics)
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Worcester, MA
Posts: 61
James Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud ofJames Kuszmaul has much to be proud of
Re: combined free speed of 3 motors

Quote:
Originally Posted by Ether View Post

Worthy of note: If you combine motors with substantially mismatched free speeds, the free current for the combination can be large, and thus the value of Kt for the combination at high speeds will be less than the value calculated at stall.

I think this may be what James was trying to say.


That is what I was trying to figure out; I just wasn't able to figure out a way to tell for sure (ie, make the graph). Thanks.
__________________
FRC971 (Student) 2011-2014
FRC190 (College Mentor-ish) 2014
WPILib Development 2014-present
  #12   Spotlight this post!  
Unread 21-12-2013, 14:26
akeisic's Avatar
akeisic akeisic is offline
Systems and Strategy Mentor
AKA: Andrew Keisic
FRC #4201 (The Vitruvian Bots)
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Redondo Beach, CA
Posts: 82
akeisic is a name known to allakeisic is a name known to allakeisic is a name known to allakeisic is a name known to allakeisic is a name known to allakeisic is a name known to all
Re: combined free speed of 3 motors

Creating a tool to help with this problem has been one of my back burner projects for a while now. I was never satisfied with just matching free speeds for different motors as there are many different ways to match motors, including matching free speed, stall torque, max power, max efficiency and matching slope. Depending on the application, you may want to choose a different matching condition.

As for the tool itself, I've worked through many of the thought processes mentioned in this thread and have a ~90% complete tool that combines up to 3 motors at any quantity using different operating voltages and fuses and matched by the conditions mentioned above. I then give the user the choice of plotting the torque or speed on the x-axis as well as giving the choice of plotting the super motor.

I've never gotten the workbook to a fully releasable version, which is why I haven't posted it yet, but it seems prudent to post it now. Plus, this conversation has me motivated to finish it through. I just uploaded the latest version to my motor performance white paper:
http://www.chiefdelphi.com/media/papers/2292
Attached Thumbnails
Click image for larger version

Name:	3 Motor Snapshot.png
Views:	44
Size:	69.3 KB
ID:	15624  
__________________
Mentor: FRC 4201 - The Vitruvian Bots

Awards with FRC 294 - Beach Cities Robotics
2014: LA FRC Champions
2012: LA FRC Finalists
2011: San Diego FRC Finalists
2010: San Diego FTC Finalists, San Diego FRC Champions, LA FRC Finalist, FRC World Champions
2009: LA FRC Finalist
2008: San Diego FRC Champions, LA FRC Finalist, LA FTC Champions, LA VCR Champions,
2007: San Diego FRC Finalist, San Diego FTC Champions, FTC World Champions

Last edited by akeisic : 21-12-2013 at 14:34.
  #13   Spotlight this post!  
Unread 19-12-2013, 22:46
Paul Copioli's Avatar Unsung FIRST Hero Woodie Flowers Award
Paul Copioli Paul Copioli is offline
President, VEX Robotics, Inc.
FRC #3310 (Black Hawk Robotics)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Rockwall, TX
Posts: 1,381
Paul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond repute
Re: combined free speed of 3 motors

Ether,

Joe Johnson and I worked through this for two motors some time ago. Joe had a post on it back in either 2002 or 2003. His terminology and mine were different, but recently I made sure our two analysis methods came to the same conclusion. They did and yours matches our conclusions, but adds one more motor.

We did this analysis to try to kill the myth that you had to match free speeds. Joe went into detail about loading conditions that will cause one motor to actually be pushing the other, therefore the slower motor would contribute negative work to the system. Again, your analysis corroborates our conclusions back then.

I attached my hand calculations to prove Joe and my analysis methods were the same. I now use Joe's terminology because it is easier to put in Excel.

Paul
Attached Files
File Type: pdf Joe Johnson-Paul Copioli Motor Matching.pdf (922.6 KB, 99 views)
__________________
In full disclosure I am the President of VEX Robotics, a division of Innovation First International.
  #14   Spotlight this post!  
Unread 19-12-2013, 22:51
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: combined free speed of 3 motors

Quote:
Originally Posted by Paul Copioli View Post
Ether,

Joe Johnson and I worked through this for two motors some time ago.
Thanks Paul. I thought I remembered seeing something like that, but couldn't locate it.

Quote:
yours matches our conclusions, but adds one more motor.
Notice the nice symmetry in the solution. It's easy to see how to extend this to N motors, instead of 3.


  #15   Spotlight this post!  
Unread 20-12-2013, 09:27
Adam Freeman's Avatar
Adam Freeman Adam Freeman is online now
Forever HOT!
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Rockwall, TX
Posts: 497
Adam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond reputeAdam Freeman has a reputation beyond repute
Re: combined free speed of 3 motors

Quote:
Originally Posted by Paul Copioli View Post
Joe Johnson and I worked through this for two motors some time ago. Joe had a post on it back in either 2002 or 2003.
I bookmarked this post the last time this came up, just so I could reference it quickly anytime I needed to:

http://www.chiefdelphi.com/forums/sh...39&postcount=3
__________________

2005 FIRST World Champions (330, 67, 503)
2009 FIRST World Champions (111, 67, 971)
2010 FIRST World Champions (294, 67, 177)
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:36.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi