Skip to main content
Skip table of contents

Incremental encoder

This step explains how to configure an incremental encoder properly in the configuration Wizard. In order to do it, you need to properly fill the parameters associated with this encoder in the Control widget (green square below). Then run the test (red)

image-20241002-140138.png

Parameters to configure

  • Resolution → resolution of the encoder in total counts per mechanical revolution. This is normally the pulses per revolution (ppr or lpr) value that you get from the datasheet multiplied x4.

  • Filter → Glitch filter levels of the digital encoder module. There are 10 different glitch filter levels. Each level corresponds to a specific cut-off frequency. Setting this parameter to 0 (100 MHz) will disable the glitch filter.

  • Polarity → the polarity of the feedback sensor is a parameter that relates how the position readings change when a positive voltage is applied to the phases of the motor. It can either be "Standard" or "Reversed".

Understanding how the polarity works

If with polarity set as "Standard, the position increases when a positive voltage is applied, then the polarity is correct as "Standard". On the other hand, if the position readings were to decrease, then the polarity setting would be wrong and you would need to change it to "Reversed" for this particular feedback sensor. Having a correct polarity setting is essential to having the sensor working properly and this is exactly what the incremental encoder test is meant to calculate. On an additional note, the polarity of the incremental encoder does not relate to the polarity of any other feedback sensor in the system (they can be the same or opposite, it does not matter).

If you are interested in learning more about the parameters configured in this step, please refer to the firmware manual documentation: Incremental encoder.

Incremental encoder test

This test has the following purposes:

  • Validate that the resolution and pole pair parameters introduced by the user are correct → this is done by moving a certain predefined range of motion and counting the position readings so if they match with the expected ones then the test turns successful. If they do not match, then you get a failure and you need to recheck both parameters to see which one could be wrong.

  • Determine the polarity of the incremental encoder → this is done by applying always positive voltage first and then negative voltage and seeing how the position readings change. Please note that this polarity determination is not done if the previous validation does not turn out successfully.

Therefore, this test has only two possible outcomes:

  • Failed test

image-20241002-140512.png
  • Success test

image-20241002-140432.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.