Це відео не доступне.
Перепрошуємо.

Why INAV climbs rapidly in Altitude Hold mode?

Поділитися
Вставка
  • Опубліковано 7 сер 2024
  • Support my work / pawelspychalski
    In some cases, when you enable Altitude Hold or Position Hold mode in INAV, the multirotor drone, instead of holding the altitude, climbs rapidly. Skyrockets, you might say. The popular myth is that this is caused by the faulty barometer. The truth is, that it's usually caused by extensive vibrations picked by the accelerometer. This video explains the process and gives some clues on how to improve the Altitude Hold performance.
    0:00 Intro
    0:29 What is causing the rapid climb?
    2:05 Blackbox proof
    3:49 Something is vibrating
    4:28 How to fix it?
    6:02 Outro

КОМЕНТАРІ • 89

  • @MCsCreations
    @MCsCreations 2 роки тому +1

    Excellent tips, Pawel! Thanks a lot! 😃
    Stay safe there with your family! 🖖😊

  • @gauravluckyrauthan4
    @gauravluckyrauthan4 4 місяці тому

    exactly what was my problem and the exact solution to this. I was facing this problem of quad going high in the sky like rocket whenever I set position hold mode in my radio. My fc was loosely fit in the mesh of wires in my frame and this would have caused false reading to accelerometer. Then I fit my FC firmly in the frame now the problem is gone and I am very happy with that. Thank for posting this video. 👍👍. You saved my quad.

  • @philipclarke8838
    @philipclarke8838 2 роки тому

    Thanks for the clear explanation Pawel

  • @kboo918077
    @kboo918077 2 роки тому +1

    Thank you, that makes sense to my last crash, my propellers was not the one I use usually

  • @sinisternm
    @sinisternm Рік тому +5

    I was having this problem on a new 3.5" build. i tried soft mounts, i went over it top to bottom tightening bolts and bundling wires. same problem flight after flight, then i figured its got to be in the pid's, i lowered velocity z from 100 to 50 and its holding steady, no more shootoffs. i even got to fly around and land without it doing something crazy. if i remember right, in an older version they weren't so high.

    • @Twizington
      @Twizington Рік тому

      This is really interesting. I’m having similar issues with a 3.5 build. I’ll look into the pids like you said, thanks for that!

    • @IAmTheCraftsman
      @IAmTheCraftsman 11 місяців тому

      Thanks for this. I have lowered my velocity z from 100 to 50 and will see if this reduces or eliminates the "shootoffs".

    • @IAmTheCraftsman
      @IAmTheCraftsman 11 місяців тому +1

      It worked @sinisternm! There is a good amount of "drifting" in the altitude while althold is engaged. I am increasing the velocity z for the Barometer & Sonar/Altitude up from 50 to 75 to see if the altitude "drifting" becomes less without shooting to the moon.

    • @sinisternm
      @sinisternm 11 місяців тому

      @@IAmTheCraftsman im glad to hear it. its been a while since my last flight, i think mine was drifting a bit too, but the shootoff problem did go away. i think my matekf405te flight controller was an issue too. still no dshot support as far as i know. i think i had to switch to betaflight for dshot with rpm filtering and it flew like a dream. no althold but rth worked fine.

  • @dotlineentertainment8191
    @dotlineentertainment8191 2 роки тому +7

    Thanks for this video, my attitude hold was shooting like a rocket, after watching this video I realized my flight controller was too tight to the frame so I just loosen it a bit to have a little bit of flexibility and that solved my problem. My attitude hold works like magic. Thanks alot👍

  • @AmirAliabadi
    @AmirAliabadi 2 роки тому +4

    would love to see what a clean noise-free trace looks like. I'm continuously refining my builds but really don't know when I have reach the ideal "noise free build"

  • @Eugenue
    @Eugenue 2 роки тому

    Thank you for the clarification

  • @jimmytheriot8978
    @jimmytheriot8978 2 роки тому

    I fly fix wing and when I arm my motor and function servos in manual mode servos act normal but if I put it in stabilize mode while armed the servos do not return to center, but soon as I disarm the servos return to center in stabilize mode?

  • @Migueldeservantes
    @Migueldeservantes 2 роки тому

    One wonder if in iNav 3.0.2 (Matek F743 Wing Version 2) its possible to use a Cli command to make RX4 Receive Sbuss signal???

  • @E-sk8Fr
    @E-sk8Fr 2 роки тому

    awesome, you should do a video on how to use the blackbox explorer to fine tune basic stuff

  • @jeffclassics
    @jeffclassics 2 роки тому +1

    How about adding a bias to the baro? So it will be like weighed average with baro having more weight and accel being last.

  • @goobisoft4873
    @goobisoft4873 2 роки тому +4

    This is the exact same reason why i left INAV and started using ardupilot exact same hardware not even prop changed ,which worked great to this day in inav i lowerd the throttle too much to compensate for skyrocketed that it crashed into the bushes luckily nothing damaged and next day used ardupilot and didn't have to tune at all worked flawlessly at defaults pid and settings

  • @Simofly
    @Simofly Рік тому

    Hi pawel, I’m switching to inav all my midrange quads, in the smaller ( 5.5”) Inhave this same problem but the build seems very clean ( Chris Rosser Aosrc 5.5” ) I have double capacitors on esc and FC Vbat , the FC got a plastic cover that protects baro from turbolence. Could it be the icm42688p chip that is too noisy in general ?

  • @spaceshuttle8332
    @spaceshuttle8332 2 роки тому +3

    *Chris Rosser liked this video*

  • @serang
    @serang 2 роки тому

    Well explained!

  • @snubberless
    @snubberless 2 роки тому +2

    Is there a possibility to control the sensor fusion composites? Or maybe to smooth out the acc readings with a kalman or lowpass?

    • @zoran.grujic
      @zoran.grujic 2 роки тому

      Yes, this sounds like viable software solution for the problem. Good idea!

  • @AerialWaviator
    @AerialWaviator 2 роки тому +2

    Wondering if hover throttle being set higher than needed for hover could be a contributing factor?
    Is interesting that tendency is to climb, not drop or poorly hold altitude.

    • @anothertime
      @anothertime 2 роки тому +3

      Everytime I setup a new quad I get this behavior with default settings. Once I set the hover setting correct it works fine so I agree with you. Of course that doesn't mean that the vibration isn't causing it when the hover is off. That's been my experience.

  • @Indonesia01ian
    @Indonesia01ian 7 місяців тому

    Hi did you know why INAV cannot detect my M181 Walksnail Compas?
    I already plug into the socket to my Speedybee f405wing (SCL &SDA already connected)
    I heard that if I want to use Altitude Hold feature in INAV I have to activate the Compass

  • @embededfabrication4482
    @embededfabrication4482 2 роки тому +2

    there needs to be some DSP applied to this accelerometer data before INAV uses it then. it shouldn't be disabled by vibrations

  • @joenaylor34
    @joenaylor34 2 роки тому +3

    Why dont my DJI quads (Phantom and FPV Drone) have this problem? They hold altitude perfectly even with a damaged prop.

  • @ZenoErwt
    @ZenoErwt 2 роки тому

    Hi Pawel,
    Can you tecommend a nice quad for long flight times , with decent GPS? Really want to try inav instead of betaflight. And think a lot of features would suit a lr drone well (or perhaps a not too big wing ). I'd like to do some waypoint missions with a drone that is as quiet/ stealthy as possible (analog vtx btw)

    • @FPVUniversity
      @FPVUniversity  2 роки тому +1

      Why not this? fpv-shopping-list.com/pirx7

    • @ZenoErwt
      @ZenoErwt 2 роки тому

      @@FPVUniversity oh! That looks interesting! Thank you, going to watch all your videos about this one !

  • @MassimoHely
    @MassimoHely 2 роки тому

    nice video ! i have the opposite problem. When I activate the ph my quod quickly loses altitude and I have to recover immediately with the command of the gas. why?! thank you .

    • @FPVUniversity
      @FPVUniversity  2 роки тому +1

      check with blackbox log how altuitude estimator works

  • @vedasticks
    @vedasticks 2 роки тому

    I had this happen in rth whe i was at home point, instead of landing it went full speed straight up...... but positiom hold didnt shoot up ,....

  • @johnmcguinness2847
    @johnmcguinness2847 Рік тому +1

    Hi, Well done very interesting. However how about fitting a Lidar sensor? Are there any instructions for iNav 6 fitting and set up of a serial Lidar. Any help would be helpfull.
    Regards John

    • @FPVUniversity
      @FPVUniversity  Рік тому

      Lidars that are available for the hobby are either big or pricy or with very limited range

    • @johnmcguinness2847
      @johnmcguinness2847 Рік тому

      Thanks for that Pawel. I must point out however that Lidars 12 meter range are about the same size, weight and price as Optical flow sensors. Yet you endorse optical flow in at least one video why ?

    • @FPVUniversity
      @FPVUniversity  Рік тому

      Buy Lidar and OpFlow are 2 completely different things. Lidar measures distance. OpFlow measures angular velocity of background

    • @johnmcguinness2847
      @johnmcguinness2847 Рік тому +1

      Thank you for your reply. Yes I do know the difference. My point was you dismissed a very accurate device for measuring Height on the grounds of cost, size and range, all these factors you seem to "live with" when considering Optical Flow. Not a criticism merely I point of logical thought Thanks for all your time involved with iNAV without you and the other Devs we would have a lot less to fly. Regards John

  • @FunBitesTV
    @FunBitesTV 2 роки тому +1

    Is it possible to set inav to ignore the accelerometer for altitude and just rely on GPS or baro?

    • @rohanjawalkar946
      @rohanjawalkar946 2 роки тому +1

      Yes plz help I've also same problem

    • @Vertical_UAV
      @Vertical_UAV Рік тому +2

      Did you find the solution? I need the exactly same thing - forget the accel for altitude calculation and just use my rangefinder

  • @SmudgeFPV
    @SmudgeFPV 2 роки тому

    I use matek f722px, I coated the FC until cover barometer. My friend said don't to it because make your barometer error then I remove the coating. The problem is my alt mdpl is fine but my alt is minus, when I fly to high the alt is more minus, can't hover or RTH because he say adjusting altitude until my drone to the moon. For the final question is my barometer is error? can I use external barometer to fix it?

    • @philipclarke8838
      @philipclarke8838 2 роки тому

      There is a small hole in the barometer. You need to stick a pin gently into the hole to clear it . Be careful not to go in too far! Other than that you can use a different external barometer but it must be in the list supported by the FC. Hope this helps.

    • @SmudgeFPV
      @SmudgeFPV 2 роки тому

      @@philipclarke8838 thanks before bro, can I ask again? I buy external barometer which same type with internal barometer, how to setting in GUI?

    • @emtbbam2895
      @emtbbam2895 2 роки тому

      @@SmudgeFPV In BF you could set definitions in CLI. In INAV you have to modify the source code.

    • @SmudgeFPV
      @SmudgeFPV 2 роки тому

      @@emtbbam2895 how to modify code? I'm trying in google can't find anything, can you help me?

    • @emtbbam2895
      @emtbbam2895 2 роки тому

      @@SmudgeFPV Oh, okay. So in this case I do not recommend to go this way. Until you are a developer with a bunch of experience.

  • @Rooey129
    @Rooey129 2 роки тому +2

    Why not remove accelerometer reading from the calculation?

    • @emtbbam2895
      @emtbbam2895 2 роки тому +1

      My first idea: Change the code. Found the right place but not having a good solution right now. Does not shoot anymore but flying was a mess in this mode.

  • @fpvfun922
    @fpvfun922 2 роки тому +2

    Why not filtering accelerometer ? Why not evaluate error using long term altidute reported by gps ?

    • @emtbbam2895
      @emtbbam2895 2 роки тому

      GPS does not have the expected precision.

  • @wingsmh27
    @wingsmh27 6 місяців тому

    In Arduplane gyro setup to .025 for 5inch and for 10inch it .035

  • @7356205
    @7356205 Рік тому

    what is the difference between altitude hold and position hold? i cant find a clear answer

    • @FPVUniversity
      @FPVUniversity  Рік тому

      One holds the altitude and the other holds position and/or altitude?

  • @cliffcosynerflight5253
    @cliffcosynerflight5253 2 роки тому

    Hi Pawel its a good introduction but Id like to know about the PID tuning Process for Barometer mainly Velocity Z and Position Z on your next video.

    • @FPVUniversity
      @FPVUniversity  2 роки тому

      There is no need to tune it. At least I never found a reason to tune it. If you have problem with altitude hold, it's usually due to different problems, not this one

    • @cliffcosynerflight5253
      @cliffcosynerflight5253 2 роки тому

      @@FPVUniversity thanks, and in Advance Tuning what about the mid. throttle for ALTHOLD and Hover throttle? and changes to it ? as my drone gets jumpy when set as 1500uS default im using INAV 5.0.0 and a F411 FC

    • @cliffcosynerflight5253
      @cliffcosynerflight5253 2 роки тому +1

      @@FPVUniversitycan you also review the INAV 5.0.0 which recently came out possible issues to watch out for

  • @mountaindewdude76
    @mountaindewdude76 2 роки тому +6

    This is odd because I have a 450 quad that has had Inav on it for two years and I never had the sudden altitude climb until I updated firmware. I changed nothing on the quad and the props are new and balanced.

  • @emtbbam2895
    @emtbbam2895 2 роки тому

    Thank you for the advice. No chance for Bumblebee V3. Have to switch back to BF.

  • @KCLeung-gm8ql
    @KCLeung-gm8ql Рік тому

    I have a Matek H743-slim v3. It's impossible to set correctly because it is using ICM426XX gyro.

    • @pornzi
      @pornzi 6 місяців тому

      did you ever solve withn h743

    • @KCLeung-gm8ql
      @KCLeung-gm8ql 6 місяців тому

      @@pornzi No, replaced it.

  • @BBFPV
    @BBFPV 2 роки тому +1

    Should vibrations not average out? Actually, you can never get rid of them completely.

    • @FPVUniversity
      @FPVUniversity  2 роки тому +1

      No, at one point they no longer average out. Filters are not symmetrical. Both INAV internal and hardware internal. On top of that, when you hit the ACC resonance frequency, the hell breaks loose

  • @superspiegi7098
    @superspiegi7098 Рік тому

    I had in the "Outputs" tab "Motors IDLE power [%]": 15.0! It had to be not more than 5%! 15% was so much that my copter no longer descends. (INAV 6.0, Chimera 7 1800kv)

  • @user-bv2kv8hx5d
    @user-bv2kv8hx5d 2 роки тому

    Why inav can't to filter that vibrations?

    • @FPVUniversity
      @FPVUniversity  2 роки тому

      It can, to some extend. But getting rid of all the noise from saturated ACC is just impossible

  • @recifestargazer2192
    @recifestargazer2192 Рік тому

    And what should be the drone climbing slowly

  • @jackevans2386
    @jackevans2386 2 роки тому +5

    This logic makes no sense. Your barometer and GPS signals are not affected by vibration .. only the accelerometer, yet your code is relying heavily on the false readings from the accelerometer, rather than the barometer and GPS which are more in agreement regarding the craft's true altitude. With this situation a red flag should be thrown up instead of powering the craft further and further into the heavens. An error should be sounded when there is such a huge disagreement between the 3 altitude sensor devices. I realize these 3 devices do not react to altitude changes at the same speed as each other, but surely some better fusion algorithm (yet to present itself) could solve this problem. Before powering the motors into the sky, a check of the GPS and barometer should always be made first to see what they think. If they come back and say " not a good idea" then just flag the error. I realize there may not be enough time to ask the GPS and Baro for their opinions, but to blindly rocket into space is simply crazy !

    • @FPVUniversity
      @FPVUniversity  2 роки тому

      No, it makes no sense to you. Makes perfect sense when you think about it slightly longer

  • @moturcu4226
    @moturcu4226 2 роки тому

    Does it rth without barometer?

    • @FPVUniversity
      @FPVUniversity  2 роки тому +1

      Can but should not. GPS is not reliable enough for altitude readouts to have a stable and safe flight

    • @moturcu4226
      @moturcu4226 2 роки тому

      @@FPVUniversity Thanks.

  • @jcfpv3454
    @jcfpv3454 2 роки тому

    This is why I use i nav for wings and planes and beta flight for quads I tried I have on my drone had nothing but problems always had to recalibrate it it turned into more problems than it was really worth it was better off to just put beta flight on my drones and inav on all my planes

    • @FPVUniversity
      @FPVUniversity  2 роки тому +1

      I think you compare completely different thing. BF has no position hold so this comparison is greatyly flawed

  • @Sleeperknot
    @Sleeperknot 7 місяців тому +1

    My 10 year old Ardupilot based 10 inch quad with hell lot of vibrations (mount a camera and you get jello galore!) does Alt-hold like a boss. It runs on an age old APM2.8. Alt-hold, RTL, missions, everything just works and they work great. Zero config, zero confusion for the user. Just enable the mode. So... when Betaflight and INAV talks about a lot of theory on why the drone falls from sky or why it shoots up with Alt-hold, for me it sounds like poor implementations. I may be wrong though.

  • @z-collector7518
    @z-collector7518 Рік тому +1

    Why the software just can't fix this problem?! What about giving priority to the barometer data? If the difference between the barometer and the accelerometer is greater than x, then disregard the accelerometer...
    You are also telling us to soft mount the FC and motors. OK, but doesn't that make the whole drone more flexible? What does it matter if you have stiff arms when you mount your motors on a neoprene base?

    • @FPVUniversity
      @FPVUniversity  Рік тому

      Let's try with an anaology. Your car has low pressure in one tire and it pulls to the side. Do you fix the problem by inflating the tire or ask cars software to compensate?

  • @tarkdemir5188
    @tarkdemir5188 Рік тому

    If there is a sponge on the barometer, remove it.

    • @FPVUniversity
      @FPVUniversity  Рік тому +1

      Thats is probably one of the worst advices in the history of advices

  • @selfish1716
    @selfish1716 Рік тому

    but this should help? inav_w_z_baro_p So we can change it so we rely on altimeter more. Right?