0 to +10Vdc signal @ 1024 steps for speed control of a motor
4Alex
Posts: 119
Hi everybody,
I would like to interface a propeller to a digital servo motor controler. This controler can, among other things, vary the speed of a motor through an external potentiometer. The controler recognises 1024 steps between 0 and +10 Vdc and proportionally set the speed. Here's my question: anyone knows of a chip or circuit that could be connected to a propeller (3v3) and generate between 0 to +10v at reproducible set increments? BTW, it requires only very low, signal-type, current.
I've thought of a digipot but I couldn't find one that supports 10v nor 1024 steps...
Thanks for any assistance.
Cheers,
Alex
I would like to interface a propeller to a digital servo motor controler. This controler can, among other things, vary the speed of a motor through an external potentiometer. The controler recognises 1024 steps between 0 and +10 Vdc and proportionally set the speed. Here's my question: anyone knows of a chip or circuit that could be connected to a propeller (3v3) and generate between 0 to +10v at reproducible set increments? BTW, it requires only very low, signal-type, current.
I've thought of a digipot but I couldn't find one that supports 10v nor 1024 steps...
Thanks for any assistance.
Cheers,
Alex
Comments
That seems like a lot of work to control a motor controller. Doesn't it have some other kind of input that the Propeller could control more directly?
@Alex: As to "reproductible set increments" that sounds a bit strange for an analog 0-10V signal controlling a motor which has it's own variabilities. Either the system measures it speed or some other parameter and feeds back in a servo loop or the exact speed it is not really important. Have a look at my post to another thread regarding 0-10V signals http://forums.parallax.com/showthread.php?p=886089
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*
Sorry if I didn't replied sooner but my tender half, the love of my life, is to blame for insisting that household chores must be done... right away! (why it inevitably falls on a Saturday morning at the precise moment I start playing with my toys baffles me) Anyway, back to the fun stuff.
@Mike:
I'd like to use a salvaged (kind of) digital controller for a brushless motor. The one I have on-hand was designed for a PLC interface, hence the 0-10Vdc ramp. Actually, there's also an even worst option that's availlable to me: -10 to 0 to +10Vdc... They do sell a brand new serial (RS485) model but it's way, way over my means (otherwise I'd hire someone to do the aforementioned household chores, trust me). However, thank you very much for your solution. BTW, my Honey thanks you for the last posting you helped me with: It turns out that I didn't burned down the house...
@Peter & Kwinn:
I've double-checked the datasheet and they do say "... analogue input set value: 0..10Vdc (Ri=132 kOhms), Resolution: 1024 steps." As for servo control loop, there's an embedded Hall sensor in the motor. Peter, I've looked at your previous posting and that should be perfect for me. I guess the Vp would be +10vdc and 103 would be 0.01 µF?
Thank you so much for your help.
Cheers,
Alex
The application note (AN001) on the cog counters describes how to do this.
Yes, burning down the house would be a really annoying beginning to an otherwise nice weekend.
Would it be possible to take a small low V ac transformer and hook it to a bridge rectifier
and use the propeller to switch a transistor on/off to allow only a narrow slice of each dc
waveform pulse to pass on to a filter?
Seems like just moving the slice of the 0 to max V dc wave that the prop allows to pass would
give you any dc voltage from 0 to the max the transformer could deliver. You would be delivering
240 slices of dc from the bridge circuit per second since you could use a slice from both the rising and the falling
part of the 120hz waveform.
I'd think the prop is fast enough to control the transistor and sense the V ???
I wonder just how stable such a strange pwr supply would be? and how much pwr could it handle....
It should have more than the 1024 parts of resolution and a 10 cent transistor would handle
a few hundred ma or so. You could detect 0V dc and use that to let the prop calculate when to
switch the transistor on and off to deliver a desired voltage....that would be easy and cheap.
Maybe you could run the motor directly using such a setup and delete the digital servo motor controller from
the project?
You also have to train your wife Alex and teach her all about engineering timing units such as when you say "in a minute", well that means "not now".
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*
Thank you, I'll use a 12v rail.
As for the household, pardon my cowardice, but I'll let YOU do the talking... (good luck on that one, if you can ever place a word).
Cheers,
Alex
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John R.
Click here to see my Nomad Build Log
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*
I agree that you would have trouble tracking a control signal that has to change rapidly, but for an application that only needs a reference signal (ie 10V=100% speed, 6V=60% speed) it may work. After all, if a PWM signal on an I/O pin can be filtered to provide a DC control signal I see no reason the same cannot be done for a voltage multiplier output or boost regulator style circuit.
Obviously this approach would only be used in a case where you only needed one such signal and did not have a 12V supply available.
Anyway, to prove the merits of your idea come up with a circuit that works and is simpler than a 12V supply into an opamp taking into account that the motor has to have power from somewhere too.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*