To have any useful meaning, the counts from the transducer must be scaled to position units. For a quadrature axis, the Position Scale parameter defines the position units as a function of transducer counts. This topic describes how to correctly calculate this parameter for an Quadrature encoder.
Delta recommends using the Scale/Offset Wizard for scaling the position. If you need to manually calculate the scale and offset, read this topic.
If your motion is linear, read this topic. If your motion is purely rotary, see the Rotary Scaling topic.
Pulses, Lines and Counts
As described in the Quadrature Fundamentals topic, the resolution of a quadrature encoder is typically given in Pulses per Revolution (PPR), also called Lines per Revolution. The RMC feedback sees each rising or falling edge of the A or B signal as one count. Therefore, each pulse or line of the encoder will result in four counts on the RMC quadrature input. For example, a 1000-line encoder will give the RMC 4000 counts per revolution.
Scaling Counts to Position Units
The RMC calculates the quadrature axis Actual Position every control-loop time using the following formula:
Actual Position [pu] = (Change in Counts [cnt] x Position Scale [pu/cnt]) + Last Position
Note:
If the Actual
Position filter is applied, the RMC filters the Actual Position after
calculating it with the above formula.
Manually Calculating the Scale and Offset
The Scale/Offset Wizards provide the easiest method of scaling your axis. If you prefer to do it manually, read this section.
Determining the Scale and Offset
There are two methods of finding the correct Position Scale and Position Offset.
Method 2: Using the Encoder Resolution
See Also
Scaling Overview | Scale/Offset Wizard | Position Scale
Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion