Questions tagged [pid-control]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
114 views

Is it necessary to use PID control in my use case?

I have a workflow of two functions. Both of them aggregate the items that are receiving and only the first is adjustable. I mean that I can decide how many items to aggregate on the first function <...
Felipe's user avatar
  • 113
1 vote
2 answers
4k views

How do elevators stop at the exact landing spot when reaching a particular floor?

The floor the elevator moves to, is controlled by the lift PLC with all the algorithms developed over the years, and that I understand well. What I am not able to understand is how does the lift stop ...
Transistor Overlord's user avatar
1 vote
3 answers
717 views

PID position control when setpoint does not require continuous force

I'm struggling with the practical application of a PID control algorithm when the set point does not require any external force to stay in position. For example, I have a geared electric motor that ...
Dan Laks's user avatar
  • 111
1 vote
1 answer
69 views

why Type III systems has at least two gain margins?

I heard the following statement https://engineering.stackexchange.com/a/54322/40848 if we have a type III system, or one that has three or more low-frequency poles that we're closing around, then we ...
zymaster's user avatar
1 vote
1 answer
90 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 ...
Invader's user avatar
  • 15
1 vote
3 answers
270 views

Can I charge 18650 Li-ion cell from 5 V USB?

I've got a flashlight with a 3.7 V 18650 cell that charges with a 3.5 mm barrel plug. They provided adapter that says 4.2 V +/- 0.5. Can I use a 5 V USB to barrel plug adapter to charge it? UPDATE ...
Andyz Smith's user avatar
1 vote
1 answer
102 views

Do variables dimensions matter in PID simulation + I want the PID output to be volts?

I have a self balancing robot control loop that uses the PID controller. I feed the robot's angle (rad) to sum block that generates the error between the set point and the angle. The error then goes ...
zed_eln's user avatar
  • 55
1 vote
2 answers
198 views

Where should I start to be a control system engineer? [closed]

I am a telecommunication and network engineer working as a programmer and data analyst. One of my dreams was and still to be a control system engineer and to design and program a smart robots and ...
alim1990's user avatar
  • 111
1 vote
1 answer
1k views

How to tune a PID for a pure integrator system?

Given a plant with a transfer function of K/s, how can I tune a PID to control it? I found articles explaining how to tune an integrator with time delay, but not for just a pure integrator system.
Pr. Giratina's user avatar
1 vote
1 answer
112 views

What is a PIAD controller?

I know a PID controller. Recently, I heard someone mention a PIAD controller. What is this? Is it a kind of extension of a regular PID controller? In the control engineering litterature, I have only ...
Karlo's user avatar
  • 540
1 vote
1 answer
90 views

Is it important to have a good behaviour inside internal loops of a cascaded PID controller?

A cascaded PID controller is depicted in following image (courtesy of controlglobal.com): The primary PID tracks the setpoint $SP_1$ and delivers a setpoint $SP_2$ to the secondary PID. I wondered ...
Karlo's user avatar
  • 540
1 vote
2 answers
504 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, ...
guthik's user avatar
  • 113
1 vote
1 answer
36 views

AC voltage b/w DC power supply o/p and Ground

I have various Phoenix Contact Mini DC Power supply units (Pheonix Contact MINI-PS-100-240AC-5DC). It gives the correct DC Voltage across output terminals, as its supposed to. But I also noticed that ...
ZenMaster's user avatar
  • 113
1 vote
2 answers
5k views

What is a definitive discrete PID controller equation?

