|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: PWMs on the new roboRio issues
|
|
#2
|
||||
|
||||
|
Re: PWMs on the new roboRio issues
Newbie here - can you explain 'CAN' please?
Thank You |
|
#3
|
||||
|
||||
|
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.... |
|
#4
|
|||
|
|||
|
Re: PWMs on the new roboRio issues
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. |
|
#5
|
||||
|
||||
|
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 |
|
#6
|
||||
|
||||
|
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.
|
|
#7
|
||||
|
||||
|
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.
|
|
#8
|
|||
|
|||
|
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 |
|
#9
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|