The drone suddenly crashed

To reiterate what others have said, and for posterity, be careful with the concept of “throttle” in ardupilot. The absolute throttle value that ardupilot uses is a function of several variables, which might be different than what is used by eCalc.

For instance, lets say you have MOT_PWM_MIN/MAX set to 1000/2000 and ardupilot reports that hover throttle is 50%. For the sake of argument, this means that the average real PWM sent to all motors is 1500. But, if you configure ardupilot to lower MOT_PWM_MAX to 1750, then when ardupilot is sending 1500 pwm to the motors for hover, the throttle percent will change to be (1500-1000)/(1750-1000) or 500/750, or 66%.

This is why you need to dial in your motor parameters (and not just those) before you use the throttle value for things like notch filters, because the throttle is an “abstract value”

And when you factor in mot_thst_expo the suggestion that 0.40 for throttle out at hover is OK is wrong.

Would you happen to mean it should be even lower? Additionally, I’m planning to give weight reduction a try.

Yea, sure it should. The fact that your average outputs at hover are ~1700µs, which is close enough to what eCalc predicts, is indicative of insufficient thrust:weight

As a rule of thumb thrust at 60% throttle on charged battery is max what you can safely use.
You should keep in mind that throttle increases when battery discharges, let’s say for liion battery it can discharge from 4.2 to 2.8v (or even lower), that means than if at start of flight you have 60% throttle as the battery discharge you you will get 60*4.2/2.8=90% throttle, which is close to the edge for attitude control.
You can try bigger prop pitch, it can increase a max thrust a bit but in reality you need bigger prop, like 10" that will be able to handle such load.

1 Like

On that note, I currently have a misconfigured (connected other way around) current sensor. The doc says, voltage compensation uses an estimated battery resistance. Since I don’t have the current sensor, is there a resistance paarameter I can change manually so that the compensation is more accurate? Or should I not touch anything since the drone has flown pretty well?

@StrikeEagle No, that is not possible. To have a correct voltage sag compensation you need to have a calibrated and working current sensor.

We do not tell you guys to perform all these calibrations and configurations for fun. We tell you to do this things because they are necessary!

Your definition of “pretty well” clearly does not match ours.

2 Likes

I need to flash the Bluejay firmware to support BDShot. How is the stability of this firmware? Also, I would like to confirm if the F405 V4 supports telemetry for temperature?

I don’t know what to say to that… :sweat_smile:

EDIT: It would be good if you can tell me a general test to see if the drone really feels good to fly. Else, how do you gauge it as not flying “pretty well”?

Bluejay is fairly stable, you can flash it without fear. 60a speedybee esc supports temperature reporting as far as I remember.

2 Likes

I’m glad I finally got my plane fixed and managed to shave off a bit of weight. However, during today’s flight, I noticed some yaw issues. How should I optimize this?

**Here is the latest log file:**https://drive.google.com/file/d/1qA6r7aoLMGAn2MY7HzqJR_v9n5jnX0RE/view?usp=sharing

Actually attitude control in all axis looks bad and it’s still overweight. But hey, the Rate PID’s are at default what would you expect? Tune it.

2 Likes

Thanks so much for your input! I’m still working on optimizing the aircraft’s weight—though I know this will take some time to get right.

Also, I’m really in need of guidance and tutorials for tuning the rate PID parameters right now. Would you happen to have any tips or resources to share on how to approach this?

On a related note, I’d also like to ask: What is the actual goal of PID tuning? What should a “perfectly tuned” PID look like in practice?

You can take 2 paths:
Tuning Process Instructions
The Methodic Configurator

2 Likes

Hey Dave, could you share a solid reference curve that I can learn from for the tuning? Or even a flight log from a well-tuned aircraft would be awesome—it’d help a lot to have a practical example to follow!

A very practical, linear and step by step example to follow is the ArduPilot methodic configurator software.

It is already as simple and as fast as it can be. Moving any faster than that will give you an incorrectly configured vehicle.

The learning curve of it is also the best one. You only learn necessary stuff. All that is fluff is left out. If something is included, there are very good reasons why it is there.

Thanks! I’m starting to adjust the PID now.

There is no one reference curve, it’s a multi-step process with a series of adjustments building on the previous ones. As you work thru the process this will become clear.

1 Like

I flashed the Bluejay firmware today and found that it doesn’t support temperature reading.

Did you try servo_dshot_esc,4 ?

1 Like