View Single Post
  #4   Spotlight this post!  
Unread 05-01-2017, 10:57
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,059
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: Understanding Motor speed, torque, voltage

Quote:
Originally Posted by AriMindell View Post
How are speed and torque related?
Torque vs speed at the spec voltage is commonly modeled as a straight line connecting the stall point (stall torque @ zero speed) at the spec voltage to the free speed point (zero torque @ free speed) at the spec voltage.

So the equation of that line would be:

T = Ts*(1-N/Nf)

... where T is torque, Ts is stall torque at the spec voltage, N is speed, and Nf is free speed at the spec voltage.

Values for Stall Torque and Free Speed of FRC-legal motors are published every year.


Let's say the spec voltage is 12 volts (it is for most FRC motors).

If the applied voltage "V" is not equal to 12 volts, the equation can be generalized by using the approximation:

T=Ts*(V/12-N/Nf)


Quote:
Originally Posted by AriMindell View Post
I calculate the angular acceleration (alpha) of the attachment, then add alpha(*dt) to the angular velocity (omega), and omega*dt to the position (theta).
I added the red part.

This is called Euler integration. Given all the other tolerances in the model, it's probably adequate for what you are doing. But for students who may be interested in learning about it, the Midpoint Method is a better way to do numerical integration that is quite easy to implement in Excel. You can find a discussion thread here.



Last edited by Ether : 05-01-2017 at 11:06.
Reply With Quote