clough42 / electronic-leadscrew

Lathe electronic leadscrew controller
MIT License
322 stars 117 forks source link

Max spindle encoder value. #292

Open bogus105 opened 2 months ago

bogus105 commented 2 months ago

Guys, wondering what is the max spindle encoder pulses per second that can be processed by TI microprocessor hardware? I can see nice magnetic encoder rings available. The one that is big enough for my lathes spindle has 114000 pulses per revolution! Math is giving 114000 * 2500 (max lathe rpm) / 60 = 4.75 MHz. Something is telling me it is waaaaay too fast for this board:) I can't find the limit spec. All i can see it max pulse frequency on stepper output which is 100 kHz.

Thank you for input.

bogus105 commented 2 months ago

Any ideas?

Chucksbp commented 2 months ago

I'm not shure of the number you are looking for, but to my understanding you need a 3 phase input from the encoder to operate the TI board. thats how it determins direction. agin I'm far from an expert, but noone replied. there seems to be very little activity on herre as of late. Myself and another pearson had failures with the eBay encoders a couple years ago and switched to a differant brand on Amazon. same size and fit just a bit better built in my opinion. we also lost the first input on the TI board when the encoder failed. I believ the dicussion is below.

bogus105 commented 2 months ago

Thanks. Well it's not 3 phase. It is 2 phase - two channels A and B square wave, 90 elec degreed apart. I'll try to take time and study processor manual to see the limits of its hardware encoder interface.