Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FRC Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=176)
-   -   Increase Victor and Jaguar pulse resolution (http://www.chiefdelphi.com/forums/showthread.php?t=72971)

Bryscus 26-01-2009 15:05

Increase Victor and Jaguar pulse resolution
 
I'm not sure who to target with this question, but I was wondering if the DIO module is capable being upgraded to a higher sampling frequency next near. I noticed that this year it has a sampling rate of 153kHz (which seems to be just perfect for 8bit resolution control for the Vics, Jags, and whatever other PWM devices one might use). Is there any talk of increasing the sampling frequency, or is the FPGA stuck with hardware limitations? Thanks.

Jared Russell 26-01-2009 15:19

Re: Increase Victor and Jaguar pulse resolution
 
For the Victors at least, there is no benefit in going to a higher pulse resolution. There are discrete digital steps used to control the output - the resolution of these are unchangeable.

For more information, see: http://www.ifirobotics.com/forum/vie...e12fb2 3c60f8

I can't speak about the Jaguar, though.

Kevin Sevcik 26-01-2009 15:49

Re: Increase Victor and Jaguar pulse resolution
 
The diligent coders at NI willing, the Jaguars won't even need PWM control next year, because we'll be using the CAN interface on them. And they'll be doing closed-loop position, velocity, and current control. With integral encoder and limit switches that you'll be able to get feedback from through the CAN bus. Assuming, of course, that the gods of the GDC and FIRST don't step in after kickoff with rules against using the CAN bus.....

Ahem. Anyways, the FPGA itself can support base clock rates up to 40 MHz, but actual loop rates depend on the code you're implementing. So only the NI gurus with the secret password know how much faster they could bump the loop rates.

Bryscus 26-01-2009 15:50

Re: Increase Victor and Jaguar pulse resolution
 
Very interesting. Does anyone know if the Jaguar has discete steps as well?

Bryscus 26-01-2009 15:54

Re: Increase Victor and Jaguar pulse resolution
 
Ok. Does the cRio even have a CAN interface? Or will it be part of another module? The only other interface I remember seeing is an I2C connection.

Jared Russell 26-01-2009 16:52

Re: Increase Victor and Jaguar pulse resolution
 
Since CAN is just a network protocol, I see no reason why the cRIO FPGA couldn't be configured to support CAN through either the ethernet or serial ports.

Kevin Sevcik 26-01-2009 17:20

Re: Increase Victor and Jaguar pulse resolution
 
NI has two CAN modules available. I would assume that's what we would be given if FIRST decides to make the advanced abilities of the Jaguar open to us.

EricVanWyk 26-01-2009 17:39

Re: Increase Victor and Jaguar pulse resolution
 
Quote:

Originally Posted by Abwehr (Post 808396)
Since CAN is just a network protocol, I see no reason why the cRIO FPGA couldn't be configured to support CAN through either the ethernet or serial ports.

Your first statement is technically true, your second statement is not.

CAN in and of itself does not define the physical layer. However, it does define that the physical layer must have one dominant and one recessive state. Neither the serial port nor the ethernet port have this feature.

Additionally, "CAN" almost always implies a physical layer specified in ISO 11898-2. It is very possible to use other physical layers, but in conversation you would need to specifically mention you are doing something unusual.

In short, new hardware is required.

Jared Russell 26-01-2009 20:20

Re: Increase Victor and Jaguar pulse resolution
 
Quote:

Originally Posted by EricVanWyk (Post 808421)
Your first statement is technically true, your second statement is not.

CAN in and of itself does not define the physical layer. However, it does define that the physical layer must have one dominant and one recessive state. Neither the serial port nor the ethernet port have this feature.

Additionally, "CAN" almost always implies a physical layer specified in ISO 11898-2. It is very possible to use other physical layers, but in conversation you would need to specifically mention you are doing something unusual.

In short, new hardware is required.

Gotcha. Thanks for the clarification!


All times are GMT -5. The time now is 22:56.

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