loading

A proportional–integral–derivative controller (PID controller) is a control loop feedback mechanism (controller) commonly used in industrial control systems

Step 1:

A proportional–integral–derivative controller (PID controller) is a control loop feedback mechanism (controller) commonly used in industrial control systems. A PIDcontroller continuously calculates an error value as the difference between a measured process variable and a desired setpoint .

The controller attempts to minimize the error over time by adjustment of a control variable, such as the position of a control valve, a damper, or the power supplied to a heating element, to a new value determined by a weighted sum:

Eq is shown obve .

where Kp,Ki and Kd, all non-negative, denote the coefficients for the proportional, integral, and derivative terms, respectively (sometimes denoted P, I, and D). In this model,
P accounts for present values of the error (e.g. if the error is large and positive, the control variable will be large and negative),I accounts for past values of the error (e.g. if the output is not sufficient to reduce the size of the error, the control variable will accumulate over time, causing the controller to apply a stronger action), andD accounts for possible future values of the error, based on its current rate of change

As a PID controller relies only on the measured process variable, not on knowledge of the underlying process, it is broadly applicable.By tuning the three parameters of the model, a PID controller can deal with specific process requirements. The response of the controller can be described in terms of its responsiveness to an error, the degree to which the system overshoots a setpoint, and the degree of any system oscillation. The use of the PID algorithm does not guarantee optimal control of the system or even itsstability.
Some applications may require using only one or two terms to provide the appropriate system control. This is achieved by setting the other parameters to zero. A PID controller will be called a PI, PD, P or I controller in the absence of the respective control actions. PI controllers are fairly common, since derivative action is sensitive to measurement noise, whereas the absence of an integral term may prevent the system from reaching its target value.

Step 2: Proteus File

Components Required:-

2 ics >> lm358 & lm324. resistors >> 10k,100k and variable Resistor 1M ohm. Capcitors >> 1 micro Farad and 22 Micro Farad. some jummpers

in this sktech
first one is Set point
2nd there are 3 op amp in which
1st Proportional, 2nd Integral and 3rd Derivative . which are connected in top, center and bottom orders.
last one is Error

Step 3: Pin Configration of Lm324 and Lm358

Step 4:

After Soldering it should look like that

<p>hi, what app i need to use to simulate the circuit?</p>
<p>WOW !<br><br>Awesome work, was looking for an analog PID controller. This is perfect.<br><br>Hope to see more stuff from you :)</p>
<p>Thanks Buddy .!! <br>Hopefully u will see more projects like this in coming f days.</p>
<p>You state in your bio that your are and electronics engineer interested in electronic hobby's and DIY Projects. So I'm struggling to understand who your target demographic is for this particular project. If it's other electronics engineer's then they probably already know this stuff so for them the information is superfluous. If you are trying to reach out to hobbyists like myself then you've got a lot of 'splainin' to do. It's clear that you have a strong understanding of the topic but you've really fallen short in terms of fleshing it out for the rest of us. I can tell that your heart is in the right place so I'm hesitant to be critical but you need to expand on the details if you really want educate a larger audience. Think of it as an undergraduate college course where the students are motivated but have limited practical knowledge of the topic. It looks like an interesting topic as far as I can tell, but bridging the gap between your expertise and that of the struggling hobbyist is going to require a lot more effort on your part. I hope that you will give it another try.</p>
<p>i can expnad it to further but as u can see above eq's pic is not clear . it turn to black and all indications were gone .. :( so that's why i make it limited. one more thing about this project , i was assign this project in 7th semester. Our subject was Industrial electronic by the way i'm in 8th smester now moving to Automatic Machine Gun control and CNC and further more advance Projects like self learning robot and many more to come ..!! </p>
<p>That's fantastic! I didn't realize that you were in the process of becoming a full fledged engineer of the highest order. Nice project. But, it's a bit of a tease for lesser folks like me. I've seen discussions on PID controllers before but they were not geared toward the hobbyist and I could not follow them. I was hoping that maybe this Instructable would be different. If you are communicating with your colleagues that's one thing, but if you are posting on a site like this the situation becomes more challenging. Translating from your language down to my level is a difficult task. Maybe impossible? Are you up to the challenge?</p>
<p>According to Your View &quot;Translating from your language down to my level is a difficult task. Maybe impossible? &quot; hear's Great saying about that</p><p>&quot; It always seems impossible until its done. Nelson Mandela &quot;</p><p>bro,it's not a difficult to translate from my Level to ur's ..!! <br>ahhhh Challenge :p i can't say anything about that yet but let's see what u reckon ;) <br></p>
<p>I'm betting that you have what it takes to be a good teacher. I'm looking forward to seeing what you come up with and maybe I'll learn a thing or two in the process. Have at it!</p>
<p>i 'll ..!! appricate ur viwes ,Gratitude :_)</p>
are you using an avr/ pic in conjunction?
<p>Nope ..!! These are op amp u can use 741 IC ,which include only one op amp ..!!!<br>i use 2 ics as i mentioned obve first one lm 324 and lm 358<br>i'm gonna uplaod pin config. check them out</p>
<p>I think there is some confusion... you used &quot;microcontroller&quot; in the title, but there is no microcontroller in this design. I appreciate a good analog design - nice work.</p>
<p>Soory it's Controller ..!! </p>
<p>It was a good read, wish I were an electronic engineer to use this! What applications have you used or planned to use?</p>
<p>it can be used as :</p><p><strong style=""> </strong><strong style="">Furnace Temperature Control.</strong></p><p><strong style=""> Neutralization pH Control.</strong></p><p><strong style=""> </strong><strong style="">Batch Temperature Control</strong></p><p>Also<strong> t</strong>here are numerous industrial applications where PID Control shines. While processes with fast dynamics and excessive noise undermine the efficacy of the Derivative Term, not all processes exhibit those characteristics. With those slower, less noisy processes Derivative contributes effectively to the correction of error.</p>
Why not use the arduino PID library: http://playground.arduino.cc/Code/PIDLibrary
<p>Gonna Upload Ardunio code also check it out later </p>
<p>I built it from Scratch components , it's very cheep and work perfectly then why should we use them ..</p>
digital vs analog.
?
<p>??</p>
not that many pure analog designs in instructbles
<p>it seems, i did..!! ;) </p>

About This Instructable

9,740views

219favorites

License:

Bio: I ain't no physicist, but I knows what matters. :p By the way, I'm an Electronic Engineer . Interested in Electronic Hobby's and ... More »
More by joony786:CONTROL STEPPER MOTOR SPEED WITH LABVIEW AND ARDUINO PID (Proportional–Integral–Derivative) Controller Micro Servo Robot Arm 
Add instructable to: