pid source code for p89v51rd2
#1

i'm doing a project on teperature controller on p89v51rd2.. i need a help... if have any reference code..

kalpesh.
kappu92[at]gmail.com
Reply
#2

This code is a working example of a PID control (Proportional, Integral, Derived). This type of control is used when processes change due to inertia. (The cruise control of a car is a PID controller.) The PID algorithm is surprisingly simple and can be implemented in five lines of code. There are three constants that must be determined to shape the output of the control. The three constants, as well as the setpoint and the sampling interval can be changed in real time. The resulting shape of the output will be displayed on a strip chart.


[Image: PID_Example_html_718c648f.png]

Many real-world processes accumulate over time. When you step on the accelerator, your car moves slowly, then faster and faster, until you release the accelerator. As you accelerate, press the accelerator pedal less, then a little less, and even less, until you reach the speed limit. Unlike the digital world where things are "turned on" (1) or "deactivated" (0), the actual processes have different degrees of "on." In the example of driving, how much the throttle is activated depends on the current inertia of the car and how different the speed of the car is from the speed limit. The control of such a process with inertia can be done with only five lines of code. But, just like learning to drive, it takes practice to know if you are starting too fast, or if you are going to exceed the speed limit.

The cruise control is an example of a PID control loop. To calculate production, you need three factors. The first, (P), is the difference between the current speed and the desired speed. The second, (I), is the sum of the differences in time. And, the third, (D), is the exchange rate between the sampled differences. Each factor is scaled by a gain constant; They are called Kp, Ki and Kd. The value of these gain constants determines the responsiveness of the output. If the values Kp, Ki and Kd are too high, the output (speed of the car) will far exceed the set point (speed limit). Setting too low, the output can never reach the set point (such as driving 40mph on the road).
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: pid ga matlab code, matlab pid code algorithm, code for pid algorithm for micromouse using arduino, embedded c code for security system by p89v51rd2, line folower code for p89v51rd2 using 5 sensors, matlab code for pid algorithm, sd card interface with p89v51rd2 c code,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  free download source code of online college magazine 5 17,839 29-06-2018, 10:09 AM
Last Post: Guest
  opengl source code for butterfly 3 3,260 14-05-2018, 08:57 AM
Last Post: Akshatha k
  ice cream parlour management system in vb source code 4 5,290 04-04-2018, 11:58 PM
Last Post: vprk77
  source code in php for online training and placement cell management 1 6,686 23-03-2018, 09:06 AM
Last Post: ritzi
  free download college website project in html with source code 2 4,622 24-02-2018, 10:46 AM
Last Post: Guest
  source code for hospital management system in jsp 4 1,951 13-01-2018, 10:51 AM
Last Post: dhanabhagya
  source code in c for dna cryptography in computer sc ppt 1 1,534 09-01-2018, 09:59 PM
Last Post: harshavarshinib
  java programmings for bus ticket reservation source code 1 6,221 09-11-2017, 11:28 PM
Last Post: Ayushi Nagar
  location alarm android tutorial and source code 1 1,458 14-10-2017, 02:53 PM
Last Post: shakil19944
  source code in matlab for fuzzy based traffic light controll system 2 1,329 08-10-2017, 02:12 PM
Last Post: nomanamjad143

Forum Jump: