We have been using Pixhawk cube orange flight controller for building a quadcopter that weights 7 kg without payload. We tried for months but are unable to stabilize the drone. We tried to change the PID gain values in mission planner but as we takeoff initially it’s stable but as we try to maintain it’s height it starts drifting around on its roll and pitch axis. We have gone through all the initial tuning steps . Can anybody suggest a way we can stabilize it? Attaching link of log file for your reference
@xfacta Sorry for the delay in reply , here is the picture of the assembled drone .
The frame is made of aluminum which is 3mm thick . The arm tubes are made of carbon fibre 30mm OD and Landing gear is 3D printed ABS material and 50 % fill.
Also the clamps made for holding carbon tubes are 3D printed
Motors : 580KV 5050 prop drive
ESC : Redbrick 100A
Propellers : 13x5
Below I have attached a drive link in which you can see the image of the assembled drone and there are two video of the flight test that we have done on stabilize mode.
Recently we have done few flight test , here are the problems I have faced
The issue in stabilize mode is when we try to land the drone , the speed increases and its uncontrollable , we then switched to land mode for landing which was stable. Also the takeoff is not proper as you can see in the video after performing a slight rotation the drone goes forward and takes off .
Second problem is when we give forward and sideways ( roll and pitch ) signal the drone doesn’t react to it instead it’s drifting in only one direction without any signal given , I am not sure about why it doesn’t react to it my only guess can be the PID value are quite small , especially P and I.
Pity about that crash in the video, it was doing so well until then. We have all been there
Those ESCs are old tech and you can save yourself about 1/2 kilogram takeoff weight by replacing them them with a 4in1 ESC
You would mount the ESC centrally and run the motor wires through the arms, making sure there’s no joins to short to the carbon fibre.
The battery would have to be mounted under the central plate, or maybe you can fit the ESC in just under the flight controller.
You could probably reduce the size of the landing gear to save a bit of weight too, but it’s working so far.
Definitely remove the USB lead form the side of the Cube. Also secure any other wiring.
There is a connector on the carrier board for USB but you’ll need to get the correct connectors and mount a USB socket somewhere accessible on the copter frame.
Vibrations are critical!
Set up a Motor Emergency Stop switch on an unused RC channel.
Looking at the Log 14-55-23
Z axis vibrations are definitely an issue, not very bad, but worth fixing. Read about it in the docs and see what you can do. Usually it’s loose items, prop wash over the flight controller, no antivibration damping.
Dont fly again until you are sure this is improved, or you’ll have the same issues no matter what parameters are changed. It’s a physical problem.
Below 20 is OK, below 15 is very good.
Also take any stickers or tape off the motors - that throws them out of balance. Adding tiny amount of tape, or even nail polish, in the correct places is how we can balance the motors if needed.
Set up battery voltage monitoring, and current if possible too - the standard Cube power brick will work fine with default settings if you just enable it. This gives you some essential safety features and better tuning.
Those ESCs and motors are going to nearly maximum output.
Attitude control is always going to be poor when motors are operating near maximum just to get airborne.
What’s the total weight of the copter, and what battery do you have?
I’ll see if we can work out what props you can use without changing those motors.
Also take a photo looking straight down from above, and estimate how much clearance you have between prop tips and the centre plate, and also clearance between props. I suspect you could go 1 inch bigger props.
Enable the battery monitor and put these in place, but dont try to fly yet until all the other work is done.
ATC_ANG_RLL_P,6.0
ATC_ANG_PIT_P,6.0
ATC_RAT_PIT_P,0.1
ATC_RAT_PIT_I,0.1
ATC_RAT_PIT_D,0.005
ATC_RAT_RLL_P,0.1
ATC_RAT_RLL_I,0.1
ATC_RAT_RLL_D,0.005
BATT_ARM_VOLT,14.70
BATT_CRT_VOLT,14.00
BATT_LOW_VOLT,14.40
BATT_FS_CRT_ACT,1
BATT_FS_LOW_ACT,2
INS_ACCEL_FILTER,10
INS_HNTCH_ENABLE,1 // set this then refresh params to see the rest
INS_HNTCH_MODE,1
INS_HNTCH_REF,0.21
INS_HNTCH_FREQ,70
INS_HNTCH_BW,35
INS_HNTCH_FM_RAT,0.7
INS_LOG_BAT_MASK,1
INS_LOG_BAT_OPT,4
Can you get one of these ESCs ? I know they are expensive but I think you’ll need the current capability with those motors and props, and especially if you add a payload. Think of all the neat and tidy wiring and the ESC telemetry we can set up
You’ve got a good Cube Orange flight controller and it would be a shame to see it go to waste.
@xfacta Thank you for your suggestions, we will definitely make the suggested changes before the next flight
We were concerned about the continuous drift of drone while takeoff in stabilize mode. As you can see in the video the drone doesn’t go straight upward while take off instead it starts drifting, could it be because of uneven frame weight or due to wind?
Also our drone speed increases as we try to land in stabilize resulting in a crash, so is it normal or we need to change some parameters?
The total weight of the drone is 6.3 kg and we use an Orange Li-po 4S 22Ah battery
Anyways we will surely update you if we do some flight tests after rectifying the mistakes.
I think this can be done with those motors and that battery with 16x6 props, 2 blade.
But you will need a good quality ESC than can do about 55A peak (each motor) like the ESC I linked to earlier.
The way it is now, in ecalc the thrust to weight ratio comes out close to 1:1, which means you can barely get off the ground and have nothing for attitude control.
EDIT:
You can get the MasterAirscrew 3 blade 16x10, but the electrical load is getting too high. Found it! Master Airscrew 3 blade 15x7
and you need to order these with any Master Airscrew props.
The MA props wont need balancing, they are high quality and should work better than expected (in my experience). The only have the central mounting hole so you’ll need a suitable prop mount on you motor, and nyloc nuts so they dont come undone.
ESC current is right up around 60A at full throttle, but otherwise the 3 blade 15x7 will be good.
The ESC I already specified will be suitable
@xfacta Thanks for the insight , so you are saying that increasing our thrust to weight ratio might solve the drifting problem of drone as well as decrease the speed of the drone while landing?
It might help, but you will need a higher thrust to weight ratio anyway.
See if you can get MasterAirscrew props, order online direct from their store if you have to - they are worth the wait.
I couldnt find anything suitable in 16inch 2 blade without going to expensive T-Motor carbon fibre props.
They are nice, but probably overkill for this applications.