Skip to main content

Questions tagged [pid-control]

The tag has no usage guidance.

54 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
1 answer
427 views

PI-Controler: Comparison of characteristic equations

I have to design a PI-controller with zero order hold for the plant $G_s(s) = \frac{0.24}{(s+4)(s+12)}$ to meet the specifications of $\omega_n=5\,s^{-1}$ and $\zeta = 0.6$. I choose a $T=0.12\,s$ ...
Lageos's user avatar
  • 161
4 votes
1 answer
298 views

what's wrong with this robust control scheme?

I'm learning how to control a double integrator with $H_\infty$. my model is simply $$\begin{gather} \dot{r} = v \\ \dot{v} = F/m \\ r(t_0) = 0\text{ m}, $v(t_0) = 0\text{ m/s}, m = 1000\text{ kg} \...
venom's user avatar
  • 183
3 votes
0 answers
262 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 ...
dtn's user avatar
  • 226
2 votes
0 answers
61 views

Inverted pendulum PID: controller causes cart to move at constant velocity?

I am trying to understand the PID controller of an inverted pendulum on cart system through this MATLAB article: https://ctms.engin.umich.edu/CTMS/index.php?example=InvertedPendulum&section=...
Rena W's user avatar
  • 21
2 votes
0 answers
39 views

Is this function common in PID controllers?

I'm reading some old microcontroller code for a PID algorithm. There's a strange function (to me) that seems to work like this: $output = \frac{1}{n}input + \frac{n-1}{n}previous\_output$ The value $...
John B's user avatar
  • 121
2 votes
0 answers
45 views

How to control an underactuated platform with a single servo

What's the best way to control the following type of platform so that it remains balanced and upright? It's a box supported by a single leg that can pivot at the foot (F) and at the hip (H). The foot ...
Cerin's user avatar
  • 121
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
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
663 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
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
328 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
353 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
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
329 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
1 answer
27 views

Unknown abbreviation

I am looking at P&IDs from a nuclear plant built in 1978. I have run across the letter "Y" in instrument descriptions i.e.PCT-, LCY-, FCY-, LY-, etc. What do they represent?
William Taylor's user avatar
0 votes
0 answers
25 views

Help with PID controller on dual-axis "solar" tracker

I'm working on a dual-axis "solar" tracker for my university. My issue is primarily with tuning the PID that controls output to the two servos. When incrementing the proportional gain, my ...
Austin Seward's user avatar
0 votes
0 answers
25 views

Designing transfer function compensator to create a stable response

I am working on create a control system to control a satellite to be fixed with respect to a distant start (theoretically). The transfer function of the dynamic model of the system is shown below in ...
Oliver's user avatar
  • 1
0 votes
0 answers
24 views

CubeSat: When designing the PID Controller of the CubeSat, what are some constraints that you need to take into account?

For a 1U CubeSat project in which we need to design the controller for it. We decided to not include any propulsion system to keep it light, we'll just essentially drop the satellite on LEO and let it ...
tadm123's user avatar
  • 103
0 votes
0 answers
32 views

Control with variable delay plus inverse relationship

As we all (should) know, PID controllers are pretty bad when the system they control isn't linear. In my case, I have a water heater and a pump. I want to control the pump so that the output is at a ...
Matthias Urlichs's user avatar
0 votes
1 answer
71 views

I need to design a controller for a system, need to choose between P, PI, PD, and PID, given only the desired ss, settling, and overshoot %

