Motors oscillating with used battery

Hi!

I have a quadcopter:

  • Battery: 4s2p 4000mAh EVE 40PL
  • Motor: 2306 1750kv
  • Props: 5x3.1 inch
  • TOW: 1250g

When I done a flight with fresh battery, everything seemed fine, I have seen no signs of oscillation. The weather was windy, but the drone was able to keep it’s position.

When the battery was well used (but above failsafe triggers) the motors were oscillating and the battery current was abnormally high due to constanty changing motor RPM.

Is there a parameter setting in the control loops to fix this behaviour of I just have to land and change battery? And increase failsafe voltage limit.

Are my motors/props mismatched to this TOW and this battery?

Test flight with fresh, full battery: https://drive.google.com/file/d/1fgL1sTr0TInyWaXhraFjNshS8Y5KSFkg/view?usp=sharing

Test flight with used battery: https://drive.google.com/file/d/1MG29lW5O4_JMOSUPYpIpeh2bknKZ59qg/view?usp=sharing

Thank you!

Check what vibrating on your quad at ~62 hz, it’s less with “full battery” by 25dB which still is huge.

Thanks for the suggestion! I haven’t thought about notch filter setting or physical vibration!

There’s a spike at about 325Hz. Shall I add a filter to auppress this spike?

3 major vibrations are visible but only first is problematic, others attenuated enough by LPF.

I think the source is either those legs either that small action camera at the front of the device.

Those legs are to provide space for a camera under the drone. The action camera is raised to that height because there’s a magnet inside the camera and that magnet disturbs the compass.

I will remove them and make a test flight. In 2026 :smiley:

More likely the vibration is a result not a cause. Perhaps it’s battery voltage compensation. Use the max and min values for Li-ion batteries, that’s not what you have. If that doesn’t improve the situation then PID’s will have to be addressed. IOW, it’s not a vibration issue.

From the low battery flight. Not seen on full charge:

Thought maybe it was discharge cutoff but that’s 2.5V for those cells.

Is current calibrated? I suppose not.

Hi Dave,

