Go to Post They had me at "chocolate-covered bacon".... - Foster [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-05-2010, 14:25
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,770
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Using a star configuation for Jaguars on CAN

Dave,
There is a lot of confusion out there on these jacks including the Jaguar docs. The cheaper RJ11 jacks do not always have the depressions you speak of where the two outside contacts of a six position plug would normally be located. However, I have seen teams using the handset plug (which is narrower than a standard RJ11) this year. Specifying the six position connector prevents any ambiguity. Although one pin of the connector is labeled +5volts, that is not connected to any power supply internal to the Jaguar. If other sensors are used to that provide power on that pin, misalignment could cause some other serious issues. Also a crimper that is designed for four position plugs will not push in on the outer contacts of a six position plugs when assembling these plugs.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #2   Spotlight this post!  
Unread 10-05-2010, 14:33
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: Using a star configuation for Jaguars on CAN

I've tried in the past, with varying degrees of success. There was a major push internally a few years back to launch FRC-CAN as a star network, but in the end it was determined to not be worth the trouble, in both the $$ sense and the confusion sense.

That is not to say that it is impossible, and I'd love to see your implementation.

One that showed promise was a passive star. 60 Ohm termination in the center, no termination on the end points, and equal length arms. The difficulty here is making sure that all devices are the same distance from each other (electrical length wise). I never got this to be quite good enough to launch to 2000 teams, but it might be do-able for the N teams with good enough mentors to compensate.

Another option is an active star. A CAN-hub has one PHY per branch, and a CPLD to act as a fancy OR-gate. Expensive!

Lastly, you could do a 'vampire tap' system. This is a trunk with lines hanging off of it. The maximum length of each tap is determined by the speed of the bus. I don't really like this option.
  #3   Spotlight this post!  
Unread 10-05-2010, 15:30
Dale's Avatar
Dale Dale is offline
Head Coach & Mentor
AKA: Dale Yocum
FRC #1540 (Flaming Chickens)
Team Role: Coach
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Portland, OR
Posts: 502
Dale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud of
Re: Using a star configuation for Jaguars on CAN

How important was it to have equal length arms? If that's vital that would be a deal killer for us since all that wire hanging around would start to look ugly real fast.

An active star module that allowed every jaguar to remain at it's default address of 0 would be very cool. You'd determine which address it had by the jack it was plugged into on the star module, just like PWM. The active module would handle translating the address from the cRio and rebroadcasting the signal to each device with the proper address. The advantage is then if a Jaguar fails, you just slap in a new one. I know that's just a fantasy, though.
__________________
2016 PNW Championship Chairman's; 2016 Winner Oregon City District, 2015 PNW Championship Chairman's; 2015 PNW District Engineering Inspiration; 2015 PNW District Finalist; 2014 PNW Championship Chairman's; 2014 Championship Innovation in Controls; 2013 Chairman's (Oregon); 2013 Finalist (OKC); 2012 Winner (OKC); 2012 Chairman's (OKC); 2012 Woody Flowers (Oregon); 2011 Volunteer of the Year (Oregon); 2011 Finalist & Captain (San Diego); 2011 Innovation in Control (San Diego); 2010 & 2007 Chairman's (Oregon); 2010 Regional Champions (Colorado); 2010 Innovation in Control (Colorado); 2009 & 2008 Engineering Inspiration (Oregon); 2008 Regional Champions (Oregon); 2007 Regional Finalist (Oregon); 2005 Rookie Inspiration (PNW)
  #4   Spotlight this post!  
Unread 10-05-2010, 21:16
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: Using a star configuation for Jaguars on CAN

Quote:
Originally Posted by Dale View Post
How important was it to have equal length arms? If that's vital that would be a deal killer for us since all that wire hanging around would start to look ugly real fast.
I'm not positive, but I think it is important. Only way to find out is to try (and measure signal integrity).

Since I changed jobs I don't have access to the RF / SI simulators. Perhaps one of our forum members could rig something up?

Quote:
Originally Posted by Dale View Post
An active star module that allowed every jaguar to remain at it's default address of 0 would be very cool. You'd determine which address it had by the jack it was plugged into on the star module, just like PWM. The active module would handle translating the address from the cRio and rebroadcasting the signal to each device with the proper address. The advantage is then if a Jaguar fails, you just slap in a new one. I know that's just a fantasy, though.
Costs associated are:
microcontroller + FPGA per board
CAN transceiver+ Connector + terminators per leg

Not something I can justify for the KoP. Also, it takes a bit of work to make sure you don't get the bus latched into a dominant bit. Lastly, propagation delay is a concern.
  #5   Spotlight this post!  
Unread 10-05-2010, 21:24
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Using a star configuation for Jaguars on CAN

It seems like a star configuration would negate the advantages of using CAN over PWM. Just a thought.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #6   Spotlight this post!  
Unread 10-05-2010, 21:28
NickE's Avatar
NickE NickE is offline
_
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: San Jose, CA
Posts: 620
NickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond reputeNickE has a reputation beyond repute
Re: Using a star configuation for Jaguars on CAN

Quote:
Originally Posted by apalrd View Post
It seems like a star configuration would negate the advantages of using CAN over PWM. Just a thought.
In theory, you could still utilize the current sensing and PID features on the Jaguars.
  #7   Spotlight this post!  
Unread 10-05-2010, 21:31
Dale's Avatar
Dale Dale is offline
Head Coach & Mentor
AKA: Dale Yocum
FRC #1540 (Flaming Chickens)
Team Role: Coach
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Portland, OR
Posts: 502
Dale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud ofDale has much to be proud of
Re: Using a star configuation for Jaguars on CAN

In our case we needed to use CAN for current and voltage sensing throughout our robot. For example, our front ball magnet would capture a ball and then stall by design with the current held at a constant value so as not to smoke the motor. It could also sense if it had a ball by looking at the voltage being delivered to the motors.

Our kicker would vary it's kicking power by monitoring the current going to the winch as it's being cocked.

We'd love to use the daisy chain configuration if it were reliable. We might give it another whirl next season but be ready to fall back to PWM for speed controllers that don't need all the fancy features.
__________________
2016 PNW Championship Chairman's; 2016 Winner Oregon City District, 2015 PNW Championship Chairman's; 2015 PNW District Engineering Inspiration; 2015 PNW District Finalist; 2014 PNW Championship Chairman's; 2014 Championship Innovation in Controls; 2013 Chairman's (Oregon); 2013 Finalist (OKC); 2012 Winner (OKC); 2012 Chairman's (OKC); 2012 Woody Flowers (Oregon); 2011 Volunteer of the Year (Oregon); 2011 Finalist & Captain (San Diego); 2011 Innovation in Control (San Diego); 2010 & 2007 Chairman's (Oregon); 2010 Regional Champions (Colorado); 2010 Innovation in Control (Colorado); 2009 & 2008 Engineering Inspiration (Oregon); 2008 Regional Champions (Oregon); 2007 Regional Finalist (Oregon); 2005 Rookie Inspiration (PNW)
  #8   Spotlight this post!  
Unread 10-05-2010, 21:39
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Using a star configuation for Jaguars on CAN

Quote:
Originally Posted by Dale View Post
In our case we needed to use CAN for current and voltage sensing throughout our robot. For example, our front ball magnet would capture a ball and then stall by design with the current held at a constant value so as not to smoke the motor. It could also sense if it had a ball by looking at the voltage being delivered to the motors.

Our kicker would vary it's kicking power by monitoring the current going to the winch as it's being cocked.
Interesting uses for the current sensors. We used a broken-beam sensor and pulsed the roller, although we didn't have any problems with heating (with a FP). It would spin so much that the ball would begin climbing up the front of the machine and get carrying penalties, so we pulsed the roller to keep torque on it while not continuously forcing it. If we back up, the roller runs full.

We used a potentiometer for our kicker. The kicker motor is actually on a Spike, and Spikes don't have current sensors. We had no jaguars at all (all Victors and Spikes), so CAN wasn't a question we asked. (the answer would have been NO unless we needed the current sensors).
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #9   Spotlight this post!  
Unread 10-05-2010, 23:38
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Using a star configuation for Jaguars on CAN

Quote:
Originally Posted by apalrd View Post
(the answer would have been NO unless we needed the current sensors).
The current sensors have a way of making themselves useful.

The original design (in software) of our kicker only used an encoder and a reed switch.
This software was buggy, sometimes it would not know when to return and continue applying power after it reached the hard stop. (I blame the encoder... )

Needing a quick fix, the current sensing feature of the kicking jag was used to terminate the kick if it was stalled (meaning it either reached the hard stop, or got stuck on something else ) .

This fix worked well enough that no more modifications were needed for the rest of the season.

And like Dale, our magnet uses the current to detect a ball.
(This is used mostly for auto)
It stops it if the ball gets too far in, but isn't needed as much to prevent blowing the motor. (Its a CIM)

The use of current sensing was an after thought, but because we had the capability, it was very useful.
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
Closed Thread


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
CAN with more than 2 Jaguars KillerGardevoir CAN 9 03-04-2010 01:20
BDC-Comm Problems when setting jaguars up for CAN LeelandS Programming 12 02-02-2010 16:00
Serial to CAN Gateway in new Black Jaguars? dmcguire3006 Electrical 54 26-01-2010 07:32
New Jaguars on CAN bus ellisk C/C++ 4 21-01-2010 09:53
Robot seems to be Disabled when using Jaguars Thxe C/C++ 2 11-02-2009 22:01


All times are GMT -5. The time now is 12:04.

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