Does anyone have code to synch a tach to a seperate stepper/servo? Need to synch a motor to an existing lathe chuck for a project.
Hi @outsidethebox1 ,
I think that's not enough information to support ...
Can you give more details:
- Type of tacho and its interface?
- Drawing/sketch of your mechanical application?
synch a tach to a seperate stepper/servo
Not sure about that but do you want
- to sync a motor to a rotating lathe chuck
- that's driven by a different motor and
- where the tach measures the rpm?
ec2021
The lathe chuck RPM can be zero to what maximum number that you want to sync to? How often does a sync pulse come from the lathe chuck? What happens if the second motor is under or over the speed of the lathe chuck? What error is allowable?
Zero on lathe chuck is important at the moment. I have to build and install the tach for the lathe. Was going to use a step motor attached with belt or use a Hall effect sensor for the tach. Basically I need the slave motor to be times to the lathe with a very high resolution. I’m trying to turn flat sided polygons with this project. I’ve seen some folks using mechanical synchronization but I’m trying to think outside the box on this one. I would also like to be able to change the ratio from the lathe to slave stepper/servo. 1:2, 3:1, 4,:1 lathe to slave and so on.
Lathe zero ISN’T important. Sorry about that
As of now I haven’t attached any hardware. This is a brand new idea and I’m very new to the electronics world. Any input from someone smarter than me would be much appreciated
So you have a lathe chuck rotating, you want another motor to rotate at the same speed and in sync.
Industrially this would be done with high speed encoder or resolver and a servo motor and drive. (Not a 0 to 180 servo, a proper servo.)
What error can you tolerate in speed and phase between the two?
Tom..
![]()
Then you DO NOT want software involved, because you cannot ensure a constant execution speed. Interrupts do occur with any code, whether your code uses them or not.
This is what I am trying to achieve.
I believe it could be done with servos to a degree of accuracy that I can live with. Especially considering CNC is already doing it. Albeit with much more quality programming and hardware than I’m willing to invest in at the moment. Its hobby for now.
Hi,
When you look at the power and speed regulation under the continuously changing load, that is why CNC machines cost 100's of thousands of dollars.
Position control is very important.
As a hobby experiment, good luck.
Tom..
![]()
If you want to do your project with a micro controller, use a PIC rather than any Arduino.
What are the advantages of the PIC? I’m not familiar with those
The Arduino is a microcontroller plus a whole bunch of software that you and I do not see that get compiled along with your code. Some parts of that added code will do stuff that you are not aware of, like timers and interrupts, etc.
The PIC series of microcontrollers put you in total control. That is why they have been used for a couple of decades and more for stuff like are contemplating.
I really appreciate the inputs from yall. Looks like I may need to do a little reading before moving in the direction I thought I wanted to go. Very helpful information. Thank yall.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.