BlackBox: Trace Imports, BBE Review & PID Loop 101

Поділитися
Вставка
  • Опубліковано 12 вер 2024

КОМЕНТАРІ • 74

  • @uavtech
    @uavtech  5 років тому +6

    14:40 to start with PID Loop 101.

  • @sunsetpark_fpv
    @sunsetpark_fpv 3 роки тому

    Thank you UAV Tech. This video is the BIBLE for Blackbox Explorer - and yes, I've commented here before, but almost a year later I'm finally REALLY applying the things that you teach in this video 😁

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

    Just wanted to say thank you for making this content. Your videos are always informative and helpful. People like you make this hobby great!

  • @tehllama42
    @tehllama42 5 років тому +1

    Frequency vs Throttle - thank you so much BBE Devs - I need some of this in my life.

  • @jarekdomanski7985
    @jarekdomanski7985 5 років тому +4

    Thank You, very helpful. Straight to the point without unneeded chit-chat.

    • @FPVQuadModz
      @FPVQuadModz 5 років тому

      I could use some rambling chit chat, any suggestions? 😆

  • @sethgillies7094
    @sethgillies7094 5 років тому

    Awesome video.
    Excellent, easy to understand, and to-the-point explanation of PID.

  • @evildomain
    @evildomain 4 роки тому +1

    I was having an issue loading the workspace templates until today. You can get them to work if you download one of the newer Blackbox nightly versions or use the Chrome extension version. Both worked for me.

  • @hillbillyfpv1
    @hillbillyfpv1 4 роки тому

    After watching many.. this one made it hit home.. thank you!!

  • @Adam-kb2mn
    @Adam-kb2mn 3 роки тому

    Thanks for explaining all this.Im still learning but your vids are really helpful

  • @pippifpv
    @pippifpv 5 років тому

    Looking forward to your tuning part 2. The p-d ratio I'm excited for.

  • @_Brando_69
    @_Brando_69 4 роки тому

    Love this, gonna make myself learn this while I'm off work these next couple weeks! Thanks for the videos!

  • @Rcschim
    @Rcschim 3 роки тому

    I dont know why I didnt use blackbox explorer earlier to see the vibrations on my quads (the chimera5 currently). I always rant about jello on the cams - but here's where I can change it ;)
    Just saw that I have 55hz vibrations (quite a lot) which for sure is nasty for a 60hz video (if the vibration is close to the FPS setting of your cam - this amplifies the jello problems I suppose).
    Thanks for these kinds of videos!

  • @farmerboyfpv3637
    @farmerboyfpv3637 3 роки тому

    i needed this thank you!

  • @MCsCreations
    @MCsCreations 5 років тому

    Fantastic, dude. Thanks a lot! 😃
    That's going to be really helpful!

  • @FPVQuadModz
    @FPVQuadModz 5 років тому

    Great info Mark!

  • @opposedforces
    @opposedforces 5 років тому

    You rock. Thanks for this Mark.

  • @sebastienleclerc4062
    @sebastienleclerc4062 5 років тому

    Ho nice. Excellent content. Thank :)

  • @cs-xd9gy
    @cs-xd9gy 4 роки тому

    Mark,
    How can I make the traces bigger? In the video it looks as if you have a more zoomed in view of the traces? I have played with the zoom setting. Even when I set it the same setting the vid, yours still look bigger? You show multiple traces and they all look nice and big and I can see all of the traces. But on my monitor I can't see anything, well they aren't big enough? The zoom just seems to stretch the image out horizontally. I want to make it bigger vertically so I can see the lines. Does that make sense?

    • @uavtech
      @uavtech  4 роки тому +1

      At the bottom of the legend, there is an Exaggeration icon button.
      Also in the top tool bar, there is a Zoom slider.

  • @azixaka
    @azixaka 5 років тому

    Thank you

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

    how do I see the Legend option? doesn't show after import and still new to this programme. thanks for the helpful videos :)

  • @edouardmalot51
    @edouardmalot51 5 років тому

    Thanks one more

  • @anthonyrose4406
    @anthonyrose4406 3 роки тому

    What would happen if I modified the code so that d and p gain is set dynamically to the setpoint minus the gyro? Wouldn't the very next update in the pid loop automatically track the setpoint? Sorry if this is a dumb question I'm still new to this

    • @uavtech
      @uavtech  3 роки тому

      It doesn't work 1:1 like that, u less I'm not following. We don't know now the machine will react mathematically so it becomes trial and error.

  • @rubenvaneupen7327
    @rubenvaneupen7327 3 роки тому

    My motors seems (there is no scale) super noisy in blackbox. Not sure what 'motors' means in bb logs, but what is the heuristic to troubleshoot this? Link to existing video on that topic would be appreciated.

    • @uavtech
      @uavtech  3 роки тому +1

      increase filtering.

  • @notice_fpv
    @notice_fpv 5 місяців тому +1

    FWIW, the trace template is no longer in that location.

    • @uavtech
      @uavtech  5 місяців тому

      now at theuavtech.com/blackbox

  • @AlanzFPV
    @AlanzFPV 3 роки тому

    Mark, thanks for this video. I cannot get the trace templates to load. I followed instructions to open .json file, even tried downloading a 2nd time in case it was somehow corrupted. It has no effect. I had one template I set up myself, and after loading your .json file, it still only shows my one template. Do I need to somehow delete mine before yours will take effect? Should I reinstall BBE? Stumped.

    • @AlanzFPV
      @AlanzFPV 3 роки тому

      Update - Found this and it worked! github.com/betaflight/blackbox-log-viewer/issues/426 I'm not code savvy but apparently there was an update along the way. I'm running BFE 3.5.0 and windows 10 if it matters. Thanks to exocode who commented on Jan 13, 2020
      "Yes, the problem is that the format has apparently changed. BBE 3.4 is not able to read the old format."

    • @uavtech
      @uavtech  3 роки тому

      just load with a log open and make sure to hit the number row above the letters on your keyboard after you open the JSON file the BBE open button.

    • @AlanzFPV
      @AlanzFPV 3 роки тому +1

      @@uavtech yeah I did all that (several times) But it did not respond at all. The fixed file I referenced above responded with a workspace updated or something- then it worked.

    • @uavtech
      @uavtech  3 роки тому

      @@AlanzFPV good. As long as it is working now.

    • @AlanzFPV
      @AlanzFPV 3 роки тому

      @@uavtech it is and your detailed work is much appreciated!

  • @fpvraver
    @fpvraver 3 роки тому

    When I go into tiny.ccuavtech BBE Trace template’s there is two UAV tech BF ( BBE 3.4 V and a UAV tech BF (BBE 3.5 V then there’s two UAV tech trace set up templates.
    Which one’s should I download?

    • @uavtech
      @uavtech  3 роки тому

      Probably 3.5 if you have latest BBE downloaded.

    • @fpvraver
      @fpvraver 3 роки тому

      @@uavtech ok it’s working in BBE. I have your template’s up and running 👍👍👍👍👌👌👌👌

  • @Sconeboy_
    @Sconeboy_ 4 роки тому

    If I am running a FC with dual gyros, do I need to set the debug trace to dual_gyro_scaled instead of gyro_scaled? I did some test flights with gyro_scaled and it is giving me a trace.

    • @uavtech
      @uavtech  4 роки тому +1

      Gyro_scaled for averaged. Dual_gyro_scaled for separate on roll only.

    • @Sconeboy_
      @Sconeboy_ 4 роки тому

      @@uavtech Awesome, thank you. My quads fly amazing now thanks to this series.

  • @fpvraver
    @fpvraver 3 роки тому

    I have black box explore up and running I have your trace Templates.
    My question is how should I go about finding out if I have a bad motor with black box explore?

    • @uavtech
      @uavtech  3 роки тому +1

      Look at motor command traces for irregularities.

    • @fpvraver
      @fpvraver 3 роки тому

      @@uavtech ok I’ll check that out.
      I am disabling RPM filter on the GepRC MK 4.
      I can’t get it to stop motor desynk’s. I changed start force as you suggested.
      I just think the ESC is not capable of using it I tried to JAZMAV software I tried the JESC Software I’m getting the same result super small twitch occasionally after throttle up moves.
      My question is what all should I be certain to change after I flash my ESC attack? So what I mean is should I change the start force back to the default? Also the settings in beta flight should I disable dynamic filter? Or anything else to return to defaults?

    • @fpvraver
      @fpvraver 3 роки тому

      @@uavtech how do I look at motor command traces ?
      I have looked at 0 through 9 trace Templates. Is it one of those ?

    • @uavtech
      @uavtech  3 роки тому +1

      #4.

    • @fpvraver
      @fpvraver 3 роки тому

      @@uavtech What am I looking for irregularities like spikes in the graph ?
      They look pretty normal I guess I’ll look at one of your examples to compare it too.
      Any recommendations on a video to look at?

  • @bmwcoders2020
    @bmwcoders2020 5 років тому

    hi, looked all over but can not find an answer :-) I have f745 Omnibus F7v2 set use MPU600 gyro FC running great on BF4.0.5 and RPM + standard filters - cool motor but some propwash.
    I know filtering need work, but I'm trying to establish first the set up - 4/4 dshot600 or something else mathematically speaking - nd you seem to be best person to ask that :D
    I check 8/8 1200 and Gyro Rate error increases from 0.3% to like 1% in STATUS, but what worries me is spikes to 3-5% off much more often. So mathematically speaking, what is best config there?
    My thoughts:
    - Dshot600 is fast enough for 16/16, so no reason to use higher one. Thus, 1200 no use
    - Gyro is on SPI. with supports 8k seems logical, but may cause overload on the bus? Better keep 4k perhaps?
    - PID can not be higher than gyro rate, but II heard that lower value acts like a natural filter?
    = 8/4k and Dshot 600 is the ultimate set up or no reason to cut PID loop so 8/8 600 is best trade off?
    And how would RPM pay into this?
    Topic for a video?))

    • @uavtech
      @uavtech  5 років тому +1

      For RPM filtering, goes 4/4k and Dshot 300 or 600. Plenty fast, especially when looking at filter delay vs. cycle times.

  • @ti2phol
    @ti2phol 5 років тому

    can you help me to make my lines smooth... my setpoint and gyro lines are not tracking the same line

    • @uavtech
      @uavtech  5 років тому

      Tuning guide at: drive.google.com/file/d/1WxgSUsG6UnvXjyxJSsAdw9iqoO21Ddmq/view?usp=sharing

  • @Dan-ut9gt
    @Dan-ut9gt 4 роки тому

    Hello, I looked at the folder today and cant seem to see the .jason file. Is it still there?

    • @Dan-ut9gt
      @Dan-ut9gt 4 роки тому

      Nevermind, I found it

  • @sunsetpark_fpv
    @sunsetpark_fpv 3 роки тому

    This is the best Blackbox Explorer crash course video on UA-cam.
    Can anyone please tell me how to physically access the JSON file that I have in Google Drive? I right click it and download, or I download it via the icon on the top right, I can't physically locate it to open in BBE and its really irking me....😣

    • @uavtech
      @uavtech  3 роки тому +1

      See theuavtech.com/blackbox
      After download, with a log open, use the same open dialog to open JSON and clock 0 thru 9 on number row above letter keys (not num pad).

  • @effectic
    @effectic 4 роки тому

    Does it work with emuflight 0.3.1 blackbox data?

    • @uavtech
      @uavtech  4 роки тому +1

      Should. But I think Emu logs are a little messy in BBE (missing header data, etc.). Also keep in mind Feathered PIDs at 0 are D-term based on Error so interpreting the D-term is a little tricky with stick moves. You need to look at PID Error trace vs. just Gyro movement.

    • @effectic
      @effectic 4 роки тому

      UAV Tech I’m not sure it’s clear for me. But I will try to figure out. Thanks!

    • @uavtech
      @uavtech  4 роки тому +1

      @@effectic , if you have issues, maybe learn on BF and then go back to Emu. All the BF stuff works well together and is less glitchy.

    • @effectic
      @effectic 4 роки тому

      UAV Tech good advise. I thought about that. I’ll try it with bf4.2

  • @anthonymcneil3606
    @anthonymcneil3606 4 роки тому

    Relative newbie here. I have been absorbing this new hobby through osmosis via saturation. Really enjoy your videos. I have been trying to use your trace templates but can’t seem to get them going. When I open your json, it says “workspaces loaded”, but no response from either set of number keys. Thought maybe because I’m on a newer version of BBE v3.4.0? Anyone want to point me in the right direction?

    • @uavtech
      @uavtech  4 роки тому

      Download the lates BBE from github. Then open a log file. Then load the trace templates and then hit the numbers on the row above your keyboard keys (not number pad).

    • @anthonymcneil3606
      @anthonymcneil3606 4 роки тому

      @@uavtech I downloaded yesterday, but I'll check again for new. I couldn't even save and reopen my own workspace jsons. I have become quite good at building traces as I needed them today. Probably done it a hundred times today. Also made 50 or so BB records to compare PID changes. Thanks for the response.

    • @evildomain
      @evildomain 4 роки тому

      @@anthonymcneil3606 I have been having the same issue. It will not load any trace templates, not even the one I created.

    • @evildomain
      @evildomain 4 роки тому

      @@anthonymcneil3606 I posted a comment that should help you solve your issue.

  • @DronePlayground
    @DronePlayground 4 роки тому

    👍👀🇭🇷

  • @fastfrank61
    @fastfrank61 5 років тому

    Hello Mark . i dont have time to make the Plasma control I have the Eachine TS 215 V3 5S and Diatone GT 548 MK3 2207-2650KV i read all abot tunning Tips from 4.0 and i have a frame fom Diatone GT 200 S with 4 new motors and Beta 3.5.7 and this goes realy like a devil . But i have ten Drones with high qualty componets but i dont have a good felling with this two . I have anoter Diatone GT 548 MK3 with Gefam 51449 and this one has 3.5.1 with fresstyle PIDs and it goes like a beast here the PIDs D Shsot 600 Idle speed 3,5 8 KHZ and 4 PIDS : Betan 220 rescue mode
    R 44 47 27 87 0,96 0,55 0,30 Acro Trainer 0,20 Throttle Boost 5 Anti G 5 TPA 0,25 1650
    P 67 43 29 87 0,96 0,50 0,30 Filtros PT1 on 150 150
    Y 60 49 2 98 1,01 0,60 0,00 400 250 Airmode 32% Throttle This is fantastic Please can you help me i put all your PIDs and 4.0 and 4.01 was horrible .Transmitter Jumper TH 16 and before TSG8 V2 Plus
    becaise i flay EFlite VTOL 650 and mini and Helicopter Algin and Gaui to in 3D . Best regars from Alicante Spain Frank :-))))
    On the others i flased 4.0.3 and BL Heli no RPM and no Bidirectional i maked it like Joci Luid and i have had faly to the moon i have Barometer and GPS in one punsh it climbed 885 m high and comes back with recue mode .

    • @Mateyhv1
      @Mateyhv1 5 років тому +2

      Dude, what are you trying to say with all that chatter?

    • @pippifpv
      @pippifpv 5 років тому +1

      Hi frank. What seems to be your problem? It's kind of hard to follow your trouble shooting, when you are talking about 10 quads at a time.

    • @antigravity8247
      @antigravity8247 5 років тому +4

      You do not have time for Plasmatree and Blackboxtuning, and other people should take their time. Bad game.

    • @fastfrank61
      @fastfrank61 5 років тому +1

      @@Mateyhv1 Very eay a good tunning with all for 4.0.3 for the Diatone GT 548 MK3 and Eachine TS 215 V3. I flay 27 years Heli 700E acro , and read all about Git HUB 4.0 Tunning Tips but i can not find a good tunning for Racing .In present is one there stand iterm relax cutof 35 Gyro Setpoint !!! All from UAV TECH but every time in the vidios he has other PIDs anf FF until to 450 on P and R and Yaw on 100 . Then changed to 250 FF ????

    • @pippifpv
      @pippifpv 5 років тому

      @@fastfrank61 for a good tune. Use his filter settings no gyro filter and dyn dterm set to 60-175hz. For q race setup, leave the pid's stock, or use the recommended race pid's from the bf 4.0 tuning suggestions from github.