A PID controller is a (closed) control loop feedback mechanism. It is used in industral control for proportional, integral and derivative feedback.
19
votes
7answers
2k views
What is the advantage of a Z transform derived PID implemenation?
I've seen many PID articles, such as this, use a Z transform of the generic PID equation to derive some crazy difference equation which can then be implemented in software (or in this case an FPGA). ...
18
votes
5answers
2k views
How to learn PID Control?
I want to learn PID (Proportional–Integral–Derivative) control mainly for temperature.
I would like to learn preferably through an easy project to do.
Could you please recommend something which ...
11
votes
4answers
954 views
How to use measured step response to tune control system
How does one use a measured step response to tune either a PID or convolution control scheme?
Inspired by this answer*, I'm interested a more detailed explanation of how to implement a control system ...
9
votes
3answers
288 views
PID Control Loops with large and unpredictable anomalies
Short Question
Is there a common way to handle very large anomalies (order of magnitude) within an otherwise uniform control region?
Background
I am working on a control algorithm that drives a ...
9
votes
2answers
698 views
PID algorithm implementation using computer vision
I am constructing an automatic labyrinth maze solver, and using a webcam to control my maze.
Based on suggestions in other forums, I am trying to control maze's ball movement at least in one ...
7
votes
4answers
463 views
Scaling PID (Proportional Integral Derivative) Output
I have implemented a PID function using the formula,
correction = Kp * error + Kd * (error - prevError) + kI * (sum of errors)
What should I do to keep my output ...
7
votes
1answer
257 views
Conversion of PID controller components with state feedback into single transfer function and discrete state-space form
I've been wrestling with this problem for about a week now, as a part of a year-long project. We're designing a controller for a specific reactor based on a model. After looking at this for a while, I ...
6
votes
5answers
3k views
Building a temperature-controlled water bath
I want to build an accurate (±2 °C) water heater (sous vide) that heats water somewhere between 30-100 °C according to user input.
Although I have an engineering background I have no ...
6
votes
5answers
2k views
Temperature sensors for an Arduino sous-vide project
I'm creating a PID controller for sous-vide, like this one, and am trying to decide which temperature sensor to get.
Priorities:
Cost: < £25 delivered in the UK
Accuracy: +/- 0.5C
Range: 0 - ...
5
votes
5answers
683 views
How to implement a self tuning PID-like Controller
I am trying to write a micro-controller program for controlling temperature in a system with the following characteristics:
output can only be On or Off, with fixed cycle frequencies (~2-10 per ...
5
votes
2answers
577 views
Algorithms for automatic PID tuning?
I am given to understand that there exists software for tuning PID controllers. I haven't had much luck finding references, though. Pros/cons for algorithms, and references for them?
ADDED: I'm ...
4
votes
4answers
216 views
PID regulator steady state error problem
I'm working with a PI controller that regulates temperature through a pwm duty cycle.
It generally controls well. However, the system requires a certain minimum duty cycle to balance the heat loss. ...
4
votes
2answers
250 views
Can I use a DC SSR that is switched by a PID controller to control the speed of a 12 V DC fan?
This is my first post here. Let me start by saying that I do not have an engineering background. I tinker with electronics in my spare time (Arduino, solid state low-power guitar amps, etc.), but I do ...
4
votes
6answers
3k views
How do I get proportional 240V AC output from an Arduino-based PID controller to “dim” a rice cooker for a Sous-Vide project?
I'm making a PID controller for Sous-Vide, using an Arduino.
I'm trying to decide how to control the output. Using an SSR as an on-off switch on 240V AC will probably give me the result I'm looking ...
4
votes
3answers
224 views
Help finding transfer function for root locus using Matlab
I'd like to pick \$k_d\$ using root locus method, but have problems deriving the necessary transfer function of the system presented below. Assume \$k_p\$ is fixed. The question originates from Randal ...