Go to Post The extra button could also just be a spare, but that's far less interesting than other possibilities, so let's keep speculating. - Caleb Sykes [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-01-2009, 13:56
mminutto mminutto is offline
Registered User
None #1889
 
Join Date: Jan 2009
Location: Palm Beach Central High School
Posts: 2
mminutto is an unknown quantity at this point
Motor speed sensing with the Jaguar motor controller?

Can anyone tell me if there is a way to detect the actual speed of a motor being controlled by the new Jaguar motor controllers? The documentation on the Jaguar site indicates that this will not be available for use for this year's competition but may be available in the future, but I also saw a function in Labview, something like GetMotorSpeed, that seems to indicate otherwise. Not sure which to believe.

Thanks,

Mike
Reply With Quote
  #2   Spotlight this post!  
Unread 13-01-2009, 14:15
Vikesrock's Avatar
Vikesrock Vikesrock is online now
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Motor speed sensing with the Jaguar motor controller?

The FRC Programming Guide found here has information about the functions of the WPILib VIs.

The GetSpeed VI outputs the -1.0 to 1.0 scaled value of the PWM output being fed to the Jaguar. This would be the equivalent to getting the 0 to 255 value of the PWM output in the old control system. This value is not necessarily directly related to the motor speed as there are other factors such as the load on the motor and motor's torque/speed curve.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #3   Spotlight this post!  
Unread 13-01-2009, 14:19
BradFerg BradFerg is offline
Registered User
FRC #2705 (We Robot)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2009
Location: Minneapolis, MN
Posts: 7
BradFerg is an unknown quantity at this point
Re: Motor speed sensing with the Jaguar motor controller?

Digging into the LabVIEW code, it appears that the Set Speed and Get Speed VIs just end up setting and retrieving the PWM output value (0..255) by way of a speed value (-1..1). By default, the VIs assume the motor's speed is linear from 0 to 255. If it isn't linear, you can specify your own VI to do the transformation.

So, there is no speed feedback from the Jaguar at this time. It is possible that speed will be available over the CAN bus in the future, but I don't know.
Reply With Quote
  #4   Spotlight this post!  
Unread 13-01-2009, 16:42
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Motor speed sensing with the Jaguar motor controller?

The Jaguars have the capability to report the amount of electric current being drawn by the motors (but this does not give you direct information about the actual speed of the motors) over their CAN bus interface; this interface is illegal for FRC this year. If you want to know the motor speed, try using the US Digital encoders included in the KoP. These have an API in LabVIEW that will automatically track speed, as well as distance traveled and direction of movement if both sides of the quadrature encoder are wired. The encoders get connected to two digital inputs on the Sidecar: Wire the Brown, Red, and Blue wires to the Ground (black), +5 (red), and Signal (white/yellow) wires of one PWM cable, respectively, and the Yellow wire to the Signal wire of a second PWM cable.

--Ryan
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor

Last edited by RyanCahoon : 13-01-2009 at 16:56.
Reply With Quote
  #5   Spotlight this post!  
Unread 13-01-2009, 18:06
JohnLocke JohnLocke is offline
Registered User
FRC #1058
 
Join Date: Jan 2008
Location: Londonderry, NH
Posts: 1
JohnLocke is an unknown quantity at this point
Re: Motor speed sensing with the Jaguar motor controller?

Quote:
Originally Posted by RyanCahoon View Post
The Jaguars have the capability to report the amount of electric current being drawn by the motors (but this does not give you direct information about the actual speed of the motors) over their CAN bus interface; this interface is illegal for FRC this year.
Which rule states that we can't get use the Jaguars interface? I am under the impression you are able to use it...
Reply With Quote
  #6   Spotlight this post!  
Unread 13-01-2009, 18:13
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Motor speed sensing with the Jaguar motor controller?

Quote:
Originally Posted by JohnLocke View Post
Which rule states that we can't get use the Jaguars interface? I am under the impression you are able to use it...
That would be <R62-A>.
Quote:
Originally Posted by R62-A
Support for the CAN bus port on the Jaguar speed controllers is prohibited for this competition, and the port is not to be used. Nothing shall be connected to the CAN bus port. It is recommended that the port be protected with a piece of tape to prevent debris from entering the port.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Jaguar Motor Controller Problem prashil27 Electrical 5 07-01-2009 21:21
are we allowed to control a window motor using a speed controller? Wstedtlogan Motors 1 19-02-2006 15:47
<R86> No more than one motor may be connected to each speed controller. Michael Hill Electrical 2 08-01-2006 02:00
Drill Motor/Speed Controller/Who Knows What Issues GMitchell Motors 12 28-01-2003 17:11
What's with the New Motor Specs for the Atwood Mobile (Chiaphua) Motor. Robb Gerber Motors 2 23-01-2002 08:58


All times are GMT -5. The time now is 11:16.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi