×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Encoder motor focuser

  • Posts: 1309
  • Thank you received: 226

Encoder motor focuser was created by Andrew

Q: Has anybody considered using a motor with a built in encoder as an alternative to a stepper motor for an absolute motorized focuser?

I can think of at least a couple advantages. Namely I expect they will run quieter and faster and provide accurate position feedback, while a stepper can skip steps and lose accuracy.

An example of a motor that got me thinking about them:

www.robotshop.com/ca/en/pololu-12v-301-g...-64-cpr-encoder.html
4 years 11 months ago #38460

Please Log in or Create an account to join the conversation.

  • Posts: 554
  • Thank you received: 138

Replied by Chris Rowland on topic Encoder motor focuser

The Celestron focuser uses an encoder motor. It's essentially the same motor and contol firmware as they use in their mounts.
4 years 11 months ago #38465

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic Encoder motor focuser

Interesting. I wonder what would be required to DIY a compatible motor controller.
4 years 11 months ago #38511

Please Log in or Create an account to join the conversation.

  • Posts: 554
  • Thank you received: 138

Replied by Chris Rowland on topic Encoder motor focuser

IMO making firmware compatible would be more work than writing firmware with your own interface and writing a new iNDI driver.

Stepper motor firmware is far simpler than encoders. It can be no more than setting one output to specify the direction and sending a series of pulses on another. Or sending the coreect sequence of four signals to a ULN2803.

Encoder firmware needs an ISR to handle the gray code from the encoder and some sort of PWM current control for the motor that handles acceleration and speed, with suitable feedback from the encoder to get rate and position data. Maybe a PID controller.

Or get a commercial encoder motor controller. This won't be cheap nd will come with it's own control protocol. One way to do this would be to get the Celestron focuser of course.
Last edit: 4 years 11 months ago by Chris Rowland. Reason: tidy formatting
4 years 11 months ago #38519

Please Log in or Create an account to join the conversation.

Time to create page: 0.408 seconds