I need the equation of a discrete PID controller and I find different answers from different websites. For example, here the answer is: $$u[k] = u[k-1] + (K_p + K_i \frac{T_s}{2} + \frac{K_d}{T_s}) e[...
Unnamed's user avatar
  • 229
1 vote
2 answers
961 views

Is the speed of a DC motor proportional to PWM?

I'm trying to control the speed of DC motor but unsure of the relationship between speed and PWM. I'm aware that the bigger the duty cycle, the larger the speed, but how exactly would this ...
Anh Tran's user avatar
  • 111
1 vote
1 answer
163 views

PID Gain Calculation

A component of a control loop is approximated by the following relation between input $x$, and output, $y$: $y = 5x^2$ During normal operation, the value of input to this component ranges between $1$...
fraiser's user avatar
  • 113
1 vote
1 answer
579 views

Cascaded PID loop and parallel PID loop

What are cascaded and parallel PID loop and what are the differences between them. I searched on google and came across few websites but still i don't understand the the two types of control loops ?
sumit singh's user avatar
1 vote
1 answer
129 views

Layout of a controller for controlling a water pump

I'm currently writing a simulation environment in python/c for heat networks and got to the point where I'm implementing the controls for the environment. The PID controller is already implemented and ...
JE_Muc's user avatar
  • 223
1 vote
1 answer
372 views

PID tuning of a classic voltage controlled three-phase rectifier

I have a three-phase synchronous active rectifier I need to control it with a voltage oriented scheme like this: But I have no idea of how to tune multiple PIs, I'm trying to do it by trial but I ...
Matteo Caruso's user avatar
1 vote
1 answer
48 views

What is the name of my feedback procedure in control system that I am using?

I have created a self balancing robot. It uses PID control to control its pitch angle and gets the feedback from gyroscope and accelerometer. But I have not used any sensor to feedback the ...
Taha's user avatar
  • 87
1 vote
2 answers
224 views

Motor Controller Design Considerations

I'm working on developing a speed controller for a motor that is geared to rotate a mass. Currently, the motor in question has a step voltage applied to it and moves the mass at a relatively slow ...
Cauldron's user avatar
1 vote
0 answers
36 views

How to design the control loop to synchronize two rotational objects?

There is a rotating object (object A) that rotates at about 50 rpm. Its rotational speed may change slowly. I need to control another object B via a variable frequency motor, so that the objects' ...
Jackoo's user avatar
  • 11
1 vote
1 answer
76 views

What is the original source of the common Ziegler-Nichols PID tuning coefficients?

In many places, including but not limited to the Wikipedia page about PID controllers, I see the following PID coefficients: $K_P = 0.6K_U$, $K_I = 1.2 K_U / T_U$, and $K_D = 0.075 K_UT_U$. When were ...
retiredgoblin's user avatar
1 vote
0 answers
115 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}} $$ ...
Wirral's user avatar
  • 11
1 vote
0 answers
67 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 ...
Zelreedy's user avatar
1 vote
0 answers
639 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 ...
Anonymous Person's 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 ...
Alex Baum's user avatar
1 vote
1 answer
1k 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 ...
8TrackRobot's user avatar
1 vote
0 answers
50 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 ...
rose's user avatar
  • 11
1 vote
0 answers
309 views

Designing a PID Controller for Satellite Control

As an Aerospace Engineering Student, I have been trying to make a project of a PID Controller to control the attitude response of a satellite using the parameters from a project called Kufasat. The ...
user3081005's user avatar
1 vote
0 answers
348 views

Is there a maximum phase margin a PID controller can give?

I'm having trouble understanding the plot attached. The bode plot here shows the bode plot of a plant to be controlled with PID. So, if I want a phase margin of 30 degrees at the bandwidth frequency, ...
aldo's user avatar
  • 21
1 vote
0 answers
74 views

PID control for UAV [closed]

I'm working on a deltawing model airplane where I want to implement a PID controller to stabilize the pitch, roll and yaw (which are only controlled by two elevons). However, I don't know too much ...
nd97's user avatar
  • 11
1 vote
0 answers
233 views

How many controllers of output or state are available? [closed]

Im in daily basis see a lot of controller. Sliding mode PID. Fuzzy, adapttive. Controller based on lyapunov etc. But how many are they that are actually in use in industry and when do we use them? ...
Payam30's user avatar
  • 213
1 vote
0 answers
1k views

FOC algorithm for BLDC motor and rotor position estimation via IMU

I would like to implement the Field Oriented Control (FOC) algorithm on my STM32 board for controlling a 3 phases sensorless BLDC motor. By googling I found a very interesting Application Note from ...
starScream's user avatar
1 vote
0 answers
309 views

