My Pixracer R15 flight controller has been well autotuned and flys great in every mode on a I-flight 850mm x-class frame.
Now I have added a DJI RS2 Gimbal and sony camera and now when I take off it shakes in hover. Esc and motors are not getting hot but there’s too much vibrations to safely continue flying.
I have flown with much heaver weights and they didn’t shake at all, but they were sitting on the frame directly.
Is the gimbal and camera counteracting the flight controller?
Is there a setting or values I need to add to allow for the gimbal and the camera?
Reduce the ACCEL values as per these calcs for minimum take off weight and maximum take off weight.
Don’t go below a 30% reduction though.
new ATC_ACCEL_P_MAX = ATC_ACCEL_P_MAX x (min_TOW / max_TOW)
new ATC_ACCEL_R_MAX = ATC_ACCEL_R_MAX x (min_TOW / max_TOW)
new ATC_ACCEL_Y_MAX = ATC_ACCEL_Y_MAX x (min_TOW / max_TOW)
ATC_ACCEL_P_MAX=122239.2
ATC_ACCEL_R_MAX=126043.1
ATC_ACCEL_Y_MAX=35389.99
The drone flys great without the gimbal and camera.
Tried reducing the weight battery by 1kg=still oscillations
Tried flying just the gimbal in a locked position and seemed to be ok, but oscillations occur when adding the camera 410g.
Is the camera changing the COG hence the oscillations?
The gimbal mount feels solid with no movement to the drone.
Tried these values with no improvements
ATC_ACCEL_P_MAX=122239.2 x (3.588/6.577)=66686.065
ATC_ACCEL_R_MAX=126043.1 X (3.588/6.577)=68761.235
ATC_ACCEL_Y_MAX=35389.99 X (3.588/6.577)=19306.5659
note:
min_TOW = weight of drone frame + small battery => 3.588kg
max_TOW = weight of drone + gimbal + camera + large battery => 6.577kg
Maybe I did something wrong should I reduce the values more?
You’ve reduced that values to half their originals (almost) but I’d suggest you dont go below 2/3rds.
Like:
ATC_ACCEL_P_MAX = 122239.2 x (2/3) = 81400
ATC_ACCEL_R_MAX = 126043.1 X (2/3) = 83200
ATC_ACCEL_Y_MAX = 35389.99 X (2/3) = 23300
as you can see it’s OK to round off to nearest 100’s or 1000’s.
If stability is still an issue you might need to improve the tuning further before adding the gimbal and camera.
Or filters may need some alteration.
A before and after log might help to identify the problem
Please update to the latest version of arducopter and try @xfacta Shawn’s suggestions.
I recomend you to move the battery and gimbal with camera in such a way that the Centre of gravity is in the middle of the drone frame and also try to reinforce the mounting area of the gimbal and if possible try to remove extra bit of gimbal like handle and other hollow parts as it will bring all the weight close to the drone frame BUT DO THIS ONLY WHEN YOU ARE FAMILIAR WITH WORKING WITH ELECTRONIC AND KNOW HOW TO SOLDER as you might need to shift some components here and there.
I was looking through parameters and noticed that I had disabled MOT_HOVER_LEARN=0 would that have an effect on the stability of the aircraft. Should it be set to 2 (learn)?