View Single Post
  #3   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,101
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).