I’m using Mateksys battery meter ( https://www.mateksys.com/?portfolio=i2c-ina-bm ). I assume it should be OK without calibration.

Anyway, I will connect a multimeter series with the battery meter and see what does it measure with a constant current load.

I will set the correct values for the batteries! Thanks for pointing out!

Yea, those should be good.
Interesting issue actually! Have to take a deeper dive.

My plan is to go back to the field and try to reproduce the issue:

Start with a fully charged battery, start flying and find where does the oscillation occur. I hope I will have a battery voltage level.

Then change max and min values to the recommended parameters by MissionPlanner.

BATT_ARM_VOLT: 12.7
BATT_CRT_VOLT: 12
BATT_LOW_VOLT: 12.4
MOT_BAT_VOLT_MIN: 11.2

By-the-way, aren’t theese a little bit too low voltage levels?

Take-off and see motor RPM oscillation.

If still oscillates I will remove the legs then the small action camera from the front.

Let’s see what happens :slight_smile:

Thank you @dkemxr, @mike_tk !

That is a very very bad plan.

A much better plan is to set those parameters before the flight. Use a multimeter to be sure that the reported voltage is correct, and only after that perform the test flight.

Also set the MOT_BAT_VOLT_MIN and MOT_BAT_VOLT_MAX parameters.

This test flight is a lot less dangerous than the one you planned.

I have a 5 1/2 digit bench multimeter.

I apply the battery voltage from an adjustable powersupply to the drone.

On the battery connector I measure with multimeter 16.77V, MissionPlanner reports 16.75V

On the battery connector I measure with multimeter 14.86V, MissionPlanner reports 14.84V

On the battery connector I measure with multimeter 12.00V, MissionPlanner reports 11.97V

The voltage measurement is OK, I think.

I’ll change the mentioned parameters! Thanks!

Yea, those are not the max/min values I was talking about. Voltage compensation which are the parameters @amilcarlucas noted.

I got it, thank you!

I have set above mentioned parameters, and I will do a test flight and get back with results.

Should be interesting. Of course these need to be set right but I’m not sure it’s the primary cause of the problem. I would love to be wrong about that so let’s see :slight_smile:

As an aside get your logging parameters in order.
Disable these as you have Raw logging enabled:
INS_LOG_BAT_MASK
INS_LOG_BAT_OPT

Hi!

I was able to do a few test flights.

  1. The craft, with above recommended parameter changes, but without any hardware modifications: https://drive.google.com/file/d/1koLd84B8FbenPsfiq9b_UA_2LS9lCemI/view?usp=sharing
    The motors were oscillating as previously, but now even with fully charged battery. Battery current was pretty high, about 30A.

  2. The black part of landing gear (a few plastic standoffs :smiley: ) were unscrewed: https://drive.google.com/file/d/1ik0vzTNz_utor4PXMt375rP6MyWleAzN/view?usp=sharing


    Oscillation disappeared, battery current was about 14-16A. I think everything is normal in this case.

  3. I put back the removed black part of landing gear, to see if the landing gear was really the root cause or not: https://drive.google.com/file/d/1n1jGQRz-HyIa_51BPnzKTzb_sGTbM1Nl/view?usp=sharing
    The drone oscillated as before.

By removing the landing gear (which is a big but lightweight component on the end of arms) the oscillation seems to be solved, but the question: I need some landing gear because I would like to mound a small camera under the drone.

How to start, what direction:

Use a more rigid material (carbon fiber tube?) for landing gear?

Mount landing gear closer to the center-of-gravity of the drone?

Or am I at a completely wrong direction? :slight_smile:

Thank you!

It does not looks like the leg is a root cause of vibration but it changes amplitude and freq
With legs -2db @ 62hz


Without legs -27db @ 58hz

So 25db difference is like ~17 times stronger signal amplitude.
-27db can be tried to filter with static notch, but -2db is too strong.

Now check if removing a camera helps.

Hi!

I had chance to go back to the field. However it was pretty cold (-6C) I kept the drone and battery at room temperature. Unfortunately I forgot to turn LOG_DISARMED off :frowning:
I will fix it next time…

First flight with camera with long legs, with 4s2p battery: https://drive.google.com/file/d/1Kk3oUloXJvrpECRsqau7CAlNevLzRLUM/view?usp=sharing

The motors are oscillating and the input current is pretty high. The motors and electronics were more than warm, in -6C ambient temperature.

Second flight without camera without long legs, just a short metal standoff (20mm) 4s2p battery: https://drive.google.com/file/d/1T9haKZsJd2yjvH4qY5wIUja_8j9egZzP/view?usp=sharing

The drone was still oscillating, which was a surprise for me…

Third flight without camera without long legs and with 4s1p (-300gramm battery): https://drive.google.com/file/d/1FemyYf_B7cDadSeqLxOQqjg3ENOkqIOn/view?usp=sharing
It was still oscillating, and it was pretty surprise, becouse I have removed every “protruding” element from the quadcopter.

I have checked the propellers: they are in good condition, I have crashed only once, from about 50cm into soft muddy surface.

The bottom if VTX antenna is zip-tied to the frame, and about 5cm is left un-tied. Can it cause such problems?

I have just checked the drone or loose parts: It seems to be solid, the screws are tight. Nothing’s wobbling.

Could you please take a look at the logs?

Thank you!

@dkemxr do you have a couple minutes to take a look at the log files?

Thank you! :slight_smile:

This applies ot the 3rd flight which I’m looking at. How are you concluding it’s oscillating? Seeing it, hearing it, from log review?
This looks like it could be D-term oscillation which we can address but need to know what you are describing.

Yes, I can hear it.

The motors were not emitting a constant frequency during hovering. It sounded, something similar to this one, at the first 10 seconds, where the operator pushes heavy throttle:

https://www.reddit.com/r/Multicopter/comments/kvozru/need_some_help_with_motor_oscillations_sound_on/

Lessons learnt: next time it may be useful to record the test flight :slight_smile:

Can you point me some direction, where to start?