Тёмный

Quick tip: Do P-I balance last! 

PIDtoolbox
Подписаться 3,7 тыс.
Просмотров 6 тыс.
50% 1

--
PIDtoolbox is free to download:
github.com/bw1129/PIDtoolbox
If you'd like professional 1-on-1 PID tuning help:
pidtoolbox.com/
If you'd like to support the PIDtoolbox project:
/ thepidtoolboxguy
www.paypal.com/paypalme/PIDto...
Join my discord for ongoing PID tuning discussions and tips
/ discord
--

Кино

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

 

11 дек 2021

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 29   
@ClareFPV
@ClareFPV 2 года назад
Awesome tip Brian. Thank you so much.
@noisy_boi_fpv_3920
@noisy_boi_fpv_3920 2 года назад
Great tips I am right at this stage. You cover all bases man. Good job as always. 👍
@airdronelongford2027
@airdronelongford2027 2 года назад
Thanks Brian
@IvanEfimovLimon
@IvanEfimovLimon 2 года назад
Thank you, Brian!
@PIDtoolbox
@PIDtoolbox 2 года назад
You’re welcome my friend! Enjoy
@Maorifpv
@Maorifpv 2 года назад
Awesome work
@rubenvaneupen7327
@rubenvaneupen7327 Год назад
Thx!
@Nickvan86
@Nickvan86 2 года назад
Thanks Brian for this video and a powerful tool. I wanted to ask how to set the PD and PI balance for yaw. Is the video coming in the near future?
@UnmannedSky
@UnmannedSky Год назад
Thanks for this! I was getting pretty confused why I couldn't push my I term beyond 0.6 without seeing significant overshoot. Curious, if I tune feed forward first then I term after that can I just use y correction to compensate for the misleading plot?
@reapergrim5324
@reapergrim5324 2 года назад
Hope that's helps ? Damn it helped alot thanks !
@PaulSokolov
@PaulSokolov Год назад
Thanks for the tutorial. Please help to clarify the situation with Dynamic Damping slider. For better work, it is better to leave it off permanently, or turn on after tests?
@KonstantinFPV
@KonstantinFPV 2 года назад
Maybe I do something wrong but I tried different techniques for PID tune via Pidtoolbox, and the best and the fastest way for my 3 inch and 5 inch quads were: 1. dynamicD off 2. Feed forward off 3. I slider to 0.5 4. Tune PI slider to no overshoot state. 5. Fine tune pitch to be closer to roll axis. 6. Boost Master slider untill got affordable latency around 20-12ms depends on quad. 7. Bring Feed forward to 0.5 and tune it like you do, tune FF boost if needed. 8. If still have some propwash, then add 0.1 - 0.2 to D slider With this tune results I can easily do micro changes to master slider is I use heavy bat pack or use lighter pack or/and without HD cam (lighter AUW = -0.1 or -0.15 master slider/heavier AUW =+0.1 master slider).
@PIDtoolbox
@PIDtoolbox 2 года назад
That's reasonable for smaller rigs, and not that different from what I do, except that if you move P and I together, in particular on 5+ inch rigs, you would be potentially trying to dampen iterm-related overshoot. By pulling iterm out of the equation, and manipulating the damping slider, then you know for sure that any overshoot in the step resp curves is PD-related.
@HoRNET_FPV
@HoRNET_FPV 10 месяцев назад
Hi! thanks for the wonderful tool :) can you help clarify MIN Step Response & MAX Step Response and when to change it? Also I'm trying to tune without Y correction, is it wrong?
@DNLKRNWN
@DNLKRNWN 2 года назад
hi Brian, i did PTB tune this morning with my "a bit problematic" 7 inch build because it use 5mm arm thicness only. and i can say i get the best PID for the quad with gopro 6 mounted. but then like you said if changing camera etc.. (this means weight changes) we just slide up or down the master.. what i understand is if lower weight PD then turn master lower, vice versa. but after i swap gopro 6 to session5, i turn master down from 1.3 to 1.1.. just guessing ( because using same master at 1.3 i got jitter dterm noise from the motors, PID is too high for lighter AUW)) and the result is not good. because lowering master, the latency will raised and the graph shows the line is getting offset (not getting back to 0). i dunno what is this. its like too much I-gain graph. so when lowering the weight (smaller battery or camera) do we really need to dial down the I ? or just master?
@PIDtoolbox
@PIDtoolbox 2 года назад
first, it's not necessarily the case the adding weight means you have to change PIDs. It depends on the distribution of weight more than just weight. So for example adding a heavier cam might suggest that pitch only might need different gains. But in either case, I'd be careful with this simple idea. In practice what usually happens is changing weight also has a big effect on vibration, and this dictates what has to be adjusted, which sounds like what happened in your case. So yea, even though I made that assumption in a previous video, it's not that simple, and I wish is was. WRT your second point re dc offset of the step response, the characteristics of PIDs on the step response for our quads is manifested as specific changes to the initial part of the step response, usually before about 200ms in the response. Even Iterm is represented as a broader slow overshoot in the step resp, but still operating within the 200ms of the curves. The dc offset in the curves is generally not tied to anything we are interested in. Usually when there is a dc offset it is related to noisy gyro and generally low signal to noise (when there's only small input and noisy output). So in that case I'd use the 'y correction' feature. The "smoothing" feature can also help (if there's good input but gyro is noisy). These are kind of bandaid solutions so I use them sparingly just to help with interpretation in these cases. NOW, that said, in extreme cases where Iterm is set to 0, you may see a slow offset issue where it looks fine during the first 200ms or so but begins to slope off from 1. In those cases I think this is real drift from low iterm and should be exacerbated by poor cog. I havent tried this test where I intentionally imbalance weight distribution. Anyway, it's tricky because the step resp algorithm is all done in the Fourier domain, so it's really tied to the spectral composition of the input and output signals, that's the beauty in it. I dont know how much of this long winded rant makes sense to you, but I hope it helps.
@quintinvanwyngaardt4576
@quintinvanwyngaardt4576 2 года назад
Hi Brian, love the basement tune method. Have been giving it a go. Might just be me, but when doing the Master Multiplier step, do I set I gains to zero or do I set I gains to default? Sorry if I missed it somewhere. Thanks.
@PIDtoolbox
@PIDtoolbox 2 года назад
Ideally you'd set MM before iterm for the reason I stated here. To reiterate, as you increase the MM youare increasing the responsively of the copter, and so this reduces the set point the gyro latency, and when this latency is reduced, then iterm does no accumulate as easy, so then when you turn up iterm after you have MM sufficiently high, then you can tune Iterm higher (more optimally) before you see it accumulate and overshoot in the step resp. To take this a step further, which will probably confuse you but what the heck, when you engage a sufficient amount of FF then you could theoretically even push iterm higher again, if you wish. so one could argue that maybe iterm should be tuned last. That's valid. Only challenge is the step resp plots can be misleading when using FF. No method is perfect. If you can work within these limitations though, it's pretty good.
@quintinvanwyngaardt4576
@quintinvanwyngaardt4576 2 года назад
@@PIDtoolbox great. Thanks for the in depth reply. Makes perfect sense to me now. No method is perfect as you say but this one seems to be the closest to it at this stage. 😊 In the end it comes down to "feel" too, well for me anyways. But starting off with a good tune helps a lot.
@serval_fpv
@serval_fpv 9 месяцев назад
Howdi chaps new to tuning using Basement tuning method using PID toolbox more or less got the P to D balance slider ratio dialled in well as far as I can tell... I'm at 0.5 on the slider.. I've moved onto master slider but my question is is it normal for less than 1 to be ideal ? According to the logs 0.9 seems best for me I took logs from 0.8 > 1.2 all the logs above 0.9 are above the setpoint just wondering if this is normal?? Thx in advance !
@dukevah
@dukevah 2 года назад
Hi Brian, thanks for the great videos. I've test both methods you explained and it seems the model cannot tolerate high i-term. I wonder if it is related to 4.3 or having lower i-term is ok. In both methods, my best step was with i-term 0.0 or 0.2. Once I star increasing i-term I get clear overshooting.
@PIDtoolbox
@PIDtoolbox 2 года назад
it's all dependent upon the authority of your rig. If it's a lifter then there will always be enough lag to allow iterm to accumulate. Only thing that can help there is reducing iterm, lowering iterm_relax_cutoff, and increasing FF. you're always working within the limits of your rig.
@dukevah
@dukevah 2 года назад
@@PIDtoolbox thanks.
@avsaase
@avsaase 2 года назад
What should I do when I have the MM at 2.0 but the latency is not hitting a minimum? Move the P&I and D sliders up together to keep the same ratio?
@PIDtoolbox
@PIDtoolbox 2 года назад
You’d have to move the other sliders up while maintaining the proper proportions. But if latency does not asymptote at 2.0 you should look to see if oscillation is creeping in anyway. The latency gain may also be minimal after that point anyway and one should be careful not to over interpret tiny decreases in latency of
@avsaase
@avsaase 2 года назад
@@PIDtoolbox I think I may indeed be getting some oscilations. I think I also pushed the PD slider up too much so I'll back that off a bit and redo the MM tests.
@chesoko558
@chesoko558 Год назад
I'm right understand - we can do this tune - before filtering tune. Right ? (filtering tune after is better)
@sinisternm
@sinisternm Год назад
im stuck with inav, any chance of a video on that?
@filipefrango1671
@filipefrango1671 Месяц назад
hello, still applies to BF 4.5? :) Thanks
Далее
Жизнь
00:58
Просмотров 2,5 млн
I Built 7 EXTREME Rooms in My House!
1:22:07
Просмотров 8 млн
PTB QuickTips: Iterm-related overshoot and PI balance
4:01
How to REDUCE Prop Wash & Wind Shaking
10:50
Просмотров 32 тыс.
PID Balance+Ball | full explanation & tuning
13:13
Просмотров 724 тыс.
What's New in PTB v0.7?
10:19
Просмотров 1,8 тыс.
Empirical PID gain tuning (Kevin Lynch)
7:08
Просмотров 153 тыс.