The enclosed VI is for reversing a Servo Drive based on angle
feedback from an Encoder. Being a simple state machine, no elaboration
is required.
The problem however is the accuracy of reversals. Assuming that
drive is rotatting at 60rpm, it will be 1 revolution or 360
deg per second. Or 0.36 deg per millisecond. My loop timing (
intervals between each poll of the encoder feedback ) is
25ms. ( I cannot reduce this due to some other issues ).
Thus the maximum delay after which I will capture a reversal match is
25ms or 25 x 0.36 = 9 degrees. And this can vary as it is not
synchronous with the timed loop.
I simply want to restrict this reversal error with +/- 2 degrees.
Any ideas ?
Raghunathan
Raghunathan
LabVIEW to Automate Hydraulic Test rigs.