View Single Post
  #14   Spotlight this post!  
Unread 13-01-2012, 09:53
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Motor speed control uning Jaguar

Regarding speed sensors: An encoder is a good fit for this task. However, keep in mind how fast your wheel will be spinning.

Let's say your shooter is powered by a CIM and a 1:1 ratio. You will see ~5000rpm speed on the shooter wheel.

5000rpm is 83.3 revolutions per second. If you use the kit of parts encoders (250 counts per rev), that is more than 20,000 counts per second. In theory, the FPGA can count upwards of 39,000 counts per second. So this arrangement would work if you are doing speed control on the cRIO, but if you wanted to go to, say 10,000rpm on the shooter wheel, you would want a lower resolution encoder. I am not sure about the capabilities of a CAN Jaguar when it comes to maximum encoder rate.

In 2006, we made our own encoder by using an IR reflective sensor (like the ones Banner or Rockwell makes) with strips of reflective tape on the shooter wheel to trigger the counting. This method would of course work in 2012, as well.