Re: PWM Back Emf
Posted by
Frank
on 2007-01-13 15:04:35 UTC
Thanks for that. Not the simple answer I was hoping for.
I'm not sure that solution will entirely solve my problem. This is
for a radio controlled toy train. I have a handset that can set the
speed digitally from 0-63. I want to keep the speed constant at the
set value regardless of load eg number of carriages or gradient. I
think I still need the back-emf (or something) to determine the
speed, and once there, your circuit will keep it there.
I have tried a simple encoder feedback (a disk with 4 stripes) and
had some success with it, but it was a bit bulky to fit in the small
train.
Thanks
Frank
--- In CAD_CAM_EDM_DRO@yahoogroups.com, "Mariss Freimanis"
<mariss92705@...> wrote:
I'm not sure that solution will entirely solve my problem. This is
for a radio controlled toy train. I have a handset that can set the
speed digitally from 0-63. I want to keep the speed constant at the
set value regardless of load eg number of carriages or gradient. I
think I still need the back-emf (or something) to determine the
speed, and once there, your circuit will keep it there.
I have tried a simple encoder feedback (a disk with 4 stripes) and
had some success with it, but it was a bit bulky to fit in the small
train.
Thanks
Frank
--- In CAD_CAM_EDM_DRO@yahoogroups.com, "Mariss Freimanis"
<mariss92705@...> wrote:
>motor.
> That -V 'dip' is caused by the inductive energy stored in the
> You can read the motor back EMF only when this current decays tozero.
> This negative pedestal will get wider as you apply an increasingload
> to the motor.load
>
> This puts unacceptable restrictions on your circuit:
>
> 1) It only works at low speeds (low PWM duty cycle)
> 2) It only works at low PWM frequencies (<<1kHz).
> 3) It only works at light loads (<10%).
>
> A much more effective technique is to use "IR" compensation. It
> removes all the above restrictions. IR compensation adds positive
> feedback by increasing the PWM duty cycle proportional to motor
> and can regulate your motor speed to within +/-2%. Do this:load.
>
> 1) Use a current-sense resistor to generate a voltage prop. to
> 2) Filter and amplify this voltage.load.
> 3) Use a trimpot to attenuate (2) to the exact value needed.
> 4) Sum (3) with the PWM command voltage using an op-amp.
>
> Adjust the trimpot to where the motor speed doesn't change with
> Too little and the motor will slow down, too much and the motorwill
> speed up with increasing load.wrote:
>
> Mariss
>
>
>
>
>
>
> --- In CAD_CAM_EDM_DRO@yahoogroups.com, "Frank" <ftkalcevic@>
> >dc
> > This is slightly off topic, but it is motor control...
> >
> > I am building a small dc motor controller to drive toy brushed
> > motors. This is all low voltage (<5v) and low current (150mAmax).
> > I want to measure the back emf between PWM pulses to provide atwo
> > fairly constant motor speed. To measure the back emf, I have
> > resistors acting as a divider (10k each) between the motorAfter
> > terminals. The PWM only pulses the High side FETs, so when they
> > turn off, the motor terminal runs through the divider and to
> > ground. The divider gives me 1/2 the back emf.
> >
> > This picture shows the voltage divider trace -
> > http://home.people.net.au/~frankt/pwm_bemf.png
> >
> > After the PWM pulse is switched off, the voltage divider shows a
> > negative voltage, about -0.4V for about half the off pulse.
> > that, it pops back up and shows the back emf which I canmeasure.
> > This unfortunately is causing me grief, because I have to waituntil
> > just before the next pulse to measure the back emf. What's eventhe
> > worse, is that period of negative voltage is fixed - if I double
> > PWM frequency I will not get any back emf. The sample shown inthe
> > capture is at a noise 4kHz - I'd like to get well above that.it
> >
> > So, the questions, what is causing that small negative dip? Is
> > normal? Is there a way I can remove it? Or, with an increased
> > frequency, do I have to stop PWMing until the back emf signal
> > stabilises to read it?
> >
> > Thanks,
> > Frank
> >
>
Discussion Thread
Frank
2007-01-13 02:12:41 UTC
PWM Back Emf
Mariss Freimanis
2007-01-13 07:35:38 UTC
Re: PWM Back Emf
Dennis Schmitz
2007-01-13 14:43:29 UTC
Re: [CAD_CAM_EDM_DRO] PWM Back Emf
Dennis Schmitz
2007-01-13 14:49:13 UTC
Re: [CAD_CAM_EDM_DRO] Re: PWM Back Emf
Frank
2007-01-13 15:04:35 UTC
Re: PWM Back Emf
Mariss Freimanis
2007-01-13 16:08:37 UTC
Re: PWM Back Emf
Frank
2007-01-13 17:54:19 UTC
Re: PWM Back Emf
Mariss Freimanis
2007-01-13 18:58:06 UTC
Re: PWM Back Emf
Frank
2007-01-13 19:48:15 UTC
Re: PWM Back Emf
Jim Register
2007-01-13 22:06:08 UTC
Re: [CAD_CAM_EDM_DRO] Re: PWM Back Emf
Frank
2007-01-13 23:50:32 UTC
Re: PWM Back Emf
Alan Marconett
2007-01-14 11:24:32 UTC
Re: [CAD_CAM_EDM_DRO] Re: PWM Back Emf