How to use the PlasmaTree PID Analyzer

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025
  • How to use the Plasmatree PID Analyzer as a tool for PID tuning your kwad. This video covers how to download, install, run and interpret the results.
    Github Project Link: github.com/Pla...
    Project RC Groups Link: www.rcgroups.c...
    FB Blackbox Groups Link: / 291745494678694
    =================================================
    Want to support me? / uavtech
    Facebook: / mark.spatz.79

Комментарии • 70

  • @uavtech
    @uavtech  6 лет назад +1

    A great run through of the 1,2,3 process of PlasmaTree -- ruclips.net/video/nXfvbvimkaw/видео.html

  • @ruftime
    @ruftime 6 лет назад +1

    Boy, this rabbit hole is getting deep:-)
    I was lucky and stingers tuning video came out just a couple weeks after I built my first quad!

  • @PuttingOnTheFoil
    @PuttingOnTheFoil 6 лет назад

    Fantastic video! You confirmed that I was "getting it" when working with this software. That Wikipedia animation was key for me. Keep up the good work!

    • @uavtech
      @uavtech  6 лет назад

      Kroma , thanks!

  • @jamesgleason2808
    @jamesgleason2808 6 лет назад

    This was perfect. I have been playing around with pid tuning finally after 1 yr and this made it so much easier!!!! Thank you.

    • @uavtech
      @uavtech  6 лет назад

      Make sure to give special thanks to Flo on the RC groups channel He developed it. I just featured cause it is a great tool for an easy 2nd opinion on your tune.

  • @ArchmageAU
    @ArchmageAU 6 лет назад

    Thank you. Been looking for a measured way of tuning PIDs that does not rely on "feel". This seems a good approach.

  • @JT-jy2sy
    @JT-jy2sy 6 лет назад

    Did some plasmatree plots and could not be more proud of my tunes. Lol. Thanks uav tech!

  • @FPVUniversity
    @FPVUniversity 6 лет назад +2

    Oh man, this is just awesome. Thanks for bringing this awesome tool to my life !

    • @uavtech
      @uavtech  6 лет назад

      Paweł Spychalski , yeah buddy. Good stuff.

    • @uavtech
      @uavtech  6 лет назад

      Also check out: ruclips.net/video/nXfvbvimkaw/видео.html

  • @M0rdH0rst
    @M0rdH0rst 6 лет назад +1

    The way StingerSwarm explained it, is the way I learned it too.
    My first look at the log-data in the explorer is only stick input and gyro output, as you explained.
    The next step is looking, if oscillations on P or D get through to the motor output and then, with a little delay, back to the gyro. If they do, the value is too high.
    I'm usually playing it save and allow a little overshoot, I rarely move the stick like a robot :)
    There is another way which unfortunately will not work on copters: I and D is set to zero, crank up P until it oscillates. Then measure the frequency and enter this 'f crit' and the 'P crit' into a set of formulas and you get the P, I and D values which will make it a perfect step response.

    • @uavtech
      @uavtech  6 лет назад +1

      M0rdH0rst , wow. Why won't that works on kwads (the formula method?). Do u have a link or something to docs on that approach?

    • @kmitchel46725
      @kmitchel46725 6 лет назад +1

      Your talking about
      Ziegler-Nichols method in the wiki article, right?

    • @M0rdH0rst
      @M0rdH0rst 6 лет назад

      I've only found the German version of it, I don't know how google would translate it ^^.
      rn-wissen.de/wiki/index.php/Regelungstechnik#Dimensionierung_durch_Probieren_.28Empirisches_Einstellen.29
      I've tried it, but the oscillating copter scared the sh*t out of me and it wasn't really close to stable oscillations.

    • @M0rdH0rst
      @M0rdH0rst 6 лет назад

      Yeah, that's it. But I guess, it would be quite destructive to a copter ^^
      I've used it on power and temperature regulators, but not once yet on a mechanical system.

    • @kmitchel46725
      @kmitchel46725 6 лет назад

      M0rdH0rst It's my understanding, that we want a little overshoot, to give a little boost and overcome inertia and get the quad rolling, correct?

  • @Jrod_FPV
    @Jrod_FPV 6 лет назад +1

    Great explanation using the gif / 51 images. Thanks for the video!

  • @Northernlight1982
    @Northernlight1982 6 лет назад

    Oh man I love this stuf! Thanks for showing me and explaining it!

  • @jjrotogeek
    @jjrotogeek 6 лет назад

    Hisnis fantastic brother. Can’t wait to give it a go. Great job

  • @duckslave
    @duckslave 6 лет назад

    I am scared to death that if I start with the Plasma Tree, I'll spend all my time fiddling instead of flying - but I really like the way you explain incredibly complicated subjects.

    • @uavtech
      @uavtech  6 лет назад

      Don't chase the rabbit too much! Have fun out there!! :-)

    • @duckslave
      @duckslave 6 лет назад

      UAV Tech - Exactly! - I’ve learned so much from you about Blackbox and from others about tuning, that I’ve reached a point where I can “guesstimate” a pretty good starting tune, validate and adjust it, look for motor heat and flight characteristics that match what I want - and adjust accordingly - my goal is not a beautiful log - it is a fun and beautiful flight.

    • @duckslave
      @duckslave 6 лет назад

      UAV Tech - UAV Tech - Exactly! - I’ve learned so much from you about Blackbox and from others about tuning, that I’ve reached a point where I can “guesstimate” a pretty good starting tune, validate and adjust it, look for motor heat and flight characteristics that match what I want - and adjust accordingly - my goal is not a beautiful log - it is a fun and beautiful flight.

    • @uavtech
      @uavtech  6 лет назад

      The force is with you!! ;-)

    • @duckslave
      @duckslave 6 лет назад

      UAV Tech - and with you it is, young Jedi!

  • @steveallen7404
    @steveallen7404 6 лет назад

    Thanks man, very helpful. Helped me understand things a little bit more :)

  • @hervedonner1864
    @hervedonner1864 6 лет назад

    Very informative as always. Thank you ;)

  • @RoeeMazor
    @RoeeMazor 6 лет назад

    Thanks just lost my Drone, but as soon as I build a new one I am gonna do this :D

    • @uavtech
      @uavtech  6 лет назад

      Roee Mazor , sorry to hear about your rig, but way to get back in the saddle!

  • @iandouglas703
    @iandouglas703 6 лет назад

    Awesome video very informative 👍

  • @Dorkyand40
    @Dorkyand40 6 лет назад +1

    thanks man..def checking this out

  • @InLoveWithFlight
    @InLoveWithFlight 6 лет назад +1

    I love how he says "allright!" :-D

  • @RYVENANT
    @RYVENANT 3 года назад

    Is this a summary of all the recorded flights in the log, or is it just using the last flight recorded in blackbox data?

    • @uavtech
      @uavtech  3 года назад +1

      Last i believe. But there is a better tool now. ruclips.net/video/e4m1wEcc_Yk/видео.html

    • @RYVENANT
      @RYVENANT 3 года назад

      @@uavtech I actually found your video for that right after my comment and it’s 100x better. Just the visual in the step response tool alone is amazing to see. I have the quad 95% of the way there, time to take days chasing the last 5% lol

  • @Eskimoz
    @Eskimoz 5 лет назад

    Sans aucune hésitation on like :)

  • @JohnEFly
    @JohnEFly 6 лет назад

    Great video! Thanks for sharing!

    • @uavtech
      @uavtech  6 лет назад

      John E Fly , no problem. Thanks for watching. :-)

  • @rabidbydesign
    @rabidbydesign 6 лет назад

    Thanks for this; I was wondering when you were going to hit this tool you've been using in other videos. Again another tool that steers you in the right direction for what to target next in chasing the rabbit :)
    Can you comment on how the filtering and tuning of a quad affects the power draw of a typical 5 inch build? Is it even something that is measurable when things like throttle input and aggressive moves play a much bigger role in battery life.

    • @uavtech
      @uavtech  6 лет назад +1

      Interesting topic. You do see the biggest amp draw spikes in a roll or flip. Of course the weight - and associated P gain - play a factor. Will draw some of my attention to this and if I find anything interesting to report, will throw it up.

  • @jaybird6909
    @jaybird6909 6 лет назад

    Does this only work with betaflight pids or would it work with a flight one log?

    • @uavtech
      @uavtech  6 лет назад

      Not sure about FlightOne. But should work for Cleanflight, Beta, Butter or iNAV. I have not tried all and someone else asked the same on the RC groups thread. www.rcgroups.com/forums/showthread.php?2953533-Betaflight-PID-Analyzer/page2
      Looks like OK for iNAV. I know it will work for Butter and 98% sure Clean will be OK too (they are all forks).
      Just give it a go! If you don't mind, post back here for what you get (or on RC groups page).

    • @plasmatree5829
      @plasmatree5829 6 лет назад

      If flight one logs are compatible and has the same internal P-scaling it should work. Just try it and report ;)

  • @michaelfpvchiemgau8082
    @michaelfpvchiemgau8082 6 лет назад

    Hey Mark, how about an update on this Video about the new stuff from version .51 plasmatree?

  • @jjrotogeek
    @jjrotogeek 6 лет назад

    Hey brother, do you know if this can do inav blackbox files as well?

    • @uavtech
      @uavtech  6 лет назад

      JJRotoGeek , yep. Works on iNAV.

    • @jjrotogeek
      @jjrotogeek 6 лет назад

      Damn i wonder what im doing wrong, I drag the log file into the window, hit enter, then type JJ for the pilot name (or whatever) and it makes the folder but does not put anything in it.. i know im missing something stupid. The inav files are txt files..

    • @Yetipuk
      @Yetipuk 6 лет назад

      Plot name :) I put mine inav txt - worked just fine. First try!! Files asa big as 2mb take around 10sec to calculate. 6mb file took around 25secs.

  • @MusicOnlythebest
    @MusicOnlythebest 5 лет назад

    could you do an update for version 0.52. New commands have been added, only the folder itself generates to me and nothing more.

  • @3-danything977
    @3-danything977 6 лет назад

    Will this work with flightone

    • @uavtech
      @uavtech  6 лет назад +1

      As far as I'm aware, YES. But make sure to tune based on Flo's recommendation which is using level mode and do sharp fast stick deflections. Everyone does full flights, which you can do that later, but for starters follow the tuning recommendation of doing LOS, in level mode, with short fast stick deflections. It limits noise and provides more meaningful, easier to interpret, results. I have not messed with FlightOne yet, but it is on the radar.

    • @3-danything977
      @3-danything977 6 лет назад

      @@uavtech thanks buddy

  • @MartinHapl
    @MartinHapl 6 лет назад

    You made it! :-)

  • @Leos-World
    @Leos-World 6 лет назад

    Are you sure you are describing the sequence correctly or am I misunderstanding something? (see comments after 7.46 min. in the video)

    • @uavtech
      @uavtech  6 лет назад

      Yep. We just don't do the Kp half thing in accordance with: "A fast PID loop tuning usually overshoots slightly to reach the setpoint more quickly;..." For Kwad, unlike a valve or something, we can tolerate an overshoot. A valve cannot as it would slam and could cause mechanical problems or hydraulic hammer.

    • @Leos-World
      @Leos-World 6 лет назад

      I'm asking because in the vid you state P to oscillations, then you state to crank up D for smoothing and then I for flowing. Is that correct? :-)

    • @uavtech
      @uavtech  6 лет назад

      I-term for "floating". So if the kwad is drifting, you need more I-term. P pushes to get the thing moving, or stop (the main controller -- like a spring on a car), and D is to dampen (kind of like the shock absorber on a car -- except more advanced).

  • @szabolcsvranceanu47
    @szabolcsvranceanu47 4 года назад

    Ok, I know how to get the graphs, now please show me how to get the correct values for P, I ,D, there must be some software to calculate the correct values, not just by trial and error crashing the drone 100 times as a beginner.

    • @uavtech
      @uavtech  4 года назад +1

      Http://tiny.cc/pidtuning is you best bet.

  • @KrotowX
    @KrotowX 6 лет назад

    Pretty much hate the tendency to make user software for quad tuning only for Windows and Mac. Where is Linux version? Especially when backend stuff is done in Python already.

    • @uavtech
      @uavtech  6 лет назад

      KrotowX , talk to Flo. Source is there too.

    • @KrotowX
      @KrotowX 6 лет назад

      Got decoder sources (C sources + makefiles) and so far I believe that it will be possible to compile them under Ubuntu/Mint Linux too. Noticed that Betaflight configurator and log viewer have 64-bit Linux binaries as well. Now the only thing which I need is BLheliSuite32 Linux version.

    • @plasmatree5829
      @plasmatree5829 6 лет назад

      On Linux you do not even need to install python since it's already there. Just add all necessary packages (Anaconda has everything you need I think) and run the .py!
      I would like to also provide stand alone applications for mac and linux but all of this consumes time. I'm still in the process of finding the right balance. Getting feedback, suggestions and whishes of users helps with this. ;)

  • @thespencerowen
    @thespencerowen 6 лет назад

    Runs on mac, you just need to be comfortable with the command line. Working on making a gui for it github.com/Plasmatree/PID-Analyzer/issues/22

  • @MrBirdshell666
    @MrBirdshell666 6 лет назад

    i dont think a 5" quad 300-400g w/o battery will fly good with low pids like 20-30. i tried to get that beautiful graph and ended up with something around 15/15/18 (PID) on all axis , but it flew like crap. it just couldnt handle hard maneuvers.
    and if you fly aggressively, you will be gettin jagged graphs every time, because it is the real world with gusts of wind, resonances, 'mid throttle oscillations'
    , voltage sags, electrical noises and other stuff

    • @plasmatree5829
      @plasmatree5829 6 лет назад

      The example from the .gif are from tuning a 2.5" quad.
      5" will have higher pids! Your observation regarding a nice curve during ideal conditions but crap real world behavior fits my experience. Your P and D should be as high as possible without frying your motors.
      On my 3" 1407 build there is nearly no difference between slow flight and fast flight.
      On a highly overproped build these two scenarios will differ for sure!
      The reason for mid throttle oscillations will be addressed in the next update ;)