|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Motor speed control uning Jaguar
Hi Techies,
I have been away from FRC for a while a I need a kick start with using the Jaguar. Our team's app will need highly accurate speed control for a ball shooter. 1) what speed sensor should we use? 2) what accuracy should we expect to achieve? 3) is there a recommended motor for shooter applications? Thanks, |
|
#2
|
||||
|
||||
|
Re: Motor speed control uning Jaguar
Quote:
Legal motors are listed in [R48], but I think it's a safe bet to say that you won't be using the Vex motor for your shooter. Keep [R61] in mind though, because that specifically disallows the use of Jaguars' closed feedback loops. |
|
#3
|
||||
|
||||
|
Re: Motor speed control uning Jaguar
Interesting. I wonder if they will change this like last year.
"As long as the CAN bus is wired legally so that the heartbeat from the cRIO is maintained, the closed loop control features of the Jaguar motor controller may be used. (That is, commands originating from the cRIO to configure, enable, and specify an operating point for all Jaguar closed loop modes fit the intent of <R49>.) January 21, 2010" |
|
#4
|
||||
|
||||
|
Re: Motor speed control uning Jaguar
Quote:
|
|
#5
|
|||
|
|||
|
Re: Motor speed control uning Jaguar
Agreed, seems explicitly allowed to me.
|
|
#6
|
|||
|
|||
|
Re: Motor speed control uning Jaguar
I am looking for some clarification regarding this part of [R61]:
Quote:
|
|
#7
|
||||
|
||||
|
Re: Motor speed control uning Jaguar
You can do whatever you want for testing. These rules only apply for a competing robot. That said, monitoring via CAN should be legal, but it's lawyering in my opinion.
|
|
#8
|
||||
|
||||
|
Re: Motor speed control uning Jaguar
Would be? Should be? Could be? All three of those are grey area responses. You should post your question in the FRC Q&A Forum to get a legal explicit ruling from the GDC.
|
|
#9
|
||||
|
||||
|
Re: Motor speed control uning Jaguar
Quote:
|
|
#10
|
||||
|
||||
|
Re: Motor speed control uning Jaguar
Rule 61 seems pretty clear to me. You can use either Can-Bus or PWM, but not both on the same Jaguar.
|
|
#11
|
|||
|
|||
|
Re: Motor speed control uning Jaguar
Another thought I had was to wire in both the PWM and the CAN. Then only use the CAN bus to control the robot. The PWM would be there as a failover drive system. I have some concerns about the CAN network being reliable annd want to be able to switch to PWM driving if we detect trouble. Not trying to bend the rules, just want to know what's legal. I will ask my question in the rule QA. Thanks
|
|
#12
|
||||
|
||||
|
Re: Motor speed control uning Jaguar
Quote:
|
|
#13
|
||||
|
||||
|
Re: Motor speed control uning Jaguar
Quote:
R61 A also would prohibit the PWM connection if you are using canbus since there is no way for you to turnoff the PWM signal. I expect if you tried to do it the Jag would default to one ignoring the other completely. The Jag firmware 101 (another thread) seems to have fixed an issue with the canbus. A trashy signal use to take the Jag offline until a power reset. It now will try to reset itself. |
|
#14
|
|||
|
|||
|
Re: Motor speed control uning Jaguar
Quote:
I don't see any way on the Q&A to ask a question. I can only search.. |
|
#15
|
|||||
|
|||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|