Showing posts with label What is PID Controller?-Bascics and working. Show all posts
Showing posts with label What is PID Controller?-Bascics and working. Show all posts

Our PID controller & Introduction to PID controller

Introduction to PID controller

 


·       Many real world processes build up over time.Unlike digital which are 0’s and 1’s real time process are varying and constantly updating.

 

·       So we need to control real time applications using these non constant variables. For this purpose we need a PID controller.

 

Our PID controller:

 

The below shown pictures are our PID controllers.

Please visit our website for a list of other products at

 


http://www.selectautomations.net


 

PID500 (48x48) | Full Featured PID Controller




 

PID110 (48x96) / PID330 (96x96) | Full Featured PID Controller

 




PID528 (48x48) | Full Featured PID Controller

 




TC518/ 523 (48x48) | Single Set Point Low Cost PID Controller

 




PID513 (48x48) / PID213 (72x72) / PID313 (96x96) | Very Low Cost PID Controller

 




What is PID control with block diagram


What is PID controller?

 

·       A PID (Proportional - Integral - Derivative) is a control feedback mechanism widely used in industrial applications.

·       A PID controller corrects the error between a measured variable (like analog values measured for heat, pressure, flow rate, chemical composition, cruise control in automobiles, etc.,) and,

·       A desired set point by calculating and initiating a corrective action that can adjust the process accordingly and rapidly , to keep the error minimal.

The below diagram shows a simplified PID controller













Why pid control with example

Why PID Controller with an example?

 

To understand the process clearly we can take the following example of cruise (speed) control in a car,

 

·       Let’s see how we can control the speed of the car with some assumptions.

·       The speed of the car depends on how hard you press the accelerator.

·       For example say your car should have a automated control specifying that you should drive a speed between 40Kmph and 60 Kmph in a highway.

·       We can control this using a PID controller. Generally the input values are accelerator, your force on the accelerator and output is the speed control of a car.

 

But for the system the main inputs are P value, I value, D value, and set points and output to control the speed. Now watch carefully what happens


Continued on General working of PID controller……


General working of pid control with example

General working of PID controller

 

·       When you step on the accelerator of your car, it moves slowly, then faster, and faster still, until you let off the accelerator.

·       As you speed up, you will need to press the accelerator little less, then even less, until you reach the speed limit. As we have seen early unlike the digital world, where things are either “on” (1) or “off” (0), real processes have varying degrees of “on”.

·       In this driving example, how much the accelerator is turned “on” depends on the car's current speed and how different the car's speed is from the speed limit.

·       Controlling such a process with speed can be done with PID controllers.

 

Inside a PID Controller

 

What happens inside the PID controller ?

 

The below image is an schematic of the basic control




 

·       Speed control is one fine example of a PID control loop. To calculate the output, it needs three factors.

·       The first, (P), is the difference between the current speed and the desired speed (set points).

·       The second, (I), is the sum of the differences over time. (The various speed values of the car in a running time)

·       And, the third, (D), is the rate of change between sampled differences. (The time differences of each speed you reach)

·       Each factor is scaled by a gain constant; they are referred to as Kp, Ki, and Kd. The value of these gain constants determines how responsive the output will be.

·       If the Kp, Ki, and Kd values are too high, the output (car's speed) will exceed the set point (speed limit-60 Kmph).

·       If the Kp, Ki, and Kd values are too low, the output may never reach the set point (speed limit- 40Kmph).

·       So by controlling the P, I, D values we can control a range of output like 40-60Kmph.

 

This is just a theoretical example for the purpose of understanding the basics of PID controller. In real time for controlling action many factors and variables,parameters are calculated before controlling a particular process.