Digital Potentiometer Control Question
Mike 12816
Posts: 4
We are attempting to use an AD5220 digital potentiometer programmed by a Basic Stamp to control a curtis 1505 speed control board for an electric vehicle project.· The AD5220 has been wired and programmed using the code from Parallax and works find.· The speed control board requires a 5K pot to vary the speed output and works fine with a hard wired pot.
To eliminate the moveable parts, we tied the grounds from the Basic Stamp board (SumoBot) and the speed control board together and then connected the terminal outputs (A1 and B1) and the wiper (W1) to the terminals on the speed control board.· We only get a constant 2.5 vdc from the terminals that the moter would be connected to and the voltage does not vary.· The voltage on the hardwired pot varies from 0-3vdc.
Attached are the two schematics for the speed control board and the chip.· Does anyone have any ideas on how to eliminate the hardwired potentiometer.
Thanks,
Mike White
To eliminate the moveable parts, we tied the grounds from the Basic Stamp board (SumoBot) and the speed control board together and then connected the terminal outputs (A1 and B1) and the wiper (W1) to the terminals on the speed control board.· We only get a constant 2.5 vdc from the terminals that the moter would be connected to and the voltage does not vary.· The voltage on the hardwired pot varies from 0-3vdc.
Attached are the two schematics for the speed control board and the chip.· Does anyone have any ideas on how to eliminate the hardwired potentiometer.
Thanks,
Mike White
pdf
266K
Comments
One issue is that the pot chip supply voltage sets the limit as to the voltage on A, B, W.
Secondly, the current capability is quite low ( 20mA) so your drive may need a bit more.
Two possible solutions have been used in the past. The first is to use a servo motor to adjust the existing mechanical pot.
You might also be able to replace the pot with two light-dependent-resistors and adjust their value by shining a variable intensity light on them.
Cheers,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·
We already tried using a 360 sail winch servo, but had problems with that and wanted to elimate the brackets and couplings.
So, if anyone else has any ideas that would be greatly appreciated. Otherwise we will go back to the servo.
Thanks again,
Mike
I'd braid the leads between the digi-pot and curtis unit (if > 6 inches away.)
Thanks for the help - I'm still open to more ideas.
Onion, onion, onion; peel, peel, peel.
78Ω / step = 10K "pot".· It's supposed to have a 5K, though.· Maybe a 10K will "work" and·maybe it won't "work".· Tried using a 10K pot instead, just for grins and giggles?
Maybe the 10K digital pot is causing the problem?
Rich H
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The Simple Servo Tester, a kit from Gadget Gangster.
My AD 5290 samples arrived yesterday so I haven't got anything rigged up yet. I guess I need to do some tests with fixed resistors and the scope to see for sure if the potential at the A,B, and/or W terminals ever reaches 24V (or if the Curtis has a lower "control circuitry" voltage). There sure isn't a lot of info out there for these old boards.
Here's my test jig at the moment:
The 5290 data sheet is here:
http://www.analog.com/en/digital-to-analog-converters/digital-potentiometers/ad5290/products/product.html
Here's a pic of the project at this (very early) stage:
Oh ya.. Hi Parallax forum.. this looks like a cool site.. hope to be a valuable member
Any word on how the AD5290 worked out? I have a similar problem needing a 5k 24v digital pot, so I'd really like to know what happened here.
It may be that the pot is not expected to be subject to voltages like 24V. It may be used in a low-voltage circuit where everything is 5V or less. That could work nicely with an ordinary digital pot powered by 5V. You need to get more information on your circuit.
Forget the Pot as it is the control being replaced.
· 1: Measure the voltage from pin6 (High) to pin 4 (Low)
If it is 24 volts· or maybe a bit less then most likely it is a voltage divider generating a reference voltage for the Throttle speed.
· 2: If so you can take your 5 volt digital pot 5k, 10k, 100k· whatever, and control transistor amp·with 4:1 gain.
The Amp·output can go to pin 5 (Wiper) and drive the throttle circuit.
I think there are some op am ps that can work at 24 volts.
· If the pot voltages are diffrent or changing then look at the circuit board and try to draw the circuit used.
This will assist in figuring out a way to control the input stage with nomoving parts.
Good Luck,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Alan Bradford ·N1YMQ
Plasma Technologies
Canaan NH 03741
www.plasmatechnologies.com
As well, many will allow a choice of 0-5 volts or 0-10 volts so its possible to use a simple PWM output and filter to get a voltage the drive will respond to.
Cheers,
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tom Sisk
http://www.siskconsult.com
·