I have a 24volt trigger to my circuit. I need to ramp up my output to my motor from 0v to 24v over an adjustable time period
between 0sec (instantly) up to a gradual increase over 5 seconds. Both the max voltage and the time needs to be adjustable
with potentiometers.
I guess it's a question of making a variable frequency ramp generator whose output amplitude is variable.
You could use a STAMP to step through a DAC (0,1,2,... 255, 0,1,...).· You could use a pot to control a VCO (a square-wave or pulse generator) and use that as a Clock-In/Trigger for the STAMP to use in providing the DAC input data.· The output here would be a linear stair-case.
You could use a ramp generator IC (like from a TV, which may not get you a freq slow enough), but that wouldn't require a STAMP.· The output here wouldn't have a stair-case.
An amplifier is no big deal, depending on the current necessary, and controlling that with a pot is typical.
For the constant current -> capacitor setup to work, the current out would need to be constant. Since a motor has a variable resistance (a motor at standstill has a lower resistance than a moving motor), you would need to buffer the voltage. Ordinarily Id say use an omp amp voltage follower to buffer the voltage, but an opamp cannot supply enough current to drive a DC motor.
I think we may be trying to answer his question in the way he stated it and are missing the the obvious solution in the process: PWM (actually PJ Allen was leaning that way with the VCO idea). Instead of trying to drive the motor with an analog DC voltage of a specified value, the simplest (and most efficient method) would be to supply the motor with PWM of increasing duty cycle, this has the same effect as supplying it with an analog voltage but keeps everything in the digital realm (it also decreases complexity, part count, cost and energy loss of the driving circuit). Furthermore PWM is better at producing a linear correlation between motor speed and driving waveform (ie a PWM'ed motor overcomes standstill inertia more easily than a DC'ed motor at low driving rates (duty cycle/voltage), this is actually a theory of mine I have yet to prove, but I believe it to be the case).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ ·1+1=10
Post Edited (Paul Baker) : 1/7/2006 6:52:54 PM GMT
Comments
This is not a chat room. Do not expect an instant reply.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
"I hope the goonwave is not vaporware"
·
There are a variety of ways to ramp up "energy" to turn a device on slowly instead of a step input.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ken
between 0sec (instantly) up to a gradual increase over 5 seconds. Both the max voltage and the time needs to be adjustable
with potentiometers.
You could use a STAMP to step through a DAC (0,1,2,... 255, 0,1,...).· You could use a pot to control a VCO (a square-wave or pulse generator) and use that as a Clock-In/Trigger for the STAMP to use in providing the DAC input data.· The output here would be a linear stair-case.
You could use a ramp generator IC (like from a TV, which may not get you a freq slow enough), but that wouldn't require a STAMP.· The output here wouldn't have a stair-case.
An amplifier is no big deal, depending on the current necessary, and controlling that with a pot is typical.
So, what do you really want here?
Post Edited (PJ Allen) : 1/7/2006 3:45:37 AM GMT
If you need specifics on constructing such a circuit, please write back.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ken
I think we may be trying to answer his question in the way he stated it and are missing the the obvious solution in the process: PWM (actually PJ Allen was leaning that way with the VCO idea). Instead of trying to drive the motor with an analog DC voltage of a specified value, the simplest (and most efficient method) would be to supply the motor with PWM of increasing duty cycle, this has the same effect as supplying it with an analog voltage but keeps everything in the digital realm (it also decreases complexity, part count, cost and energy loss of the driving circuit). Furthermore PWM is better at producing a linear correlation between motor speed and driving waveform (ie a PWM'ed motor overcomes standstill inertia more easily than a DC'ed motor at low driving rates (duty cycle/voltage), this is actually a theory of mine I have yet to prove, but I believe it to be the case).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
Post Edited (Paul Baker) : 1/7/2006 6:52:54 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10