Go to Post There are few times I sleep so soundly as I do after an FRC build season and regional. - JamesCH95 [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 28-02-2012, 23:27
ablahblah ablahblah is offline
The Blaghh!
AKA: Alex
FRC #4404 (The Nuts 'N Colts)
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2009
Location: USA
Posts: 27
ablahblah is an unknown quantity at this point
Question on Jaguar Coasting Specifics

I just thought of an interesting way we can spice up our drive system, but I'm not completely sure of how coasting works in Jaguars. Does the Jaguar allow the motor to rotate at a speed higher than the input voltage would cause at ALL times, or does the Jaguar still lock down rotational speed when power is applied? More specifically, if I'm giving a Jaguar an input of 0 (domain is -1.0 to 1.0), does the Jaguar allow the wheel to spin freely?

The reason why I'm concerned with this is because we're running an omnidrive this year. It works fine now without coasting, but I'm wondering if we have coasting on, can we run around the field without an adverse effect to our pushing resistance?

On another note, is there a way to engage coasting on the fly? As in, there's a three-pin connector that controls it, so is there any way to hook up a connector that by default jumps one pin to ground, but when it receives voltage (through a relay I guess) it jumps the other pin? I have a manual switch like that for my computer to reset CMOS when I'm trying some overclocks, heh, just don't know if there's something out there that can actuate via the sidecar or maybe the cRIO breakouts.

Last edited by ablahblah : 28-02-2012 at 23:47.
  #2   Spotlight this post!  
Unread 29-02-2012, 00:22
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Question on Jaguar Coasting Specifics

Quote:
Originally Posted by ablahblah View Post
On another note, is there a way to engage coasting on the fly?
datasheet
Attached Thumbnails
Click image for larger version

Name:	coast_brake.jpg
Views:	138
Size:	65.2 KB
ID:	12159  
  #3   Spotlight this post!  
Unread 29-02-2012, 00:32
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Question on Jaguar Coasting Specifics

Quote:
Originally Posted by ablahblah View Post
I just thought of an interesting way we can spice up our drive system, but I'm not completely sure of how coasting works in Jaguars. Does the Jaguar allow the motor to rotate at a speed higher than the input voltage would cause at ALL times, or does the Jaguar still lock down rotational speed when power is applied? More specifically, if I'm giving a Jaguar an input of 0 (domain is -1.0 to 1.0), does the Jaguar allow the wheel to spin freely?
Your first question isn't very clear, but the answer to the second is a resounding yes.

The distinction between coast and brake lies in the switching of the H-bridge when signal is neutral; there is no effect when power is being applied to the motor. When the speed controller is set to coast, there is no connection between the motor terminals, which means that the only force reducing the motor's momentum is friction. When the speed controller is set to brake, it shorts across the motor terminals, turning the motor into a generator that powers the motor against itself; that is, the power generated by a motor turning in one direction will make it turn in the other direction. The brake setting makes use of this power to "brake" the motor.

Quote:
Originally Posted by ablahblah View Post
The reason why I'm concerned with this is because we're running an omnidrive this year. It works fine now without coasting, but I'm wondering if we have coasting on, can we run around the field without an adverse effect to our pushing resistance?
Coasting just means you'll have less control when decelerating. Omniwheels inherently have a low CoF compared to most other drivetrains, so any pushing resistance you'll have is negligible.

Quote:
Originally Posted by ablahblah View Post
On another note, is there a way to engage coasting on the fly? As in, there's a three-pin connector that controls it, so is there any way to hook up a connector that by default jumps one pin to ground, but when it receives voltage (through a relay I guess) it jumps the other pin? I have a manual switch like that for my computer to reset CMOS when I'm trying some overclocks, heh, just don't know if there's something out there that can actuate via the sidecar or maybe the cRIO breakouts.
This has been confirmed to be legal by the GDC:

Quote:
Q. On the victor and jaguar speed controls can we dynamically during game play change the brake/coast setting by use of a logic/mechanical switch controlled by the drivers?
A. There are no Rules prohibiting this.
That being said, there are many ways you could do this. One is through the use of one of the KoP provided limit switches. You just need an SPDT switch of some sort, where the common is tied to the center pin, and the switch to the coast/brake pins.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #4   Spotlight this post!  
Unread 29-02-2012, 01:12
ablahblah ablahblah is offline
The Blaghh!
AKA: Alex
FRC #4404 (The Nuts 'N Colts)
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2009
Location: USA
Posts: 27
ablahblah is an unknown quantity at this point
Re: Question on Jaguar Coasting Specifics

So I can definitely find a switch, I'm clueless on how to control it remotely though. I don't have too much experience with electronics (okay, I'll admit it's embarassing to me that I've tinkered with computers but don't own a soldering gun ehh.....), and the only type of switch I'm really aware of are physical toggle switches. I know I can possibly use a spike or maybe the pneumatic breakout to control something by sending power, though I'm not sure what I'm looking for

edit :: would I just be using these? I still have no idea how to hook up those, though.

edit :: ah wait, I think I might now. so there's going to be one pin ID'd as the center pin that I'll connect to the jaguar, and two pins that'll go to the side ones that engage either brake or coast. and there'll be two other pins that engage the electromagnet or some other engagement structure that throws the switch. direct output from a sidecar relay output won't do it though, or a pneumatic breakout either, right?

Last edited by ablahblah : 29-02-2012 at 01:28.
  #5   Spotlight this post!  
Unread 29-02-2012, 06:50
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Question on Jaguar Coasting Specifics

If you are using CAN, you can tell the Jaguar to ignore the jumper and set it to coast or brake on the fly.
  #6   Spotlight this post!  
Unread 29-02-2012, 09:11
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Question on Jaguar Coasting Specifics

Quote:
Originally Posted by Ether View Post
If you are using CAN networking to control the Jag you can send coast/brake commands that override the jumper settings (see "datasheet" link).

Has anyone successfully used DIO to switch the coast/brake? See Table 7 attached.


Attached Thumbnails
Click image for larger version

Name:	DIO.jpg
Views:	66
Size:	46.4 KB
ID:	12163  
  #7   Spotlight this post!  
Unread 29-02-2012, 10:13
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Question on Jaguar Coasting Specifics

Quote:
Originally Posted by Ether View Post
If you are using CAN networking to control the Jag you can send coast/brake commands that override the jumper settings (see "datasheet" link).

Has anyone successfully used DIO to switch the coast/brake? See Table 7 attached.


Sorry, I was replying from a mobile device and didn't open the link.
  #8   Spotlight this post!  
Unread 29-02-2012, 11:07
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,744
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Question on Jaguar Coasting Specifics

For the record, "Coasting" isn't exactly electrically identical to disconnecting the leads of the motor, though it's functionally equivalent under most operating conditions. The FETs that make up the H-bridge have body diodes that make the H-bridge a rectifier when the FETs are unpowered. A rambling explanation follows.

If the robot is turned off, the voltage generated by a turning motor feeds back through these diodes to the Jag's V+/- terminals and can actually power up your robot. Which means there's current flowing through the motor, which means resistance to turning.

If the robot's turned on, there's +12V across the Jag's V+/- terminals. Which means the voltage generated by the motor would have to exceed (12+1.4)V before any current would flow and cause resistance. That's highly unlikely, but theoretically possible. For instance, if you spin a shooter up to full speed then put it in coast, the motor's generating near to 12V. If you then get in a shoving match that drops your battery voltage to 9V, the voltage generated by the shooter motor will be greater than the input voltage on the Jag. The difference in voltage means current will start flowing, slowing the motor more rapidly, and actually powering the rest of your robot slightly.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #9   Spotlight this post!  
Unread 02-03-2012, 16:17
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Question on Jaguar Coasting Specifics

Quote:
Originally Posted by Ether View Post
Has anyone successfully used DIO to switch the coast/brake? See Table 7 attached.


We use this method all the time when we need to control coast/brake. We even used it with the IFI controllers. There is a huge caveat for those who have not chosen this method for drive trains. If you robot has a high COG and you are moving fairly fast, engaging brake mode might cause you to tip over.
One last item, the brake mode only has an effect when moving. While stopped it will not hold you in place. On an arm or other moving robot appendage, it will not hold the device in place. Only true brakes can perform this function.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #10   Spotlight this post!  
Unread 04-03-2012, 21:15
Bendito's Avatar
Bendito Bendito is offline
Registered User
AKA: Benjamin LaRoche
FTC #7837 (The Thunder Colts)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Dorr, MI
Posts: 13
Bendito is an unknown quantity at this point
Re: Question on Jaguar Coasting Specifics

Quote:
Originally Posted by Ether
Has anyone successfully used DIO to switch the coast/brake? See Table 7 attached.

Quote:
Originally Posted by Al Skierkiewicz View Post
We use this method all the time when we need to control coast/brake. We even used it with the IFI controllers.
I am thinking about doing something like this for our drive motors; is it as simple as wiring the digital output to the central signal pin? The jaguar has a 200kohm pull down resistance, according to the table 7 referenced by Ether. Does this work like that? I am not familiar with whether the voltage goes high when opened or closed on that signal pin. (Is it even a current sink?) How would you roughly connect that to the I/O?
  #11   Spotlight this post!  
Unread 04-03-2012, 22:26
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Question on Jaguar Coasting Specifics

Quote:
Originally Posted by Bendito View Post
I am thinking about doing something like this for our drive motors; is it as simple as wiring the digital output to the central signal pin?
It appears to be (but I've never tried it). See pinout. Coast is when the signal is 2 to 5 volts. Brake is when the signal is -0.3 to 1.3 volts. See Table 7.


Attached Thumbnails
Click image for larger version

Name:	brake_coast pinout.png
Views:	31
Size:	13.9 KB
ID:	12197  
  #12   Spotlight this post!  
Unread 05-03-2012, 10:16
Bendito's Avatar
Bendito Bendito is offline
Registered User
AKA: Benjamin LaRoche
FTC #7837 (The Thunder Colts)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Dorr, MI
Posts: 13
Bendito is an unknown quantity at this point
Re: Question on Jaguar Coasting Specifics

Quote:
It appears to be (but I've never tried it). See pinout. Coast is when the signal is 2 to 5 volts. Brake is when the signal is -0.3 to 1.3 volts. See Table 7.
Based on the Digital I/O on the sidecar, and the schematic of what is behind the coast brake pins, would you connect the brake signal pin to the + or the ground on the sidecar? It appears that the signal pin on the Jaguar likes to be grounded (correct me if I'm wrong?). I would think that the + on the digital IO sidecar is the signal that turns on and off (does the ground on the digital side car also behave like this?) If you connected the + on the sidecar and the signal pin, would the net-voltage still be "pulled high or low"
Attached Thumbnails
Click image for larger version

Name:	www.usfirst.orgsitesdefaultfilesuploadedFilesRobotics_ProgramsFRCGame_and_2012-03-05_08-31-31.png
Views:	18
Size:	20.8 KB
ID:	12203  
  #13   Spotlight this post!  
Unread 05-03-2012, 11:56
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Question on Jaguar Coasting Specifics

Quote:
It appears that the signal pin on the Jaguar likes to be grounded (correct me if I'm wrong?).
Pin2 on the Jag coast/brake "likes" to be switched: Lo (-0.3 to +1.3) is brake, Hi (+2 to +5) is coast.

The GPIO signal pin goes to Pin2 on the Jag coast/brake, to switch it from Lo to Hi.

The ground pin at the GPIO goes to Pin3 (ground) on the Jag coast/brake.

That would be my guess. Is that the way your team does it, Al?



Last edited by Ether : 05-03-2012 at 12:07.
  #14   Spotlight this post!  
Unread 05-03-2012, 17:03
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Question on Jaguar Coasting Specifics

Yes that is correct. No power connection is used.
I shy away from the 'ground' reference though. Being an old RF guy, there is no ground on the robot, only power return.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #15   Spotlight this post!  
Unread 05-03-2012, 17:18
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Question on Jaguar Coasting Specifics

Quote:
Originally Posted by Al Skierkiewicz View Post
Yes that is correct. No power connection is used.
I shy away from the 'ground' reference though. Being an old RF guy, there is no ground on the robot, only power return.
Thanks Al.

Old habits die hard. I've been calling this thing "ground" ever since I started designing and building my own tube-based audio equipment in the late 60's.


Attached Thumbnails
Click image for larger version

Name:	brake_coast pinout 'ground'.png
Views:	33
Size:	14.6 KB
ID:	12205  

Last edited by Ether : 05-03-2012 at 17:33.
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


All times are GMT -5. The time now is 19: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