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.
@apm5 ай бұрын
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
@skilz80984 жыл бұрын
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.
@romix83409 ай бұрын
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 ❤
@skilz80984 жыл бұрын
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_cooper6 жыл бұрын
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.
@apm6 жыл бұрын
Thanks, Cooper!
@raccoonduck54062 жыл бұрын
Fantastic tutorial, thank you sir!
@MrRayoxo4 жыл бұрын
Thanks ,greetings from Monterrey,Mexico
@rockyrivermushrooms5296 жыл бұрын
this video really helped me understand PID. Thankyou
@apm6 жыл бұрын
I'm glad it helped. There is more content at apmonitor.com/pdc (Python) and apmonitor.com/che436 (MATLAB).
@dmit1003 жыл бұрын
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?
@apm3 жыл бұрын
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.
@maximemengue45394 жыл бұрын
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
@apm4 жыл бұрын
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
@nanajerry8243 жыл бұрын
DR RORPOPOR HERBAL on KZbin changed my entire life with his herbal medicine. I appreciate you sir, for taken away my PID 🌿🌿
@alexcrowder16736 жыл бұрын
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.
@apm6 жыл бұрын
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
@subhasshmahenthren12646 жыл бұрын
I feel you bro!
@bertgeneray59544 жыл бұрын
Ditto that. He lost me at 15 seconds. Moving on.............
@DimitriosKalemis4 жыл бұрын
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?
@apm4 жыл бұрын
The negative is explained here under the section for derivative kick: apmonitor.com/pdc/index.php/Main/ProportionalIntegralDerivative
@qzorn44407 жыл бұрын
another nice way to demonstrate control. :)
@tomasmazalek22114 жыл бұрын
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!
@apm4 жыл бұрын
Please see the "derivative kick" section here: apmonitor.com/pdc/index.php/Main/ProportionalIntegralDerivative
@marcosleno63916 жыл бұрын
This video help me very much. Excelente work. Thank You
@apm6 жыл бұрын
Thanks for your comment. I'm glad that it helped.
@Bosco12ful7 жыл бұрын
Do you know how to implement phyton for synthetic inertia at any bus?
@apm7 жыл бұрын
+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
@Bosco12ful7 жыл бұрын
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...
@apm7 жыл бұрын
+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.
@ellerjuco12486 жыл бұрын
when I run it, it prompt, "ModuleNotFoundError: No module named 'numpy'"
@apm6 жыл бұрын
You need to pip install numpy: kzbin.info/www/bejne/mIm6nayFgr6jiKc
@seablue10857 жыл бұрын
Thanks!
@danielemessina19796 жыл бұрын
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
@apm6 жыл бұрын
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.
@PythagoreanBall2 жыл бұрын
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
@apm2 жыл бұрын
That seems like a different issue than the topic of this video. Perhaps contact the manufacturer for support.
@kalNkanuck5 жыл бұрын
Title is very misleading. At which point do you consider a beginner a beginner?
@apm5 жыл бұрын
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
@gabrieldominicbaygan22807 жыл бұрын
This is a bad lecture
@apm7 жыл бұрын
Gabriel Dominic Baygan, I appreciate constructive feedback if you have something more specific on what you are looking for in a PID lecture.