Hi Eddy
Would it also work in a vertical position like a rotary table ?
Unfortunately, no, it's just too big, (see pic) what I would like to do is cut gears and splines in plastic and
aluminum, and be able to mount a carburetor bowl from vintage machinery and re spot face the threaded holes and clean up the thread.
Years ago I had a look at the problem when I had a lot more hair and a lot less experience, and
there were spindexers, rotary tables, universal dividing heads, and a fancy one call a plug grinder.
What I realised was the accuracy was in the plates and locking mechanism.
I graphed the error in a simple system, I used CB to polar array a line at 1.8 degrees steps and at
a pcd of 150 mm and at the circumference of the workpeice the error was 0.49 mm steps
I then mapped the +- error in the stepper motor 10% or 0.18 deg you don't want to microsetep down into that area
as you have no idea where you are without mapping this is why I'm microstepping by eight and not 10, and using 4 to 1
gear reduction which is still not enough resolution really.
I do have two industrial encoders an 360 ppr and an Allen Bradley at 5000 ppr.
The 360 ppr is not suitable and the AB one is two expensive to use on something that I'll use once in a blue moon.
I had ordered some AS 5040's 1024 ppr for the tapping head but decided not to use them
They are no good for this task either, so I had a look at some 21 bit encoders which would provide
up to 2000000 ppr although after filtering and signal conditioning 100000 ppr was reliable.
This was to much for the micocontroller and the other problem was that I'd have to drive it
from the spindle shaft where it would be easy to knock about.
I've been thinking about a 4th axis on and off for years but it is a difficult problem and a standard open loop
system won't be up to the task, a closed loop stepper would be better but the encoder
is on the motor and not the spindle so any transmission error caused by backlash in the system
(caused by brake engaging) may move the spindle slightly without the motor compensating for it.
Having the encoder on the spindle can be problematic as if there is any appreciable backlash in the system, perhaps two rollers
connected together with gears or a rack and pinion then the controller can oscillate.
I think I'll be ok here as I wrote my own pid routines I clamped the I value in the PID to a quarter of the total output so that the system could not saturate.
Maybe in a few days I'll have the machining done so that I can bring it inside and start coding.
Anyway while looking about on utube at 21 bit encoder vids I saw this
https://www.youtube.com/watch?v=MgQbPdiuUTw(I'm glad I did) this guy legit knows his sensors, I'm really impressed with his project.
I want to use those AS5040's like he did I don't need the impressive resolution he needed but if I orientate the
magnets like he did I don't have to have the encoder hanging of the end of the spindle.
"Cutting Edge Engineering Australia", it's worth checking out
Yes I do watch him I much prefer real humans rather than the overwhelming amount of AI generated stuff.
Edit: had trouble inserting hyper link
Dave