mc1451a-e ETC-unknow, mc1451a-e Datasheet - Page 22

no-image

mc1451a-e

Manufacturer Part Number
mc1451a-e
Description
Advanced Brushless Motor Control Chipset
Manufacturer
ETC-unknow
Datasheet
phase. For example if the profile mode is S-curve, and a
SMOOTH_STOP command is given, the profile will decelerate in a
manner exactly equal and opposite to the acceleration phase.
The STOP command functions in all profile modes; S-curve point-
to-point, Trajectory point-to-point, Velocity Contouring, and
Electronic Gear.
The SMOOTH_STOP functions in S-curve point-to-point,
Trajectory point-to-point, and Velocity Contouring profiling mode.
It does not function in Electronic Gear mode.
Caution should be exercised when using the STOP command due
to the large and abrupt changes in motion that may occur.
Motion Complete Status
To simplify the programming of a complete motion system it is
convenient to have the motion chipset indicate when a particular profile
move has been completed.
This function is provided by two status bits in the chipset's status word
(See the section of this manual entitled "Axis Status " for more
information on the axis status word). These two bits are called the
motion complete bit, and the in-motion bit.
The motion complete bit is controlled interactively by the chipset and
the host. After a motion has completed, the chipset sets the motion
complete bit on. The host may then poll this bit to determine that motion
is complete, or if desired, the host can program the chipset to
automatically signal when the motion is complete (using an interrupt). In
either case once the host has recognized that the motion has been
completed the host clears the motion complete bit, enabling the bit to
indicate the end of motion for the next move.
The following list shows the conditions that will cause the motion
complete bit to occur:
The in-motion bit is similar to the motion complete bit except that it
continuously indicates the status of the axis without interaction with the
host. In addition this bit is used exclusively for polled mode operations.
It can not cause an interrupt to the host to be generated.
The motion complete and the in-motion indicator bits function in
the S-curve point-to-point, Trapezoidal point-to-point, and Velocity
Contouring profile modes only. They do not function when the
profile mode is set to electronic gearing.
-
-
-
-
-
Profile has reached the destination position (point-to-point
profile modes only)
Axis trajectory reaches a velocity of zero and the current
velocity command is zero
SMOOTH_STOP command is given and axis trajectory
reaches a velocity of zero
STOP command is given
Limit switch condition occurs
22
The motion complete and in-motion bits indicate the state of the
trajectory generator, not the actual motor. Even if the trajectory
generator has completed a motion, the actual axis position may or
may not be at rest depending on servo lag, stability, and other
system conditions.
Digital Servo Filtering
A digital filter is available for use in calculating a motor output signal.
The filter used is a PID (proportional, integral, derivative) filter, along
with a velocity feedforward term and a term to adjust the offset, also
called the DC bias value. This filter type is known as a PID+Vff filter.
This filter uses programmable gain values which can be tuned to
provide excellent control accuracy and stability over a large range of
systems.
The following schematic diagram shows the computational flow for the
PID+Vff digital filter.
In the PID+Vff filter, the host-specified parameters are:
Symbol
Kp
Ki
Kd
Ilim
Kvff
MtrBias
The PID+Vff filter is calculated as follows:
Position Error n = E n = TP n - AP n
Output n = E n *Kp + (E n -E n-1 )*Kd + Int(E n )*Ki/256 + TrgtVel*Kvff/4
Velocity
Position
Target
Target
Name
Proportional Gain
Integral Gain
Derivative Gain
Integration Limit
Velocity Feedforward
gain
DC motor offset
+
+ MtrBias
-
D = (En-E(n-1))*Kd
Proportional Term
Derivative Term
Integral Term
I = (S+En)*Ki
P = En * Kp
S = S+En
Representation & Range
unsigned 16 bits (0 to 32767)
unsigned 16 bits (0 to 32767)
unsigned 16 bits (0 to 32767)
unsigned 16 bits (0 to 32767)
unsigned 16 bits (0 to 32767)
signed 16 bits (-32767 to 32767)
Kvff
Actual Position
From Encoder
+
+
+
Bias
+
+
To Motor
Output

Related parts for mc1451a-e