Quadcopter PID explained

  Рет қаралды 61,482

Aquisitions and Adventures Archive

Aquisitions and Adventures Archive

Күн бұрын

Пікірлер: 64
@nghin4vacsf
@nghin4vacsf 6 жыл бұрын
Your tutorial is the only one I've seen so far that removes the mystery involving PID. It gave me the needed foundation so I could go into betaflight to make changes to the PID values with confidence. Thank you very much.
@StonyRC
@StonyRC 3 жыл бұрын
As a newbie to Quads, this was both mind-bending and extremely interesting. Many Thanks.
@undertheradar4645
@undertheradar4645 6 жыл бұрын
Awesome video Andrew. I appreciate you taking the time to make this!
@tobybaerman2296
@tobybaerman2296 6 жыл бұрын
im glad you broke this down...i dont want a brainiack course just an explination..... excellent!!!
@BrjanBuckmaster
@BrjanBuckmaster 2 ай бұрын
Thank you for this enlightening explanation. My challenge now is to determine what the initial values should be for a large quad I am building. I’m thinking of using the default values built into the flight controller’s firmware and then tweak the values individually, beginning with P then I and finally D until I get the stability I desire.
@BusinessAnalyzer
@BusinessAnalyzer 2 ай бұрын
Do start with the default values then tune from there. There is really no 'template' that I have found. You could have the same flight controller model but they behave slightly differently.
@BrjanBuckmaster
@BrjanBuckmaster 2 ай бұрын
@@BusinessAnalyzer Yeah, I found that out the hard way. Mine crashed when I changed flight modes to LAND and the motors disarmed. I am almost done repairing the damage and when it is ready to fly again, I will start with the default values and make small tweaks.
@BusinessAnalyzer
@BusinessAnalyzer 2 ай бұрын
@@BrjanBuckmaster Ouch! I use a Frsky Taranis transmitter and programmed the flight modes into a toggle, including a toggle for the Arm and Disarm. Betasky flight controllers. I used a lot of KZbin tutorials to get all those configured back in the day. I've been away from building for a while. Maybe will get back into it in a couple years when the kiddos get older and bother me less :)
@BrjanBuckmaster
@BrjanBuckmaster 2 ай бұрын
@@BusinessAnalyzer The damage to my Tarot was extensive. In retrospect I should have purchased a complete new frame kit rather than order replacement parts individually. It has been a long process. As I was leveling the motors, I discovered a split in one of the motor mount - don’t know if it was crash damage or if I cinched down the screws too tightly. A visual inspection revealed small cracks for in on the others so I’ve ordered replacements. I’m waiting on the two black mounts. Once they arrive and Are installed, the repairs will be complete. I intend to attach long thin dowel rods to the landing skids in order to prevent tipping over on takeoff and landing until I’m confident that it will be stable enough to control and I can land it safely manually.
@aswinsuresh2097
@aswinsuresh2097 4 жыл бұрын
Well explained After this am able to get a clear view about pid
@malcdickinson06
@malcdickinson06 7 жыл бұрын
very well explained, much easier to understand, thank you!!!
@noobsplain
@noobsplain Жыл бұрын
Very well explained.
@robinsharma7920
@robinsharma7920 4 жыл бұрын
Really well explained...thank u sir.❤
@lalaneverquit
@lalaneverquit 5 жыл бұрын
Thankyou so much for the beautiful explanation.
@thomasilk7
@thomasilk7 6 жыл бұрын
Thank you This helps me a lot by building my autonomous gnss drone!
@joshchambers1941
@joshchambers1941 7 жыл бұрын
Thanks for the description.
@UTubeJunky
@UTubeJunky 3 жыл бұрын
Well, done.
@apisxquad1732
@apisxquad1732 6 жыл бұрын
Different explanation in BF. At least your explanation give me some ideas what PID its all about. Thanks Andrew.
@fiendleon
@fiendleon 4 жыл бұрын
Thanks for this video
@datafuse32
@datafuse32 4 жыл бұрын
Nice video sr ... Can u please make a video .. explaining all the. Parts of flight control board ... Along with function ... Plz
@AsgardStudios
@AsgardStudios 5 жыл бұрын
Fantastic tutorial. Cheers!
@goodkhan5597
@goodkhan5597 5 жыл бұрын
very good explanation....thank you sir
@ApmusicAbhay
@ApmusicAbhay 5 жыл бұрын
Nice
@stephankahlau6759
@stephankahlau6759 5 жыл бұрын
Great video!
@propabilityfpv303
@propabilityfpv303 6 жыл бұрын
thx for the good explanation
@toddspeck9415
@toddspeck9415 5 жыл бұрын
Really good explanation of pids. Thank you very much! Wonder if you might have any tips...Running Silverware on Bwhoop pro...I'm in the Keil bug software. Learning how to adjust quads at programming level. I am getting this really crazy back and forth wobble in angle mode...It is not as bad in acro. I know that in acro it's turning off the gyro/accelerometer. I am using the b-whoop boards in my own custom builds. I have tried so many different test's adjusments...It's better. But I still have a slight wobble in acro...and its terrible in angle mode. In the stock firmware there was no wobble in angle..Bound and determined to figure this out.
@magicmic2786
@magicmic2786 7 жыл бұрын
I watched full video very well explained as I have watched others PID videos. I like your analogy's and easy to understand.
@BusinessAnalyzer
@BusinessAnalyzer 7 жыл бұрын
Thanks FPV MagicMic!
@evanriggs1381
@evanriggs1381 4 жыл бұрын
Thank you!
@tsilfidis1996
@tsilfidis1996 7 жыл бұрын
that was really helpful GJ!!!!
@stonedDawg
@stonedDawg 3 жыл бұрын
cool! thanks for explaining! btw, why would D cause a hot motor?
@Funcentric
@Funcentric 4 жыл бұрын
Wow, nice video. The way you're explaining it sounds like PID tuning is more about adjustments to correct the quad to become more predictable - to match stick input with what the quad does. As opposed to rates adjustment which is more about personal preference (of sensitivity of the sticks at each part of the range). Am I understanding that correctly? As far as the cycles are concerned, it sounds like PID needs to be adjusted in that exact order. e.g. loud scream, quieter scream and adjustment once loud scream is no longer heard. Correct?
@dflash0
@dflash0 6 жыл бұрын
I have heard the same explanations from 3 diff plp and they still dont teach you how PIDs truly affect the flight. They are teaching theory on a whiteboard. Just grab a quad and a laptop, take it to the field and demo how diff setting in Betaflight, cleanflight, etc affect the flight, flips, dives. That what I want to hear.
@propabilityfpv303
@propabilityfpv303 6 жыл бұрын
depends on your learning style
@BusinessAnalyzer
@BusinessAnalyzer 6 жыл бұрын
Hi Eli. Agreed as well, however, unless you have the sticks in your hand it is hard to demonstrate this. Hearing the PID explanations helped me to understand why I am getting certain wobbles during flight and how to adapt the PIDs to get a more stable flight. Check Mr. Steele (Former RoterRiot member) he has a video where he had 2 quads with the same flight controllers and the quads performed radically different. The theory helps frame the context. Large differences in control, work on the PID, for smaller vibrations during flight, work with the I and D. It's all trial and error at that point. Cheers!
@bdok7607
@bdok7607 5 жыл бұрын
Look here its what u want... kzbin.info/www/bejne/aGjPfn6fZ86hps0
@dlwalter
@dlwalter 5 жыл бұрын
The problem is that most quads are running PID controllers on their attitude rates, not attitude itself. Correcting attitude error is much more intuitive like in this video, when in actuality, the quad controller PID is correcting attitude rate error (deg/second of roll, pitch, and yaw)
@santiagomoebio
@santiagomoebio 5 жыл бұрын
@@dlwalter Thanks for this clarification, I was thinking something was off with the explanation… the sticks do not command quad angle, they command quad rotation speed! I guess one way to see it is that the video is still valid as explanation considering that the aiming position is in constant movement (at the rate set by the stick).
@swarnamohanchandrakanth5243
@swarnamohanchandrakanth5243 3 жыл бұрын
Sir if we are equal P and I values, what will effect on drones?
@crazysavage7840
@crazysavage7840 7 жыл бұрын
hey can I get the formula for the calculation of pid??
@exorc1st995
@exorc1st995 6 жыл бұрын
Still what values do what though ? 0 is turning off higher is making it work more ?
@mcbalasubramaniam4690
@mcbalasubramaniam4690 6 жыл бұрын
how does a pid do two motionl analysis like a roll to a particular angle and a rise to a particular altitude
@jaideepshekhar4621
@jaideepshekhar4621 5 жыл бұрын
How about all three at the same time? Pitch, Roll and Thrust.
@Rov-qc2ti
@Rov-qc2ti 6 жыл бұрын
thx i will implement it to arduino
@lalaneverquit
@lalaneverquit 5 жыл бұрын
I have one question. Is it possible to use any processor like smartphone's snapdragon, mediatek, exynos etc or PC processors like Intel or AMD processors for a Flight Controller?
@noobFPV
@noobFPV 5 жыл бұрын
Sure. Why would you though ?
@zx128ks
@zx128ks 6 жыл бұрын
Andrew, thanks for video. One question, when tuning P, do we need to have I and D already set? or starting with like P = 50, I = 0 and D = 0 is ok?
@BusinessAnalyzer
@BusinessAnalyzer 6 жыл бұрын
Lev Ani Some drones might wobble in flight. This can be very visible while flying the drone with FPV goggles. However, sudden forces on the drone like a gust of wind can cause erratic behaviour and a possible crash. One of my nano drones will simply flip over the moment I give it enough throttle to get into the air.
@legolas8886
@legolas8886 4 жыл бұрын
A basic question here, the error is [Radio Input - Sensor] or [Zero level - Sensor]?
@vickihurd8082
@vickihurd8082 4 жыл бұрын
legolas8886 I believe Radio Input minus Sensor is the error, as that is the error between what you wanted your result to be versus what your current actual result is.
@vanabhilash
@vanabhilash 6 жыл бұрын
Sir, Why does proportional stops at a certain threshold? What decides that threshold? And what is making the integral know that proportional has stopped and now it has to come into process.
@justadude8716
@justadude8716 2 жыл бұрын
Math formulas.
@djacob7
@djacob7 6 жыл бұрын
Derivative?
@abbeyglencircle
@abbeyglencircle 6 жыл бұрын
Dan Jacob that extra push at the end into position
@djacob7
@djacob7 6 жыл бұрын
abbeyglencircle Just the spelling he got wrong
@gazzmireful
@gazzmireful 5 жыл бұрын
You mention cycles on miliseconds time frame, that seems inaccurate. If the CPU cycle rate is for example 1 GHz then a cycle lasts 1 nanosecond.
@dlwalter
@dlwalter 5 жыл бұрын
The attitude controller software for quads is running on a loop in the microsecond to milliseconds scale which is much slower than a CPUs clock cycle.
@احمداسدخان
@احمداسدخان Жыл бұрын
ho thank to you for good information , can have the information in pdf iam student indeed to make report to my teacher to help me in examination degree ,plc
@fpvforever1790
@fpvforever1790 6 жыл бұрын
P and D are doing all the work. I seems useless.
@twp3029
@twp3029 3 жыл бұрын
Just use pids 66 66 69
@vamsidharreddydalli3647
@vamsidharreddydalli3647 6 жыл бұрын
you explanation is awesome. but can you please upload the arduino code for that.
What is a PID Controller? | DigiKey
22:19
DigiKey
Рет қаралды 91 М.
The PID Controller makes 🌎EVERYTHING🌎 work
15:41
UAV Tech
Рет қаралды 4,2 М.
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 23 МЛН
Perfect Pitch Challenge? Easy! 🎤😎| Free Fire Official
00:13
Garena Free Fire Global
Рет қаралды 77 МЛН
PID Math Demystified
14:38
Scott Hayes
Рет қаралды 465 М.
Arduino drone - Part1 Flight Controller
9:18
Electronoobs
Рет қаралды 345 М.
PID Tuning -- 💥MUST KNOW💥 -- information!  💪😎
10:05
How to Tune a PID Controller
18:14
PID Explained
Рет қаралды 115 М.
How a Quadcopter Works - Flight Mechanics, Components, & Sensors (2)
12:59
How to Design and Analyze a Quadcopter - Part01
1:09:42
Frank Rudley
Рет қаралды 2,5 М.
PIDs Simplified
13:07
SiieeFPV
Рет қаралды 303 М.
PID Balance+Ball | full explanation & tuning
13:13
Electronoobs
Рет қаралды 756 М.
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 23 МЛН