Help/advice needed on grounding/interference type problem… sorry this is probably going to be a long post…
Today I finished setting up my machine with dual drivers on the x axis. So I was testing, trying to get nice clean circles.
During setup of the new x axis layout I was motoring back and forth, adjusting, back and fourth again etc until I got nice clean run along the length in both directions. Then I played with speed to find a rate that worked reliably etc. This was all good.
The I started cutting circles. With the spindle switched on I experienced dropped steps/interference that tended to push the x axis motors out of alignment with each other and messing up the circles.
When the spindle starts up I can see the z axis motor twitching. But it stops when the spindle is at speed.
So I started to experiment. I ran the job with the spindle raised and off. And everything sounded right. No stalling of motors etc.
Then I got the multimeter out and decided to check the voltage difference between the z axis motor casing and the spindle casing. The readings jumped around between 0 and 1v. So I checked again while the spindle was running…
This caused all axis motors to go a little haywire, running enough to move the axis.
So… my wiring…
I have a normal the cite power cable from plug socket to vfd with earth connected to earth terminal.
Then I have heavy duty shielded 4 core from vfd to spindle. 3 for the 3 phase power and one for earth
The earth is connected to pin four on the spindle connector and the earth terminal at the vfd end. The shielding touches the spindle case via the connector and is also connected to the earth terminal at the vfd.
Independently my motors are all connected to sparkfun easy drivers. They are powered via a 24v supply that has one of those cylinder connectors like a laptop power supply.
The drivers take their signals from an arduino. All the drivers and the arduino share ground point on a little circuit board.
The arduino is connected via USB to laptop which is plugged in.
So the earth of every part ultimately connects to the earth pin of power plugs and everything runs off the same multi way connector.
I had thought that I might need to connect the ground/case of the spindle to the ground shared by the motor drivers, but making that connection sends things crazy. Without it things run mostly fine, but are having some kind of interference from the spindle running.
I’m clearly missing something, but in really not sure what.
Any input/advice is gratefully received.