PID vs. Other Control Methods: What's the Best Choice

  Рет қаралды 104,529

RealPars

RealPars

Күн бұрын

▶ The easiest way to learn industrial automation:
realpars.com
▶ Check out the link for a free consultation:
www.realpars.com/for-teams
▶ You can read the full post here:
www.realpars.com/blog/pid-vs-...
⌚Timestamps:
00:00 - Intro
01:35 - PID Control
03:13 - Components of PID control
04:27 - Fuzzy Logic Control
07:12 - Model Predictive Control
09:25 - Summary
Almost everyone who has worked in automated systems and manufacturing industries will likely tell you that the gold plate standard for process control applications is PID Control. Most industrial control loops utilize some combination of PID control.
In this video, we’ll discuss PID control and we’ll also introduce you to two advanced techniques: Fuzzy Logic Control and Model Predictive Control (MPC).
Let’s start with a discussion about a very basic process control technique called ON/OFF or Bang-Bang Control.
This technique is very common and found in applications such as home heating where a furnace is either ON or OFF. What we end up with is a continuous temperature fluctuation around the desired setpoint.
Next up on the list is a feedback control algorithm called PID control.
The 3 main components are Proportional, Integral, and Derivative.
PID control is very versatile and goes a long way to ensure that the actual process under control is held as closely as possible to the setpoint regardless of disturbances, or setpoint changes.
Controller tuning involves a procedure where each component of the PID algorithm is adjusted to produce the desired response to setpoint changes or disturbances.
The Proportional component applies an effort in proportion to how far the process is away from the setpoint.
The Integral component applies an effort to return the process to the setpoint after the Proportional control quits.
The Derivative component looks at the speed at which the process is moving away from the setpoint.
Each component contributes a unique signal that is added together to create the controller output signal.
Let’s move on to advanced process control techniques.
We’ll start with Fuzzy Logic Control (FLC).
Fuzzification is the process of converting specific input values into some degree of membership of fuzzy sets based on how well they fit. Membership functions describe the degree of membership of a particular input or output variable to linguistic variables such as Temperature and Fan Speed.
These membership functions can be represented graphically where each fuzzy set has a degree of membership to a temperature range based on the room temperature.
What is a fuzzy set?
A fuzzy set relates to membership linguistic variables. For example, a linguistic variable Temperature might have fuzzy sets like hot, warm, and cold, each with its membership function.
Next up for discussion is MPC.
MPC is a feedback control technique that uses a mathematical model to predict the behavior of the process variable.
Let’s look at a block diagram of MPC for a robotic system.
We’ll start with the MPC controller components.
The MPC Controller uses the robot model, kinematics, and dynamics to calculate the optimal control inputs over a predetermined, limited period. The output of the MPC controller is the calculated control input trajectory for the robot.
The Reference block represents the desired robot behavior including things like gripper positions, orientations, and motions to follow also referred to as Trajectories.
The Kinematics and dynamics block provides a mathematical description of how control inputs affect the robot's movements, rotations, and joint angles.
The Optimization block represents the algorithm within the MPC controller.
Finally, the Control Inputs Block represents the actual control inputs that are applied to the robot as determined by the optimization algorithm.
If you want to learn more about PID control concepts in-depth, be sure to explore our PID Controller Basics course: www.realpars.com/courses/pid-...
=============================
Did you miss out on the latest and greatest? Catch up now by watching our videos right here:
realpars.com/blog/emerson-sma...
realpars.com/blog/opc-ua-food...
www.realpars.com/blog/io-link-...
=============================
TWEET THIS VIDEO: ctt.ac/22obX
=============================
Follow us on Facebook 👉 / therealpars
Follow us on Twitter 👉 / realpars
Follow us on LinkedIn 👉 / realpars
Follow us on Instagram 👉 / realparsdotcom
#PIDControl #IndustrialControl #RealPars