(Apologies for terrible formatting, first post and don't know how to make equations look nice) The system is $$G(s)=\frac{10}{4s^2+7s+23}$$ and the requirements are steady state error of zero, $10ms$ ...
Logan Harris's user avatar
0 votes
1 answer
53 views

Iterative Method through FEM

Due to reasons, I can not fully describe the process explicitly so I will be using substitutes to represent the variables. Nomenclature: x - an independent variable y - another independent variable Fz ...
lone_coder's user avatar
0 votes
0 answers
67 views

How to implement H-infinity controller in STM32 platform?

I used matlab to simulate some H infinity controllers, and I have some understanding of the related theory. But I don't know how to implement H-infinite controller on STM32 platform using C/C++ code. ...
zymaster's user avatar
0 votes
0 answers
71 views

Designing a PID controller for a Type 1 System

I don't know if this is the right place to ask this so I'll give it a try. Given the following system, for example $$ P(s) = \frac{40}{s(s+4)}, $$ I have to design a PID controller that must satisfy ...
aghin's user avatar
  • 1
0 votes
0 answers
79 views

How to calculate the integral and derivative term and integral and derivative time in a PID controller?

I am designing a PID controller. While calculating integral controller, should you calculate mean of all the past errors or only calculate mean of past n samples? In the case of latter, how to pick n?...
Harsh M's user avatar
  • 101
0 votes
0 answers
37 views

steering wheel angle control

I am working on an autonomous vehicle's control, specifically the steering wheel angle control. Knowing that I used kinematic bicycle model, my questions are: How do I choose the actuator for my ...
Asmaa GZ's user avatar
0 votes
0 answers
27 views

Discharge through a gate - Feedback needed

I need to make a PI feedback loop for a hydro power plant. The discharge through one gate is given by Q in equation 4.2. I need to keep (regulate) H = 116 m.a.s.l (meters above sea level) where H = Hg ...
Grétar Már's user avatar
0 votes
1 answer
68 views

Orientation and horizontal position control of a bar in 2D

I have a scenario where I have a bar of 0.1 m in length, 10N weight is applied in the center. Two forces are applied on the bar at both ends vertically, right one if 5.1 N and the left one is at ...
Jack L's user avatar
  • 1
0 votes
1 answer
138 views

How do you find the gains for a PI controller with a first order plant and 2nd order low pass filter?

How can analytically work out the gains knowing the required bandwidth and damping? The plant to be controlled is first order. The low pass filter is 2nd order in the feedback path.
Ben's user avatar
  • 11
0 votes
0 answers
79 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 ...
Zelreedy's user avatar
0 votes
0 answers
33 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 ...
phikter's user avatar
0 votes
0 answers
87 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 ...
ConfusedEngineer's user avatar
0 votes
0 answers
40 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 ...
DD5000's user avatar
  • 1
0 votes
0 answers
46 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 ...
Rodrigo de Oliveira's user avatar
0 votes
0 answers
214 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 ...
Wirral's user avatar
  • 11
0 votes
0 answers
47 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 ...
dtn's user avatar
  • 226
0 votes
0 answers
90 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 ...
Asdasd34's user avatar
0 votes
0 answers
70 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 ...
LHX's user avatar
  • 57
0 votes
0 answers
54 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?
RhinoPak's user avatar
0 votes
0 answers
47 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 ...
Michael's user avatar
0 votes
0 answers
33 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 +/- ...
Samuel Pappalardo's user avatar
0 votes
0 answers
69 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+...
Sken Liu's user avatar
0 votes
1 answer
161 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 ...
droiddoes9's user avatar
0 votes
0 answers
44 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" , ...
Sahil Syazwan's user avatar
0 votes
0 answers
46 views

Design op-amp circuit from transfer function

What is the best way to design a circuit based on the following transfer function: $$T(s)=\frac{9216}{(s^2 + 48s + 9216)}$$
user23600's user avatar
0 votes
0 answers
114 views

How do I get the closed-loop transfer function of the system, fitted with a PID controller, if the input valve has a transfer function?

How do I get the closed-loop transfer function of the system, fitted with a PID controller, if the input valve has a transfer function given by: $ \frac{Q(s)}{P(s)} = \frac{Kv}{(Tv*S+I)} $ Where Kv ...
MelanieW403's user avatar
0 votes
0 answers
24 views

How does a digital controller's sampling period dictate the system's actuation requirements?

When selecting an actuator for a controls application - e.g. choosing a servo motor for a self-balancing robot - I understand that it's important for the actuators to have fast enough dynamics that ...
jd9610's user avatar
  • 21
0 votes
0 answers
268 views

Derive a Transfer Function from first principles (PID, system identification, statics)

I want to derive a transfer function of my system so I can plug it into MATLAB and use the PID tuner tool. My system is a balancing beam with a motor on each end of the beam. My first principles ...
el16a2t's user avatar
0 votes
1 answer
216 views

How to tune PID for a step response

I am very much confused finding the time constant and DC gain for the below step response. The idea is to find PI gains for speed control and I am following this tutorial online Tutorial Link Motor ...
BhanuKiran's user avatar