Manual PID Tuning on a Fixed Wing with INAV

Ойын-сауық

INAV PIFF Controller explained: • Tuning iNav Explained:...
OpenTX Pro Model Install Guide: inavfixedwinggroup.com/guides...
Du findest mich auch auf:
Facebook: / b14ckyystech
Instagram: / b14ckyystech
-----------------------
Du Brauchst Hilfe? - / inavfixedwing
Alles Wissenswerte zu INAV auf Fixed Wings: inavfixedwinggroup.com/
Willst du mich unterstützen?
Donation Link - www.paypal.me/b14ckyy
Oder Nutze die Affiliate links aus meiner Hardware Liste.
-----------------------
📡 My Radio Gear:
▪ Taranis X9D - bit.ly/3mZzhn2
▪ Radiomaster TX16S - bit.ly/2S4Gi7L
▪ FrSky R9M LBT - bit.ly/2Ghfz54
🥽 My FPV Gear:
▪ Eachine EV200D Goggles - bit.ly/36ee1nm
▪ Eachine Pro58 Module with PIRX - bit.ly/3kWvghs
▪ Eachine Moneagle FPV Monitor - bit.ly/3mUt23M
▪ Eachine EV800 as Backup - bit.ly/3kNaXCO
📹 My HD Gear:
▪ Runcam 2 - bit.ly/338ou1I
▪ Runcam 2 4K - bit.ly/3cDopGw
▪ Runcam 5 - bit.ly/3mY29vN
▪ GoPro Hero 7 Black - amzn.to/30dSNm0
🧳 Ground Equipment:
▪ Realacc FPV Backpack - bit.ly/3ibWBdz
▪ ISDT Q8 Charger - bit.ly/3cBXye0
▪ TS100 Soldering Iron - amzn.to/30eFIIY
▪ Camping Stuhl - amzn.to/3cGdfB4
✈️ My Favorite Planes:
▪ ZOHD Talon GT - bit.ly/3n0T6dt
▪ ZOHD Dart 250G - bit.ly/2FWEXxx
▪ Sonicmodell AR Wing - bit.ly/2GfOJuo
▪ Sonicmodell AR Wing Pro: bit.ly/34b0ufa
👍 Recommended Electronics:
⬇️ Flight Controllers
▪ Wing FC Matek F411WSE - bit.ly/2G95Luh
▪ Wing FC Matek F405 Wing - bit.ly/3j9NM5b
▪ Wing FC Matek F722 Wing - bit.ly/3kTW3uK
▪ Wing FC Matek F722-WPX - bit.ly/37Inq5J
▪ Quad FC Holybro Kakute F7 - bit.ly/36eeNAQ
⬇️ FPV Cams
▪ Caddx Ratel - bit.ly/2GhohjM
▪ Caddx Ant - bit.ly/3jmt4z2
▪ Runcam Phoenix 2 - bit.ly/339oxKL
▪ Foxeer Cat 2 - bit.ly/3mZHzeE
⬇️ VTX
▪ AKK FX2 Ultimate - bit.ly/3kZEbyF
▪ AKK Infinite DVR - bit.ly/339w78o
▪ AKK FX3 - bit.ly/3ie8csy
▪ Matek VTX-HV - bit.ly/33awgZ4
⬇️ ESC
▪ Hobbywing Skywalker 80A - bit.ly/36djo6r
▪ Holybro Tekko32 Metal - bit.ly/3441dxs
▪ DYS Aria - bit.ly/30e9BJC
⬇️ Motors
▪ Plane Sunnysky X2212 - bit.ly/36fhHFI
▪ Plane Sunnysky X2216 - bit.ly/3czHPMA
▪ Plane Sunnysky X2814 - bit.ly/2S7DMOc
▪ Quad/Plane Racerstar AirB - bit.ly/348qZ3k
▪ Quad T-Motor F60 Pro IV - bit.ly/3cBayk2
▪ Quad T-Motor Pacer - bit.ly/3n0OPqo
▪ Quad T-Motor Velox - bit.ly/3cB1rjv
▪ Plane T-Motor AS2814 -bit.ly/347Syd5
⬇️ GPS
▪ Radiolink M8N - bit.ly/3jbfgYm
▪ Beitan BN880 - bit.ly/2HwcAXa
▪ Beitan BN220T - bit.ly/2HuK6wW
-----------------------
Index:
0:00 Intro
1:00 Preparation in INAV
6:42 The Plane
7:12 Part 1: Trimming, Autotune Rates and FF
10:35 Check the Manual Flight Integrity of the Craft
11:30 Part 2a: Checking FF matching in Angle Mode
14:30 Part 2b: P Impact on Angle and Nav modes
16:54 Part 3a: Tuning D and P in Acro mode
22:22 Part 3b: Tuning I
25:30 Some Acro flying to test the Tune
26:44 Recap