Пікірлер: 66
@guatagel2454
@guatagel2454 4 ай бұрын
I use PID with some fuzzy logic: if the error is close to ideal, I turn off the D part of PID. The result is incredible, the noise is very low. Also, being the I accumulator a measure of the system loses (drift, heat loss, etc.), I preload the I accumulator value with the P value as soon as it is not saturated, and periodically. If I have historical data, I preload the I accumulator at start with the typical value of I fir that setpoint. That way I save time loading the I accumulator, and I reach the setpoint faster. With these two techniques combined my controllers behaves beautifully.
@microdesigns2000
@microdesigns2000 4 ай бұрын
Wow, very nice ideas. I remember back before Kinetix 5xxx brought decent default tuning and adaptive tuning. We altered the PID values during operation when we knew the load was changing. Tell me, what kind of processes are you tuning that made you develop your techniques?
@realpars
@realpars 4 ай бұрын
Interesting..... Thanks for sharing!
@eugenepohjola258
@eugenepohjola258 3 ай бұрын
Howdy. Yeah. During my days as a training planner in a paper mill. Operator experience. Shifting to another paper grade only changing the main set value would take almost a whole reel if the PID:s were left to do the adjustments. One whole reel to be repulped. The experienced operators knew the output values of the most important PID:s. They manually set them close to the final values. Then they input the new grade to the master controller and switched back to automatic. The new grade was achieved in about an hour. The shifting reel only needed to be rerolled cutting out the transition part. Enormous time saving and way less to be repulped. Regards.
@ppokorny99
@ppokorny99 3 ай бұрын
Recommend looking into PDF (psuedo derivative feedback) where the derivative term is replaced leveraging feedback and the integral. Limiting windup on the integral accumulator is also important. Theoretical results show you can get faster convergence with little or no overshoot which can be very important for some control situations.
@HermanWillems
@HermanWillems 3 ай бұрын
What about NON-Linear control. PID suck at that. Actually PID sucks at many processes. Because the world is not linear.
@luciddream2033
@luciddream2033 4 ай бұрын
Nice introductory to these concepts.
@realpars
@realpars 4 ай бұрын
Glad you liked it! Thank you for sharing.
@sennabullet
@sennabullet 2 ай бұрын
A superb video!!! Thank you for the clear and easy to digest explanation of the various processes.
@realpars
@realpars 2 ай бұрын
Glad it was helpful!
@dvdvideo1234
@dvdvideo1234 3 ай бұрын
LQ-PID has worked for me quite well over the years
@manyirons
@manyirons 3 ай бұрын
Excellent and informative presentation. Thank you.
@realpars
@realpars 3 ай бұрын
Glad you enjoyed it!
@DayaneRodriguesNeves
@DayaneRodriguesNeves 4 ай бұрын
Very nice! Excelent Explanation! Thanks!
@realpars
@realpars 4 ай бұрын
Glad you enjoyed it!
@MrSaemichlaus
@MrSaemichlaus 3 ай бұрын
The shocks in your car's suspension can be thought of as PID controllers: the spring is the proportional part, the damper is the derivative part, and your manual height setting is the integral part. The shocks in the suspension stabilize the ride height of the car against the constantly changing height of the ground (setpoint) while allowing minimal overshoot and oscillation.
@user-uf8qe3ib1r
@user-uf8qe3ib1r 4 ай бұрын
It's so rare to watch comparative control methods, thanks a lot!
@realpars
@realpars 4 ай бұрын
You're very welcome!
@odissey2
@odissey2 4 ай бұрын
There is also another type of bang-bang control, called "Take Half Back" by Steven Woodward. It offers settling time comparable to PID and useful for on/off systems like AC or home heaters.
@realpars
@realpars 4 ай бұрын
Hi there! Thanks for sharing. If I remember correctly, this concept was introduced over 20 years ago.
@walidazouz3563
@walidazouz3563 4 ай бұрын
Always good and nice video quality, also i hope the teams talk about linear matrix inequality LMI it quite new automation control type
@realpars
@realpars 4 ай бұрын
Thank you very much for your kind support! I will happily go ahead and add that topic to the list.
@Flankymanga
@Flankymanga 4 ай бұрын
Thanks for the refresher video. It would be nice to make a video about Adaptive control.
@realpars
@realpars 4 ай бұрын
You're very welcome! Thank you for the topic suggestion, I will happily go ahead and add this to the list. Happy learning!
@mustafaaldwaini2345
@mustafaaldwaini2345 4 ай бұрын
That's great and brilliant 👏
@realpars
@realpars 4 ай бұрын
Glad you like it! Thank you for sharing
@borisdelaine9797
@borisdelaine9797 4 ай бұрын
I love this refresher. I am not working in controls but I loved the study. Where are my eigenvalues and eigenvector? Does anybody know root locus or Bode diagram anymore?
@VEC7ORlt
@VEC7ORlt 4 ай бұрын
MPC sounds like feed forward control with extra steps.
@David_Bruton
@David_Bruton 4 ай бұрын
I wonder will you have videos about advanced applications for PID control? For example these applications are commonly used in most DCS: split range, gain scheduling, ratio control, cascade control, and feed forward.
@realpars
@realpars 4 ай бұрын
Hi @David_Bruton, Thanks for reaching out. We have not yet developed any videos on advanced applications for PID Control. Stay tuned though as we are planning more videos and courses on such topics.
@filimniko
@filimniko 4 ай бұрын
Thanks!
@realpars
@realpars 4 ай бұрын
You're very welcome!
@syufrijal
@syufrijal 4 ай бұрын
Amazing information of PID vs other control method..very helpful
@realpars
@realpars 4 ай бұрын
Glad you liked it! Thank you for sharing.
@Beregorn88
@Beregorn88 3 ай бұрын
Long story short, a properly tuned PID controller IS the best solution, when feasible; if not, due to changing dynamics or excessive degrees of freedom, an MPC wil hack together a solution that is "good enough"
@linossinkala7840
@linossinkala7840 4 ай бұрын
Thankyou for the knowledge
@realpars
@realpars 4 ай бұрын
Our pleasure, happy learning!
@AlexandreSantos-gg9il
@AlexandreSantos-gg9il 4 ай бұрын
Excellent RealPars from Brazil.
@realpars
@realpars 4 ай бұрын
Many thanks!
@pierrekilgoretrout3143
@pierrekilgoretrout3143 3 ай бұрын
Very interesting the FLC part, but to which extent the fuzzy logic gradation is like the proportional part of the PID? Or does it add a quadratic value?
@realpars
@realpars 3 ай бұрын
Thanks for your question. Fuzzy logic doesn’t actually add directly to the proportional part of the PID response. FLC helps in determining the proportional, integral, and derivative gains dynamically by using linguistic variables, fuzzy sets, and a set of rules
@mortezamoradi3514
@mortezamoradi3514 2 ай бұрын
The most important condition to use the MPC is having an accurate model. If the model has a low precision, the outcome would be disastrous.
@dordagiovex9989
@dordagiovex9989 4 ай бұрын
there is sliding mode control too..
@petr0rabbit
@petr0rabbit 3 ай бұрын
its always funny at work when I see the integrator and they some pid loops to ne tuned and you have 5 guys telling the programmer what you put as p i d😅
@Karthik-ut3vo
@Karthik-ut3vo 4 ай бұрын
Which control methods used in Boston Dynamics robots? example Boston Dynamics Atlas humanoid robot?
@realpars
@realpars 4 ай бұрын
Hi there, thanks for reaching out. Sorry, we can’t answer that question definitively as Boston Dynamics incorporates a combination of control methods, some may not be publicly disclosed. For availalbe information, refer to Boston Dynamics' website at bostondynamics.com
@anasyousaf4439
@anasyousaf4439 4 ай бұрын
Please make a tutorial on GE FANUC PLC
@realpars
@realpars 4 ай бұрын
Thank you for your topic suggestion, I will happily go ahead and forward this to our course developers. Thank you very much for sharing, and happy learning!
@lohikarhu734
@lohikarhu734 4 ай бұрын
I wonder if any of you-all have seen the introduction of pseudorandom inputs into a system that allows a kind of real-time model building, where the pseudorandom inputs are small relative to the setpoint?
@realpars
@realpars 4 ай бұрын
Hi there. That's a new one for me. Thanks for sharing.
@dany9368
@dany9368 4 ай бұрын
Thanks god bless
@realpars
@realpars 4 ай бұрын
Always welcome!
@bjarnenilsson80
@bjarnenilsson80 4 ай бұрын
Yea furnaces cuntrull, in other videos that touch on that subject it allways struck me as strange the the furnace wos either on or if an not controlled in a more fine graned manner , well I 'm no hvac engineer and certainly no gas fitter, but why can't ng furnace have it 's gas supply controlled ( thus controlling the ammount of heat actually beeing created) is it justba question of cost or is my lack of knowlage sowing wet clearly?
@realpars
@realpars 4 ай бұрын
Hiya...... I'm not an HVAC SME or a gas fitter either. Your question is reasonable indeed. Maybe you'll get a response from somebody in the know. In many large industrial systems, the temperature is controlled by duct louvres and vanes that move when commanded. Also not a terribly efficient way to control. Does anybody else want to chime in?
@lohikarhu734
@lohikarhu734 4 ай бұрын
I think that typical home heating systems have, historically, been designed to run at an "optimum" level of "burn", and have quite simple fixed jetting and air supply... It's quite possible to run a system that has enough "mass" with proportional control, for a smoother response, and even put in an offset value to make the output appear to be the commanded one, especially where the expected target temperature is normally in a quite narrow range.
@robertolin4568
@robertolin4568 4 ай бұрын
"Wait it’s all PID?" "Always has been"
@VK-tv1eq
@VK-tv1eq 4 ай бұрын
Agree. The fuzzy logic could be a sort of voting block to select a subset of PID values for particular ranges. And the predictive model sounds like a Kalman filter based PID thing. Those used in weaponry and rocket science. (and advanced CNC as it seems). And even bang-bang is a redux of PID, where P is infinite and I, D are zero, with command output saturated to "one" ceiling and "zero" floor. All are PID still.
@u1zha
@u1zha 4 ай бұрын
​@@VK-tv1eq "sounds like a Kalman filter" - there you got off track a bit. The MPC is way more general, because everywhere the video says the word "algorithm" it can compute many more complex functions than multiply or integrate or derive. Higher order derivatives? Sure. (No they aren't D, they are functions that you can't generally get by tuning the gain on D.) Shortest path algorithms? Sure. All kinds of things implied under MPC. Turing-complete computations. Examples: figure the next engine gimbal for Starship flip, balance a double inverted pendulum, return a ping pong ball using three drones carrying a net, ...
@eugenepohjola258
@eugenepohjola258 4 ай бұрын
Howdy. Great. There are systems that use two PID:s in a Master - Slave configuration. 1. A servo valve has a built in flow sensor and a built in PID controller. The servo valve's Set Value is the desired flow. For regular control valves the Set Value is the throttle position. The master PID is an algorithm in the plant automation computer. The master PID sends the desired flow to the servo valve. 2. The master PID sends varying P, I, and D variable values to the slave PID. The master PID senses the diffrence between Set Value and Process Value. If the difference is large the master sends aggressive P, I, D values to the slave PID. Small Proportional value (=large k=large gain), large D value and small I value. When the Process Value comes close to the Set Value the master sends mild P, I, D values to the slave. Large Proportional value (=small k= low gain), small D value and large I value for smooth approach of Process value to the Set value. The system will provide fast approach yet with no overshooting when tuned to optimum. It much resembles Fuzzy control. Regards.
@realpars
@realpars 4 ай бұрын
Good stuff! Thanks for sharing...... I've heard of this as well. Bottom line - The Master controller provides setpoint values, and the Slave controller adjusts the actual process to match these setpoints.
@rezah336
@rezah336 2 ай бұрын
the fact that PID and fuzzy logic is used means that the control world has failed at creating good algorithms because these are the most basic algorithms based on zero theory
What is a PID Controller? | DigiKey
22:19
DigiKey
Рет қаралды 59 М.
Introduction to PID Control
49:18
Christopher Lum
Рет қаралды 44 М.
ХОТЯ БЫ КИНОДА 2 - официальный фильм
1:35:34
ХОТЯ БЫ В КИНО
Рет қаралды 1,7 МЛН
How To Choose Ramen Date Night 🍜
00:58
Jojo Sim
Рет қаралды 62 МЛН
Кәріс тіріма өзі ?  | Synyptas 3 | 8 серия
24:47
kak budto
Рет қаралды 1,7 МЛН
Everything You Need to Know About Control Theory
16:08
MATLAB
Рет қаралды 502 М.
Model Predictive Control
12:13
Steve Brunton
Рет қаралды 242 М.
PID Balance+Ball | full explanation & tuning
13:13
Electronoobs
Рет қаралды 720 М.
How PID Control Works - A Basic PID Introduction
14:13
Instrumentation & Control
Рет қаралды 22 М.
PID Controller Implementation in Software - Phil's Lab #6
20:06
Phil’s Lab
Рет қаралды 200 М.
THE TRUTH ABOUT PID CONTROLLERS
16:15
Barley and Hops Brewing
Рет қаралды 36 М.
Can a Boat Float In Supercritical Fluid?
9:13
The Action Lab
Рет қаралды 80 М.
How MOSFET Works - Ultimate guide, understand like a PRO
20:14
The Engineering Mindset
Рет қаралды 781 М.
PID Math Demystified
14:38
Scott Hayes
Рет қаралды 458 М.
ХОТЯ БЫ КИНОДА 2 - официальный фильм
1:35:34
ХОТЯ БЫ В КИНО
Рет қаралды 1,7 МЛН