This Centroid setup is wrecking my machine!
Posted: Sun Sep 22, 2024 4:08 am
So, after a few years of running the Centroid Oak on my Mazak, I have always had an annoying banging sound at the start of movement. It has been there since the Centroid setup went on, was not there on the OEM Mazak controller.
I had got to the point I believed it was mechanical. I even re-balled all the linear rails and pre-loaded ball screw bearings. I wondered if it was caused by the soft plastic insert motor couplers so I changed to some disc type couplers that are true zero backlash (the machine originally had solid couplers). Unfortunately, now the knocking is terrible, it seems the couplers were helping to damp it. I spent a ton of time trying to diagnose it and finally think the issue is caused by the Oak controller! Hear me out...
I will preface this by saying I have not proved for sure the Oak is the problem as that would require scoping the signals to the drive. I will do it if I have to. I am basing my assumption that the Oak is the issue as the problem has happened on several motors and drives. I am basing my findings on the signals that the Delta ASD drives see from the oak.
So, the issue is that sometimes, almost randomly, the movement command to the drive is not consistent. It has some stalls in it. These cause the drive to accelerate/decelerate in an oscillation that vibrates right through the machine as a "bang". Refer to the picture below:
The white line is the drives command signal when I issue a G01 X50 F1500 (starting from X0) (metric). It is zoomed in to show the moment movement starts. You can see the white line has two flat spots in it. Where commanded position stops changing a couple of times. You can see the motor RPM (orange line). The motor accelerates then decelerates, accelerates, decelerates. In this capture there are three flat spots in the command. These flat spots are only 15ms apart. it is these acceleration cycles that are rattling the machine to death.
For comparison, here is an example when the machine doesn't bang and moves quietly. When the stepping is not in the position command signal, movement is great.
You can see the motor accelerate smoothly up to a steady 150 RPM.
Here are some more findings:
- Happens on all three axes, probably one out of every four MDI commands, kind of random.
- Initially I though it was related to backlash comp, but happens if you keep moving in the same direction, G01 X50 F1500; X100; X150 (bang), and sometimes when changing direction.
- The difference in number of steps at flat spot from resting position is not consistent, and not the same as the backlash value. This setup has 30000 steps per rev.
- Some times get one flat spot, two or three.
- Tested with backlash off (in motor settings) and with backlash acceleration at 0.001 (Param 208-215)
- Fresh report file, Delta drive configuration file and more pics attached
Here is another example from the Z axis. I can hear the brake inside the motor rattle when this happens!
In this example the flat spot happens after 978 steps movement (0.326 axis movement). Backlash comp is 0.0025mm (7.5 steps).
I had got to the point I believed it was mechanical. I even re-balled all the linear rails and pre-loaded ball screw bearings. I wondered if it was caused by the soft plastic insert motor couplers so I changed to some disc type couplers that are true zero backlash (the machine originally had solid couplers). Unfortunately, now the knocking is terrible, it seems the couplers were helping to damp it. I spent a ton of time trying to diagnose it and finally think the issue is caused by the Oak controller! Hear me out...
I will preface this by saying I have not proved for sure the Oak is the problem as that would require scoping the signals to the drive. I will do it if I have to. I am basing my assumption that the Oak is the issue as the problem has happened on several motors and drives. I am basing my findings on the signals that the Delta ASD drives see from the oak.
So, the issue is that sometimes, almost randomly, the movement command to the drive is not consistent. It has some stalls in it. These cause the drive to accelerate/decelerate in an oscillation that vibrates right through the machine as a "bang". Refer to the picture below:
The white line is the drives command signal when I issue a G01 X50 F1500 (starting from X0) (metric). It is zoomed in to show the moment movement starts. You can see the white line has two flat spots in it. Where commanded position stops changing a couple of times. You can see the motor RPM (orange line). The motor accelerates then decelerates, accelerates, decelerates. In this capture there are three flat spots in the command. These flat spots are only 15ms apart. it is these acceleration cycles that are rattling the machine to death.
For comparison, here is an example when the machine doesn't bang and moves quietly. When the stepping is not in the position command signal, movement is great.
You can see the motor accelerate smoothly up to a steady 150 RPM.
Here are some more findings:
- Happens on all three axes, probably one out of every four MDI commands, kind of random.
- Initially I though it was related to backlash comp, but happens if you keep moving in the same direction, G01 X50 F1500; X100; X150 (bang), and sometimes when changing direction.
- The difference in number of steps at flat spot from resting position is not consistent, and not the same as the backlash value. This setup has 30000 steps per rev.
- Some times get one flat spot, two or three.
- Tested with backlash off (in motor settings) and with backlash acceleration at 0.001 (Param 208-215)
- Fresh report file, Delta drive configuration file and more pics attached
Here is another example from the Z axis. I can hear the brake inside the motor rattle when this happens!
In this example the flat spot happens after 978 steps movement (0.326 axis movement). Backlash comp is 0.0025mm (7.5 steps).