during the latest test campaign, we ran into some weird behaviour with our Myxas.
The setup contained 6 Myxa ESCs with the latest telega v1.0 and the same settings on all of them. Power was provided by a 12S battery.
The ESCs were running smoothly for quite some time, but when the voltage dropped below ~36V the Q current of one of the Myxas started oscillating with an amplitude of several amperes, as can be seen in the following picture and soon after a second one did so, too. Visually a variation in velocity was noticeable as well.
A data snapshot to said test run can be found here.
This behaviour seems strange and undesired to us, especially since only two of the six behave like this. Also it was reproducible, as we first noticed this in an earlier test, where the same ESC (Node ID 5) started oscillating like this.
Any ideas what might cause this? If you need any further information, please let me know.
Can you please share the values of the dq voltage vector and the DC voltage near the point where the problem appears? The DQ quantities are published via the dq topic.
To rule out the possibility that the problem is caused by the underperformance of the DQ current controller, please ensure that the problem is reproducible with motor.current_ctl_bwr set to 0.06.
The dc voltage and dq measurements are given in the link I provided above. Here you can find a slightly altered version, with a bit more information about the dq voltages.
We will test the setting you suggested in the upcoming days. I will come back to you, once that is done.
I think the moment of inertia configured in the INDI controller is too high. The controller may operate normally in most conditions while on the verge of a self-induced oscillation. When the DC link voltage is reduced, the point of voltage saturation is approached, where the maximum magnitude of the voltage vector is |u_{dq}| = u_\text{max} = f_\text{util}\frac{u_\text{dc}}{\sqrt{3}}; f_\text{util} \approx 0.94. While the system is not yet continuously saturated, it enters the saturation state sporadically when the controller demands peak torque to compensate for external disturbances (we do not see this on the plots because the telemetry data is heavily downsampled by Telega); if the configured moment of inertia is high enough, this may be sufficient to cause self-induced oscillation to commence.
The drives that exhibit this behavior also happen to be those where the DC link voltage is the lowest; I suspect they may be located farthest from the battery than the other ones, so they are affected by this problem first.
Try reducing drive.velocity_ctl.2_indi.mass to 5.e-05.