|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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
|
||||
|
||||
|
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. |
|
#3
|
|||||
|
|||||
|
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. |
|
#4
|
||||
|
||||
|
Re: regulated power for potentiometer
Quote:
|
|
#5
|
||||
|
||||
|
Re: regulated power for potentiometer
You also aren't allowed to power anything but the wireless bridge from the regulated 12v slot. [R43]
|
|
#6
|
||||
|
||||
|
Re: regulated power for potentiometer
Quote:
It's more like a reference voltage. Oh, well. |
|
#7
|
||||
|
||||
|
Re: regulated power for potentiometer
Quote:
![]() |
|
#8
|
||||
|
||||
|
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.
|
|
#9
|
||||||
|
||||||
|
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?
|
|
#10
|
||||
|
||||
|
Re: regulated power for potentiometer
Quote:
-Aaron |
|
#11
|
||||
|
||||
|
Re: regulated power for potentiometer
Do your driver station logs show you getting that low in a match?
|
|
#12
|
||||
|
||||
|
Re: regulated power for potentiometer
Toward the end of some matches, yes.
|
|
#13
|
||||||
|
||||||
|
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. Last edited by Joe Ross : 26-03-2014 at 17:11. |
|
#14
|
||||
|
||||
|
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.
|
|
#15
|
||||
|
||||
|
Re: regulated power for potentiometer
Can't you use the voltage regulator for the camera? I think that is legal
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|