Go to Post Welcome to FIRST, side effects may include...... - spears312 [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
  #16   Spotlight this post!  
Unread 28-01-2016, 13:46
MoistRobot's Avatar
MoistRobot MoistRobot is offline
Registered User
AKA: Jon Charboneau
FRC #0832 (OSCAR)
Team Role: Mentor
 
Join Date: Dec 2013
Rookie Year: 2007
Location: United States
Posts: 45
MoistRobot is a glorious beacon of lightMoistRobot is a glorious beacon of lightMoistRobot is a glorious beacon of lightMoistRobot is a glorious beacon of lightMoistRobot is a glorious beacon of light
Re: Dynamic Brake/Coast Modes?

I know we had dynamic brake/coast in our drive train on the 2012 robot, however I believe we used a spike to control the state on the jaguar jumper pins.
Don't believe it was even questioned during inspection at 2 regionals.
  #17   Spotlight this post!  
Unread 28-01-2016, 14:05
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,106
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: Dynamic Brake/Coast Modes?

Quote:
Originally Posted by MoistRobot View Post
I know we had dynamic brake/coast in our drive train on the 2012 robot, however I believe we used a spike to control the state on the jaguar jumper pins.
Don't believe it was even questioned during inspection at 2 regionals.
It had been assumed to be legal, including I'm pretty sure Al had used it and suggested it in the past. But if they found a hardware issue where high current could end up running though a legally allowed to be 28 AWG wire, it's absolutely the right call to make it illegal. Thats a good way to start a fire really easily.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
  #18   Spotlight this post!  
Unread 28-01-2016, 17:39
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,691
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Dynamic Brake/Coast Modes?

As promised previously, here's the Q&A so that when someone reads this in 2020 they can see the content:
Quote:
Originally Posted by Q646
  • Q. In this post: http://www.chiefdelphi.com/forums/sh...81&postcount=3 and following, it is suggested that the brake/coast pin of a PWM-controlled motor controller may be wired to a control signal from the RoboRIO's DIO port. I read this as a violation of R68, and as a modification beyond the wording of R66, especially bullet I. Others there see it as legal. Is this practice permitted? If allowed, I suggest providing clarification in the rules as to how to wire this safely.
  • A. You are correct, this practice is a violation of R68. We acknowledge that this has been a common practice, and we will review this with Inspectors.
As for a simple way to do this safely (but not currently legally), an optoisolator could be used to act as a virtual jumper. Assuming the outputs of the isolator can handle the current that passes through the jumpers, this should only need a ballast resistor for the LEDs to be enough. If more current is needed, a few transistors and resistors would be necessary to supplement. One could even do the double isolation and use a totally COTS relay module. Repeat: this would be safe, but not (currently) FRC legal.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 28-01-2016 at 17:42.
  #19   Spotlight this post!  
Unread 28-01-2016, 18:23
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: Dynamic Brake/Coast Modes?

Quote:
Originally Posted by GeeTwo View Post
Assuming the outputs of the isolator can handle the current that passes through the jumpers, this should only need a ballast resistor for the LEDs to be enough.
Virtually no current passes through the brake/coast jumper.

On the Jaguar (I cann't speak for the design of others, but I can for Jag) the current involved is that in charging the MCU's GPIO input. The GPIO input uses an internal (to the MCU) pull up which is on the order of 50 kohms. The isolator would only have to pull the input below VIL.

Note that this opto isolator, like the one on Jaguar's PWM input, is inverting.
  #20   Spotlight this post!  
Unread 28-01-2016, 21:20
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,691
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Dynamic Brake/Coast Modes?

Quote:
Originally Posted by s1900ahon View Post
Virtually no current passes through the brake/coast jumper.

On the Jaguar (I cann't speak for the design of others, but I can for Jag) the current involved is that in charging the MCU's GPIO input. The GPIO input uses an internal (to the MCU) pull up which is on the order of 50 kohms. The isolator would only have to pull the input below VIL.

Note that this opto isolator, like the one on Jaguar's PWM input, is inverting.
If there is virtually no current, couldn't you just move the resistor and output tap to the ground (emitter) side and re-invert passively?

In any case, I was thinking of using the phototransistor side directly as a switch between the center pin and the brake/coast pins. To do this, you would only need to know whether the jumper pulled the B/C pins up or down.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #21   Spotlight this post!  
Unread 29-01-2016, 07:27
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: Dynamic Brake/Coast Modes?

I have received reports from independent testing that jumper current is well under 10 ma in all controllers but it does vary from manufacturer to manufacturer.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #22   Spotlight this post!  
Unread 29-01-2016, 08:04
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,691
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Dynamic Brake/Coast Modes?

Quote:
Originally Posted by Al Skierkiewicz View Post
I have received reports from independent testing that jumper current is well under 10 ma in all controllers but it does vary from manufacturer to manufacturer.
Thanks, Al. I'll file this one away as a post-season control project.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #23   Spotlight this post!  
Unread 29-01-2016, 23:55
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 537
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Dynamic Brake/Coast Modes?

Quote:
Originally Posted by seg9585 View Post
...I have not used CAN control on the Talons before, so I wasn't sure if the Talons could be programmed with this functionality...
As mentioned by GeeTwo, CAN Talon SRX supports this and is in the Talon SRX Software Reference Manual.
Quick example here also...
https://github.com/CrossTheRoadElec/...bot/Robot.java
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:34.

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