. |
Overview of Capture Position-based Capture | Time-based Capture Capture is the object in the MPI that enables high accuracy position latching based on an external electrical input. Typical sources of external electrical inputs are home switches and encoder index pulses. Capture will return the position and sample counter (time in servo samples) for each capture position latch. There is usually one capture object per motor. Refer to the Node FPGA Images: Features Table to see how many capture objects exist on your node and node image. The FPGA Features Table also contains information regarding supported feedbacks (in the Encoder column) for a particular node and whether the node supports drive feedback, quadrature, or both. There are two types of capture: position and time-based capture. For Position-based Capture, the motor number for the input sources and the feedback motor number must be the same.
For Time-based Capture, the motor number and feedback motor number can be different. This makes it possible to use inputs from one node to capture positions on another node.
Because the time-based capture uses linear interpolation between two successive controller sample periods, there can be capture inaccuracies during very high acceleration or deceleration trajectories. The maximum capture position error can be calculated from: Max Capture Position Error = 1 / 8 * Accel * (1 / Sample Rate)² For example, suppose the axis is accelerating at 10,000,000 counts/sec² and the controller sample rate = 2kHz (default). Max Capture Position Error = 1 / 8 * 10,000,000 * (1 / 2000)² Max Capture Position Error = 0.31 counts Position-based Capture vs. Time-based Capture There are two capture types: Position-based and Time-based. The capture methodologies for these types differ and can affect performance. The table below summarizes Position-based and Time-based methodolgies and their best use.
Note: Many drives have a proprietary serial encoder that decodes the encoder position and sends the position information to the FPGA once per sample. In these cases, time-based capture is more accurate than position-based capture.
|
| | Copyright © 2001-2021 Motion Engineering |