Go to Post FIRST doesn't end after your last year within a team. It's never going to end. - Tetraman [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 28-12-2013, 10:22
Nemo's Avatar
Nemo Nemo is offline
Team 967 Mentor
AKA: Dan Niemitalo
FRC #0967 (Iron Lions)
Team Role: Coach
 
Join Date: Nov 2009
Rookie Year: 2009
Location: Iowa
Posts: 803
Nemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond repute
Re: Gearbox friction model

This is where you use efficiency:
OutputTorque = Efficiency*InputTorque*GR

Speed is indirectly affected by efficiency since the % of max torque will be higher in an inefficient system, which slows the motor speed. This is how you calculate it:

InputTorque = OutputTorque/(Efficiency*GR)
%Torque = InputTorque/StallTorque
OutputSpeed = (1-%Torque)*FreeSpeed

Using a blanket fudge factor isn't going to behave properly, particularly if your % of max torque is high.
  #2   Spotlight this post!  
Unread 28-12-2013, 12:25
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,678
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: Gearbox friction model

Doesn't your OutputSpeed equation not factor in efficiency at all?

OutputSpeed = (1 - %Torque) * FreeSpeed
OutputSpeed = (1 - InputTorque/StallTorque) * FreeSpeed

InputTorque is the variable you multiply by efficiency to get OutputTorque - i.e. torque before efficiency is factored in. At a system's free speed, the InputTorque would only be enough torque to overcome kinetic friction in the system (no external load).

It's very possible I'm misunderstanding.
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
  #3   Spotlight this post!  
Unread 29-12-2013, 16:54
IKE's Avatar
IKE IKE is offline
Not so Custom User Title
AKA: Isaac Rife
no team (N/A)
Team Role: Mechanical
 
Join Date: Jan 2008
Rookie Year: 2003
Location: Michigan
Posts: 2,149
IKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond repute
Re: Gearbox friction model

If you think about what is going on in a gearbox, it can help you with the model immensely.
With planetary and spur gears, the teeth of the gear are ment to roll relative to one another. The better the tooth, the lower the friction. This rolling will have some friction which will be proportional to load, and thus a simple efficiency factor works well espeically for moderate torques. Speeds are merely a function of the ratio.

Thus
output torque=eff*input torque*gear_ratio
Outputspeed=inputspeed/gear_ratio

While this model works pretty well, as other have pointed out, it falls apart towards "top speed". IE, if my motor has a free speed of 15,000 rpm and my planetary gearbox has a ratio on 3:1, why doesn't my gearbox freespeed = 5,000 rpm? Instead I get about 4,000 rpm!

So the other element tends to be drag. For example when riding a bicycle, you have to overcome the grade, rolling resistance, and wind resistance. On a still day, on flat ground, the initial torque is dependent on acceleration and rolling resistance, but as you speed up, wind resistance becomes a bigger factor.

For gearboxes, the "wind resistance" is often the oil or grease in the gearbox. These drag forces tend to have a torque to speed relationship of:
drag torque = C*speed^2 with C being a constant.

C is a combination of the thickness of the grease and bearings and....It is often temperature sensitive for many gearboxes.

A good way to get a value for this is to measure motor free speed, then motor gearbox free speed. Use the gear ratio and motor curve to find the torque for that speed, and then...
Set dragT=c*speed^2

For your model, you will then have:
Torque out=eff*ratio*input_torqu-c*speed^2

If you use this method, and have the ability to measure stall torque, I think you can make a very accurate model, and you will likely see a much better efficiency number than using the other methods.

For instance in high power oiled gearboxes, we might use as little a 1%-1.5% efficiency loss per gear mesh and 0.1% to 0.15% for bearings. Of course, this is with gearboxes with really good gear geometry, properly weighted oils, and high quality bearings. Overloaded gears, bushings, bearings, and really thick greases tend to perform at lower efficiencies with higher "windage", but they tend to work pretty good for FRC.
  #4   Spotlight this post!  
Unread 29-12-2013, 17:48
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,074
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: Gearbox friction model

Quote:
Originally Posted by IKE View Post
For your model, you will then have:
Torque out=eff*ratio*input_torque-c*speed^2
The above is essentially what I used in the Drivetrain Acceleration Model, except that instead of c*speed^2 I used Kro+Krv*speed (line 85 in the C code). This one line of C code is easily changed to make it whatever function of speed you like. In FRC drivetrains, the Kro constant term is probably needed since even at very low speeds and output torque there is friction in the drivetrain (due to tension in the chains/belts, misalignment, etc).


  #5   Spotlight this post!  
Unread 30-12-2013, 13:39
IKE's Avatar
IKE IKE is offline
Not so Custom User Title
AKA: Isaac Rife
no team (N/A)
Team Role: Mechanical
 
Join Date: Jan 2008
Rookie Year: 2003
Location: Michigan
Posts: 2,149
IKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond repute
Re: Gearbox friction model

Quote:
Originally Posted by Ether View Post
The above is essentially what I used in the Drivetrain Acceleration Model, except that instead of c*speed^2 I used Kro+Krv*speed (line 85 in the C code). This one line of C code is easily changed to make it whatever function of speed you like. In FRC drivetrains, the Kro constant term is probably needed since even at very low speeds and output torque there is friction in the drivetrain (due to tension in the chains/belts, misalignment, etc).


While I agree that a certain amount of friction there initially, I think that value should go away once it is overcome, much like the delta between static and dynamic coefficients of friction. If you are pushing a block on a smooth surface, you need a certain amount of push to get it going, but once it is going, the term would reduce.
I will need to think about that one a bit more, and how it would effect an acceleration model.
  #6   Spotlight this post!  
Unread 30-12-2013, 13:59
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,074
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: Gearbox friction model

Quote:
Originally Posted by IKE View Post
While I agree that a certain amount of friction there initially, I think that value should go away once it is overcome, much like the delta between static and dynamic coefficients of friction.
I wasn't talking about static friction. Note how I carefully worded it:

Quote:
at very low speeds and output torque there is friction in the drivetrain (due to tension in the chains/belts, misalignment, etc).
Low speeds, not zero speed. The tension in the chain combined with any misalignment can create a non-negligible loss even at very low speeds even if there is no load on the output. This can be modeled with a constant factor. You may also need a speed-dependent factor, as in your post.


  #7   Spotlight this post!  
Unread 30-12-2013, 15:41
IKE's Avatar
IKE IKE is offline
Not so Custom User Title
AKA: Isaac Rife
no team (N/A)
Team Role: Mechanical
 
Join Date: Jan 2008
Rookie Year: 2003
Location: Michigan
Posts: 2,149
IKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond reputeIKE has a reputation beyond repute
Re: Gearbox friction model

I will have to look into other acceleration models to see what all they have, and how to do some simple test in order to get an accurate model of what is going on.

It would be really neat to come up with a VI or something similar that could be run with an FRC robot and output some parameters.
  #8   Spotlight this post!  
Unread 30-12-2013, 17:32
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,074
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: Gearbox friction model

Quote:
Originally Posted by IKE View Post
I will have to look into other acceleration models to see what all they have, and how to do some simple test in order to get an accurate model of what is going on.
Consider the following scenarios:

Scenario1:

1) put the robot up on blocks, so there is no external torque load on the drivetrain.

