Questions tagged [pid-control]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
4answers
67 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 ...
0
votes
1answer
40 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 ...
1
vote
1answer
52 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 ...
3
votes
3answers
132 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) ...
0
votes
0answers
22 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" , ...
0
votes
0answers
11 views

Why do the anti-resonant filters in servo controllers operate on the velocity output and not position?

I've been looking into implementing a cascade controller for a motor control application that has a position, velocity, and torque control loops. Because the system we are positioning can experience ...
1
vote
0answers
32 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 ...
0
votes
1answer
46 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 ...
1
vote
1answer
57 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 ...
2
votes
2answers
14 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 ...
1
vote
1answer
40 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 ...
-1
votes
1answer
44 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 "...
-1
votes
1answer
65 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'...
2
votes
2answers
73 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. ...
-1
votes
1answer
72 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)...
1
vote
1answer
24 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 ...
1
vote
1answer
65 views

Zeroing a ventilator's volume measurement in the face of drifty sensors

I'm a software engineer working with http://respira.works to build an open-source ventilator for COVID-19. Notably, I'm not a controls person or a hardware person, so please forgive me. Background ...
-1
votes
1answer
42 views

What is Dissipitative Control?

I am reading an article that says: stabilize the multi-vehicle system to one of its local minima via dissipative control And other that deals with dissipative system: (PID) controllers is ...
0
votes
0answers
27 views

What does “Coupling Effect” refer to in MIMO systems?

Here is the block diagram of the system. G11 relates the input R1 to the output Y1, G12 relates the input R1 to the output Y2 similarly for R2. What is the effect of coupling-which is as I know is ...
1
vote
1answer
43 views

Using Integral gain for motor positioning

I'm struggling to see how Integral gain is used for motor positioning. Suppose we have an AC motor (with a 2048PPR encoder on the shaft) connected to a winch which drives an object forwards and ...
0
votes
0answers
25 views

PID controller - negative offset for derivative

I have the microcontroller assembly code for a PID controller and I'm trying to understand how it works. The part that I think is the derivative seems strange to me because it adds a negative offset ...
2
votes
0answers
33 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 $...
0
votes
1answer
39 views

Tuning a cascaded attitude and attitude rate PID controller

Assume that I have an object in 3D, and I want to have a controller that stabilizes its orientation (also referred to as "attitude"). To be sure we are clear: attitude is measured in "degrees" or "...
0
votes
2answers
136 views

Increasing Kd in PID control loop

Why does increasing derivative gain $K_d$ in a PID controller loop lead to a reduction in overshoot and an increase in rise time? This is not a homework question, it is a question to improve my ...
3
votes
1answer
112 views

Does this PID-like algorithm make any sense for a solar inverter?

The application I want to implement the control of a photovoltaic inverter. The goal would be to keep the consumption of a microgrid (the power absorbed from the grid) to a constant value. Notes: I ...
1
vote
3answers
65 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 ...
2
votes
1answer
33 views

Stepper motor speed control problem

For brushless DC motors we have hall sensors to keep track of rotor; however, for stepper motor we don't know the actual position of the rotor and therefore while changing pulses with some speed it ...
-1
votes
1answer
33 views

Any idea about what does this image represent in control systems?

I just need a hint , I know it's out of context but that's how I found it in a Facebook group, I thought someone might have seen this before, I study automation and I know that Kp is the proportional ...
2
votes
1answer
60 views

analysis of PD controller vs static-gain

I have a plant $G(s)$ which gives position and velocity as output $$ G = [G_{ru}(s)\quad G_{vu}(s)]^T $$ where $G_{ru}$ is the integral of $G_{vu}$, and $u$ is the input to the system. Now if I want ...
4
votes
1answer
92 views

Finding coefficients for a PID controller that minimize the integral of the squared error (ISE)

The problem The problem is to find the coefficients for the P, I and D terms of a PID controller used to regulate the object that minimize the the integral of the squared error (ISE): $$Q = \int_0^\...
1
vote
1answer
94 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 <...
-2
votes
1answer
48 views

Limiting PID controller's output making the plant unstable and untunable

I am using the PID block in Simulink and limiting the output to (+/-)5. The plant becomes unstable and untunable after putting these limits. The plant is stable and tuneable otherwise if no limits are ...
0
votes
0answers
32 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)}$$
1
vote
1answer
66 views

What is the mathematical basis for the Ziegler-Nichols method for tuning a PID loop?

The Ziegler-Nichols method of tuning PID control loops has been around since the 1940's, and has been widely applied in many areas of engineering. I understand that it is really only a heuristic ...
-1
votes
1answer
34 views

Transfer function for a quadcopter with linear velocity inputs

I found the control for a quadcopter using the angular velocities or thrust power as the input, but I need a model where I can set the initial and final position (for example, from (0,0,1) to (0,1,1))....
3
votes
1answer
483 views

Controls Project: Help needed finding 3rd order system

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 ...
0
votes
0answers
51 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 ...
0
votes
1answer
56 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 ...
3
votes
2answers
87 views

Controlling temperature using PIDs on two separate controllers

I have a pellet smoker, and I am customizing it for tighter temperature control. Currently, I am controlling how much material is burning to control temperature using a PID loop. I want to achieve ...
1
vote
1answer
51 views

Limiting the integral to a time window in PID controller

Would it make sense to integrate e(t) from t - c to t instead of 0 to t for the integral part of the PID controller? What are the most common deviation from classic PID controller definition?
0
votes
1answer
84 views

Does the plant transfer function of a system change with variations in the reference variable?

I am designing a PID controller for a system that requires several step changes in the reference variable (concentration of solute in a tank) over a set period of time. I can find the plant transfer ...
0
votes
0answers
22 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 ...
0
votes
1answer
128 views

Can i switch negative feedback to positive feedback in PID control?

I am learning Control Theory and i have a confusion about whether the following PID controllers are interchangeable or similar. Are they equivalent? Why? Is there any difference in how i would ...
1
vote
2answers
194 views

Is this a PID cascade control loop?

I'm working on a balancing robot. I'm familiar with the simple PID control loop but i can't understand this PID control loop. Is this actually a cascade control loop? The programming states that the ...
2
votes
1answer
56 views

Interpreting Nyquist plot

When implementing the control for my application I got this Nyquist plot which made me flabbergasted. If I zoom on the point $-1 + 0j$ I get the following image How do I interpret this contour going ...
0
votes
2answers
369 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 $...
0
votes
1answer
54 views

How to input amplitude on a second order transfer function?

I have some samples of readings from an accelerometer (unit: g) and I did a FFT (on MATLAB) on the vector generated from these samples to see its frequency spectrum. Then I have isolated the peaks and ...
1
vote
1answer
396 views

PI controller for second order system

I have a second order system and I need to control it using a PI controller. I need to tune the gains of the controller in order for the system to satisfy the below specifications: $$ OS\% < 10\% \...
1
vote
0answers
108 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 ...
1
vote
1answer
66 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 ...