Go to Post Yes, blame Gary. For everything. - MissInformation [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 17-01-2010, 21:17
Shinigami2057 Shinigami2057 is offline
Slackware Is Your New God (Mentor)
AKA: Harry Bock
FRC #1350 (Rambots)
Team Role: Programmer
 
Join Date: Oct 2006
Rookie Year: 2006
Location: Johnston, RI
Posts: 106
Shinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really niceShinigami2057 is just really nice
R63 and mixed CAN-PWM designs

1350 has some questions pertaining to CAN operation and R63:

Code:
<R63> Each Jaguar speed controller must be controlled with signal inputs
sourced from the cRIO- FRC and passed via either a connected PWM cable
or a CAN-bus connection.
A. The Jaguar must receive signals via either a PWM cable -OR- a
CAN-bus connection. Both cannot be used simultaneously.

C. CAN-bus configuration: If the Jaguar speed controller is controlled via
CAN-bus communications, then each Jaguar speed controller must be
connected to either the cRIO-FRC or another CAN-bus device with a
CAN-bus cable.
I may be reading too far into this, but the wording is a bit confusing here. Are we allowed to use a mixed CAN-PWM design, where some of the Jaguars are controlled via PWM, with a specific subsystem controlled via CAN bus?

Code:
B. PWM configuration: If the Jaguar speed controller is controlled via
PWM communications, the PWM port on the Jaguar speed controller must
be connected directly to a PWM port on the Digital Sidecar with a PWM
cable. No other devices may be connected to these PWM ports. No other
devices may be connected to any other ports on the Jaguar speed controller.
Does this imply that using the limit switch inputs is not allowed when using PWM control? I understand why the closed-loop position control must be used with CAN, but not the limit switch control.
__________________
One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
  #2   Spotlight this post!  
Unread 17-01-2010, 21:24
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: R63 and mixed CAN-PWM designs

Quote:
Originally Posted by Shinigami2057 View Post
1350 has some questions pertaining to CAN operation and R63:

I may be reading too far into this, but the wording is a bit confusing here. Are we allowed to use a mixed CAN-PWM design, where some of the Jaguars are controlled via PWM, with a specific subsystem controlled via CAN bus?
It says each Jaguar, meaning you treat each one individually. You can have one jaguar controlled by PWM and one jaguar controlled by CAN. You can't have the same Jaguar controlled with both.

Quote:
Originally Posted by Shinigami2057 View Post
Code:
B. PWM configuration: If the Jaguar speed controller is controlled via
PWM communications, the PWM port on the Jaguar speed controller must
be connected directly to a PWM port on the Digital Sidecar with a PWM
cable. No other devices may be connected to these PWM ports. No other
devices may be connected to any other ports on the Jaguar speed controller.
Does this imply that using the limit switch inputs is not allowed when using PWM control? I understand why the closed-loop position control must be used with CAN, but not the limit switch control.
That's the way I read it. If your team would like to use the limit switches with PSM, your team should ask if that is what is intended in the official Q/A.
  #3   Spotlight this post!  
Unread 18-01-2010, 10:51
s1900ahon s1900ahon is offline
Registered User
AKA: Scott McMahon
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 156
s1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant future
Re: R63 and mixed CAN-PWM designs

Quote:
Originally Posted by Shinigami2057 View Post
I understand why the closed-loop position control must be used with CAN, but not the limit switch control.
I believe the reason for this rule is that the robot control code running on cRIO must know (or be capable of knowing) the state of the motor controller. Your control code can read the state of the limit switches over CAN, but if using PWM there is no way to know that the limit switch was pressed and the Jaguar output disabled.
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
PWM cables... Where can i buy them??? M. Gildner Electrical 10 11-02-2009 12:31
Can one PWM control 2 Victors for Tandem Motors ericsundbergva Control System 1 18-02-2008 04:55
A new era for FIRST.....and mixed feelings skrussel General Forum 35 05-05-2004 23:14
Can we shorten the PWM cables? RAWdealer59 Electrical 3 18-02-2003 15:49


All times are GMT -5. The time now is 21:00.

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