Questions tagged [pid-control]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
54 views

Which controller is more suitable in this scenario? P, I or PI controller?

Scenario: A robot has a ultrasonic sensor which measures the distance to the nearest object in centimetres. The robot has two motors, a motor for the left wheels and a motor for the right wheels. The ...
user avatar
0 votes
1 answer
33 views

How to determine the components of a feedback control loop given following context?

Based on this feedback control loop where $w$ is the desired setpoint, $x$ the process variable, $e$ the error value, $y$ the correcting value and $z$ the disturbance value. Did I interpret the ...
user avatar
0 votes
0 answers
59 views

How can I find characteristic equation of complex systems?

I am working on an Overhead crane, where I am supposed to design a controller that controls the position of the crane while minimizing the load's sway angle. I have derived the transfer functions for ...
user avatar
0 votes
1 answer
36 views

Deadbeat gain for system with measurement delay

Say we have SISO system (e.g. the velocity of a permanent-magnet motor) that we're controlling with proportional feedback, with the condition that our measurements of the process variable are delayed ...
user avatar
0 votes
0 answers
30 views

Modelling an S-shaped Second Order Process Response

I am trying to model an S-shaped second order process response as a transfer function in Simulink, as shown in figure 3 in the linked article. Ideally the response should be overdamped. I have tried ...
user avatar
0 votes
0 answers
17 views

PID controller with two inputs but only one is controlled

I'm synchronizing a real-time clock module (RTC DS3231) with the GPS PPS signal (a very precise signal of one second). The RTC module provides the aging offset register that can be used as the input ...
user avatar
  • 101
0 votes
0 answers
44 views

Finding optimal PID gain values with no Transfer Function or Plant model

Background: I have a Matlab simulation model with .m files. The functions simulate a speed control system of a vehicle. I can control the vehicle's speed by adjusting the vehicle’s acceleration and ...
user avatar
0 votes
0 answers
36 views

Control scheme for roll compensation

I'm working on an application that rotates a cylindrical mass in a manner to compensate for roll in a boat. The roll of the boat is rather slow so I was thinking it might be possibly to simply use a ...
user avatar
  • 1
0 votes
1 answer
101 views

Control Systems: 3rd order system project [duplicate]

I'm in need of help finding a third-order or higher system in which I can derive a transfer function. We have a class project in which we need to find a real-life example of the system that equates to ...
user avatar
  • 1
0 votes
0 answers
26 views

Best Techniques to design a cascaded precision position controller

I'm looking to design a cascaded controller to transform a BLDC into a servomotor. The system has a motor current controller in the inner loop, which is controlled by a torque controller, which is ...
user avatar
0 votes
0 answers
48 views

Limitations to consider when picking a cut-off frequency low-pass filter for PID control?

Considering a first-order low-pass filter transfer function: $$ \frac{\omega_c}{s + \omega_c} $$ Where $\omega_c$ is the cut-off frequency. Are there any limitations on where to place this pole? For ...
user avatar
  • 11
0 votes
0 answers
34 views

Block-diagram combining two controlled subsystems

I have two subsystems which are shown in the picture below. One of them is a system of stable and controlled differential equations of a mechanical system. Second is a block that implements a function ...
user avatar
  • 205
0 votes
0 answers
38 views

Linearizing nonlinear system for PID control

I have a system where y = 1/x. (y=output, x=input) If I calculate the PID error not by reading y, but by reading 1/y (so linearizing the system), will my system be nicely linearized, and the PID ...
user avatar
1 vote
0 answers
53 views

(Dominant) Poles very close to zeros in PID control

I have a plant transfer function $G(s)$: $$ G(s) = \frac{1}{s^2(0.1s + 1) } $$ I want to control this with practical PID control: $$ C(s) = k_p + k_i \frac{1}{s} + k_d \frac{N}{1 + N \frac{1}{s}} $$ ...
user avatar
  • 11
0 votes
2 answers
82 views

How to tune a PID controller when plant's step response looks like a ramp?

The system is a boat and I want to specify a yaw angle and the PID controller would operate the rudder of the boat in order to reach the desired yaw angle. So, the step response of the plant (boat) ...
user avatar
0 votes
0 answers
28 views

How to determine time constant/cutoff frequency of the filters in the controlled loop

I was told to be careful to use filters in the control loops as it will add extra time delays in the system and degrade the system dynamic response, but I also saw there are lots of filters in ...
user avatar
  • 57
1 vote
1 answer
61 views

Can I design/tune the outer loop controller without knowing the details of the inner loop controller?

