Download Magellan Motion Processor User`s Guide

Transcript
1T
:&.(4$-+8&)$->".*&#
1MI1I1+S.)3"%+,(/*)*(&+B$#*/)$The motion processor continually monitors the position feedback signals, and accumulates a 32-bit position value
called the actual position. At power-up, the default actual position is zero. The actual position can be set with one of
two commands: SetActualPosition, and AdjustActualPosition. The current actual position can be retrieved using
the command GetActualPosition.
SetActualPosition sets the position to an absolute specified 32-bit value. Particularly when using incremental
feedback, the actual position is generally set shortly after power-up, using a homing procedure to reference the actual
position to a physical hardware location. AdjustActualPosition changes the current actual position by a signed
relative value. For example a value of –25 specified using this command will subtract 25 from the current actual
position.
In addition to retrieving the actual axis position, it is also possible to retrieve an estimation for the instantaneous
velocity of the axis. This is accomplished using the command GetActualVelocity. Note that the provided velocity is
an estimated quantity, created by subtracting the current position from the previous cycle’s position. It is therefore
subject to jitter or noise, particularly at low velocity.
1MI1I2+?*#*)"%+G*%)$-*&#
All encoder inputs, as well as both the index and home capture inputs, are digitally filtered to enhance reliability. The filter
requires that a valid transition be accepted only if it remains in its new (high or low) state for at least 175nSec. This insures
that brief noise pulses will not be interpreted as an encoder transition.
Although this digital filtering scheme can increase the overall reliability of the quadrature data, to achieve the highest
possible reliability, additional techniques may be required. Techniques such as differential line drivers/receivers, or
analog filtering have been proven in this area. Whether these additional schemes are required depends on the specific
system, and the amount and type of noise sources.
1MI2+a*#C]/R$$4+,(/*)*(&+9"R)3-$
Each axis of the Magellan Motion Processors supports a high-speed Position Capture register that allows the current axis
location (as determined by an attached encoder) to be captured when triggered by an external signal. For MC50000
motion processors, two signals may be used as the capture trigger: the !27eH signal or the K56e signal. For Magellan/ION,
there is an additional available input source called K&'?G8ee7C)8(3+e. The following table describes the available positions
for the capture signal triggers.
,-(43.)
MC50000
Magellan/ION
SA"*%"D%$+R(/*)*(&+."R)3-$+/*#&"%+)-*##$-/
Index
Home
Index
Home
HighSpeedCapture
These input triggers differ in how a capture is recognized. For all products except the MC58110 and MC55110, when
the !27eH signal is used as the trigger, a capture will be triggered when the F, N, and !27eH signals achieve a particular
state (defined by the Signal Sense register using the SetSignalSense command). If the K56e or K&'?G8ee7C)8(3+e signal
is selected as the capture trigger source, then only that signal need be in a particular state for the capture to be triggered.
For the single chip motion processors (MC5x110), the !27eH operates like the K56e or K&'?G8ee7C)8(3+e.
The command SetCaptureSource determines whether the !27eH signal, the K56e signal, or the K&'?G8ee7C)8(3+e
signal will be used as the position capture trigger. The command GetCaptureSource retrieves this same value. When
7L
Magellan'Motion Processor User’s Guide