Practical PID Tuning - Part 4 | HOW TO TUNE A QUAD

  Рет қаралды 20,867

Joshua Bardwell

Joshua Bardwell

Күн бұрын

Пікірлер: 67
@Narada65
@Narada65 6 жыл бұрын
Wow! This 4 part series is a game changer for me and I'm sure many many others out there. What a wealth of information - and extremely well presented. So well presented in fact, that even an old codger like myself can understand and benefit from it. Thanks a million
@flapflapflap88
@flapflapflap88 8 жыл бұрын
Blackbox Log Analysis - joshuabardwell My all time favourite kind of video. You should analyse more of your own BB logs, we learn so much more.
@lukegodeassi7352
@lukegodeassi7352 8 жыл бұрын
Joshua, thanks so much for making this series. It's made the process of tuning a copter click for me. This last video relating it back to blackbox logs really tied it all together. Bravo!
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
Awesome! Glad to hear it.
@timothyciarlette8250
@timothyciarlette8250 5 жыл бұрын
Over three years ago this was, Great info, thank you much...
@th3hunt3r85
@th3hunt3r85 8 жыл бұрын
Hey Josh thanks again for the great video, in my opinion it will be great to make final adjustments considering the BB and show us the two one with 95% no-bb tune and the other with final 100% tune regards
@jared6072
@jared6072 8 жыл бұрын
This is great. Im glad i found your videos. It has helped a ton with me getting these quads tuned 100%. I do however need to figure out how to black box my tbs colibri race version. I
@Tigerwilson88
@Tigerwilson88 7 жыл бұрын
Key points from the video - The less filtering (therefore less delay) you have the more responsive the PID controller can get right up to the point where the noise overwhelms the PID and things can go bad. If a motor spins up smoothly on blackbox then the min throttle is set correctly. If It spikes then it is not. P term oscillations are smooth and consistent waves (fixed frequency), D term oscillations are irregularly shaped waves.
@Angus2067
@Angus2067 8 жыл бұрын
Great series! Thanks!
@ichoozjc
@ichoozjc 8 жыл бұрын
Nice series Joshua! So, going forward how do you see yourself tuning most of your quads? Visually and by feel, or scrutinizing bb logs? Seems you are happy with the performance of this quad, except for Yaw P, so will you go with your stick feel or nitpick it more with an openlog?
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
This is pretty much how I always tune. First, visually, and then the last fine-tuning with the input of blackbox. In this case, the blackbox ended up pretty much exactly where I want it, but if there had been any surprises, like a hyper-active D term, I would have considered changing the tune.
@bru77o
@bru77o 8 жыл бұрын
Hi Joshua, how come your cleanflight blackbox software has those VIEW buttons and mine don't? is it a different software version or is it because I'm using an openlog to record my logs?? Nice work with these tuning videos you made....
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
github.com/betaflight/blackbox-log-viewer
@roscofpv2357
@roscofpv2357 8 жыл бұрын
When you say "the lines do not look thick". The line thickness doesn't change so I assume you're referring to peak and valley deltas of the oscillations?
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
When you zoom out, the individual lines get compressed together into the appearance of one fatter line. That's what I'm talking about the thickness of.
@ademczuk
@ademczuk 8 жыл бұрын
Another great video tutorial. Joshua, would you consider performing live PID adjustments with Minimum OSD?
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
+Andrew Demczuk I have done that in the past bit I use RROSD pretty much exclusively now.
@vladmirputin7139
@vladmirputin7139 8 жыл бұрын
Hi Joshua. I was just curious as to what the looptime is on your FC for this copter? I was tuning today and had some severe oscillations in prop wash. I was running my looptime at 1 kHz. I upped my looptime to 3kHz and it helped the oscillations substantially. If you are running a low looptime upping the looptime might help.
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
4k which is as fast as the F303 can go.
@valiant360420
@valiant360420 8 жыл бұрын
First, want to thank you tremendously for all your informative videos. I've gotten a lot out of them. A characteristic that I seem to get on my quad is a sort of tight nodding or bouncing that I mainly see on my Mobius video. It has persisted even through motor, esc, and firmware changes. Any general advise regarding tightly sprung bouncy Behavior? Thanks Josh?
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
Have you got a video link?
@serjioautoexec4092
@serjioautoexec4092 8 жыл бұрын
Hi Joshua ,thanks man!
@frankheadfpv3790
@frankheadfpv3790 8 жыл бұрын
Did you find the problem to those little twitches? Was it the mounting causing it? I have a similar problem but a much more severe twitch happening every half second or so. Very odd, will try dampening the fc with rubber rings.
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
I never found the problem. And it was never an issue in flight.
@Spirre74
@Spirre74 8 жыл бұрын
What version of the log viewer are you using? It don't recognise it. Do you ever compare RC_command against the gyro?
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
I compare rc_command against the gyro any time there seems to be uncommanded movement. But I don't think there is much point in comparing rc_command to the gyro otherwise, unless you have a way to translate rc_command into angular rate. Which, come to think of it, this log viewer might do. Viewer is here: github.com/betaflight/blackbox-log-viewer
@flapflapflap88
@flapflapflap88 8 жыл бұрын
Maybe you could post the video of this whole flight if you have it ? Even put the log and video online so we can download and analyse it ourselves?
@mikehancoski
@mikehancoski 8 жыл бұрын
Hey at 5:30 in this video, could that oscillation be caused by vortex rings ? You dropped the throttle to zero so I was thinking maybe that is possible... then again maybe not, I am a total newb after all
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
I don't really know about that.
@mikehancoski
@mikehancoski 8 жыл бұрын
en.wikipedia.org/wiki/Vortex_ring_state I think this is normally countered by never "stopping" the motors and moving in a direction But you can demonstrate this by going to a high ish height and level hover then strait drop for a bit and then when you throttle up the copter will wobble and will not pull up until you get very close to the ground (you may hit the ground pretty hard)
@seanmetzger4780
@seanmetzger4780 7 жыл бұрын
Is it possible that when you added tpa you added a bit too much causing the low throttle oscillations found in the black box?
@JoshuaBardwell
@JoshuaBardwell 7 жыл бұрын
Not sure how TPA could cause low-throttle oscillations, since TPA only becomes active at high throttle.
@seanmetzger4780
@seanmetzger4780 7 жыл бұрын
Oh ok I'm sorry I miss understood I thought it was opposite
@AliBFPV
@AliBFPV 8 жыл бұрын
great vid
@fluttershy77x
@fluttershy77x 8 жыл бұрын
10:21 are the gyro oscillations caused by the PID loop, or does the PID loop react in this case?
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
Since the throttle has been raised, this is probably physical oscillations getting into the gyro and the PID loop is reacting to them.
@fluttershy77x
@fluttershy77x 8 жыл бұрын
Well, then why'd you want to decrease P then? It seems pretty useful to counter the vibration.
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
Sorry it took me so long to answer. I missed the question. The P term cannot respond fast enough to deal with higher frequency oscillations. So it is "behind the curve" if you will, and everything it does just makes things worse. Ultimately, if the HD cam is smooth then all is well.
@zozolione
@zozolione 8 жыл бұрын
Thank you!
@fellstar
@fellstar 7 жыл бұрын
Josh, any way to scale RCCommand and Gyro feedback so that they're actually linear on the graph in BB and on the same scale as eachother?
@JoshuaBardwell
@JoshuaBardwell 7 жыл бұрын
You can set them so they are linear by adjusting expo in the graph configuration. But I don't know if they scale the same. They didn't used to, but I think that might have changed.
@fellstar
@fellstar 7 жыл бұрын
Right now small dips at the top of the range can be ridiculously different in magnitude as when the changes are closer to 0. I just wish there was an easier way to scale that. (checkbox set all axes to single scale) I was playing with expo last night to see if I could straighten it all out but for some reason, iirc, it didn't seem to straiten out that 400 deg/s around 0 and 400deg/s around 1000deg/s could be different by miles as far as how they're represented spatially. If you know what I' m saying. I'm not sure I'm describing that in a way that makes sense to others.
@fellstar
@fellstar 7 жыл бұрын
I'll play with it some more when I get a chance today. Thanks for the prompt response!
@fellstar
@fellstar 7 жыл бұрын
Yeah, just remoted into my home box. So in order to get them to scale right I had to actually play with ZOOM. Gyro[Roll] Smooth = 0, Expo =30%, Zoom = 100% rcCommand[roll] Smooth = 0, Expo =80%, Zoom = 82% Now deg/s actually cross where they are supposed to.
@fellstar
@fellstar 7 жыл бұрын
That's a lie, still doesn't cross at all the points, I just fixed it for one point on the graph. Sigh
@bigrussfpvhell0
@bigrussfpvhell0 8 жыл бұрын
hey I live in south Fla is it normal for my motors to get around 125 degrees at really aggressive flight in using dal5040 triblades with emax 2600kv and great vid I like and comment on every one of them Thanks for all your hard work
@ReubenHorner
@ReubenHorner 8 жыл бұрын
C or F? Celsius that is too hot, Fahrenheit that is fine, you could even push them harder.
@bigrussfpvhell0
@bigrussfpvhell0 8 жыл бұрын
+Reuben Horner thanks it's f not c great news because my copter is running very well. Josh is there an open log device that you know if that is plug and play? I wanna see my bb logs but I have a cyclone fc :'(
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
OpenLog from Multirotor Mania. As long as you have a spare UART you are good to go.
@mtlracing1567
@mtlracing1567 8 жыл бұрын
just be careful if you are running the red bottoms that you don't get them too hot as you will damage the magnets which will cause the motors to lose some power. The red bottom motors (and some other motors) use n52 magnets which are more easily damaged than normal motor magnets. I think the damage starts around 70*C
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
Well, chicken is overcooked around 70C, so I reckon a person will be too.
@blackmennewstyle
@blackmennewstyle 8 жыл бұрын
Man you are reading Blackbox like a priest is reading the holy bible! That's so amazing lol
@ICEMAN_GLX
@ICEMAN_GLX 8 жыл бұрын
are you saying your down with the TPA lol
@ChristianWilhelmsen
@ChristianWilhelmsen 8 жыл бұрын
do you mean cleanflight when you say betaflight?
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
I don't know. Do you have a timestamp?
@ChristianWilhelmsen
@ChristianWilhelmsen 8 жыл бұрын
You consistently say betaflight when the software shows cleanflight in this pid tuning series of yours. Are they the same?
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
They're not the same. I think most if these people are flying Betaflight. Where do you see cleanflight?
@ChristianWilhelmsen
@ChristianWilhelmsen 8 жыл бұрын
+Joshua Bardwell e.g the thumbnail for this video says cleanflight black box explorer
@ChristianWilhelmsen
@ChristianWilhelmsen 8 жыл бұрын
60sec in video 3 the software's logo says cleanflight
@blueflamingo1
@blueflamingo1 8 жыл бұрын
Noooo the pendulum is not dependent on the mass!
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
It's not??? Oh man...
@blueflamingo1
@blueflamingo1 8 жыл бұрын
hyperphysics.phy-astr.gsu.edu/hbase/pend.html
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
Stupid Galileo.
@JoshuaBardwell
@JoshuaBardwell 8 жыл бұрын
The Pope was right about him.
Practical PID Tuning - Part 5 | HOW TO TUNE A QUAD
20:13
Joshua Bardwell
Рет қаралды 27 М.
Practical PID Tuning - Part 1  | HOW TO TUNE A QUAD
16:44
Joshua Bardwell
Рет қаралды 211 М.
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,6 МЛН
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 23 МЛН
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 2,4 МЛН
Practical PID Tuning - Part 3  | HOW TO TUNE A QUAD
19:11
Joshua Bardwell
Рет қаралды 32 М.
PIDs Simplified
13:07
SiieeFPV
Рет қаралды 300 М.
DC motor PID speed control
15:29
Curio Res
Рет қаралды 242 М.
Understanding Porsche's New Six Stroke Engine Patent
21:57
driving 4 answers
Рет қаралды 2,3 МЛН
Practical PID Tuning - Part 7 - DYS 5x4x3 Vibration Madness
20:33
Joshua Bardwell
Рет қаралды 14 М.
Tuning With Stingy & My Current PIDs and Rates
21:43
StingersSwarm
Рет қаралды 159 М.
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,6 МЛН