Hello,
Rotor speed sensor module is calculated by module QEP. There is noise in the quadrature channels QEPA and QEPB, which creates problems when calculating a rotor speed of the encoder. Can I filter out by program the noise channels?
Thank you!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
Rotor speed sensor module is calculated by module QEP. There is noise in the quadrature channels QEPA and QEPB, which creates problems when calculating a rotor speed of the encoder. Can I filter out by program the noise channels?
Thank you!
Hello Yuriy,
As far as i know there is no possibility for the program filtration of the QEP's input data stream because QEP hardware make all the job. In case you use quadrature-count mode you must have no problems with noise because of the noise immune properties of the quadrature encoder interface.
You can perform some addition filtration of the QEP module results in your software (for example a median filter) but you must keep in the head the additional delays introduced by the filter which can reduce your control system stability. Also you can improve noise immunity of the your hardware.
Typical industrial quadrature encoders use RS-422 levels for it's outputs so I can't imagine the source of the noise which can cause problems for the speed calculation.
Best regards,
Roman
Nevertheless, I would like to have a filter input QEP same as used in the GPIO module. We will solve the problem of a hardware solution.