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
1
vote
0answers
36 views

Auto-tuning PI controller with maximum sensitivity

I am trying to design an auto-tuning controller in matlab with the help of the paper from astrom and hagglund: Design of PI Controllers based on Non-Convex Optimization* (1998). They use the maximum ...
0
votes
1answer
53 views

Why fast inner current loop and slow outer loop of DC-DC converter

Let say we have a DC-DC converter operates with double loop control (inner and outer) , and with switching frequency of Fs= 20000 Hz. Please ,if you could answer the two following questions: 1- ...
1
vote
1answer
82 views

PID (Arduino) Project - Determining Ki, Kp, Kd

I am working on control system project. I bought a Zumo 32U4. It has built in encoders. The project is divided into three parts: a) Move in a straight line. b) Slows down as obstacle approaches. c) ...
0
votes
2answers
82 views

Why SSRs for heaters?

In the context of building PID controllers for very large heater systems (ovens, kilns, etc.) nearly all the designs I encounter use an SSR to switch the load, a choice I don't understand. The power ...
0
votes
1answer
31 views

How to model a Electronic Proportional Control Valve

I am using a VSO LowPro Proportional control Valve (https://www.parker.com/Literature/Precision%20Fluidics/Miniature%20Proportional%20Valves/VSO%20LowPro.pdf) to regulate pressure into a closed ...
0
votes
1answer
49 views

System Identification in a closed-loop feedback system [closed]

I have an unstable system that doesn't have a useable output when open-loop excitation is applied. Subsequently I've used a controller to control its output. I want to use the system identification ...
0
votes
1answer
76 views

Heating rods control using PWM

I'm not an electrical expert and lately, I ran into a problem using PWM for steady control of a heating rod. Let's assume there is a set value (Temp in C) for the heating rod. I'm currently using a ...
1
vote
3answers
44 views

Obtaining Plant Input data from System Identification (PID)

I'm trying to obtain a mathematical model from a physical plant using MATLAB. Using the system identification tool you need the plant input and output data. I'm struggling to match the theory to my ...
3
votes
0answers
100 views

Find transfer function and step function for this circuit

Can someone help me to find the transfer function of this circuit (i want to have the tension through the capacitor I think) and the step response in order to get the voltage in the function of the ...
1
vote
1answer
126 views

When to use analog PID

So I am building a rather simple constant current load to test power supplies. I am using an INA138 for high-side current measurement with only 5V power (and I have reasons for that, unfortunately) ...
3
votes
3answers
65 views

How to make sense of speed vs Torque curves in speed control mode

I am operating my motor in closed loop speed control mode using motor controller. Toque vs speed curves gives us a relation between them which is one-one correspondence. But in a closed loop speed ...
2
votes
0answers
32 views

Ripple in output voltage

I am working on an Active Clamp Forward converter. Schematic is given here: Specs: Output voltage-5V Input voltage 26..42V frequency=500KHz Output power=10W It is working fine in open loop, but in ...
3
votes
1answer
50 views

PID: how to deal with delay between controller and a process?

In designing a digital pll, I'm facing a problema with a communication delay between the loop filter output and the frequency synthesizer (via SPI). If I dont consider the communication delay the ...
0
votes
1answer
67 views

How to implement low pass filter in the differential part of PID in time domain

I programmed PID in MATLAB: ...
1
vote
0answers
30 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: ...
0
votes
0answers
30 views

How to stabilize the magnetic levitation system? [duplicate]

I have asked similar question before also but want to try again - Not able to levitate magnet for magnetic levitation project I followed everything from this project but still, the magnet is not ...
0
votes
1answer
113 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
0answers
40 views

Design PI a controller for a “kind of” non-linear system

I have to design a controller for a plant ("Base"). My problem is related to the input term B*T0: in this case I have one output and two input. I think that I can split the "Base" model in two parts "...
7
votes
0answers
87 views

A peculiar issue in an atomic force microscope [closed]

I'm not sure where else to turn for this issue. Hopefully you all can offer some insight. Sorry the title is so vague, I don't know how to explain this concisely. I am a teaching assistant for an ...
1
vote
2answers
177 views

What is the difference between these two op-amp circuits?

I don't understand why when we design a proportional amplifier, the feedback has to be negative. When I run the simulation in simulink I get the same result for both circuits.
2
votes
2answers
118 views

Proportional Control Balance Beam

Bit of an unorthodox question I'm sure, but I'm making a balance beam (two rotors on either end of a see saw) with proportional control, and I can't seem to get it to balance at 0. The proportional ...
0
votes
0answers
18 views

LiIon battery discharging

I have a question regarding LiIon battery discharging. Lets say I have a battery which is connected to a dc bus via a battery charger which has a bypass contactor in parallel. The charger is ...
2
votes
1answer
60 views

How do I calculate this inverse Laplace Transform

I have this transfer function and input, and I have to manually calculate what the systems response will be. The transfer function is: and the input is: I multiplied the two functions and used ...
2
votes
1answer
152 views

Does a low-pass filter average the higher-order frequencies into a “DC offset”?

In a Pound-Drever-Hall lock, an electronic signal is produced of the form: We are interested in electronically isolating the term: My question is: how can we filter to get exactly this term (listed ...
0
votes
0answers
20 views

Boost converter load regulation

I am currently building a boost converter with PID control to control the output based on the discharge. The output will be fed into a DC/AC converter which, ideally, will power different loads. As of ...
14
votes
4answers
1k views

Motor fader PID control

I'm trying to control a motorized fader (linear slide potentiometer) using an Arduino. PID control gives good results for "jumping" to a specific target position, but tracking ramps is a problem, it's ...
0
votes
0answers
31 views

Steady State Error to Ramp Input Using Derivative of Complementary Sensitivity

I know that to find the steady state error to a ramp input, we can use the final value theorem. However, I was reading up on the Internal Model Control and the article uses a different form of steady ...
2
votes
1answer
72 views

Trying to wire in LED to show cooker element is on/off

Hi I'm a mechanical engineer so please bear with me. I'm trying to wire in an LED to show whether a cooker element is on or off. Looking at the diagrams below, the easiest way to do this would be to ...
0
votes
0answers
70 views

Guidelines and design considerations for designing a controller for a grid tie inverter?

I'm working on designing a controller for a grid tied inverter. I'm not able to find a suitable reference or book that might help in this case. What I have understood now is: There must 2 loops (...
0
votes
0answers
62 views

PI or PID vs Manual Controller design using Control theory

Why should we design a controller manually using Bode plots and control theory instead of using PI or PID controllers and tune them? Or more specifically when should I design a controller and when ...
0
votes
1answer
34 views

Derivative and Integral Controllers' Form

A derivative controller \$C_{d} = s-z_{d}\$ adds a zero to a system, placed at \$s=z_{d}\$. I know that a derivative controller is not used alone but for the same of the argument let's say it is. In ...
0
votes
1answer
69 views

PI controller - DC voltage regulation

I a voltage source converter, in order to control the DC-Bus voltage a PI controller can be used. The control method is illustrated in the figure below: I would like to ask why the input of the PI ...
0
votes
1answer
37 views

PID motor controller using simulink semantic errors when changing reference values

My aim is to design a pid - motor controller in simulink, and i also have to use h-bridges and PWM generator. The motor is a single phase dc-motor. And the aim is to control the speed. The reference ...
1
vote
3answers
232 views

Not sure how to go from PID error to PWM duty

I am trying to learn the basics of PID. I have made a contraption to try to implement a PID controller. I am not using carbon fiber, but rather a chopstick. So I am controlling the speed of the ...
1
vote
1answer
214 views

PID - Integrator Anti Windup limit values

I'm implementing a PID controller in software. Using P+D only doesn't bring me close enough to my set-point so I decided to also use an Integrator with Anti-Windup. Question: In my Anti-Windup code - ...
0
votes
0answers
66 views

How do I calculate a PID controller gain for a certain damping coefficient?

I have a third order process and I have to design a PID controller by cancelling out the two most dominant poles of the process. The process transfer function is: The controller is of the form, where ...
0
votes
1answer
56 views

PID Control - Actuator non-linearity

I'm writing code for a PID controller. The system is a "see-saw" with a motor attached to a propeller on one end and nothing on the other - you can call it a 1DOF helicopter. I use an angle sensor ...
0
votes
2answers
139 views

PID vs Bang-Bang - which one is more stressing on components?

This question is regarding a 3D printer, specifically its heat bed. The head bed is a PCB heater with a resistance of 0.9 Ohms, so it's drawing around 13 Amps when supplied with 12 Volts. I recently ...
0
votes
0answers
35 views

What is the meaning of the sensivity, of the open loop transfer function, being -1 regarding the non zero pole?

I have to calculate the sensivity of this transfer function regarding the pole s=-10. I used the formula below, and I got the value of -1 but I do not understand its meaning. I replaced (s+10) with p ...
0
votes
1answer
167 views

FreeRTOS PID Controller (stm32duino) [closed]

I'm currently working with embedded system implemented on SMT32F103C8T6 Blue Pill microcontroller based on FreeRTOS. I want to control the velocity and position of DC motor using PID controller. For ...
2
votes
3answers
694 views

Where to put the PID windup guard?

Should I put a windup guard on each term of the PID, or just the I, or maybe the whole output?
0
votes
2answers
90 views

Normalization of Pid Output

New to using PIDs. When normalizing a range, we would need to know the maximum and minimum of that range. Since a PID is summing the error in the I portion wouldn't the range be potentially infinite? ...
0
votes
2answers
222 views

Input output functions inside a PID Interrupt handler

According to my understanding, the best way to implement a PID handler is inside an Interrupt Service Routine which is usually a timer ISR with configurable frequency rate. Here we calculate the ...
0
votes
0answers
67 views

Designing of a PID Controller

First of all, I am new to this Q/A site. If I am doing anything wrong, please forgive me. I am having some trouble solving this problem: Given the system of Figure(1), design a PID controller so that ...
0
votes
0answers
22 views

Principle and generalization of proportional-resonance controller

simulate this circuit – Schematic created using CircuitLab We can introduce the model of \$u(s)\$ into the controller \$K(s)\$ to realize high accuracy control. \$u(t) = 1\$, i.e. \$u(s) = 1/...
0
votes
1answer
50 views

Finding PID parameters .. How?

As in the picture , how can I determine ki , kp , kd I tried (using provided data) by finding ζ and ωn But I end up with third order transfer function could not subsitute my results to find PID ...
1
vote
1answer
89 views

Sample time of PI controller

I have designed a closed loop current control (PI controller) of a DC-DC converter in continuous time domain and it is working fine. The next task is discreetization of the controller and implement it ...
0
votes
1answer
51 views

Accumulate output from PID controller

I have come across a handful of examples of PID controllers where the process input is the accumulated PID output, i.e. the controller loop is u += pid(...) rather ...
1
vote
2answers
85 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
40 views

Designing an Embedded PI Controller for Speed Control

I will appreciate your guidance in this. I have some previous posts on this, but now I'm showing the code. I'm designing an embedded PI controller using a STM32 Nucleo board. In the PWM configuration, ...