Re: lost steps
Posted by
Mariss Freimanis <mariss92705@y...
on 2003-01-16 22:46:05 UTC
Jon,
Good evening and Happy New Year to you! The direction input may seem
strange but it really is not.
The step pulses are processed (delayed) by the midband stabilization
circuit. A little bit of theory is need to explain why.
Step motors are first-order mechanically resonant, (mass-spring)
systems. This simply means there is an inheirent 90 degrees phase lag
between between velocity and torque.
Think of a coil spring suspended from the ceiling with a weight
attached to the end. Leave it alone and the weight has a rest
position. Now, pull down on the weight and then let go. The weight
will oscillate up and down.
When the weight passes its former rest position it will have maximum
velocity and the spring will have zero force. When the weight reaches
the top and bottom extent of its travel, it's velocity will be zero
and the spring will have its maximum force. That is what I mean by a
90 degree phase lag between velocity and torque (force).
At low speeds a drive presents itself to the motor as a current
source. As you know, current mode amplifiers have a near zero phase
lag and all is well with the motor.
As speed increases, the current source runs out of "head room" and
reverts to a voltage mode amplifier. Voltage mode amplifiers have an
implicit 90 degree phase lag of their own.
As a system, the motor and amplifier phase lags total 180 degrees at
this point. That is a setup for positive feedback and unconstrained
oscillation if the system gain is above unity (it is).
The G201 drive introduces a phase lead component of about 60 to 80
degrees to the system loop to stabilize it.
This done by sensing the rate of motor load change (the first
derivative of torque) and then phase modulating the step pulses with
this sensed component. Phase modulation means you slightly advance or
retard the timing of each received step pulse so as to damp out
oscillation (loop phase lag of 120 degrees or less).
The way it works out is from the time a step pulse is sent until it
is "clocked in" by the drive can be a variable period of time between
5uS to 20uS. As long as the direction is "true" at the active edge of
the step pulse until the next active edge, the step will be taken in
the correct direction.
Mariss
Good evening and Happy New Year to you! The direction input may seem
strange but it really is not.
The step pulses are processed (delayed) by the midband stabilization
circuit. A little bit of theory is need to explain why.
Step motors are first-order mechanically resonant, (mass-spring)
systems. This simply means there is an inheirent 90 degrees phase lag
between between velocity and torque.
Think of a coil spring suspended from the ceiling with a weight
attached to the end. Leave it alone and the weight has a rest
position. Now, pull down on the weight and then let go. The weight
will oscillate up and down.
When the weight passes its former rest position it will have maximum
velocity and the spring will have zero force. When the weight reaches
the top and bottom extent of its travel, it's velocity will be zero
and the spring will have its maximum force. That is what I mean by a
90 degree phase lag between velocity and torque (force).
At low speeds a drive presents itself to the motor as a current
source. As you know, current mode amplifiers have a near zero phase
lag and all is well with the motor.
As speed increases, the current source runs out of "head room" and
reverts to a voltage mode amplifier. Voltage mode amplifiers have an
implicit 90 degree phase lag of their own.
As a system, the motor and amplifier phase lags total 180 degrees at
this point. That is a setup for positive feedback and unconstrained
oscillation if the system gain is above unity (it is).
The G201 drive introduces a phase lead component of about 60 to 80
degrees to the system loop to stabilize it.
This done by sensing the rate of motor load change (the first
derivative of torque) and then phase modulating the step pulses with
this sensed component. Phase modulation means you slightly advance or
retard the timing of each received step pulse so as to damp out
oscillation (loop phase lag of 120 degrees or less).
The way it works out is from the time a step pulse is sent until it
is "clocked in" by the drive can be a variable period of time between
5uS to 20uS. As long as the direction is "true" at the active edge of
the step pulse until the next active edge, the step will be taken in
the correct direction.
Mariss
> --- In CAD_CAM_EDM_DRO@yahoogroups.com, Jon Elson <elson@p...>wrote:
> > Gecko drivers have a strange requirement for the directionsignal.
> Itgoes
> > must stay in the right
> > state AFTER the step pulse is issued, until the step actually
> outtime,
> > to the motor. With
> > microstepping and step multiplier drives, that can be a long
> > depending on the conditionslatches
> > at that moment.
> > Most other step drivers require the direction signal to be stable
> some
> > microseconds before
> > and hold a microsecond or so after the leading edge of the step
> signal,
> > and then it can
> > change. This causes trouble with some programs. I had to modify
> my
> > stepper controller
> > board to accomodate these drives. It has a flip flop that
> the
> > direction signal when
> > the step pulse occurs and holds it in that state until the next
> step pulse.
> >
> > Jon
Discussion Thread
ballendo@y...
2000-08-21 16:46:48 UTC
Re: lost steps
Ozzie@h...
2000-08-21 20:22:01 UTC
Re: lost steps
Ray
2000-08-22 07:43:56 UTC
Re: lost steps
beer@s...
2000-08-22 13:18:49 UTC
Re: lost steps
ballendo@y...
2000-08-22 22:07:44 UTC
Re:Re: lost steps
ballendo@y...
2000-08-28 19:41:28 UTC
Re: RE: lost steps
cdoughtynz <cdoughty@p...
2003-01-10 09:18:26 UTC
lost steps
Tim Goldstein
2003-01-10 09:59:24 UTC
RE: [CAD_CAM_EDM_DRO] lost steps
Jon Elson
2003-01-10 10:07:02 UTC
Re: [CAD_CAM_EDM_DRO] lost steps
j.guenther
2003-01-10 10:26:32 UTC
RE: [CAD_CAM_EDM_DRO] lost steps
cdoughtynz <cdoughty@p...
2003-01-10 11:24:11 UTC
Re: lost steps
Mariss Freimanis <mariss92705@y...
2003-01-10 12:52:40 UTC
Re: lost steps
martin55662002 <armartin@t...
2003-01-10 13:07:26 UTC
Re: lost steps
Jon Elson
2003-01-10 22:36:02 UTC
Re: [CAD_CAM_EDM_DRO] Re: lost steps
cdoughtynz <cdoughty@p...
2003-01-16 19:59:45 UTC
Re: lost steps
Mariss Freimanis <mariss92705@y...
2003-01-16 22:46:05 UTC
Re: lost steps
JanRwl@A...
2003-01-17 08:36:13 UTC
Re: [CAD_CAM_EDM_DRO] Re: lost steps
cdoughtynz <cdoughty@p...
2003-01-20 01:51:12 UTC
Re: lost steps
Jon Elson
2003-01-21 23:10:47 UTC
Re: [CAD_CAM_EDM_DRO] Re: lost steps