The PID Controller makes 🌎EVERYTHING🌎 work

  Рет қаралды 4,395

UAV Tech

UAV Tech

Күн бұрын

Пікірлер: 55
@IvanEfimovLimon
@IvanEfimovLimon Жыл бұрын
Mr Mark bringing up a video editing game, love it! :) Nice explanation Now we just need KISS to also have sliders :)
@quadbrake
@quadbrake Жыл бұрын
I need a slider to make me not a shit pilot! 🤣🤣🤣
@uavtech
@uavtech Жыл бұрын
ya like that! Point Tracking FTW!! only a content creator can appreciate the time it takes for that stuff.
@quadbrake
@quadbrake Жыл бұрын
I need to learn more about this. Thanks! It still makes my head hurt though. 🙂
@mlentsch
@mlentsch Жыл бұрын
Good one - I'm understanding better, now - the filtering delay affecting the resonant "mode" - awesome! Thanks, dude.
@someonespotatohmm9513
@someonespotatohmm9513 Жыл бұрын
I don't think that is what was said or the case. What he said is that the reduced delay allows for higher PID parameters, and those increase the resonance freq ( 5:50 ).
@mlentsch
@mlentsch Жыл бұрын
@@someonespotatohmm9513 That's what I said. Except that PIDs don't increase the "frequency" - it's the less delay allows for a "tighter" interplay in the system thus "raising" the frequency that they're ideal at.
@someonespotatohmm9513
@someonespotatohmm9513 Жыл бұрын
@@mlentsch I admit it is kinda pedantic, but rewatch the bit after my timestamp. The control frequency goes up from the increased PID values, not from decreased delay. The nosie rejection (so prop wash) should go up from both decreasing the delay and PID values (not 100% sure on the math about the delay). The difference is importand because you leave performance on the table if you just decrease the filtering.
@throttletube
@throttletube 4 ай бұрын
excellent overview of what it all means. thank you sir!
@samavella8831
@samavella8831 Жыл бұрын
Thanks Mark, love the new terminology. Definitely makes the understanding of what they do and how they relate to each other that much more clear and in layman’s term.
@KrwFpv
@KrwFpv Жыл бұрын
Again, Crystal Clear!!
@BrainDeadEngineering
@BrainDeadEngineering Жыл бұрын
This is marvelous, I'm getting more courage now ! Thanks !
@ricyjo
@ricyjo Жыл бұрын
it finally makes sense... thank you VERY much~
@divingfalconfpv4602
@divingfalconfpv4602 8 ай бұрын
Doing tuning right now on aura 10. Started at presets that were extremely too low. So bumped up later instantly alot. And bumped D term to get PD ratio. Then had to take yaw off slider double that. Haven't gotten to go tune again. But i did get a cli pid tube from rcshim he said to try his. He still has wobbles but i could start from there.
@lalbabugupta8380
@lalbabugupta8380 Жыл бұрын
Your knowledge is very useful for we beginners, keep sharing.❤
@JosephDaulton-sm3ci
@JosephDaulton-sm3ci 11 ай бұрын
Thank you for that, it’s stinking awesome to have someone put it into English.. joined your Patreon👍 I planned on watching enough of your content last winter on my time off to learn how to tune my quads, I have quite a fleet and I build a lot of them, big birds. Hopefully this winter will be the winter that I get that done
@davidrone_fpv
@davidrone_fpv Жыл бұрын
Great job in making things clearer for me! But why every test I'm seeing is still on BF 4.3?
@uavtech
@uavtech Жыл бұрын
Cause that is when the great debate occurred for the slider. Why would we/I rerun for every release?. The controller is, has, and always will be a Proportional, Integral, and Derivative controller. Same control logic. Same physics on the quad copter.
@davidrone_fpv
@davidrone_fpv Жыл бұрын
@@uavtech can I highjack the comment and ask you how much has the sliders changed from 4.3 to 4.4? Every drone I try to pid in 4.4 fly worse then in 4.3 and I can't understand why. Thank you for your response and for your time!
@uavtech
@uavtech Жыл бұрын
They did not change at all from 4.3 to 4.4.
@davidrone_fpv
@davidrone_fpv Жыл бұрын
@@uavtech awesome, so I can copy thr pids as they are. Probably I've messed up something else then. Thank you so much!
@pinewaves_
@pinewaves_ Жыл бұрын
Thank you so much
@leminhhuy3614
@leminhhuy3614 11 ай бұрын
Thanks you so much!
@volkergoe
@volkergoe Жыл бұрын
Once again an excellent summery of the concept! Only thing I will nag about is that when you raise D the step response curve should get flatter (slower).
@RobertLeclercq
@RobertLeclercq Жыл бұрын
I = Imbalance is perfect! You need 'I' to balance / center the oscillations around the set point. This is the easiest way I have heard it explained.
@uavtech
@uavtech Жыл бұрын
And you DO NOT want your Imbalance term doing the job of the P-term due to lack of P-gain. It will cause wobble.
@sullytrny
@sullytrny Жыл бұрын
A good inav motor output tab idle setting and the receiver tab in DEPTH would be nice
@MCsCreations
@MCsCreations Жыл бұрын
Fantastic info, Mark! Thanks a bunch! 😃 Stay safe there with your family! 🖖😊 And happy holidays!
@WernerBeroux
@WernerBeroux 3 ай бұрын
Shouldn't the master move the sliders proportionally rather than the delta like what you seem to hint around 4:00?
@uavtech
@uavtech 3 ай бұрын
The proportional differences between the gains remain consistent when the Master Multiplier moves up / down. There is some rounding error, but ...
@BrlnUK
@BrlnUK Жыл бұрын
Thank you for another excellent explanation. One question if I may. I note that you said that in Inav for the Z axis there is only the P term that is adjustable. On my 10" quad on RTH the quad oscillates above and below the required altitude, the resulting current draw plays havoc with the Li-ion battery. Will adjustment of only the P term be able to eliminate this, or do I have to just accept it as an unfortunate characteristic. Thank you.
@uavtech
@uavtech 11 ай бұрын
P only to adjust the Z Velocity target. Yhe Z velocity PID loop has P I. and D. I would log the issue to see wsup.
@gadgetrc94
@gadgetrc94 Жыл бұрын
Is it time to update the basement tune method? I think I remember it not using the tracking slider.
@uavtech
@uavtech Жыл бұрын
It doesn't matter how you get the balances, as long as you do.
@Simofly
@Simofly Жыл бұрын
Have I understood that correctly that with lower filtering resonance frequency can go up ? If I run a resonance first flight with stock pids on a quad , do this resonance map I make be modified later changing the filters?
@uavtech
@uavtech Жыл бұрын
Not understanding "resonance map". What do you mean by that?
@Simofly
@Simofly Жыл бұрын
@@uavtech a profile of the resonance I make with a first resonance flight, pushing only throttle on all range gradually . Could be a pod toolbox freq/time graph or blackbox graph
@txkflier
@txkflier Жыл бұрын
The Integral (Ki) is not the most important setting. You must use Proportional (Kp) in all controllers. The Derivative (Kd) dampens the Kp response and allows you to use a higher Kp value than you could without it. With only Kp and Kd, a controller won't fully reach the setpoint because the closer the system gets to the setpoint, the lower the error signal gets, and it can no longer drive the system to the setpoint. The Kd only does dampening, so it can't drive the system to the setpoint. The Ki circuit samples the error over a period of time and sums the errors it sees until the sum is large enough to drive the system the rest of the way to the setpoint. So, you increase Kp until you see some oscillation, add Kd to dampen the oscillation, and then add Ki to reduce the long-term error between the setpoint and the system output.
@uavtech
@uavtech Жыл бұрын
Who said Ki is most important? However you get the balance, once you have it and are at a Critically Damped response, moving the gains up to just below the system resonance is the key for peak performance of whatever you are tuning if you want a rapid response and the most stability to following and keeping on the Setpoint. That's the part the classic tuning method you described above leaves out.
@Quick-Flash
@Quick-Flash Жыл бұрын
​@@uavtechcalling ipd instead of pid, it gives that vibe.
@uavtech
@uavtech Жыл бұрын
Just putting the terms in order of how they relate. i-Term oscillation is dampened by increasing P (shown here kzbin.info/www/bejne/iaLCdXmgotuJeqcsi=Tm5FpvpLbmIQps4t) P-Term is dampened by D.
@txkflier
@txkflier Жыл бұрын
@@uavtechYou did when you rearranged the terms into IPD at 1:32.. 😎
@uavtech
@uavtech Жыл бұрын
Never said. You inferred the wrong thing. 😜
@theinventionshow
@theinventionshow 10 ай бұрын
So if i have fast pich and roll ocilations while hovering on a 8inch i should increase the d gains?
@uavtech
@uavtech 10 ай бұрын
If fast oscillations (VERY FAST), yes. Reduce P or increase D. For BF, the P and D gains should be around the same numbers. HOWEVER, it is more likely the I-gains which can result from them being too high in relationship to P gains, or the overall gains just being too low. To confirm which it is, set P and D to around 40 and I-gains to around 20 or 30 for an 8". Those are pretty safe values. Once the oscillation is gone, you can then work to increase the gains slowly to increase flight performance (stick tracking and prop wash response). Check out my presets for an 8", but be cautious as those assume you don't have mechanical vibration issues.
@theinventionshow
@theinventionshow 10 ай бұрын
Thanks for the reply i forgot to mention i run inav also the i can see the ocilations while hovering i am not sure if that is considered as very fast ocilations
@uavtech
@uavtech 10 ай бұрын
same advice, but reduce the pids based on my pid calc tool: theuavtech.com/pidcalc
@theinventionshow
@theinventionshow 10 ай бұрын
@@uavtech thanks
@umbrela_Corp
@umbrela_Corp Жыл бұрын
Inav, flying in navigation mode can cause fly away this is deep in notes just a heads up
@uavtech
@uavtech Жыл бұрын
Yikes!!
@FPVUniversity
@FPVUniversity Жыл бұрын
Ah, I see me :) Am I famous now? lol
@uavtech
@uavtech Жыл бұрын
Yeah, POS Hold is all you baby!. :-)
I and P Term Balance | Oscillations & Wobbles
20:05
UAV Tech
Рет қаралды 4,6 М.
Oldtown AP120 Upgrades
15:18
Simply Reel TV
Рет қаралды 54
PID Controllers in Unity3D
16:05
Vazgriz
Рет қаралды 83 М.
Betaflight 7" Quad Tuning (6",7",10" etc.)  👁☄
21:12
UAV Tech
Рет қаралды 34 М.
Empirical PID gain tuning (Kevin Lynch)
7:08
Northwestern Robotics
Рет қаралды 166 М.
PID Tuning -- 💥MUST KNOW💥 -- information!  💪😎
10:05
🌟INAV🌟 Position HOLD 💫 Tuning 🏹
25:11
UAV Tech
Рет қаралды 12 М.
Interview with Brian White: The CREATOR of PID Toolbox!
1:29:29
Chris Rosser
Рет қаралды 14 М.
Photogrammetry VS LiDAR - Which Is BETTER?
15:17
Dylan Gorman
Рет қаралды 8 М.
Fixed Wing PID Tuning Tutorial
15:18
DZARO
Рет қаралды 1 М.