Thread: pic: The Hammer
View Single Post
  #5   Spotlight this post!  
Unread 26-04-2010, 19:31
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: pic: The Hammer

2468 ended up with a semi-similar solution, but instead of using Neoprene rubber we used a Jaguar... wait... ignore what I just said. Please do not use Jaguars as impact absorbers!

We put a quadrature encoder on the shaft and used position control mode to kick. The PID constants that worked best for us were a little bit unstable: Basically, aim for a bit before and let it overshoot. Then we used current control mode to rewind the motor and let it "stall" against a back stop. Since it was only 6 amps, no harm done. This let us reset the encoder to a known state - smashing it into a ball caused it to miss a few pulses each time! Rinse and Repeat.
Reply With Quote