Тёмный

Why INAV climbs rapidly in Altitude Hold mode? 

FPV University
Подписаться 48 тыс.
Просмотров 11 тыс.
50% 1

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

Наука

Опубликовано:

 

31 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 88   
@gauravluckyrauthan4
@gauravluckyrauthan4 2 месяца назад
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.
@sinisternm
@sinisternm Год назад
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.
@T.R.E.D.
@T.R.E.D. Год назад
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 9 месяцев назад
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 9 месяцев назад
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 9 месяцев назад
@@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.
@MCsCreations
@MCsCreations 2 года назад
Excellent tips, Pawel! Thanks a lot! 😃 Stay safe there with your family! 🖖😊
@dotlineentertainment8191
@dotlineentertainment8191 2 года назад
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👍
@kboo918077
@kboo918077 2 года назад
Thank you, that makes sense to my last crash, my propellers was not the one I use usually
@philipclarke8838
@philipclarke8838 2 года назад
Thanks for the clear explanation Pawel
@AmirAliabadi
@AmirAliabadi 2 года назад
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"
@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 ?
@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???
@rahadyanmuhammad271
@rahadyanmuhammad271 5 месяцев назад
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
@goobisoft4873
@goobisoft4873 2 года назад
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
@FPVUniversity
@FPVUniversity 2 года назад
That's awesome
@khemrajdeulkar9803
@khemrajdeulkar9803 Год назад
Which flight controller
@khemrajdeulkar9803
@khemrajdeulkar9803 Год назад
Which flight controller
@goobisoft4873
@goobisoft4873 Год назад
@@khemrajdeulkar9803 omnibus f4 pro v2
@Eugenue
@Eugenue 2 года назад
Thank you for the clarification
@snubberless
@snubberless 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!
@joenaylor34
@joenaylor34 2 года назад
Why dont my DJI quads (Phantom and FPV Drone) have this problem? They hold altitude perfectly even with a damaged prop.
@jeffclassics
@jeffclassics 2 года назад
How about adding a bias to the baro? So it will be like weighed average with baro having more weight and accel being last.
@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 года назад
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 !
@E-sk8Fr
@E-sk8Fr 2 года назад
awesome, you should do a video on how to use the blackbox explorer to fine tune basic stuff
@embededfabrication4482
@embededfabrication4482 2 года назад
there needs to be some DSP applied to this accelerometer data before INAV uses it then. it shouldn't be disabled by vibrations
@serang
@serang 2 года назад
Well explained!
@FPVUniversity
@FPVUniversity 2 года назад
thank you
@AerialWaviator
@AerialWaviator 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 года назад
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.
@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 года назад
check with blackbox log how altuitude estimator works
@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.
@spaceshuttle8332
@spaceshuttle8332 2 года назад
*Chris Rosser liked this video*
@johnmcguinness2847
@johnmcguinness2847 Год назад
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 Год назад
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 года назад
Is it possible to set inav to ignore the accelerometer for altitude and just rely on GPS or baro?
@rohanjawalkar946
@rohanjawalkar946 2 года назад
Yes plz help I've also same problem
@Vertical_UAV
@Vertical_UAV Год назад
Did you find the solution? I need the exactly same thing - forget the accel for altitude calculation and just use my rangefinder
@mountaindewdude76
@mountaindewdude76 2 года назад
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.
@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 ,....
@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?
@fpvfun922
@fpvfun922 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.
@cliffcosynerflight5253
@cliffcosynerflight5253 Год назад
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 Год назад
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 Год назад
@@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 Год назад
@@FPVUniversitycan you also review the INAV 5.0.0 which recently came out possible issues to watch out for
@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 4 месяца назад
did you ever solve withn h743
@KCLeung-gm8ql
@KCLeung-gm8ql 4 месяца назад
@@pornzi No, replaced it.
@Rooey129
@Rooey129 2 года назад
Why not remove accelerometer reading from the calculation?
@emtbbam2895
@emtbbam2895 2 года назад
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.
@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)
@emtbbam2895
@emtbbam2895 2 года назад
Thank you for the advice. No chance for Bumblebee V3. Have to switch back to BF.
@wingsmh27
@wingsmh27 3 месяца назад
In Arduplane gyro setup to .025 for 5inch and for 10inch it .035
@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
@BBFPV
@BBFPV 2 года назад
Should vibrations not average out? Actually, you can never get rid of them completely.
@FPVUniversity
@FPVUniversity 2 года назад
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
@moturcu4226
@moturcu4226 Год назад
Does it rth without barometer?
@FPVUniversity
@FPVUniversity Год назад
Can but should not. GPS is not reliable enough for altitude readouts to have a stable and safe flight
@moturcu4226
@moturcu4226 Год назад
@@FPVUniversity Thanks.
@recifestargazer2192
@recifestargazer2192 Год назад
And what should be the drone climbing slowly
@jackevans2386
@jackevans2386 2 года назад
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
@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 года назад
I think you compare completely different thing. BF has no position hold so this comparison is greatyly flawed
@z-collector7518
@z-collector7518 Год назад
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 Год назад
Thats is probably one of the worst advices in the history of advices
@Sleeperknot
@Sleeperknot 5 месяцев назад
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.
@selfish1716
@selfish1716 Год назад
but this should help? inav_w_z_baro_p So we can change it so we rely on altimeter more. Right?
Далее
INAV on 7-inch quads | the best settings
13:23
Просмотров 11 тыс.
Тесты Optical Flow & Lidar Sensor на Inav.
22:20
Why it's so hard to hover an FPV racing drone
14:15
Просмотров 139 тыс.
Isolating your BAROMETER for better Altitude ...
7:13
Просмотров 4,7 тыс.
🌟INAV🌟 Altitude HOLD 💫 Tuning 🏹
32:11
Просмотров 10 тыс.
How Far Can We Push the DJI Mini 3 Pro? Find Out Here!
19:59
🌟INAV🌟How ALT Hold ➡️ Works❗️❗️
22:44
8 steps to GPS Position Hold for an FPV drone
6:41
Просмотров 34 тыс.
Nobody needs compass anymore
5:48
Просмотров 10 тыс.
Полезные программы для Windows
0:56
How charged your battery?
0:14
Просмотров 2,4 млн
SAMSUNG S23 ULTRA🔥
0:47
Просмотров 134 тыс.