CAD CAM EDM DRO - Yahoo Group Archive

Chopper methodology was Re: stepper vs. servo

on 2004-02-15 13:02:29 UTC
It is what's called an over-constrained feedback loop. Over-
constrained loops are unstable and are susceptible to a phenomena
called pulse doubling when the current decay slope exceeds the
current rise slope. This is guaranteed to happen with a step motor
coil because the current rise slope is (Vs - Vm) / L while the decay
slope is (Vs + Vm) / L where Vs = supply voltage, Vm = motor voltage
and L is the motor coil inductance.

You can graph it out to see this phenomena on square-ruled paper.
Have the increase slope equal +1, have the decay equal -2. Put the
clock "ticks" every two squares. The graph will quickly settle
at "on" for 2 clock cycles, "off" for 1 cycle no matter your initial
conditions. This is not good.

The cure is to add feed-forward compensation. This is a positive
slope signal from the oscillator that when summed with the current
feedback waveform insures the current rise slope is greater than the
decay slope.

Mariss





--- In CAD_CAM_EDM_DRO@yahoogroups.com, "ballendo" <ballendo@y...>
wrote:
> Mariss,
>
> Thank you for the reply. As I read what you wrote, it sounded
> familiar; first I thought of the Hard sync of two synthesizer
VCO's
> (music), then thought of the ST chips, which use constant-ON time...
>
> Here is a quote from the L297 spec sheet (under the heading circuit
> operation):
>
> "A common on-chip oscillator drives the dual chopper. It supplies
> pulses at the chopper rate which set the two flip flops FF1 and
FF2.
> When the current in a winding reaches the programmed peak value the
> voltage across the sense resistor (connected to one of the sense
> inputs SENS1 or SENS2) equals Vref and the corresponding comparator
> resets its flip flop, interrupting the drive current until the next
> oscillator pulse arrives. The peak current for both windings is
> programmed by a voltage divider on the Vref input."
>
> This sounds exactly like what you just decribed, but I know htat
> these chips spit, squeal and hiss too!
>
> What am I missing?
>
> Thank you in advance,
>
> Ballendo
>
> --- In CAD_CAM_EDM_DRO@yahoogroups.com, "Mariss Freimanis"
> <mariss92705@y...> wrote:
> > Constant off-time choppers hiss, squeal and "spit" because you
have
> > two free running variable frequency oscillators. A typical
chopper
> > (20 microsecond off-time) may run at 25kHz at min current,
dropping
> > to 15kHz at max current.
> >
> > There is an unavoidable tendency for these oscillators to phase-
> lock
> > (run at the same frequency). The winding currents diverge while
> phase
> > locked so the lock has to break after a number of cycles. This
> > repeated locking and breaking generates frequencies in the
audible
> > range, (lock for 9 cycles, break on the 10th generates a loud
2kHz
> > squeal for a chopper freq of 20kHz).
> >
> > I get around this by making the current servos synchronous, and
by
> > definition, always phase locked. A 20kHz clock rising edge causes
> > both coils to increase in current. Once current reaches the
desired
> > value, the current is caused to decay until the next clock rising
> > edge. Both coils switch at the same constant 20kHz, no audible
sub
> > harmonics are generated and the drive is silent.
> >
> > Mariss
> >
> >
> > --- In CAD_CAM_EDM_DRO@yahoogroups.com, "ballendo"
<ballendo@y...>
> > wrote:
> > > Mariss,
> > >
> > > Glad to see your input on this. Perhaps the Allegro designers
> also
> > > consider 98% of a design close enough to 100% <G>...
> > >
> > > What do you use instead of "constant-off" time? I seem to
recall
> > you
> > > sayingsomething about this a year or two ago?
> > >
> > > ST uses constant-ON in many of their products; and they also
hiss
> > and
> > > spit<G>. I'm assuming it's the "constant" that's the problem???
> > >
> > > Thank you in advance,
> > >
> > > Ballendo
> > >
> > > --- In CAD_CAM_EDM_DRO@yahoogroups.com, "Mariss Freimanis"
> > > <mariss92705@y...> wrote:
> > > > I think that is an interesting and confused assertion by
> Allegro.
> > > The
> > > > motor error of 3% probably refers to the non-accumulative
step
> > > error
> > > > of a premium motor. This is a cyclic error, not a step to
step
> > one.
> > > > Step-to-step errors are about an order of magnitude smaller,
> well
> > > > under 0.5%.
> > > >
> > > > Calling 98% "close enough" to 100% is not good enough; it is
a
> > > > perceptible error in motor smoothness anyone can spot in a
side-
> > by-
> > > > side comparison.
> > > >
> > > > Allegro also makes other, larger mistakes that affect motor
> > > > smoothness. This is their insistance on switching between
> > > > recirculating and non-recirculating modes while stepping.
That
> > > > introduces large offset errors at the full step locations
that
> > > > completely swamp the potential microstep accuracy.
> > > >
> > > > My other complaint is their continued use of a "constant off-
> > time"
> > > > chopper method for the current servo loops. This produces the
> > usual
> > > > assortment of hissing, squealing and grunting sounds.
> > > >
> > > > A well designed (read low distortion) drive used with an
> accurate
> > > > motor (the new square ones) should completely resonance free.
> > That
> > > > means no perceptible vibration at all as you slowly sweep the
> > zero
> > > to
> > > > 2 revs/sec speed range. Allegro doesn't even come close; they
> > > should
> > > > re-think their switching topology. Otherwise they're nice
chips.
> > > >
> > > > Mariss
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --- In CAD_CAM_EDM_DRO@yahoogroups.com, "turbulatordude"
> > > > <davemucha@j...> wrote:
> > > > >
> > > > > Interestingly, Allegro's paper notes that at the 1st and
16th
> > > step,
> > > > > the current is so close to full that the value (98.089%) is
> > > smaller
> > > > > than the motor error (3%) so they ignore the very end of
the
> > > > ranges.
> > > > > I'd quote the pages, but Allegros site is not responding.
If
> > > > anyone
> > > > > wants the reference, please let me know.
> > > > >
> > > > > But that opens the question of how others can get 256
> > microsteps
> > > or
> > > > > more. And THAT really is a more general motion control
> > questions
> > > > as
> > > > > even though we tend to think our interests are 98% of the
> > > universe,
> > > > > CNC machining applications of motion control are probably
> more
> > in
> > > > the
> > > > > 2% range. I'll bet Hewlett Packard (one supplier) sells
more
> > > Laser
> > > > > Printers in one year using motion control than all the home
> > brew
> > > > CNC
> > > > > stuff ever built.
> > > > >
> > > > > Dave

