Stack Exchange Network

Stack Exchange network consists of 175 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.

2
votes
2answers
41 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
15 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
53 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
144 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
13 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
11 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
60 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
46 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
58 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
33 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
44 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
33 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
115 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
137 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
40 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
51 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
97 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
32 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
97 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
641 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
46 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
114 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
57 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
19 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
47 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
65 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
48 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
68 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
39 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
33 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
183 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
47 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
59 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
111 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
49 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 ...
1
vote
0answers
144 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
88 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
2answers
65 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
60 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
172 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
446 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
37 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
321 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
52 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
209 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
1answer
121 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
83 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
1answer
195 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
74 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. ...