- Joined
- Nov 9, 2018
- Messages
- 377
Andy - when you do go to the point of electronic gearbox, you will find there are always several ways of achieving an end result. For example, most controls are devoted to feedback control of speed first, using encoder pulses from the motor shaft. Provided you have some way to account thread backlash, you can get to position control with software by counting pulses up and down, if started from a known parked reference.
Deriving speed control from rate of change of position is worse than deriving position from integrating speed.
The best way is to let the shaft encoder control speed, acceleration, deceleration, safety stop, torque limit, etc. and use a separate position feedback for CNC style position control. These are just retro-fit digital read-out kits, now much more affordable, modified to allow motor control electronics to use them for position feedback.
The small motor you would use to drive (say) the lathe carriage can then be programmed to (say) cut a thread, in concert with the motor driving the cross slide, to make the thread from start to finish, including taking progressive cuts, and a finish cut.
The really clever nerds sample the tool position at some high frequency, and cut compound curves. I am not actually into CNC projects myself. I just play with the great old machines, but I have seen what can be done with things moving in precise relationship, where previously, they had to be geared together.
Hi, my electronic lead screw is basically Jame’s screw here, he has all the source code developed, so I’m basing mine off his work. He also has the interface boards to hook up the microcontroller to the steppers, for like $15.
It’s a TI microcontroller that’s extremely capable, so lots of cycles left to control things besides lead screw.
I’m not going full on CNC yet, just sort of a half way approach, but I’ll pre-define certain things likes tapers, radii, steps, things like that.
My day job, I’m a research engineer, develop finite element modeling software, and build laboratory instrumentation electronics. But my real interest is cars, building a Subaru swapped 76 Porsche 912.
If you guys need any help on the math / physics / mechanics side, or automotive questions, I’m glad to help with whatever I can.
Sent from my iPad using Tapatalk Pro