Smoothing out Brushless motion
Posted: Tue Dec 17, 2019 3:58 am
I have two different brand and different spec brushless motors driven by SnapAmps. I found that after setting them up using AutoPhaseFind the current amplitudes were measurably different depending on the direction of motion. I was able to equalize them by adjusting the Commutation Offset value 10 counts at a time initially them 5 counts at a time to optimize the balance CW and CCW. I have a 2048 line encoder on both motors. You can see this difference comparing the current plots for (CGI_2_current_plot) Vs (CGI_2_current_plotA).
The second thing I saw was that the phase currents were not equal during running at about 80% max velocity.
Attached are the data plots. Use Axis(CGI_0_current plot) for this discussion. The pattern was consistent where running CW phase U was lowest, Then V, Then W. And running CCW the pattern was reversed. I also noticed that the motor was not running smoothly at speed and I attributed that to the variation in currents. P gain was reduced and increased to no real effect. Is there a way to customize the current command for each phase as a percentage of lets say Phase A? Where Phase B would be 95% of Phase A and Phase C would be 90 % of Phase A or something to that effect?
The third thing I noticed was on (CGI_2_current_plotA), one of the phases (Phase B) was always running at a higher offset from the other two phases. in contrast to Axis 0 that showed all three phases crossing the same Zero line.
I tried swapping the motor to output from the other Snap Amp with the same results. Do you think this indicates a bad motor?
AZ
The second thing I saw was that the phase currents were not equal during running at about 80% max velocity.
Attached are the data plots. Use Axis(CGI_0_current plot) for this discussion. The pattern was consistent where running CW phase U was lowest, Then V, Then W. And running CCW the pattern was reversed. I also noticed that the motor was not running smoothly at speed and I attributed that to the variation in currents. P gain was reduced and increased to no real effect. Is there a way to customize the current command for each phase as a percentage of lets say Phase A? Where Phase B would be 95% of Phase A and Phase C would be 90 % of Phase A or something to that effect?
The third thing I noticed was on (CGI_2_current_plotA), one of the phases (Phase B) was always running at a higher offset from the other two phases. in contrast to Axis 0 that showed all three phases crossing the same Zero line.
I tried swapping the motor to output from the other Snap Amp with the same results. Do you think this indicates a bad motor?
AZ