PIDtoolbox Q&A #02 | Basement Tuning using the PTB step response tool

  Рет қаралды 6,805

PIDtoolbox

PIDtoolbox

Күн бұрын

Пікірлер: 74
@CesiumSalami
@CesiumSalami 3 жыл бұрын
I know all of this is A TON of work (videos, editing, coding, etc...) but it's supremely helpful! thank you!
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
It's a pleasure, and thank you!
@dennislobos
@dennislobos 3 жыл бұрын
Thanks for this amazing video
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
Thanks!
@noisy_boi_fpv_3920
@noisy_boi_fpv_3920 3 жыл бұрын
Great vid chaps more of this please. Enjoy fresh perspectives
@robmulally
@robmulally 2 жыл бұрын
This is amazing guys thanks. I know I'm late to watch this! Really really good info
@heavykick
@heavykick 3 жыл бұрын
"... they assuning the average build is verry crappy ... " I need a T-Shirt with this 😅 Realy cool video, I will try this "basement tuning" and PD-Gain First method! Also the information about lowterm D Oscilation/filtering relation is verry "interesant" 👍 Ich mag die pid toolbox und sie ist mein nummer 1 tuning tool. Ohne wollte ich keinen Copter mehr tunen müssen. Weiter so!
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
Awesome, thanks!
@hugochiang1072
@hugochiang1072 3 жыл бұрын
Nice video! I learned a lot from this!!
@marlin-fpv
@marlin-fpv 3 жыл бұрын
Tried that and it's super efficient regarding p/d balance! :) Great info on the gains, completely new view on how you are able to dial in the gains using step response!
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
thanks! glad to see it working
@marlin-fpv
@marlin-fpv 3 жыл бұрын
@@PIDtoolbox I'm just not seeing the big difference in gains but I also don't use those low values. Thinking of gains while basement tuning and we don't get much of a difference between .7 and .85, how do you determine what's the better gains?
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
@@marlin-fpv as I stated in the video, if adding gain does not change the overshoot or latency much, then you want to move on to PD balance. If there is no overshoot, then you wanna just bring PD balance back until you do to find that point, then go up a notch or two from that. It’s important to know where that point is because you can easily be pushing D more than you need to and it won’t be obvious once overshoot is dampened whether there’s just enough D or too much. The step resp can look very similar, and you don’t want so much D as to generate oscillation issues. Hope this makes sense.
@marlin-fpv
@marlin-fpv 3 жыл бұрын
@@PIDtoolbox Absolutely makes sense. I find the hardest part to figure how much D I need. Usually I dial balance until little overshoot and after that I raise gains until D noise getting too much with reasonable filtering. www.file-upload.net/download-14581363/response.JPG.html is what I finally feel is the best for 6s high kv racing rig.
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
@@marlin-fpv it is strange how some people get this tendency for the steady state period to never reach 1. The was an issue pre v0.392 so make sure you're using at least the latest.
@jas-FPV
@jas-FPV 3 жыл бұрын
Great stuff ! Thx !! What causes flyaways? I have a 10inch that started shooting up giving a little more throttle then hover. Was this noise or P/D ?
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
Post a logfile in the BB log Facebook group and someone will help you there for sure (link in description above)
@00whynot
@00whynot 3 жыл бұрын
Awesome work Brian 😎
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
thanks Richard!
@pacnsave1
@pacnsave1 3 жыл бұрын
Great video that's a super simple way to get a good start tune. Are all these logs that we see done with basement tuning? Can this be done with emu on helio? I was having trouble getting some logs to show up.
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
Yes and yes. All step traces shown were 15-20 sec done indoors. Should work with emu as well
@rubenvaneupen7327
@rubenvaneupen7327 2 жыл бұрын
Is this basement tune representative for when there is (a lot) of wind? How would you adjust the PIDs in windy conditions?
@m4g4r4c
@m4g4r4c 3 жыл бұрын
It is possible to get up to 1500deg/sec moves in angle mode with "angle strength" set to 200. Few rapid stick movements are sufficient to get this done within 1m radius. Also, feedforward is disabled in angle mode.
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
I think you could do these tests in angle mode. I’ve not done it. But it’s a great idea. But you don’t need 1500deg/s! Holy crap! 😄
@m4g4r4c
@m4g4r4c 3 жыл бұрын
@@PIDtoolbox I haven't noticed any major difference in step response between angle and acro mode. It' very easy to tune this way.
@MoppelMat
@MoppelMat 3 жыл бұрын
Oh wow tnx for all the info! May I just throw a short big into here? I can not run the tool on my UHWQ monitor with 5800x1440 resolution. All text is waasaay too big and unreadable. Would be very nice if this tool would work on my desktop pc!
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
Yes there is a fix for this coming in the new version. Unfortunately the current version is expecting screen ratios of 4:3 to 16:9. Did not anticipate these new ultra wide screens.
@MoppelMat
@MoppelMat 3 жыл бұрын
@@PIDtoolbox thank you a lot!
@MoppelMat
@MoppelMat 3 жыл бұрын
@@PIDtoolbox there is no "beta" version where I could try out the WHQD fix? ^^ or do you have an idea when the new version will be ready for primetime?
@PaulSokolov
@PaulSokolov 2 жыл бұрын
clarifying question - 7:05 timeline - stick response gain we back to normal, after PID tune. How about D min? We can turn it on after PID tune also... Right?
@henshaw7
@henshaw7 2 жыл бұрын
hey mate im having trouble getting my yaw axis smooth in the step response tool, it comes upto the 1 mark but is jittery/zig zaggy after that.. sometimes is ebtter with high pids like 70 -145. any suggestions?
@PIDtoolbox
@PIDtoolbox 2 жыл бұрын
Any noise in the step resp plot is a direct reflection of noise in the gyro.
@PopGheorghe
@PopGheorghe 2 жыл бұрын
Could you please do a video on how to tune an iNav quad with PID toolbox? There are none on KZbin, and iNav explorer is a mess.
@silverfish27
@silverfish27 2 жыл бұрын
What would be the approach with BF 4.3? First do a range with Master multiplier, maximizing it so we have a high D value and then range the tracking slider (PI gain)? I suppose then the step would be updating I gains/i Term Relax and the last Feed forward, right?
@PIDtoolbox
@PIDtoolbox 2 жыл бұрын
I really need to get around to making a video on this. Basically I start by pulling the Iterm ('drift-wobble'), FF ('stick response') and dynamic damping sliders to 0 (RP only, yaw later). Then I tune the PD balance using steps of the damping slider (0.8 to 1.6 in 0.2 steps). Then the PI balance using Iterm slider from 0.3 to about 1.2 in 0.3 steps). Then the master multiplier in 0.2 steps until latency asymptotes and/or you get small oscillation on both axes (as measured by 40-60hz peak in line spectral plot). Then using both master and pitch sliders you set the balance based on the results you got across master gain steps for each axis. You can tune yaw similarly except no D on yaw of course, and no oscillation, but latency can signal the upper bound. Last, you bring FF back in as desired.
@henshaw7
@henshaw7 2 жыл бұрын
most ive learnt properly
@TERBANGFPV
@TERBANGFPV 3 жыл бұрын
my PTB cant do that realtime stick response things in your video.. is that a new version?
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
yes, this is part of the new version 0.4 being released soon. nonetheless, the tuning approach described here can still work, you just have to examine 2 logfiles at a time.
@TERBANGFPV
@TERBANGFPV 3 жыл бұрын
@@PIDtoolbox i have 40hz and 60hz resonance with my new rekon5... and the answer is reduce my filters abit. now the bright low freq resonance going dimmer.. do i need to reduce dterm filtering to a bit more? im keeping my dterm filt at 1x (or using 2 static at 80 and 150hz pt1) because my D is at 40 already.. just to makesure i dont burn motors here :p
@KerniFPV
@KerniFPV 3 жыл бұрын
Awesome work, would love to know when we can assume to see the new version would make it to life (also willing to help testing when needed) what I see in the video it will make the life of Quad tuning even easier, working now a strange 7 and 8-inch quad for more than 2 months now to get the right tune but I learned something new today never thought that filtering Gyro would have an impact on Dterm... maybe this will fix my smooth forward flying problem or lets say HD wobbling... very annoying stuff sit here now on over 500 logs only from 7inch and now starting over with this basement tuning... maybe It will work finaly
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
working on the new vision as we speak!
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
I should add, gyro filtering affects D term because D is derived directly from the filtered gyro. any oscillation or noise in the filtered gyro is just mirrored and then amplified in D term
@KerniFPV
@KerniFPV 3 жыл бұрын
@@PIDtoolbox awesome cant wait for it, the part with more than two logs to compare the lines is the most wanted thing for me :)
@KerniFPV
@KerniFPV 3 жыл бұрын
@@PIDtoolbox yeah that is something I learned out of this video again did hear that a long time ago but not that clear now make some troubles finally sense :) Thanks for that and I can say did now my first flights after basement tuning from scratch and it seems that I work pretty good for a starting tune! fine-tuning hat to be done and "I" of course but it looks good in first place
@henshaw7
@henshaw7 2 жыл бұрын
Bardwell could do with pid toolbox and this video
@Zattoo20
@Zattoo20 2 жыл бұрын
how to find a filter tuning at home ? like PID ?
@zlachannel8674
@zlachannel8674 3 жыл бұрын
i cannot download for the windows version,,saying always fail network error in all versio
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
check your internet connection :) they are all working, just checked
@porlockos
@porlockos 2 жыл бұрын
Why do we increase PD gain instead of master multiplier ?
@PIDtoolbox
@PIDtoolbox 2 жыл бұрын
this was an old vid pre-BF4.3. 4.3 has only mm, no PD gain. but it doesnt matter per se. 6 of one, half dozen of the other as they say
@porlockos
@porlockos 2 жыл бұрын
@@PIDtoolbox but for bf 4.2 it's better to start with PD gain or master multiplier ? And what would be the pros for that decision ?
@PIDtoolbox
@PIDtoolbox 2 жыл бұрын
@@porlockos the problem is 4.2 doesnt allow you to remove iterm so I developed a work around through the use of PD gain. it's a bit complicated to describe here but it was laid out in the vids leading up to 4.3. but I since think if still in 4.2 it's best to actually manually manipulate the numbers but follow the 4.3 concept.
@VIREGAnet
@VIREGAnet 2 жыл бұрын
i really love this software... but i have colorblind, so i can't make different between black, brown and red in the graph... i hope you can make some feature for colorblind person like me..
@PIDtoolbox
@PIDtoolbox 2 жыл бұрын
thx for the feedback. maybe in future updates I'll make the line colors user controllable.
@VIREGAnet
@VIREGAnet 2 жыл бұрын
@@PIDtoolbox thank you!!!
@Sugar_K
@Sugar_K 3 жыл бұрын
When are we getting on PTB
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
Anytime! PM me
@VladVortal
@VladVortal 8 ай бұрын
Super
@pugli1087
@pugli1087 Жыл бұрын
very goog
@MoppelMat
@MoppelMat 3 жыл бұрын
The github link is a 404 for me now :-( is it just me?
@Eric_Kieckebusch
@Eric_Kieckebusch 3 жыл бұрын
Same here!
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
sorry bout that. I think they are fixed now. Let me know
@MoppelMat
@MoppelMat 3 жыл бұрын
@@PIDtoolbox yes! it works now
@noisy_boi_fpv_3920
@noisy_boi_fpv_3920 3 жыл бұрын
No wind in my garage
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
exactly! lol
@noisy_boi_fpv_3920
@noisy_boi_fpv_3920 3 жыл бұрын
@@PIDtoolbox well there is when i crank up beast class rig that is scary. Lol
@Llegando_Tarde
@Llegando_Tarde 3 жыл бұрын
Plz no slurping and tongue smacking I just cant it tortures my ears and goes down my spine….other than that thank you for video!!!
@PIDtoolbox
@PIDtoolbox 3 жыл бұрын
best comment ever! Love it!
PIDtoolbox Q&A #03 | Tuning a 10" li-ion long-range quadcopter
16:34
PIDtoolbox Q&A #01 | Intro to the spectral tool
30:56
PIDtoolbox
Рет қаралды 3,6 М.
兔子姐姐最终逃走了吗?#小丑#兔子警官#家庭
00:58
小蚂蚁和小宇宙
Рет қаралды 9 МЛН
SISTER EXPOSED MY MAGIC @Whoispelagheya
00:45
MasomkaMagic
Рет қаралды 13 МЛН
Как не носить с собой вещи
00:31
Miracle
Рет қаралды 1 МЛН
PID Tuning -- 💥MUST KNOW💥 -- information!  💪😎
10:05
🔧Betaflight 4.5 Tuning Workflow using PIDtoolbox🔧
16:18
PIDtoolbox
Рет қаралды 15 М.
Basement Tuning using the New Betaflight 4.3 Sliders!!!
12:28
PIDtoolbox
Рет қаралды 29 М.
Basement tuning just got a lot easier! - USE ANGLE MODE!
13:50
PIDtoolbox
Рет қаралды 29 М.
The Importance of:  PD Balance | P&D Gain Strength
14:20
UAV Tech
Рет қаралды 12 М.
PIDtoolbox Q&A #04 | Latency and Phase Delay
24:23
PIDtoolbox
Рет қаралды 1,7 М.
Live Stream - Viewer Logfile Analysis, diagnosis and tune
1:20:11
PIDtoolbox
Рет қаралды 2,7 М.