Go to Post I had a few jokes about the illness and germs at some of the competitions, but I don't want to spread them around. - tsaksa [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 26-03-2014, 15:49
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
regulated power for potentiometer


Apologies if this question has already been discussed in detail in another thread. A quick search returned no helpful results.

What is(are) the recommended way(s) to power a potentiometer so that the signal is less affected by battery voltage change?

Would it be helpful (and legal) to tap into the power going to the radio?

Or perhaps do A/D on both the signal and the power to the pot, and use the ratio?


  #2   Spotlight this post!  
Unread 26-03-2014, 15:54
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,089
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: regulated power for potentiometer

I believe the converter on the Analog Breakout is pretty good at handling low battery voltages. My experience with it is limited, so YMMV.

It's definitely not legal to connect anything to the radio power slot but the radio/radio converter.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #3   Spotlight this post!  
Unread 26-03-2014, 15:57
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,835
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: regulated power for potentiometer

That's a good question. I know our code last year used "getAverageValue()" and seemed to be very consistent - our arm (controlled with 3 pots - shoulder and elbow using 270 degree pots, and winch using a 10-turn pot) didn't seem to be affected by power, at least not until the power got so low the motor on the winch couldn't get the robot all the way up. In our build space testing, we saw no visible difference in how the arm operated when going from a dead battery like that to a fresh, fully charged one.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #4   Spotlight this post!  
Unread 26-03-2014, 15:59
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: regulated power for potentiometer

It's very easy to add a jumper to the analog board and read in the supply voltage. Since it's a 0.1" pin header, you can just use a standard 0.1" jumper between the center (5v) and signal pins.

That's probably the easiest way to do it.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #5   Spotlight this post!  
Unread 26-03-2014, 16:02
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,599
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: regulated power for potentiometer

The Analog Breakout has an LDO 5v linear regulator, good to about 5.6 volts. Do you know a team who is getting that low consistently?
  #6   Spotlight this post!  
Unread 26-03-2014, 16:04
excel2474's Avatar
excel2474 excel2474 is offline
Registered User
AKA: Aaron Stewart
FRC #2474 (Excel)
Team Role: Engineer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Niles, Michigan
Posts: 177
excel2474 is a jewel in the roughexcel2474 is a jewel in the roughexcel2474 is a jewel in the roughexcel2474 is a jewel in the rough
Re: regulated power for potentiometer

Quote:
Originally Posted by Joe Ross View Post
The Analog Breakout has an LDO 5v linear regulator, good to about 5.6 volts. Do you know a team who is getting that low consistently?
Us. At least this appears to be the problem.

-Aaron
__________________
"Find some thing you like to do and EXCEL at it with dilligence."

University of Notre Dame- Mechanical Engineering.
  #7   Spotlight this post!  
Unread 26-03-2014, 16:09
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,089
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: regulated power for potentiometer

Quote:
Originally Posted by excel2474 View Post
Us. At least this appears to be the problem.

-Aaron
Do your driver station logs show you getting that low in a match?
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #8   Spotlight this post!  
Unread 26-03-2014, 16:13
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: regulated power for potentiometer

Quote:
Originally Posted by cgmv123 View Post
It's definitely not legal to connect anything to the radio power slot but the radio/radio converter.
I wasn't suggesting connecting anything other than the 12-to-5 converter to the PDB regulated 12v.


  #9   Spotlight this post!  
Unread 26-03-2014, 16:16
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,089
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: regulated power for potentiometer

Quote:
Originally Posted by Ether View Post
I wasn't suggesting connecting anything other than the 12-to-5 converter to the PDB regulated 12v.
You also aren't allowed to power anything but the wireless bridge from the regulated 12v slot. [R43]
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #10   Spotlight this post!  
Unread 26-03-2014, 16:21
excel2474's Avatar
excel2474 excel2474 is offline
Registered User
AKA: Aaron Stewart
FRC #2474 (Excel)
Team Role: Engineer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Niles, Michigan
Posts: 177
excel2474 is a jewel in the roughexcel2474 is a jewel in the roughexcel2474 is a jewel in the roughexcel2474 is a jewel in the rough
Re: regulated power for potentiometer