Пікірлер: 65

  • @MarcFPV
    @MarcFPV2 жыл бұрын

    Update: It was just confirmed that P, I and D won't be touched anymore in 4.0 with Autotune. Only Rates and FF will be tuned as they are most relevant, as explained in the video.

  • @IanF-FPV

    @IanF-FPV

    2 жыл бұрын

    Hey Mark. This was very helpful. Been having problems getting the tune right on my Sonic F1.

  • @IanF-FPV

    @IanF-FPV

    2 жыл бұрын

    Is it normal to correct with up pitch after a roll?

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    @@IanF-FPV yes if you roll a wing it will dip the nose as it loses lift when the wings are verticall so the nose is pulled down. You need a rudder to make a coordinated turn to avoud the nose dip during the roll.

  • @IanF-FPV

    @IanF-FPV

    2 жыл бұрын

    @@MarcFPV ok so even with a complete 360 roll if I had a rudder to perform a coordinated roll it wouldn’t do that. Ok nice. Hey what are the upper limits of FF? Like what is considered too high?…PS I gave up trying to get my Nirvana to work with the Inav fixed wing model templates from Inavfixedwinggroup and bought a Eachine t16s😎

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    @@IanF-FPV usually FF should not go higher than 150. But it depends also on the rates. The slower the rate on the axis, the hogher the FF for the same amount of servo deflection. The upper overall limit is 255 but it should never go that high.

  • @RubyS.1
    @RubyS.12 жыл бұрын

    I appreciate the time it must take to do the videos in English. Just wanted to say thankyou. I came from the quad world when I switched to wings I would put these crazy high rates like 800 or something. It always makes me laugh when I do an auto-tune and find out the actual rate is like 90 or something really low. The auto tune figuring out the ff and rates is so helpful now I can actually tune PD and feel the difference make things fly how I want. Thanks so much

  • @ndcapper
    @ndcapper2 жыл бұрын

    This is a great video. The in-fight on screen tuning walkthrough is great!

  • @joemoffo9706
    @joemoffo97062 жыл бұрын

    Great Video Marc. Can't wait to try it out on my AR900. Thank You!

  • @rogergravel6638
    @rogergravel66382 жыл бұрын

    This is not a tutorial its a master class thank you very much

  • @joemoffo9706
    @joemoffo97062 жыл бұрын

    I watched this video several times and learn something new each time I watch it, thank you. I'm hoping that your next tuning video will be on the AR900 wing. So looking forward to phase II video!

  • @oz8abr
    @oz8abr2 жыл бұрын

    By far the best explanation i’ve seen sofare :) Again awesome toturial from ‘Da Hoff’ please keep em’comming 👍

  • @MHdeJong87
    @MHdeJong872 жыл бұрын

    This is awesome, thanks!!

  • @joemoffo9706
    @joemoffo97062 жыл бұрын

    Had great success using your manual tuning process on both my AR900's and my AeroScout. I can't wait till the phase two video comes out. Thank You.

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    glad to hear. as soon as the weather allows it. rain and storm for weeks here 😭

  • @joemoffo9706

    @joemoffo9706

    2 жыл бұрын

    @@MarcFPV thank you. I understand, just wanting to let you know I am so looking forward to the next video. They are so helpful!

  • @itzikronen105
    @itzikronen1052 жыл бұрын

    One of the best tutorial movies I have seen, thank you very much. Which autopilot installed on the Drift?

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    Thanks a lot :) This is a Matek F411-WSE Flight Controller.

  • @DZARO
    @DZARO Жыл бұрын

    Are the P, I and D terms still not tuned with autotune on INAV 6.0.0 RC1 or has that chaned now?

  • @rogergravel6638
    @rogergravel6638 Жыл бұрын

    Hi and thanks you for your tutorial and video and your work for the community i am quite good for tuning pid on a quad usually half a batterie and its done but with my reptilei s 800 i still strugle with the pid tuning a can acheve a decent tuning (no oscillation ) in acro mode but as soon that i switched to horizon mode i have oscilationt hen i tune the pid in horizon until i have no bonce back and acro will oscilate its a catch 22 all the tuning was done under no wind condition

  • @MarcFPV

    @MarcFPV

    Жыл бұрын

    the manual tuning can be tricky. If you only have oscillations in Angle mode but not in Acro then this is for sure a too high FF value. Often on pitch. Some planes are tricky to autotune and FF might need some manual reduction. I use angle to check how well the FF fits and then to have a baseline PID set to start with. Then I go to acro and tune the pids from there till rolls and pitch inputs are direct and smooth. Usually I have to reduce P and D after the angle tune baseline.

  • @rogergravel6638

    @rogergravel6638

    Жыл бұрын

    @@MarcFPV yeah the ff on pitch was 110 after autotune a already reduce it to 80 i read on Pawel video that ff should not go over 90

  • @YT-qp3xw
    @YT-qp3xw8 ай бұрын

    When do autotune, will the rates & FF for other profiles will be change too or only the profile that we use during autotune? Im using inav 6.1.1

  • @springpilot
    @springpilot2 жыл бұрын

    Thank you for a very instructive video on this, in my opinion, a very complicated topic. Will there be an option to tune the P and I values in Autotune in INAV 4.0? For me, it looks very complicated to do this tuning manually and get it right. In the video, you deal with the P, I and D values in the roll and pitch axes. What about the yaw axe? I've experienced that the rudder is counteracting turns in ACRO mode when yaw axe P and I are set to small numbers, 10 and 5 respectively. Causing difficulties in turns when INAV will go knife-edge. In Github, there is an issue from May 2020, "Rudder counteracting turn and overreacting in navigation modes". However, he refers to Andrew Newtons video where he experiences this phenomenon in Acro as well. He's investigating how rudder is used in iNav shows pour cross controlling in ACRO Mode with rudder resisting the turns, and bad overreaction when turning into RTH and Pos Hold. The result of this is to set the yaw P and I to 0, zero. Has INAV 3.0 and maybe 4.0 done any improvements on this issue? And what are your opinion of proper values on yaw P and I on fixed-wing with a tail?

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    Inav 4.0 will not touch PID at all anymore. The most important thing is FF. as you can see in my video the plane flies well and stable with only FF, no I, no D and low P. 4.0 gets new default PID values that can be kept after autotune and should work really good on any plane. Autotune only tunes rates and FF and you are fine. On this plane I have no rudder. But yes rudder is a different topic and will get a separate video. You have to disable I term on yaw completely to fix the k ife edge and trim issues. I hope this will be fixed in 4.0. But to be sure the I term will be 0 by default in 4.0

  • @springpilot

    @springpilot

    2 жыл бұрын

    @@MarcFPV Ok, you recommend yaw I value to 0, zero, What about the initial yaw P value set before doing the Autotune in INAV 3.02?

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    @@springpilot a low P value is actually okay. It gives you some active yaw wobble stabilization. As INAV enables TURN_ASSIST in navigation modes it also uses yaw in turns and with some P it results in a more constant yaw rate for smoother turns. The default P value of 10 should be okay to not cause a lot issues in acro mode if you don't input yaw with the sticks.

  • @KevinMeyerVideos
    @KevinMeyerVideos2 жыл бұрын

    I see now when you are in auto tune you rock the sticks full deflection left and right and up and down. In previous videos you said to do a full deflection roll one way then wait then do a full deflection roll the other way then wait same with pitch. Why have you changed from full deflection pause opposite full deflection pause (your previous videos) to rocking/banging the stick without a pause (the painless360 way)? Thanks for the great informative videos keep them coming, you are a huge asset to inav.

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    The difference between this and painless video is, that I spend more time on each stick deflection. Painless made the mistake to wiggle the stick. I hold the stick at max deflection at least half a second. And if the rates are getting high I make full loops or rolls. Up to inav 3.0 the autotune needed the stop and start of a axial movement too to tune the integral value. That's why a short pause there helps for a better I tune. But this is not needed anymore with the final version of 4.0.wjen it is released. For this tuning I did not care about proper PIDs and I just wanted to have the rates and FF set correctly.

  • @KevinMeyerVideos

    @KevinMeyerVideos

    2 жыл бұрын

    @@MarcFPV thanks, I understand.

  • @Chris-vc1dh
    @Chris-vc1dh Жыл бұрын

    how can I see pids osd in flight?

  • @flyhigh1491
    @flyhigh149110 ай бұрын

    Is it possible to save autotuned settings during a flight? (by switch for example) Or I need to land to do this?

  • @MarcFPV

    @MarcFPV

    10 ай бұрын

    The settings will stay active all the time after the autotune. They only get lost if you power cycle the FC before saving.

  • @frankwarner7279
    @frankwarner72792 жыл бұрын

    Nice vid thank you! do you have a tutorial on how to set up my taranis for manual tunning in flight?

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    It is all in the link in the description. Works the same on a Taranis.

  • @frankwarner7279

    @frankwarner7279

    2 жыл бұрын

    @@MarcFPV Thank you!!

  • @sams9716
    @sams97162 жыл бұрын

    can you let the continuous servo trim happen in angle or is it best to do in acro?

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    In angle it might take longer but still works. It is active all the time. just fly around. I just do that actively (leaving the sticks) on a maiden and initial tune. Later it just does it's thing silently.

  • @fpvwing
    @fpvwing Жыл бұрын

    any tips for how to tune with a caddx vista system since no canvas mode yet?

  • @MarcFPV

    @MarcFPV

    Жыл бұрын

    either by trial and error or since 4.1 by using the name tag that can show the active adjustments. but not sure how well this works. as no one can record the OSD there is no tutorial out there I know of.

  • @itzikronen105
    @itzikronen1052 жыл бұрын

    @b14ckyy's tech I'm flying the Drift and I tried to use the parameters you came up with. The steering surfaces in a stabilized mode hardly move at all, maybe half a millimeter in each direction. Why is this happening? When I use presets they work reasonably.

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    This is normal. Ignore the throws in Stabilized modes as they will just reflect the desired roll/pitch rate of the axis and not the angle. Just fly it and try it out. it will work.

  • @joenaylor34
    @joenaylor342 жыл бұрын

    7:30 fly in acro to let continuous servo trim do its thing? I thought you needed to be in angle or horizon mode?

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    For Autolevel you have to fly in angle or horizon but continous autotrim works in all modes but manual.

  • @maxun1
    @maxun12 жыл бұрын

    So in 4.0 autotune is not working like in 3.0.2, correct? Love you video but need to learn how to change those values in flight.

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    THe way how to use Autotune is the same. Enable it, do agressive maneuvers with full stick, Disable, Land, Save. the only difference is, that it won't touch the PID values anymore. The Devs are working on a better way to tune PIDs automatically to optimal values but FF and Rates are still tuned and are most important.

  • @swissfreek

    @swissfreek

    2 жыл бұрын

    @@MarcFPV That's a shame, because with digital systems there is no good way to do this in-flight tuning (maybe it's possible with Canvas Mode?). I wonder, if I was to autotune on 3.0 and obtain PID values, would I be able to paste those into 4.0 when I upgrade or would I be better off leaving it at default?

  • @itzikronen105
    @itzikronen1052 жыл бұрын

    I noticed you are not using a magnetometer. I understand that this is not mandatory for an aircraft, but will a magnetometer improve/contribute to the accuracy of navigation? Thank you, Itzik

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    Hi itzik. It is even recommended to NOT use a magnetometer. The way INAV navigates, a compass on a fixed wing will cause more trouble than it helps, especially in windy conditions. Maybe in the future.

  • @itzikronen105

    @itzikronen105

    2 жыл бұрын

    @@MarcFPV Thanks, very important information.

  • @ebikefe
    @ebikefe10 ай бұрын

    Given one should start with Manual mode when tuning (before running Autotune], how do you fix the pids if plane is unstable/stalls when in Manual mode? (Had to ask as since skipped that step).

  • @MarcFPV

    @MarcFPV

    10 ай бұрын

    That's a really good question I should cover in another video. If the plane gets unstable in manual mode this usually means one of two things. Either the CG is too far back, causing the plane to be too pitch sensitive and stall due to Angle of Attack or the Elevator has just too much throw, ending with the same result. The plane will then tip stall very likely. So doublechecking the CG and reducing the pitch throw mechanically can help. I will also explain in a later video how to get the plane to its limits in acro mode without having it unstable in Manual, by reducing the manual rate while maintaining full travel for Acro.

  • @ebikefe

    @ebikefe

    10 ай бұрын

    @@MarcFPV Thanks Marc for your awesome tutorials.I'll look out for the follow-up video.

  • @FlyByWireC
    @FlyByWireC Жыл бұрын

    Hi, I saw you were using the X-lite Pro for the in flight tuning. I have read the link of OpenTX Pro Model and Watched the video of installation, both were saying it won't work with the X lite. So I am just wondering how you installed the OpenTX Pro Model onto X-lite pro?

  • @MarcFPV

    @MarcFPV

    Жыл бұрын

    That's a very good question and I wish I could remember what I did back then. I think I took the QX7 model and modified it by removing a few modes and reassigned some functions. So I can use the D-Pad for in flight adjustments, the sliders for Autotune, Autolevel and OSD switch. I also removed modes and changed the layout. So I only have Acro, Manual and Cruise as well as POSHOLD and RTH. Removed Waypoint and Angle. VTX Power switch is limited to 3positions for 25mW, Auto and Max on one of the press buttons. So I still have one 2pos switch spare.

  • @MarcFPV

    @MarcFPV

    Жыл бұрын

    Ahhh Nevermind. It is the dedicated Lite model I used :D It was just not updated in a while. But I did some changes though as I don'T need that many modes on that radio. inavfixedwinggroup.com/guides/transmitter-models/inav-fixed-wing-group-lite-opentx-model/#1-transmitters-and-versions

  • @FlyByWireC

    @FlyByWireC

    Жыл бұрын

    @@MarcFPV Thank you so much for replying and I will try this soon. Just one more thing to bother you, I recently tried to autotune my Talon 250g in a matek F411-WSE but something strange happens, The roll PIDFF aren't changing at all, and it's even worse with my Drift(Also a F411-WSE), the Autotune doesn't change any value no matter what I do. Did you ever experience the same situation?

  • @MarcFPV

    @MarcFPV

    Жыл бұрын

    @@FlyByWireC are you doing the autotune in Acro mode? you can't autotune in Manual. some people do that by accident.

  • @FlyByWireC

    @FlyByWireC

    Жыл бұрын

    @@MarcFPV I did it in acro mode, I am wondering if the FC board has some issue, but I do see the pitch FF was changing, but roll PIDFF did not change at all. Don't know what I did wrong, headache

  • @SBak46
    @SBak462 жыл бұрын

    Is it possible to do it(on the fly) with DJI video transmission?

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    Ehhhhh with 4.0 yes in theory it is possible by using the name tag to show the adjustments. But can't do a video on that as I do not use DJI FPV at all.

  • @SBak46

    @SBak46

    2 жыл бұрын

    @@MarcFPV how to show adjustments on name tag?

  • @MarcFPV

    @MarcFPV

    2 жыл бұрын

    @@SBak46 I don't know how to set it up specifically as I do not use DJI. But I know that it was implemented. Check the OSD config tab in inav with the DJI options.

Келесі