Go to Post Back in MY day, we had full metal to metal contact. Not any of this wussy bumper stuff! - Michael Hill [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 08-04-2014, 01:53
Tyler2517's Avatar
Tyler2517 Tyler2517 is offline
ShortOnes
AKA: Tyler Gibb
FRC #2517 (Evergreen Robotics)
Team Role: Mentor
 
Join Date: Dec 2013
Rookie Year: 2011
Location: Vancouver, WA
Posts: 203
Tyler2517 has a spectacular aura aboutTyler2517 has a spectacular aura aboutTyler2517 has a spectacular aura about
Re: PWMs on the new roboRio issues

We have a swerve drive and don't use any pwm for it.... CAN is something amazing if you use it right.
Reply With Quote
  #2   Spotlight this post!  
Unread 08-04-2014, 02:07
Redo91's Avatar
Redo91 Redo91 is offline
Registered User
AKA: Justin
no team
Team Role: Engineer
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Carlsbad
Posts: 149
Redo91 is a glorious beacon of lightRedo91 is a glorious beacon of lightRedo91 is a glorious beacon of lightRedo91 is a glorious beacon of lightRedo91 is a glorious beacon of lightRedo91 is a glorious beacon of light
Re: PWMs on the new roboRio issues

According to the flyer that can be found here, there will be 20 PWM channels, 10 of them being dedicated. Where did you get the the only 8 number from?

Like Tyler2517 said, there is also the ability to use CAN, and avoid PWM cables all together. That would require CAN capable speed controllers.
__________________
Team 1296-Full Metal Jackets
Alumni 2009
Mentor 2009-2014

Team 624-CRyptonite
Mentor 2014-2015
Reply With Quote
  #3   Spotlight this post!  
Unread 08-04-2014, 02:46
Chief Hedgehog's Avatar
Chief Hedgehog Chief Hedgehog is offline
Mentor
FRC #4607 (C.I.S.)
Team Role: Coach
 
Join Date: May 2013
Rookie Year: 2012
Location: Becker, Minnesota
Posts: 552
Chief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond reputeChief Hedgehog has a reputation beyond repute
Re: PWMs on the new roboRio issues

Newbie here - can you explain 'CAN' please?

Thank You
__________________

"An error does not become a mistake until you refuse to correct it" ~JFK
Reply With Quote
  #4   Spotlight this post!  
Unread 08-04-2014, 03:10
Tyler2517's Avatar
Tyler2517 Tyler2517 is offline
ShortOnes
AKA: Tyler Gibb
FRC #2517 (Evergreen Robotics)
Team Role: Mentor
 
Join Date: Dec 2013
Rookie Year: 2011
Location: Vancouver, WA
Posts: 203
Tyler2517 has a spectacular aura aboutTyler2517 has a spectacular aura aboutTyler2517 has a spectacular aura about
Re: PWMs on the new roboRio issues

Its a way that you can control jagwire motor controllers. They have a port on them that looks much like a phone jack. Using the CAN allows for a few fancy sensors to be built in to the system (closed loop PID). It has a lot of problems and is not the most main stream thing.

- i do not compleatly understand it but that's the best i got....
Reply With Quote
  #5   Spotlight this post!  
Unread 08-04-2014, 03:13
dudefise dudefise is offline
Registered User
FRC #2637 (Panthers)
Team Role: College Student
 
Join Date: Feb 2011
Rookie Year: 2011
Location: CA
Posts: 92
dudefise is an unknown quantity at this point
Re: PWMs on the new roboRio issues

Quote:
Originally Posted by Chief Hedgehog View Post
Newbie here - can you explain 'CAN' please?
CAN is an alternate (and some might say better) system for controlling motors. Rather than being a 1-way, 1-cable-per-controller loop like PWM, its a network setup.

The controllers are daisy chained with CAN cables and the last one is terminated to signify the end of the chain. Each controller is assigned a unique ID, and command and control packets are sent with this ID. Only 1 cable leaves the cRIO or roboRIO for all the CAN controllers.

The advantages are more precise control, wiring can be easier, and it allows you to use more of the on-board sensor inputs and outputs from the Jaguar rather than simply setting it to a PWM percentage. You can choose things like set by voltage, current, RPM (with sensors), etc.

The disadvantage is that you can only use Jaguars rather than Talons or Victors, and it is more difficult to program. There is some debate over if it has a higher rate of problems vs PWM, and can get 'stuck' if a node goes offline.

Reply to this or PM me if you have more questions, I'll do my best to answer them or refer you to someone more knowledgeable.
__________________
2010 VRC 2453B - Team Captain
2011 FRC 2637 - Electrical - Las Vegas Regional Semifinalists with 1726 and 166
2012 FRC 2637 - Electronics Captain - Las Vegas Regional Semifinalists with 1661 and 2984
2013 FRC 2637 - Build Captain - Inland Empire Quarterfinalists with 3925 and 207
2014 FRC 2637 - College Mentor - Central Valley Quarterfinalists with 2085 and 5136 / LA Regional Semifinalists with 696 and 5102
2015 FRC 2637 - Lazy Schmuck - Couch Sitting Quarterfinalist
2016 FRC 2637 - College Mentor - SD Regional Finalist with 1572 and 2443, Excellence in Engineering, Wildcard
Reply With Quote
  #6   Spotlight this post!  
Unread 08-04-2014, 03:18
Woodie Flowers Award
JDNovak JDNovak is offline
Mentor
AKA: John Novak
FRC #0016 (Bomb Squad)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 1996
Location: Mountain Home, AR
Posts: 52
JDNovak has a reputation beyond reputeJDNovak has a reputation beyond reputeJDNovak has a reputation beyond reputeJDNovak has a reputation beyond reputeJDNovak has a reputation beyond reputeJDNovak has a reputation beyond reputeJDNovak has a reputation beyond reputeJDNovak has a reputation beyond reputeJDNovak has a reputation beyond reputeJDNovak has a reputation beyond reputeJDNovak has a reputation beyond repute
Re: PWMs on the new roboRio issues

There are a total of 20 PWMs available. 10 available on board and up to 10 through the expansion port. The 8 limit is probably Analog Inputs. There are 4 on board and 4 through the expansion port.

CAN is a communications protocol that all cars use to communicate betweem control systems. It is also widely used in industrial controls.
The only CAN device currently supported on the CRio is the Jaguar speed controller. The protocol was tacked on to the controller through the serial port or on ethernet through a bridge called the 2CAN.
The RoboRio has hardware CAN support on board and the Pneumatic module and power monitoring subsystems will communicate through it. Jaguars will be supported and hopefully other CAN I/O and speed controllers will emerge.

Last edited by JDNovak : 08-04-2014 at 03:25. Reason: spelling
Reply With Quote
  #7   Spotlight this post!  
Unread 08-04-2014, 03:30
Mr V's Avatar
Mr V Mr V is offline
FIRST Senior Mentor Washington
FRC #5588 (Reign)
Team Role: Coach
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Maple Valley Wa
Posts: 997
Mr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond repute
Re: PWMs on the new roboRio issues

As John mentioned CAN (Controller Area Network) is used by all new cars and is a very reliable communication protocol. The connectors used on the Jaguar are less than super reliable and the original versions of the Jaguar weren't the most reliable but that does not mean that CAN is unreliable. I've heard that the there will be a CAN version of the Talon eventually hopefully soon as it would complement the CAN functions of the RoboRIO.
__________________
All statements made on Chief Delphi by me are my own opinions and are not official FIRST rulings or opinions and should not be construed as such.




https://www.facebook.com/pages/Team-...77508782410839
Reply With Quote
  #8   Spotlight this post!  
Unread 08-04-2014, 03:32
Tyler2517's Avatar
Tyler2517 Tyler2517 is offline
ShortOnes
AKA: Tyler Gibb
FRC #2517 (Evergreen Robotics)
Team Role: Mentor
 
Join Date: Dec 2013
Rookie Year: 2011
Location: Vancouver, WA
Posts: 203
Tyler2517 has a spectacular aura aboutTyler2517 has a spectacular aura aboutTyler2517 has a spectacular aura about
Re: PWMs on the new roboRio issues

I have heard of a new Jag that uses the same tech as the talon( size and weight reduction) along with CAN.
Reply With Quote
  #9   Spotlight this post!  
Unread 09-04-2014, 01:18
Dunngeon Dunngeon is offline
Pumped
AKA: Ryan
FRC #0973 (Greybots)
Team Role: College Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Cal Poly San Luis Obispo
Posts: 299
Dunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond repute
Re: PWMs on the new roboRio issues

I remember reading that Cross the Road Electronics was working on a CAN compatible Talon to be released next year with the roboRio. Let me find the article

Edit:

Found it

http://robobees.org/downloads/DC%20-...esentation.pdf

page 17 says CAN bus Talon confirmed
__________________
(2015-?): 973
(2012-2015): 955
Reply With Quote
  #10   Spotlight this post!  
Unread 09-04-2014, 13:54
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: PWMs on the new roboRio issues

That's what they told me when a few of us were up in NH for testing, anyway.

Also, if you need more than 8 Analog Inputs, some teams have developed Arduinos to communicate over Ethernet or I2C for feedback to the RIO. If you need more inputs, this is a perfectly valid solution. Outputs can be another matter at times.

Our team's record for most motors used was 9 with Rebound Rumble.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
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


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

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