CAD CAM EDM DRO - Yahoo Group Archive

Enocders and stepper feedback method?

Posted by daque@s...
on 2001-08-20 18:42:59 UTC
Anyone ever consider something like this?

1)Have an 8 bit counter that counts both the encoder outputs and the
requested steps.

2) start the count at 128

3)If the ratio of encoder(x4) to stepper pulses is for example
(2.5pulses/step) and if cw rotation is considered positive add 5 to
the count for each cw stepper pulse requested, subtract 2 for each cw
encoder count received.

4) If the count gets to 130, ( >1/2 step ) step the motor 1 step CW.
the same for ccw, if < 126 step the motor ccw.

No need for a 32 bit counter and you still could have up to 24 steps
missed and it still catch up. It would seem lots of ratios of encoder
to stepper could be used by just changing the values for both count
increments and the up and lower step points.

I am trying to figure out how to do that with a PIC chip. The problem
I see is the random timing of the pulses would likely end up loosing
a step now and again. I will likely need a pic and another chip.

I just wanted to bounce this off the list, to see what you guys thing
of the general approach. Sound like a reasonable thing to try?

Dave WC0H

Discussion Thread

daque@s... 2001-08-20 18:42:59 UTC Enocders and stepper feedback method? JanRwl@A... 2001-08-20 19:52:11 UTC Re: [CAD_CAM_EDM_DRO] Enocders and stepper feedback method? dougrasmussen@c... 2001-08-20 20:25:57 UTC Re: Enocders and stepper feedback method? Jon Elson 2001-08-20 22:37:58 UTC Re: [CAD_CAM_EDM_DRO] Enocders and stepper feedback method? Mick Jagger 2001-09-04 17:28:52 UTC Comments on HF mill-drill combo machine HighTech 2001-09-04 18:26:24 UTC RE: [CAD_CAM_EDM_DRO] Comments on HF mill-drill combo machine dlantz@a... 2001-09-05 05:02:04 UTC RE: [CAD_CAM_EDM_DRO] Comments on HF mill-drill combo machine