Theory of steady state error and dynamics of error for automatic control systems

I'm currently studying control systems specifically the mass-spring-damper system. Which is described by: $$\ddot{y}=(b/m)\dot{y}+(k/m){y}=(b/m)\dot{u}+(k/m){u}$$ Where $b:$ coeffiecient of ...
Yudop's user avatar
  • 11
0 votes
4 answers
370 views

What is the physical intuition behind an "integrator" in control theory

I am watching some videos on control theory by John Rossiter, and they are very good. So far I have watched most of the videos on classical control, including transfer function, feedback, etc. One ...
krishnab's user avatar
  • 105
0 votes
2 answers
118 views

What exactly do I do with the output of a PID controller?

Let's say my setup is something simple: I'm trying to heat some liquid to a temperature $T$. I can influence the temperature of the liquid by applying some potential difference $V$ across the liquid. ...
Kiwi breeder's user avatar
0 votes
2 answers
74 views

Discretization of a PID controller

I've been given a plant transfer function to control trough a PID. The transfer function is: $G_{\small{p}}(s) = \frac{1}{(1+s)(1+2s)}$ Doing a little work with matlab I got this PID controller ...
weirdgyn's user avatar
  • 101
0 votes
2 answers
357 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 ...
Sam B's user avatar
  • 334
0 votes
3 answers
41 views

Understanding Block Diagrams in Control Setups

Working on some automation for a Boeing 747 autopilot, I am trying to wrap my head around what sections of block diagrams like this one mean: I understand that something is being done to the yaw rate ...
Christopher Helton's user avatar
0 votes
2 answers
45 views

PC based real time control system

I am newbie, and I want to update an existing control system, which works with a 486 PC with AD/DA card currently. Is it a good idea to find a solution with a windows 10 PC, and a USB AD/DA card? The ...
Kristóf Németh's user avatar
0 votes
2 answers
87 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, ...
Dave's user avatar
  • 101
0 votes
2 answers
103 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 ...
LHX's user avatar
  • 57
0 votes
1 answer
76 views

Basic question about PID controller

I am a novice in control systems and just learned about PID controller. So after watching tons of youtube videos I realized that the input of my plant is actually defined by the error. For the case ...
Jack's user avatar
  • 101
0 votes
1 answer
33 views

Multiplicative Vs Additive (PID) Feedback Loops

I normally think of PID feedback loops as being additive. This might not be quite standard, but, e.g. for a simple discrete-time proportional gain loop, $$ C_{t+1}=C_{t}+G(S-M_t) \tag 1 $$ Where $C_{t}...
aquirdturtle's user avatar
0 votes
1 answer
30 views

What is the relationship between classical control: transfer functions/frequency domain and the swing-up problem of an inverted pendulum

I am still pretty new to control theory, but I have been studying both classical and modern state space/optimal control ideas. I am having trouble understanding what the frequency domain/transfer ...
krishnab's user avatar
  • 105
0 votes
2 answers
93 views

Why are the phase indicators different between the open loop bode plot and the closed loop bode plot?

I have an open-loop transfer function G num=105*conv([1 1],[1 2 43.25]); den=conv([2 0 0],conv([1 2 82],[1 2 101])); G=tf(num,den); and a closed-loop function of G/(1+G). Here are the open-loop bode ...
zymaster's user avatar
0 votes
2 answers
150 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 ...
Jakub Szlaur's user avatar
0 votes
2 answers
3k views

How to find Performance assessment (IAE and ISE) of a PID Controlled system?

The Integral Absolute value Error (IAE) and the Integral Squared Error (ISE) is to be analysed. A PID Controller is given as follows: \begin{gather} C(s)=K_p+K_i\frac{1}{s}+K_ds \end{gather} where $...
Lifestohack's user avatar
0 votes
1 answer
822 views

What type of control system is this? open loop?

Suppose I have a liquid in a container, the type of liquid is such that it expands when its temperature rises. The contrainer is marked with scale to measure the height of liquid expanded. There is a ...
Taha's user avatar
  • 87