Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
30 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
44 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
29 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
38 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
27 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
82 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
81 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
34 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
44 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
75 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
30 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
51 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
626 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
26 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
68 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
50 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
17 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
46 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
62 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
0answers
22 views

VCSEL temperature control with TEC: ADC average vs moving average filter

I have to control the temperature of a VCSEL with an on-DIE TEC and a PID-controller inside a FPGA. The ADC used to sample the voltage across a on-DIE NTC offers a samplerate of 1MSPS and the signal ...
0
votes
0answers
36 views

PI controller implementation in software

I have encountered software implementation of the PI controller where the controller processes absolute value of the error i.e. \$ |ref - act| \$. I have attempted to find some information regarding ...
0
votes
1answer
44 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
49 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
36 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, ...
0
votes
0answers
24 views

Converting the output of a Proportional Control System to a meaningful drive of a Peltier

Trying to create a PID controller for temperature control using a Peltier element, I decided to take it step by step and create first the Proportional and then the Integral and the Derivative ...
2
votes
2answers
176 views

PID Run Away Motor Control

I have a PID controlling a DC motor. I am attempting to control the speed of the motor very precisely. My controller allows me to change the direction of the motor and give it a pwm for speed. ...
1
vote
0answers
45 views

What is the meaning of the first gain in the block diagram?

I have do design a circuit based on the block diagram below. I know how to design the PID part but I don't understand what the K=2 is. For the PID I have made the following:
0
votes
1answer
56 views

PID Controller Subsituition

I just have a quick question. In my lecture notes, he defined the PID controller as And then he said that this is equal to the following How did he do that? What is k, z1 and z2 equal?
0
votes
3answers
107 views

Logic behind a PID controller?

I'm having trouble understanding the logic behind a PID controller used for temperature control. If I were to implement it with a SSR and an Arduino, for example, my aim is to have the PID value be ...
0
votes
1answer
44 views

Question on PID for speed control of DC motor in treadmill application

In treadmill applications with DC motor, you can't go from 0.5 mph to 1 mph instantly. The speed should be gradually increasing. If I want to design a PID for speed control, my setpoint should be a ...
0
votes
0answers
27 views

PID tuning for 2nd order system with zero pole

I have the following 2nd order system: I would like to add PID controller and to tune it. I read about Ziegler-Nichols tuning however I get weird results due to the zero pole since the result is ...
1
vote
0answers
104 views

Implementing PID in PWM feedback to lower the settling time

I have created the following simple PWM feedback: The step response is: I have tried to add PID controller and I ran the following code to test it: ...
0
votes
1answer
82 views

How does integral term in PID lead to reduced stability margin?

Please can someone explain the following statement related to integral term. I read this in a reputed journal paper "From PID to Active Disturbance Rejection Control" by Jingqing Han: The integral ...
0
votes
0answers
23 views

Question on PID Design for DC motor, microcontroller-based

Is there a way that by using a microcontroller I record speed and current of a DC motor, then find its parameters and transfer function to further design and tune a PID controller? Kind of what MATLAB ...
0
votes
2answers
54 views

DC motor parameter identification using microcontroller

I've built a DC motor controller which measures the speed and current (not really sure yet about current values) of a permanent magnet DC motor. I plan to connect different PM DC motors. Is there a ...
1
vote
0answers
43 views

PID neural network temperature inertia

I am using a PID Neural Network (PIDNN) algorithm to control a multi-zoned temperature hardware. The aim of the algorithm is to minimize the error with the Backpropagation rule and weights updating. ...
0
votes
2answers
140 views

Motor speed control with Integral only loop

If you have a motor with a constant load and and travelling at a set speed, could you control the speed using only itegral action, as in theory the output would stabalise when the error is equal to ...
3
votes
2answers
256 views

Integral only control (as opposed to PI or PID)

I am familiar with PI and PID control but I've recently been reviewing code that seems to use I (Integral) only control. What are the benefits of I control over PI control, and when should it be used /...
0
votes
1answer
35 views

Interface PID temperature control module using Arduino

I need to interface a modular type temperature controller using Arduino. This is the datasheet of temperature controller The datasheet mentioned like this, My questions are, How can I interface( ...
1
vote
0answers
206 views

PI Controller Design (Ziegler-Nichols) and Unit Step Response Graphing for 4th order system

I have a system that requires a PI controller designed using the Ziegler-Nichols Methods. I would also like to plot the unit step response in Matlab, but I am getting extremely weird results. This is ...
0
votes
2answers
51 views

Alternatives to Large Transformer or PSU for Driving DC Heater

I have a 3D printer heated bed, instead of 3d printing I want to use it for reflow soldering. The bed is intended to operate at 70c, using 12v or 24v. It can be wired in series or parallel depending ...
0
votes
1answer
139 views

Arduino PID and AC controlling

I'm trying to make my own PID temperature controller using Arduino. Arduino PID library outputs a PWM signal. I need to control 230VAC using this PWM like a triac phase angle controlling. If I use a ...
0
votes
0answers
71 views

Simulink Matlab : model

I am a beginner in MatLab Simulink and would like to create electrical model with Simulink model with PID controller, but I couldn't find some model in my figure for "springs" and "hard limits". ...
0
votes
1answer
91 views

PWM duty cycle RPM regulation via sensing DC motor current

I have a DC motor that needs to be RPM regulated, that is, it needs to turn at constant RPM regardless of the load. I've read this can be done by monitoring current thru the motor windings and ...
0
votes
0answers
64 views

bandwidth and phase-locked loop

I've been told that phase-locked loop (PLL) increases the bandwidth and therefore makes the time constant smaller. (\$ \tau = 2Q/\omega_0 \$ and I understand \$Q \propto 1/ \delta\omega_0 \$) I ...
0
votes
0answers
48 views

Issues to create a current control transfer function for a DCDC Converter

I'm trying to reproduce a work I've seen in an article, but I'm encountering some issues. I used the data provided and the transfer functions placed by the author, but I did not get the same result, ...
0
votes
1answer
127 views

How to model MPPT technique with PID controller

I need to model a MPPT algorithm with a PID controller at Simulink. The model will feed the gates of two mosfets of a push-pull converter. I have to extract max power from PV and have a fixed voltage(...
0
votes
1answer
62 views

PID Tuning Question

I'm sorry, I know there is heaps of information online about tuning PIDs. But I really love EE.SE and was after potentially some more "specific" advice. I have a super-basic heating control system. ...
0
votes
1answer
109 views

Discretizing a PID controller

I am discretizing the PID equation so we have this equation Now if we separate the integral term we get Applying backward euler method Now as we already have a differentiation , by applying ...
0
votes
0answers
110 views

correct PID pseudocode

I was looking for simple pseudocodes for a PID controller and found this code. If I am not wrong this Ki_Prior is wrong and should be e_integrated otherwise we ...