originator
Industrial
- Dec 12, 2004
- 71
Hello
I posted to another forum but probably should have posted here instead now that I am a bit more informed:
Could someone please describe what the concept is for using a shaft encoder on a stepper for tracking with a controller? I want to learn what is the most accurate way to track stepper motion to avoid drift between pulses out of the controller, and the pulses counting back in from the encoder translator. In the application there will certainly be occasional obstructions that will block the motion, and therefore a method to get things back in sync is what I am after. There must be several different approaches, but would it be safe to assume the the controller should also act as the up/down counter and pulse generator simultaneously? Second, is it typically coded where a pulse goes out to the motor, then the controller immediately looks for the corresponding pulse from the encoder, and makes decisions from there if the pulse is missed?
I am ordering an E2 USDigital encoder with an interface IC for translation to up/down clocks. The stepper will be half stepping at 400 pulses, and the Encoder outputs 400 pulses as well. Currently I am experimenting with a Stamp and once I get the details sorted out will move the project to a PIC or SX, or maybe even the new Propeller chip for production. I don't know any language other than some Basic and am trying to get my feet wet with how this works.
I appreaciate any enlightenment on the subject.
Thanks!
I posted to another forum but probably should have posted here instead now that I am a bit more informed:
Could someone please describe what the concept is for using a shaft encoder on a stepper for tracking with a controller? I want to learn what is the most accurate way to track stepper motion to avoid drift between pulses out of the controller, and the pulses counting back in from the encoder translator. In the application there will certainly be occasional obstructions that will block the motion, and therefore a method to get things back in sync is what I am after. There must be several different approaches, but would it be safe to assume the the controller should also act as the up/down counter and pulse generator simultaneously? Second, is it typically coded where a pulse goes out to the motor, then the controller immediately looks for the corresponding pulse from the encoder, and makes decisions from there if the pulse is missed?
I am ordering an E2 USDigital encoder with an interface IC for translation to up/down clocks. The stepper will be half stepping at 400 pulses, and the Encoder outputs 400 pulses as well. Currently I am experimenting with a Stamp and once I get the details sorted out will move the project to a PIC or SX, or maybe even the new Propeller chip for production. I don't know any language other than some Basic and am trying to get my feet wet with how this works.
I appreaciate any enlightenment on the subject.
Thanks!