That is a smoking gun that we should look at high power wiring. If you were to test again and rotate the copter and test at different compass points, you would find that there are directions where this (orange mag health) happens less or not at all. If you included all possible orientations (not suggesting doing this) you would find a group (cone actually) of angles where the mag stays green at full power.
(assuming you aren't close to a magnetic north or south pole
and your wiring mag field is much weaker than the earth's when measured at the FC mag sensor)
Are all your high power wires twisted:
- battery to connector
- connector to PDB
- PDB to ESC
- ESC to motor (less probable issue here)
The mag
direction is used like the accels for attitude. The mag
strength is used to determine mag health.
If you add an external mag field (from our high power wiring) to the earth's mag field, it can do any combination of making the strength stronger (ext field points north), weaker (points south) or even just change field direction without changing strength (points mainly in a disk (actually a cone) that goes east up west down). This is vector addition (arrow addition) where for instance 10 north plus 10 east equals 14.142135... northeast and 10 north plus 10 south equals zero and 10 north plus 10 north equals 20 north.
So understand also that the mags are used for attitude, just like the accels.
What sounds like it is happening:
Say facing north it is worse:
When front motors add power the extra mag field changes the direction of the detected mag field and makes it think it is more nose down so it adds even more power to front motors. It reaches a point where it thinks it is correct and reduced power on nose motors. That changes the direction of the detected mag field and makes it think it is more nose up, so it reduces nose motors even more... Oscillation.
And when facing south there is no problem:
In the above description, the extra mag field does not change the direction of the detected field, it just changes the strength. The change in detected mag field does not change the direction of the detected mag field, so no attitude change, so no oscillation.
It would be my
guess that for say 300mm and larger quads with external mag on a pole, with all high power wires twisted, that this will not happen.