2) apply enough voltage to the motors to get them moving

3) slowly reduce the voltage to the lowest value that still sustains a constant (very slow) speed. Since the wheels are not accelerating, there is no net torque on the wheels.


For Scenario1 I assert the following:

A) at that same voltage, a free motor (i.e. motor not connected to gearbox and drivetrain) would be spinning faster and drawing less current. In other words, the motors in the drivetrain are producing torque... but that torque gets lost through the friction of the gearbox and drivetrain.

B) using the model:

wheel_torque=eff*ratio*motor_torque- (Kro+Krv*speed)

... with wheel_torque = 0 and wheel_speed ~ 0, you get:

motor_torque = Kro/(eff*ratio)

... which allows you to choose a value for Kro which reflects the real-world situation that the motor_torque is not zero under these conditions.

C) This effect can be non-negligible for a poorly-built drivetrain (chains/belts too tight; misalignment; inadequate lubrication, etc).

D) since the net wheel_torque is zero and the wheel_speed ~0, the model:

wheel_torque=eff*ratio*motor_torque-c*speed^2

... says the motor_torque is ~zero, which does not allow the model to take into account the losses mentioned above.


Scenario2:

Same as Scenario1, except place the robot on a straight, flat, level, carpeted surface


For Scenario2 I assert the following:

A) The motor current (and thus torque) will be even higher than in Scenario1.

B) The reason is the extra losses due to rolling resistance (carpet compression) plus additional work done on the carpet due to misalignment of the wheels (or in the case of mec or omni, the stretching of the carpet due to the sideways component of the reaction force of the roller on the carpet.

C) These extra losses will include a constant term (which can be added to Kro) and a speed dependent term. Whether the speed dependent term is better approximated as linear or quadratic I do not know at this point.



Last edited by Ether : 30-12-2013 at 19:49.
  #9   Spotlight this post!  
Unread 29-12-2013, 18:00
Nemo's Avatar
Nemo Nemo is offline
Team 967 Mentor
AKA: Dan Niemitalo
FRC #0967 (Iron Lions)
Team Role: Coach
 
Join Date: Nov 2009
Rookie Year: 2009
Location: Iowa
Posts: 803
Nemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond repute
Re: Gearbox friction model

Quote:
Originally Posted by Chris is me View Post
Doesn't your OutputSpeed equation not factor in efficiency at all?

OutputSpeed = (1 - %Torque) * FreeSpeed
OutputSpeed = (1 - InputTorque/StallTorque) * FreeSpeed

InputTorque is the variable you multiply by efficiency to get OutputTorque - i.e. torque before efficiency is factored in. At a system's free speed, the InputTorque would only be enough torque to overcome kinetic friction in the system (no external load).

It's very possible I'm misunderstanding.
The input torque depends on the output torque. Your output torque requirement is higher if the efficiency is lower. Or, your input torque is higher for the same output torque.
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 04:37.

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