In cascade PID control loops as below, can I make an assumption that the inner loop will respond much faster than the outer loop, hence I could simplify U1_CMD as U1 and I could design/tune the gains ...
user avatar
  • 57
2 votes
1 answer
66 views

Improving a PID controller from logged historical PID data

Part of our system involves a feedback loop with a PID controller. We log every call to the PID controller, and include in the log information about the Kp, Ki, Kd, the set point, the input, output, ...
user avatar
0 votes
2 answers
45 views

PID or AI or other approaches to this thermal control problem?

I have this boiler controlled manually at the moment, and I am wondering what would be the most proper approach to automate this process. The boiler in this question basically burns fuel (saw dust, ...
user avatar
  • 101
1 vote
0 answers
34 views

Servo Motor Input Voltage Equation

I'm working on a Ball & Beam project. As I'm doing it for an engineering project, I'm supposed to model the system mathematically, calculate the PID parameters, etc. to center the ball in the ...
user avatar
0 votes
0 answers
48 views

Is there an equation that can automatically tune a PID controller?

Is there an equation that can automatically tune PID controllers? or do I have to do manually/make an AI to do it for me?
user avatar
3 votes
0 answers
55 views

PI or PID-regulator for control system with hysteresis relay in inner loop

I have such control system (sorry for rough drawing :) ) $G(s)$ - stable object with proper transfer function. $1/s$ - integrator. I need to clarify, how synthesized PI or PID controller for such ...
user avatar
  • 205
0 votes
2 answers
62 views

Discrete-time realization for continuous time domain controller/filter?

Let us say I simply design a low pass filter like (1/s+1) with the cutoff frequency as 1 rad/sec, when I implement it in real software, do I have to do the discrete-time realization? If not, what ...
user avatar
  • 57
0 votes
2 answers
62 views

How to simulate open and close and control valve using a simple controller