Quote:
Originally Posted by cgmv123 View Post
Do your driver station logs show you getting that low in a match?
Toward the end of some matches, yes.
__________________
"Find some thing you like to do and EXCEL at it with dilligence."

University of Notre Dame- Mechanical Engineering.
  #11   Spotlight this post!  
Unread 26-03-2014, 16:52
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,599
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: regulated power for potentiometer

If you're having trouble with the Analog Breakout, the Digital Sidecar isn't far behind, with much worse symptoms. It might be helpful to make a new thread about how you're killing batteries over the course of a match, and describe your robot and power systems so that people can provide suggestions on how to reduce power draw.

The dropout of Analog Breakout regulator decreases as the load decreases. You may be able to reduce the number or size of loads to gain a little more margin. See attached chart from the MIC5209 datasheet.

I agree with Max that you can't tap into the radio power supply in any way.

One option, without adding an external boost converter, is to use power a Solenoid breakout with cRIO 24v (allowed per R42). Turn on a Solenoid Output (allowed per R51), and then use a voltage divider to bring it down to 10v (The NI analog module is +/-10v). This has the disadvantage that you can't read the pot during disabled mode. You're also switching from a linear regulator to a switching regulator.
Attached Thumbnails
Click image for larger version

Name:	Mic5209Dropout.png
Views:	33
Size:	16.2 KB
ID:	16676  

Last edited by Joe Ross : 26-03-2014 at 17:11.
  #12   Spotlight this post!  
Unread 26-03-2014, 17:01
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: regulated power for potentiometer

Could you wire the positive terminal of the potentiometer to the 5v port on the PDB? I'm not sure how low of a battery voltage it takes to brown that port out, but I don't see anything against it in the rules.
__________________
I'm right 90% of the time, so why worry about the other 3%?
  #13   Spotlight this post!  
Unread 26-03-2014, 17:09
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: regulated power for potentiometer

Can't you use the voltage regulator for the camera? I think that is legal
  #14   Spotlight this post!  
Unread 26-03-2014, 17:23
Stephen.Yanczura's Avatar
Stephen.Yanczura Stephen.Yanczura is offline
opportunist
FRC #0195 (Cyberknights)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Southington, CT
Posts: 80
Stephen.Yanczura is a name known to allStephen.Yanczura is a name known to allStephen.Yanczura is a name known to allStephen.Yanczura is a name known to allStephen.Yanczura is a name known to allStephen.Yanczura is a name known to all
Re: regulated power for potentiometer

I'm shocked that you're having this problem and we have not run into this. My team has a penchant for using a TON of motors (13-15) and at least 3-5 pots each year and we haven’t run into this. Plus our driver drives like a bandit and we have our 6 CIM drive geared to the moon this year so I know we're sucking some serious juice out of the battery. We do buy ten brand new batteries every year and use a freshly charged battery every match which helps us.

Any major mechanical inefficiencies in the system?

Are all your crimps and terminals good? Anything getting super warm?

Have you tried swapping the analog breakout?
__________________
stephenyanczura
team 0195 | 2010-Pres. | cyberknights | Conn. | mentor
team 0195 | 2006-2007 | cyberknights | Conn. | mentor
team 1660 | 2005-2006 | harlemknights | NYC | mentor
team 0195 | 2001-2005 | cyberknights | Conn. | student



s.j.yanczura@gmail.com
  #15   Spotlight this post!  
Unread 26-03-2014, 17: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: regulated power for potentiometer

Quote:
Originally Posted by excel2474 View Post
Toward the end of some matches, yes.
It may just be old batteries.

Aaron, when's the last time you guys capacity-tested your batteries?


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:16.

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