Questions tagged [pid-controller]

A PID controller is a (closed) control loop feedback mechanism. It is used in industral control for proportional, integral and derivative feedback.

Filter by
Sorted by
Tagged with
4
votes
1answer
3k views

How to stabilize this control system?

I have a control problem with saturation. It is nearly linear in the non-saturation zone. Problem: Occasionally I measure huge error spikes. They must not disturb my control routine. I want to get ...
4
votes
3answers
6k 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 ...
15
votes
5answers
14k 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 hour) ...
1
vote
2answers
890 views

Motor Current Limiting Algorithm

I am building a H-Bridge controller dor DC motors, and I want to add some current limiting on it. Does anyone knows a good algorithm for doing so? I am planning to read the current, and if it goes ...
9
votes
1answer
2k 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 ...
1
vote
1answer
507 views

Self Balancing Robot using Computer Vision

I'm planning to implement a Self Balancing Robot which is usually implemented using a gyroscope sensor which gives feedback to the micro-controller to adjust the position with wheels. I'm looking into ...
5
votes
3answers
649 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 ...
3
votes
2answers
2k views

digital PID controller implementation

I am trying to implement a PID controller in the z-domain. What I have done so far is found some values of \$K_p\$, \$K_i\$, and \$K_d\$ that work in the time domain. I have found some information ...
8
votes
5answers
6k 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 - 100C ...
5
votes
7answers
13k 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 ...
1
vote
2answers
1k views

What happens when P controller's gain equals zero?

For example, I use Routh-Hurwitz Cirterion to examine the following system with P controller gain \$K\$: $$\frac{{K\left( {2 - s} \right)}}{{{s^3} + 3{s^2} + 5s + 3}}$$ I closed loop it with \$H=1\$ ...
4
votes
4answers
1k views

opposing PID controllers

I have a system where a setpoint temperature can be set. A heater and a cooler is connected to the object. Right now both the heater and the cooler regulate on the temperature separately with separate ...
17
votes
4answers
11k 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 ...
7
votes
3answers
4k views

Any open tool for graph plotting for determining PID tuning parameters?

I have gone through several PID implementations and its tuning tutorials, documents and all. The Best tuning tutorial was PID-without-a-PhD.pdf . But has not been of much help. I can say it works some....
5
votes
3answers
17k views

Design of a PI controller

If I have a process which is approximated by a first order system $$ H(s)\ = \frac{K}{s+a}e^{-sT} $$ How can I design a PI controller with a rising time < 2 and an overshoot that is less than ...
6
votes
2answers
6k 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 ...
0
votes
2answers
2k views

How to design DC Motor speed control, using PID

I am looking to control the speed of a DC Motor using PID, it is speed control. I understand how the PID works, but i have a few questions. Like,how would I find my gains for each of the PID, what ...
2
votes
3answers
682 views

Motor controller software design

I have to design a PID controller for a differential drive robot. The hardware board consists of a AVR atmega168 running at 16mhz. Driven by two 24v scooter motors with 256 CPR encoders The motors ...
10
votes
2answers
2k 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 ...
3
votes
2answers
1k views

Choosing a PID controller

I need to find a PID controller for a 12V 1hp DC motor. I am currently building a tachometer for velocity feedback. My question is if anyone can suggest PID control hardware and software that is ...
-1
votes
2answers
787 views

I need to smooth or average the output from a 4-20mA device

I need to slow the rise & fall time or 'average' the output from a process controller, the output is currently 4-20mA but can be 0-10V if desired. It's for a temperature control on a very ...
3
votes
1answer
1k views

Cruise control implementation

I am doing a project that requires that I implement a cruise control system on an RC car using a GPS for feedback. I have implemented PID controllers before, but this is a little bit new to me ...
7
votes
7answers
19k 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 ...
29
votes
7answers
11k 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). ...
8
votes
4answers
8k 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 ...
26
votes
5answers
10k 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 ...

1
4 5 6 7
8