Beginner's Guide to PID Control

  Рет қаралды 48,957

APMonitor.com

APMonitor.com

Күн бұрын

Пікірлер: 44
@Kakikiwi-eu2kr
@Kakikiwi-eu2kr 5 ай бұрын
Thanks a lot for the series. I am following at home with a TCLab because I need to get acquainted with process control. Thanks a lot for making all of this available on internet for free ! At 16:02 line 48 there's a little mistake : during first iteration Caf[0] is changed. This has the effect of actually setting a bias equal to the initial error. I don't think this is intended. With this bias, and because the system gain K_p is 1, the graph obtained at 17:49 has no offset for the first step. Because it's a non-integrating system with P-only control, there should be an offset ! This tiny (but significant) trap carries on for the rest of the video. Beware if you are trying to reproduce. Also, as pleasing as it is, using K_p=1 and tau_p=1 is the kind of things that make spotting errors quite hard.
@apm
@apm 5 ай бұрын
Thanks for that feedback and the correction. In practice, most PID controllers are implemented in velocity form such as Type B or Type C: apmonitor.com/pdc/index.php/Main/ProportionalIntegralDerivative
@skilz8098
@skilz8098 4 жыл бұрын
Definitely a trifecta of information here... The main topic for me with these videos is more towards learning Python... but as an added bonus, I'm getting great insights on how to apply calculus-based physics to real-world problems! I truly enjoy these videos.
@romix8340
@romix8340 9 ай бұрын
Thanks a lot, it helped me on how to cut in parts odeint and showed me that we can put more arguments in the function for odeint !! Very useful ❤
@skilz8098
@skilz8098 4 жыл бұрын
I'd love to see you do a separate video series where you build a circuit simulator from scratch either python, c, or c++ or even a combination of the languages... with full simulation, graphics, and animations! I like the way you explain things!
@creative_cooper
@creative_cooper 6 жыл бұрын
I really appreciate your effort in putting up this video, it helped me a lot last year when developing a pid controller for my project.
@apm
@apm 6 жыл бұрын
Thanks, Cooper!
@raccoonduck5406
@raccoonduck5406 2 жыл бұрын
Fantastic tutorial, thank you sir!
@MrRayoxo
@MrRayoxo 4 жыл бұрын
Thanks ,greetings from Monterrey,Mexico
@rockyrivermushrooms529
@rockyrivermushrooms529 6 жыл бұрын
this video really helped me understand PID. Thankyou
@apm
@apm 6 жыл бұрын
I'm glad it helped. There is more content at apmonitor.com/pdc (Python) and apmonitor.com/che436 (MATLAB).
@dmit100
@dmit100 3 жыл бұрын
Hi, John! Good video, but its name is misleading. It should be called like "Adding PID Controller in Python to Tank Blending task" or kind of. I noticed at 22:59 in line 52 that indices in divider and divided terms are different. Is it copy-paste typo?
@apm
@apm 3 жыл бұрын
Thanks for the feedback. The indices for the derivative are okay because the time step doesn't change. However, if the time step does change cycle-to-cycle then it is the same result.
@maximemengue4539
@maximemengue4539 4 жыл бұрын
Hello, i would like to know why did you put args(Tf,Caf) in odeint in the "for" loop pls ? Apart from that everything was well explained
@apm
@apm 4 жыл бұрын
Those are external inputs to the model function. Additional information on external inputs is available in these tutorials: apmonitor.com/pdc/index.php/Main/SolveDifferentialEquations
@nanajerry824
@nanajerry824 3 жыл бұрын
DR RORPOPOR HERBAL on KZbin changed my entire life with his herbal medicine. I appreciate you sir, for taken away my PID 🌿🌿
@alexcrowder1673
@alexcrowder1673 6 жыл бұрын
If this is a beginners guide then I must be really, really stupid. Im just trying to tune a drone, but ended up just staring at the screen utterly bewildered the entire video.
@apm
@apm 6 жыл бұрын
This video is how to develop a PID controller with Python code. If you just need to tune your drone PID, I'd recommend just moving the gain higher or lower based on how aggressively you want your controller to act. This PID control video is mostly for chemical process control. There is a lot more information (42 class periods) at apmonitor.com/pdc
@subhasshmahenthren1264
@subhasshmahenthren1264 6 жыл бұрын
I feel you bro!
@bertgeneray5954
@bertgeneray5954 4 жыл бұрын
Ditto that. He lost me at 15 seconds. Moving on.............
@DimitriosKalemis
@DimitriosKalemis 4 жыл бұрын
You are using a plus sign for the bias term, the proportional term, and the integral term, but you are using a minus sign for the derivative term. This the first time I have ever come across this in PID controller amalysis. I thought that all terms would have the same sign. Could you please explain how one of the terms could be of a different sign than the others?
@apm
@apm 4 жыл бұрын
The negative is explained here under the section for derivative kick: apmonitor.com/pdc/index.php/Main/ProportionalIntegralDerivative
@qzorn4440
@qzorn4440 7 жыл бұрын
another nice way to demonstrate control. :)
@tomasmazalek2211
@tomasmazalek2211 4 жыл бұрын
Hello, this is a very good video. I have one answer to math formula. Why the derivate part needs to have minus mark ? Thank you!
@apm
@apm 4 жыл бұрын
Please see the "derivative kick" section here: apmonitor.com/pdc/index.php/Main/ProportionalIntegralDerivative
@marcosleno6391
@marcosleno6391 6 жыл бұрын
This video help me very much. Excelente work. Thank You
@apm
@apm 6 жыл бұрын
Thanks for your comment. I'm glad that it helped.
@Bosco12ful
@Bosco12ful 7 жыл бұрын
Do you know how to implement phyton for synthetic inertia at any bus?
@apm
@apm 7 жыл бұрын
+Jean Bosco, I don't have experience with wind farm grid stability and synthetic inertia. However, we did complete a study with grid stability and cogeneration systems with a focus on crogenic carbon capture and solar. Our analysis was in APMonitor MATLAB but Python would have also been a good platform for the analysis. apm.byu.edu/prism/index.php/Projects/DynamicEnergyStorage
@Bosco12ful
@Bosco12ful 7 жыл бұрын
Ok ...Can you send to me the link (a study with grid stability and cogeneration systems with a focus on crogenic carbon capture and solar), please...
@apm
@apm 7 жыл бұрын
+Jean Bosco, Mostafa Safdarnejad has published in this area. His results are listed here: apm.byu.edu/prism/index.php/Members/SeyedMostafaSafdarnejad We use the APMonitor Python package for modeling and optimization.
@ellerjuco1248
@ellerjuco1248 6 жыл бұрын
when I run it, it prompt, "ModuleNotFoundError: No module named 'numpy'"
@apm
@apm 6 жыл бұрын
You need to pip install numpy: kzbin.info/www/bejne/mIm6nayFgr6jiKc
@seablue1085
@seablue1085 7 жыл бұрын
Thanks!
@danielemessina1979
@danielemessina1979 6 жыл бұрын
how is it that 99% of people explaining PID control fail to give a description of the system and state the objective? "I am going to make a PID control" Why? What are you trying to do with it? How do I attach it to my system? You need to give these answer before starting to code anything
@apm
@apm 6 жыл бұрын
Check out the many applications of PID here: apmonitor.com/pdc/index.php/Main/CourseSchedule (Assignments 11-16). This is just one video in an entire course. This video just introduces the PID equation - other videos talk about how PID controllers are used.
@PythagoreanBall
@PythagoreanBall 2 жыл бұрын
Refresh Rate set too high in PiTool for Pimax 8K X 1 Headset How do i reset delete or change? i tried reinstall, restart computer, plug vr to different ports, delete settings files program Data Program Files Program Files x86 User Local LocalLow Roaming Pimax Windows Search PiTools Windows Search Found Microsoft i have 1,600 hours with VR including Pimax 4K 2 Headsets Pimax 8K X 1 Headset Running RTX 3080
@apm
@apm 2 жыл бұрын
That seems like a different issue than the topic of this video. Perhaps contact the manufacturer for support.
@kalNkanuck
@kalNkanuck 5 жыл бұрын
Title is very misleading. At which point do you consider a beginner a beginner?
@apm
@apm 5 жыл бұрын
Thanks for the feedback. This is an introduction to PID for engineers. You would need to have some additional background that you can find here: apmonitor.com/pdc
@gabrieldominicbaygan2280
@gabrieldominicbaygan2280 7 жыл бұрын
This is a bad lecture
@apm
@apm 7 жыл бұрын
Gabriel Dominic Baygan, I appreciate constructive feedback if you have something more specific on what you are looking for in a PID lecture.
@lopeb.3502
@lopeb.3502 7 жыл бұрын
Why? I found it quite useful.
4 жыл бұрын
It was an amazing lecture. Why did you say that?
What Is PID Control? | Understanding PID Control, Part 1
11:42
MATLAB
Рет қаралды 1,8 МЛН
PID Math Demystified
14:38
Scott Hayes
Рет қаралды 468 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
How to Tune a PID Controller
8:43
RealPars
Рет қаралды 822 М.
PIDs Simplified
13:07
SiieeFPV
Рет қаралды 311 М.
Simulink Control Systems and PID,  Matlab R2020b
23:13
Nikolai K.
Рет қаралды 199 М.
PID Controller Implementation in Software - Phil's Lab #6
20:06
Phil’s Lab
Рет қаралды 215 М.
Introduction to PID Control
49:18
Christopher Lum
Рет қаралды 73 М.
Introduction to Proportional Integral (PI) Control
14:48
APMonitor.com
Рет қаралды 75 М.
PID Control Tuning with Python GEKKO
23:42
APMonitor.com
Рет қаралды 26 М.
Python Help - PID Control
4:49
Monte Carlos
Рет қаралды 6 М.
PID Control loop Tutorial
12:40
REX 1727B
Рет қаралды 65 М.
Empirical PID gain tuning (Kevin Lynch)
7:08
Northwestern Robotics
Рет қаралды 166 М.