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
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 ...
1
vote
1answer
889 views

Understanding the flow of a PI Controller?

I am theoretically aware of how a PID Controller works, have never implemented one. I am implementing a control method for driving a valve over PWM. Use Case details: The systems has two ADC ...
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 ...
7
votes
4answers
1k views

Misconceptions about PID Controllers

I'm currently designing an equivalent of the mass-spring-dashpot system, and during the design phase I realized I don't fully understand how PID controllers physically work. Below is an image, the ...
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 ...
0
votes
1answer
133 views

Not able to levitate magnet for magnetic levitation project

I am following a hackster project on magnetic levitation here - https://www.hackster.io/jsirgado/magnet-levitation-with-arduino-eeeee4 However, I have followed everything but still, it's not working. ...
0
votes
1answer
58 views

How to go about determing the System Type of my setup?

I have a small project where I am PID tuning two servo motors. Something very similar to this: I am interested in finding the system type of the above setup, which includes the PID loop I have tuned. ...
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 ...
10
votes
3answers
2k views

How does control theory apply to my real-world processor-controlled boost converter?

I have a limited understanding of control theory. I dealt with poles and zeroes and transfer functions in school. I've implemented several microprocessor-based control schemes for DC/DC converters. ...
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 ...
9
votes
3answers
2k views

Please explain in layman's terms how a PID accounts for inertia in temperature control

I'm building my own hobbyist microprocessor-controlled reflow oven. I'm using (mechanical) relays to turn the heaters (i.e. quartz tubes) on or off. I've noticed heating lags a couple of seconds ...
2
votes
1answer
3k views

Peltier heat resistor temperature controller, schematic issue

I've been having a problem with the following schematic: What I need to do: Two temperature controllers in order to create a temperature gradient. The hot side is a a little above room temperature ...
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 ...
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 ...
4
votes
4answers
3k views

Anti-wind up scheme in the implementation of PID controller

I want to implement designed PID controller. But I am facing the problem of how to limit the saturation limit in both positive and negative direction? I tried using zener diode, but I would like to ...
3
votes
3answers
877 views

Motor Control with PMW or RPM on heavy robot

I'm going to try to explain my problem as clearly as I can. I have been building a robot that has four wheels, 2 motors and 2 free wheels. Its a differential drive system. ...
3
votes
2answers
2k views

Integral only control (as opposed to PI or PID)

I am familiar with PI and PID control but I've recently been reviewing code that seems to use I (Integral) only control. What are the benefits of I control over PI control, and when should it be used /...
3
votes
2answers
4k views

Proportional controller

Sirs, I am not able to understand why Proportional controller introduces offset.Please consider follwing paragraph I found on internet, credit to ** http://blog.opticontrols.com/archives/344 **, ...
1
vote
2answers
501 views

Implementation integral windup in a digital proportional-integral (PI) controller

I'd like to know how I can get the Imax and Imin values. if (I_error > Imax) { I_error = Imax; } else if (I_error < Imin) { I_error = Imin; } I don'...
1
vote
3answers
1k views

Kp, Ki, Kd for software PID control

I am designing a software PID control. Logic is almost final but I wonder how do I decide the value of \$k_p\$, \$k_i\$ and \$k_d\$. Also, I need to determine the max and min value for the Pterm Item ...
1
vote
0answers
37 views

Values got from programmed PID are different from ones simulated in Simulink

Please also read Update I created a PID simulation in Simulink: where the Step block is set with parameters: ...
1
vote
2answers
159 views

What is the output of a PID controller (or any controller in general)?

I'm new to Simulink and I'm trying to get my hands a little dirty there to get used to using it. I'm working on a speed control of a switched reluctance motor. The input signal is to be fed to a ...
0
votes
1answer
1k views

Analog PID controller (transferfunction questions)

I have to build an analog PID controller (with op-amps), I've made a schematic: My questions: Can I build my PID controller this way? My PID tranferfunction (in the s-domain) looks like: $$\text{H}(...
0
votes
2answers
57 views

Alternatives to Large Transformer or PSU for Driving DC Heater

I have a 3D printer heated bed, instead of 3d printing I want to use it for reflow soldering. The bed is intended to operate at 70c, using 12v or 24v. It can be wired in series or parallel depending ...
0
votes
2answers
509 views

Self-Tuning PID Controller to implement in a PLC without having the plant model?

I need to implement a self-tuning PID controller in a PLC. I know the behavior of the plant (I mean, I know that if the speed is reduced the tension gets higher and vice versa), but I do not have a ...