I have successfully developed a mathematical model for my physical system. My objective is to control the mass of gas in and out of the system. The mass flowrate is given by: $V_f = C_d.\sqrt{2.\frac{\...
user avatar
  • 33
1 vote
0 answers
312 views

How to get the performance index ISE and IAE for a Matlab-Simulink designed Line Follower Robot with PID control?

I am researching a method to determine the optimal PID gains for a line follower robot. The problem is, I don't know how to setup the performance index IAE and ISE in the matlab. Any tips on how to do ...
user avatar
0 votes
1 answer
62 views

What is the meaning of this symbol in Control System Diagram

I was reading the paper "Full-Speed Range Self-Balancing Electric Motorcycles Without the Handlebar" released in March 2016 by Professor Yang and Murakami in Keio University. I couldn't ...
user avatar
0 votes
2 answers
87 views

Do I need a feedback loop while testing PID controller?

This is a homework for my university course control theory. The task is simple: Test the P, the I and the D controllers separately to see the effect. We don't have to connect the controllers to a ...
user avatar
  • 344
0 votes
0 answers
43 views

Controller to maintain a stable amplitude

I am recording a channel before and after injecting current into that channel. I control the current injection using a switch, when the switch is on current goes to the channel, when the switch is off ...
user avatar
1 vote
0 answers
52 views

What are some techniques for improving stabilization given a mechanical time constant?

Problem: I have a self-stabilizing system that utilizes an intertial measurement unit (IMU) attached to the hull of a vessel. The system self stabilizes by performing matrix rotations based on the ...
user avatar
0 votes
0 answers
25 views

Process disturbance in PI controller help

This is the project i'm working on and i'm struggling to understand one sentence which is stopping me from progressing the project. I'm struggling to understand what it means when it says to add +/- ...
user avatar
1 vote
2 answers
135 views

object following using pid

in short, I want to implement a PID controller that takes in distance and returns velocity. Details: I am simulating robots following each other. I wish to maintain a constant distance, ...
user avatar
  • 113
3 votes
2 answers
452 views

How do I interpret the following Bode, Nyquist and Nichols diagrams?

I am working with an arbitrarily complicated and long-winded transfer function that looks something like this: $$ H(s) = \frac{as^4+\cdots+b}{cs^6+\cdots+ds^2} $$ where letters represent constants. ...
user avatar
0 votes
0 answers
51 views

how derivative gain in PD controller influences tracking error

List item For a proportional and derivative feedback control, the the response and tracking error in frequency domain can be represented as $Y(s)=\frac{KG+K_dSG}{1+KG+K_dSG}S_p \\ e(s)=\frac{1}{1+KG+...
user avatar
0 votes
2 answers
63 views

Is controlling humidity more precise when calculating with relative or absolute humidity?

I have a tubing system where I need to precisely control relative humidity. All my sensors are giving me temperature [°C] and ...
user avatar
2 votes
1 answer
233 views

Is the PID just an outdated control method and state-space is superior?

So I've been wondering this for a while; is PID just a simple but slightly outdated control method / isn't state-space (SS) a far superior method in pretty much every way? SS allows for MIMO, PID just ...
user avatar
  • 78
2 votes
2 answers
155 views

Why does accuracy of temperature PID controller drop over time and how to eliminate it?

What am I trying to control? I have a container with approximately 3*2*6 meters (width, height, length). I am controlling through PID the ...
user avatar
1 vote
4 answers
159 views

PID controller - Counterproductive derivative

I'm having trouble understanding the derivative part of a PID controller, because it sometimes seems to react the opposite way that I would like. Let's use a simple example where : the controlled ...
user avatar
  • 13
0 votes
1 answer
97 views

PID Control: Is adding a delay before the next loop a good idea?

I am implementing PID control in C++ to make a differential drive robot turn an accurate number of degrees, but I am having many issues. Exiting control loop early due to fast loop runtime If the ...
user avatar
1 vote
1 answer
299 views

What's the difference between Fuzzy PI, PD and PID controllers?

I am investigating fuzzy control and I am a little confused, I have come across 3 models and I can't quite fathom out what is going on. In this PD+I controller, I can see the error signal being ...
user avatar
2 votes
3 answers
294 views

How to convert a DC motor into a servo motor using a rotary encoder and a microcontroller?

Operating/ Rated Voltage: 24V No load Speed: 350 rpm No load Current: 150mA (max) Max efficiency: 1.4 Kg-cm/300 rpm/ 14.2W/ 0.87A Max power: 4.5 Kg-cm/180 rpm/28.2W/1.4A Stall Current: 2.9 A (max) ...
user avatar
0 votes
0 answers
36 views

P&ID questions on reports, connection, etc

Good day to all of you. I got some questions in my mind regarding on P&ID: In electrical, symbol will have their own default reference name for example "Motor" will use "M" , ...
user avatar
1 vote
0 answers
41 views

Discrete measurement - continuous observer design

I have to design a controller for the above system where the two pulse generators (red blocks ) are synchronized (measurements are only available at discrete points). However, my understanding is that ...
user avatar
  • 11
0 votes
1 answer
122 views

Tuning Feedforward + PID Controller just with Feedforward Data

Hello there, hope you are all doing well. Right now I am trying to design a Feedforward + PID Controller for KUKA youBot on simulation. Since I do not have the equation of the system, I am trying to ...
user avatar
  • 113
2 votes
1 answer
2k views

Best PID autotuning algorithm/library for simple heater problem

It's the 21st century, anything is possible. Except for PID autotuning for a simple problem, heating/cooling system - make robust and ready to use solution. I've found only one library for PID ...
user avatar
  • 131
2 votes
2 answers
19 views

Does it make sense to have a pressure and flow controller on a single closed line?

I have seen P&IDs in which a single line has both a pressure and flow control valve. Based on my understanding of Bernoulli's equation however this doesn't make sense to me - because ultimately ...
user avatar
3 votes
1 answer
95 views

Differential Equation for: Locking a laser's frequency with a PI controller

I think I have a good understanding of differential equations, so I would like to first try to understand my system in terms of differential equations before transforming my system into the more ...
user avatar
-1 votes
1 answer
47 views

Crossflow HX tube and fin, derive Tout hot side as a function of mdot hot side in

Apparatus: Crossflow Tube and fin HX. (liquid-to-air Intercooler), Hot Side: Tube side, gas flowing internally Cold Side: fin side, water flowing in crossflow Goal: Generate an environment in "...
user avatar
-1 votes
1 answer
80 views

Is there any other controller than PID Controller?

I have been given a Project to search for a controller having better transient response than PID Controller. I searched but I didn't find any research paper on it. All are talking about improving PID'...
user avatar
  • 1
2 votes
2 answers
196 views

Analog PID Controller/Filter delay and stability

recently I had an exercise where I had to build and measure an analog PID controller/filter. The starting point was this circuit. This is a tamed PID controller implemented with a single opamp. ...
user avatar
  • 23
-1 votes
1 answer
87 views

Adapting PID controller parameters using expert rules

I use the following equation to calculate a control signal of a time-discrete PID controller: $$ u(k) = u(k-1) + K_{R} \cdot \left(1+ \frac{T_{0}}{2 \cdot T_{I} }+ \frac{T_{D}}{T_{0}}\right) \cdot e(k)...
user avatar
  • 101