Go to Post You can be legal and be graciously professional, but still be dumb. - dlavery [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 04-01-2010, 18:20
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
CAN control weirdness

I was looking at the Jaguar CAN documentation, and I noticed a couple of things about the CAN setup:
  1. The documentation talks about a "voltage control mode", where the voltage is varied according to the CAN command. Does this mean that the Jaguar in this mode is just sending an analog voltage instead of a PWM wave?
  2. As I understand it, CAN will be run by daisy-chaining Jaguars together, with an additional safety verification provided in the form of a "heartbeat" PWM from the digital sidecar. However, if a point on the daisy chain fails, will the "downstream" Jaguars continue executing the last recieved command?(since there are no further commands coming through the CANbus and the heartbeat is telling it that everything is fine). Or is there some sort of additional safety system that will detect the loss of connection and shut down?
__________________
Get yer robot source code here!
  #2   Spotlight this post!  
Unread 04-01-2010, 18:39
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: CAN control weirdness

Quote:
Originally Posted by nathanww View Post
The documentation talks about a "voltage control mode", where the voltage is varied according to the CAN command. Does this mean that the Jaguar in this mode is just sending an analog voltage instead of a PWM wave?
No, it is still a duty cycle modulated wave form. The difference is that it will compensate to ensure a fixed voltage across the motor. Without this feature, drive strength is dependant on battery voltage and load. With voltage mode, some of this variability is compensated for by dynamically changing the duty cycle.

It is not capable of creating an analog voltage.

Quote:
Originally Posted by nathanww View Post
As I understand it, CAN will be run by daisy-chaining Jaguars together, with an additional safety verification provided in the form of a "heartbeat" PWM from the digital sidecar. However, if a point on the daisy chain fails, will the "downstream" Jaguars continue executing the last recieved command?(since there are no further commands coming through the CANbus and the heartbeat is telling it that everything is fine). Or is there some sort of additional safety system that will detect the loss of connection and shut down?
Without going into too much detail, this is not a problem. A Jaguar that is not receiving fresh CAN messages will shut down, even if the PWM heartbeat tells it to continue.
  #3   Spotlight this post!  
Unread 04-01-2010, 19:46
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,988
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: CAN control weirdness

Quote:
Originally Posted by EricVanWyk View Post
It is not capable of creating an analog voltage.
[Nitpick]
I know what you mean, and you are correct in that respect BUT: the world really is analog, and all voltages are also analog, particularly voltages going to a motor.

[/Nitpick]

(Spoken by a true Analog EE)
__________________

I am N2IRZ - What's your callsign?
  #4   Spotlight this post!  
Unread 04-01-2010, 20:50
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: CAN control weirdness

Quote:
Originally Posted by Don Rotolo View Post
[Nitpick]
I know what you mean, and you are correct in that respect BUT: the world really is analog, and all voltages are also analog, particularly voltages going to a motor.

[/Nitpick]

(Spoken by a true Analog EE)
Sorry Don. I actually had the "aww, thats not right but they'll know what I mean" thought train go through my head, but I was already off eating dinner. Please forgive me.
  #5   Spotlight this post!  
Unread 04-01-2010, 21:13
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,988
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: CAN control weirdness

Even I admit it was nit-picking.

Off topic: Back when I was in college, Digital Electronics was "The Thing" to study. How hard could it be, one and zero? I chose Analog design, using the logic* that the world was built in Analog and so I'd never be out of work. It turned out that way, too. So, I defend Analog whenever I get the chance. Just a hobby of mine ...

Eric, just in case you didn't know, it's really a pleasure having someone so knowledgeable here in this forum, thanks for sharing your expertise with us.

Don


*No, not digital logic!
__________________

I am N2IRZ - What's your callsign?
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 we control the amount of air to control the speed of the cylinder? Team2339 Pneumatics 22 11-02-2009 15:33
Can I control a victor/jaguar with an RC receiver Bruceb Electrical 3 30-12-2008 10:50
Where can I find motor control in Camera.c? sjung9442 Programming 3 31-01-2006 15:49
Autonomous weirdness in user_routines_fast.c Roland Programming 6 30-03-2004 11:36
Can We Use A N64 Controller To Control The Robot pobots Electrical 25 18-04-2003 12:48


All times are GMT -5. The time now is 13:48.

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