Discussion Thread

plastiguy 2004-02-09 18:41:27 UTC stepper vs. servo bull2003winkle 2004-02-09 19:49:34 UTC Re: stepper vs. servo Jon Elson 2004-02-09 21:24:17 UTC Re: [CAD_CAM_EDM_DRO] stepper vs. servo ballendo 2004-02-09 21:59:06 UTC Re: stepper vs. servo Albee Tang 2004-02-09 21:59:07 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Roy J. Tellason 2004-02-09 22:35:39 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Les Newell 2004-02-10 00:55:07 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo John Johnson 2004-02-10 05:22:09 UTC Re: [CAD_CAM_EDM_DRO] stepper vs. servo Peter Renolds 2004-02-10 06:01:12 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo - H Bridge question Jon Elson 2004-02-10 07:47:46 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Stan Aarhus 2004-02-10 07:49:36 UTC Re: [CAD_CAM_EDM_DRO] stepper vs. servo ballendo 2004-02-10 07:50:14 UTC DIY servo drive? was Re: stepper vs. servo Jon Elson 2004-02-10 08:02:47 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo bank haam 2004-02-10 09:47:15 UTC Re: [CAD_CAM_EDM_DRO] DIY servo drive? was Re: stepper vs. servo Mariss Freimanis 2004-02-10 11:36:49 UTC DIY servo drive? was Re: stepper vs. servo dchristal2 2004-02-10 13:32:47 UTC Re: stepper vs. servo ballendo 2004-02-10 16:59:46 UTC Re: stepper vs. servo ballendo 2004-02-10 17:02:13 UTC Re: stepper vs. servo ballendo 2004-02-10 17:03:03 UTC Re: stepper vs. servo Roy J. Tellason 2004-02-10 17:51:24 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Jon Elson 2004-02-10 21:23:22 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Roy J. Tellason 2004-02-10 21:42:58 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Tony Jeffree 2004-02-11 02:17:12 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Les Newell 2004-02-11 02:31:50 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Les Newell 2004-02-11 02:43:21 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Raymond Heckert 2004-02-11 19:23:21 UTC Re: [CAD_CAM_EDM_DRO] stepper vs. servo Robert Campbell 2004-02-11 19:40:12 UTC Re: [CAD_CAM_EDM_DRO] stepper vs. servo bull2003winkle 2004-02-11 20:35:58 UTC Re: stepper vs. servo Jon Elson 2004-02-11 20:51:18 UTC Re: [CAD_CAM_EDM_DRO] stepper vs. servo Jon Elson 2004-02-11 21:02:29 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo ballendo 2004-02-12 09:03:44 UTC Re: stepper vs. servo ballendo 2004-02-12 09:04:03 UTC microstepping was Re: stepper vs. servo Harvey White 2004-02-12 11:44:40 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Chris Cain 2004-02-12 16:44:15 UTC RE: [CAD_CAM_EDM_DRO] microstepping was Re: stepper vs. servo JanRwl@A... 2004-02-12 20:42:04 UTC Re: [CAD_CAM_EDM_DRO] microstepping was Re: stepper vs. servo ballendo 2004-02-13 06:36:22 UTC Re: stepper vs. servo turbulatordude 2004-02-13 07:26:28 UTC Re: stepper vs. servo ballendo 2004-02-13 07:51:51 UTC microstepping was Re: stepper vs. servo Harvey White 2004-02-13 08:34:30 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Mariss Freimanis 2004-02-13 10:11:40 UTC Re: stepper vs. servo Jon Elson 2004-02-13 10:15:17 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Mariss Freimanis 2004-02-13 10:59:38 UTC Re: stepper vs. servo Jon Elson 2004-02-13 18:46:24 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo ballendo 2004-02-14 07:46:52 UTC Re: stepper vs. servo ballendo 2004-02-14 07:46:53 UTC Re: stepper vs. servo Harvey White 2004-02-14 08:43:17 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo Mariss Freimanis 2004-02-14 12:31:32 UTC Re: stepper vs. servo ballendo 2004-02-15 11:45:06 UTC Chopper methodology was Re: stepper vs. servo ballendo 2004-02-15 11:45:07 UTC Stepper Mid band resonance Help! please... jeffalanp 2004-02-15 12:22:14 UTC Re: Stepper Mid band resonance Help! please... Mariss Freimanis 2004-02-15 13:02:29 UTC Chopper methodology was Re: stepper vs. servo Mariss Freimanis 2004-02-15 13:22:53 UTC Re: Stepper Mid band resonance Help! please... zephyrus@r... 2004-02-15 16:33:25 UTC Re: Chopper methodology was Re: stepper vs. servo Mariss Freimanis 2004-02-15 17:05:54 UTC Chopper methodology was Re: stepper vs. servo turbulatordude 2004-02-15 22:20:30 UTC Re: stepper vs. servo - hundreds of microsteps turbulatordude 2004-02-15 22:40:08 UTC Re: stepper vs. servo - Allegro and ignoring the edges.... Jon Elson 2004-02-16 09:39:54 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo - hundreds of microsteps Mariss Freimanis 2004-02-16 10:48:05 UTC Re: stepper vs. servo - Allegro and ignoring the edges.... ballendo 2004-02-16 10:52:22 UTC Chopper methodology was Re: stepper vs. servo jmkasunich 2004-02-16 14:07:51 UTC Re: Stepper Mid band resonance Help! please... Mariss Freimanis 2004-02-16 14:22:28 UTC Re: Stepper Mid band resonance Help! please... jmkasunich 2004-02-16 14:38:26 UTC Re: stepper vs. servo - Allegro and ignoring the edges.... jmkasunich 2004-02-16 14:41:11 UTC Re: Stepper Mid band resonance Help! please... ballendo 2004-02-16 15:25:25 UTC Re: Stepper Mid band resonance Help! please... Jon Elson 2004-02-16 22:01:46 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo - Allegro and ignoring the edges.... Mariss Freimanis 2004-02-17 07:14:02 UTC Re: stepper vs. servo - Allegro and ignoring the edges.... turbulatordude 2004-02-17 08:09:24 UTC Re: stepper vs. servo - Allegro and ignoring the edges.... Mariss Freimanis 2004-02-17 09:27:33 UTC Re: stepper vs. servo - Allegro and ignoring the edges.... Jon Elson 2004-02-17 19:28:16 UTC Re: [CAD_CAM_EDM_DRO] Re: stepper vs. servo - Allegro and ignoring the edges....