Posts: 4
Threads: 1
Joined: Oct 2017
Reputation:
0
Hi !
I built this project (quadrature version). I use Ditron 11F scales and 0.001mm resolution.
When I move the reading head the everything is ok, but when I move a little bit quicker the MSP can't follow
the moving. What is the max speed what this controller can follow ?
Thanks!
Andrew
Posts: 4
Threads: 1
Joined: Oct 2017
Reputation:
0
Anybody use it with 0.001mm glass scale ?
It isn't work correctly.
Posts: 88
Threads: 4
Joined: Jan 2017
Reputation:
5
I've done quadrature decoding logic in the past and implemented it in hardware in order to maintain accuracy. I don't know how Yuriy implemented it, but maintaining a resolution of 0.001mm means that you have to detect 1000 edge transitions per millimeter of movement. If his implementation is interrupt-driven, I don't think it would take very rapid movement to overwhelm it. The example that I found at TI claims that it can respond to encoder position changes up to 200khz on an MSP430 running at 16Mhz. So a tiny little program that does nothing else would fail if you were moving faster than 200mm per second.
I think that handling high-resolution quadrature requires external logic and counters if you're moving very fast at all. Are you testing it with the scales mounted on your machine? If not, mounting them will slow things down considerably.