PLUS+1 Hardware > Controllers

Quad Encoder distance reading has too high error

<< < (2/2)

G30RG3:
In that case, I would set the DigThresLow as low as seems stable (as long as all counts are made and a small margin and you're good).  The DigThresHigh at 5000 or higher. Your oscillations won't be catched as extra counts if the signal doesn't go under the DTL.  2000 and 12000 might be better than your current values

acmall:
I have not used a quadrature encoder but I have several applications that use hydraulic motors with a pulse type speed sensor on 24V. These particular ones work reliability for me on the 5.25V range with default Thresholds and Bias 2 (Pull Down). As G30RG3 has said the overshoot and/or oscillation should not cause an issue as long as it does not cross both the upper and lower thresholds.

There is a document called Input Configurations PLUS+1 Controllers, you can find it by searching for 520L0931 on the Danfoss website. It has not been updated since 2013 and some of the information is out of date but, it states the following under the Quadrature Encoder section: -

Configuration should be set to 5.25 Volt range. This is necessary for proper operation as a digital input.

It might also be worth checking your encoder documentation to see if you should set a pull up (Bias 1) or pull down (Bias 2) on the input configuration.

I have also seen issues were there was a long cable run and the cables were not properly screened or the screen was not properly terminated.

SJ Industries:
I am definatley new to this so i may also have done something wrong, i have used an encoder dial for a controller input in place of a potentiometer, i found that i could not get accurate results using the inbuilt quadcount function, it would miss pulses, as it is a hand dial I could only do a max of 100rpm by manufacturer specs, generally much lower in reality, down to one pulse increments. I still used the same 2 pins and just set them too a straight digital input, I then wrote a program to use them to add on to or subtract using the logic on the truth table to determine direction. It works well without loss of pulses, the freq input still works too, i used that as a multiplier to enable fast wind up on the output. I think under a certain frequency or rpm the quad count does not work. An encoder with a higher pulse rate might work.

oiltronic:
Similar problem on a hose machine was because the hose was allowed to retract way faster than being pulled out, missing pulses.  A different power-drive large hose reel would not wind the hose consistently, depending on the pressure inside the hose, ambient & hose temperature, whether the hose was wet or dry, and the way the hose was wrapped on the drum.  Encoder was only accurate to know when the hose was fully extended.

Navigation

[0] Message Index

[*] Previous page

Go to full version