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
0 answers
57 views

PID- too fast, too slow - symptoms?

This is a follow-up to a previous question of mine. Note that this is for a digital PID loop whose input comes from an ADC and whose output goes to a DAC. The system is in equilibrium when the ADC ...
  • 12.6k
0 votes
0 answers
40 views

How to speed up precharging of the DC link capacitor of the three-phase inverter?

Let's say I have a three-phase inverter with a DC link capacitor of substantial capacity. I would like to charge the DC link capacitor to a DC voltage. One possibility is to use a resistor which is ...
  • 885
1 vote
1 answer
30 views

PID implementation for MIMO system with strong crosstalk

The setup: Rectangular platform with two sensors providing pitch and roll angles. Four articulated legs at the corners with actuators controlled by the software. Actuator position feedback is also ...
  • 10.9k
0 votes
0 answers
41 views

I'm trying to vary the power sent to a heating element based on the heat in an enclosure

I'm building an enclosure for my 3d printer and I was considering using just a ceramic air heater and a fan to control the temperature in the enclosure. I have some misgivings about this however. For ...
2 votes
1 answer
95 views

PI controller ringing once deadband hit

I am controlling a power supply with a home-brewed PCB. The power supply has some weird drift, so I implemented a PI controller in software to reel it in, but the output voltage rings once the dead ...
0 votes
1 answer
57 views

Can a servo be made to oscillate within n degrees of its angle position

If I want to be able to give a servo a certain angle and also have it oscillate +/- n degrees of that angle (maybe even at some frequency f), how would I be able to do it with code? This is for a ...
  • 111
0 votes
1 answer
35 views

How to integrate action variables of logic type into the split range control structure?

I have following control task. I have to limit a current drawn from a source of power in a grid where I have following power consumptions: battery charger variable frequency drive aux power ...
  • 885
0 votes
1 answer
41 views

How to control position and speed of a motor in Simulink?

I am trying to make a system that can launch a ball kind of like how a catapult would do. I'm going to be using an Arduino and an H-bridge with PWM but I'm not sure how I can control both speed and ...
2 votes
2 answers
112 views

Heater controller circuit using MOSFET for PID control

I want to implement some PID control for a 48 W heater cartridge. I have a microcontroller which can only putout a PWM output at 3.3 V and 8.1 mA. I current am trying to use a IRLZ44N MOSFET. Is the ...
3 votes
2 answers
94 views

PID tuning without a plant model on a slow system

I work at a food processing plant that requires that we hold a liquid product at a certain temperature while it is travelling through piping. A Rockwell PIDE controller controls this process, which is ...
1 vote
0 answers
279 views

PID controller implementation in Python

I'm trying to implement a PID controller for a magnetic field using Python. The magnetic field needs to be around 800µT. It is generated by two coils powered by a current source (BKprecision XLN3640.)...
  • 149
1 vote
1 answer
75 views

BLDC motor for position control for brushed DC motors

I have done s SE survey of BLDC motors and figured out they are essentially stepper motors but aimed for continuous torque. Moreover they differ from brushed DC motors significantly in terms of ...
  • 416
0 votes
3 answers
71 views

Transfer function DC motor

I'm trying modeling a PID controller for a motor. This PID will limit the motor's inrush current. However, I don't know how to model my DC motor. For me, the equation of the system is: K/((Js+b)(Ls+R)+...
  • 35
0 votes
1 answer
54 views

What does it mean to have a settling time at 5% of final value?

I need to make my control system to have a tolerance of 5% in less than 0.5 seconds (settling time ts = 0.5s at 5%). My question is: does 5% mean the error band can be between these values in red (...
0 votes
0 answers
146 views

Step response of critically damped PID controlled system

I thought that by definition: critically damped 2nd order system (ζ=1) does not have overshoot. Is the above assumption wrong? It might be on the verge of oscillation, but, it shouldn't oscillate. ...
0 votes
1 answer
154 views

PID control with anti-windup time specifications

I have scoured the internet for a quite some time now and could not seem to find the answer to this. Is there a formula that approximates, with these specific gains (Kp, Ki, Kd, Kt), the rise time, ...
11 votes
5 answers
3k views

What are the effects of removing P, I, and D from a PID controller respectively?

A proportional, integral, and derivative (PID) controller can feature three terms.) We sometimes see only two of the terms in use. For example, the derivative is disregarded for a PI controller. While ...
-1 votes
1 answer
57 views

The output of PI controller using opamp is not working [closed]

I am designing a closed loop system for dc-dc converter for that I am using error amplifier and pi controller. For error amplifier and PI controller I am using OP177A opamp. The error amplifier ...
1 vote
1 answer
90 views

Finding the Kp and Ki expressions for PI controlled DC machine and what exactly does the bandwidth (wc) mean?

I found this method of tuning the PI control for a DC machine. It mentions that we can use the PI zero for pole cancellation of the plant. I cannot derive the expression shown for Kp and Ki in the ...
  • 57
0 votes
2 answers
107 views

Can a PI controller be designed by pole placement in the z-plane without transforming the system equations to the state space?

I've some time trying to design a PI controller by pole placement for a BLDC motor, I had basically to study control engineering from zero because I had several years without doing nothing of control ...
  • 128
4 votes
2 answers
208 views

PID regulator for a self balancing robot

I am working on a self-balancing robot, trying to obtain the best values for the angle PID regulator. I have a working program, but I am stuck on the tuning part. The robot can hold position after ...
  • 41
1 vote
1 answer
473 views

PID controller for a heater using a Raspberry Pi, SSR and Python

I would like to PID control the temperature of a water bath using a RaspberryPi4, a solid state relay (SSR) and a heater (200W, 230VAC) using Python. The IVMech library seems a good starting point. As ...
0 votes
1 answer
83 views

Is there a PID algorithm for "single point" targetting?

I've got a simple control problem that I've tried to solve with a simple algorithm so far, but am wondering if there's a more sophisticated algorithm. I have a pump hooked up to an Arduino that is ...
2 votes
1 answer
101 views

Difficulties in modelling magnetic levitation system?

I am currently working on and writing a project (not homework) surrounding magnetic levitation with an electromagnet having to levitate an object underneath itself. I have taken a look at relevant ...
  • 211
0 votes
1 answer
72 views

How do I mathematically model a magnetic levitation system?

I am working on a magnetic levitation system project using PID control, and I am getting confused as to how I am supposed to mathematically model this system for my paper. Where am I supposed to start?...
  • 211
1 vote
0 answers
63 views

Multiple questions about magnetic levitation including modelling and how to achieve it

I have several questions regarding magnetic levitation. If I have missed something in one of these questions then please do let me know. I am working on a magnetic levitation project using an Arduino ...
  • 211
2 votes
1 answer
121 views

Why does testing with multimeter fix my circuit issues?

I am using this heater along with this thermocouple and this amplifier and am just trying to be able to set and hold a consistent temperature. I have the heaters connected to a transistor circuit and ...
3 votes
2 answers
232 views

PID controller question

I came across this PID controller that drives a motor, which I understand well. For my application, I need to drive a load in both direction (two electromagnets in series with poles opposed). The ...
  • 351
0 votes
1 answer
90 views

Practical PID stability?

When watching a PID loop lock onto a final output we can often see a variety of waveforms, the most common of which is a sine wave of decreasing amplitude that gradually becomes a straight line. My ...
  • 12.6k
0 votes
0 answers
50 views

Controller Design for a DC-DC converter

I'm designing a DC-DC converter using average current mode control with voltage mode control as the outer loop. I would like to know if there are any guide line or step by step procedure to design the ...
0 votes
0 answers
58 views

How to control voltage at the output of the LC filter connected to the three phase inverter?

Let's say I have a three phase voltage source inverter with the LC filter connected to its output i.e. I have following circuit Suppose that my primary goal is to control the voltage at the output of ...
  • 885
2 votes
2 answers
265 views

PID controller design (in pspice) and component values

I am currently building a PID controller and now I would like to know: What is the equivalent resistance of R15, R16, R11 in order to be able to set the resistance of the adder (R6, U5) quite ...
  • 333
2 votes
0 answers
97 views

Nema17 - Frequency - Temperature issue

Hi i am trying to use MCPWM to move a nema 17 motor with esp32. I am using a TB6560 stepper motor driver and it setup is limmiting current to 1.5A and i am using 1/8 Microsteps. Motors is classic one ...
  • 139
1 vote
1 answer
74 views

Are the output voltages of each station correct? | Overflow error message when I add feedback

I'm building a PID controller with PSpice For TI2020 and using operational amplifiers. There is a VPWL_FILE that outputs 0V for the first second, then 2V thereafter....
  • 333
1 vote
1 answer
171 views

Brushed DC Motor Closed Loop Speed Control Under Load

I've designed a PI controller to control brushed DC motor speed between 0.6Hz - 6Hz (RPM:36 - 360). When I control the motor speed at 0.6Hz (approximately 4.0V supply and 60% PWM duty), it can rotate ...
  • 21
0 votes
1 answer
83 views

The PID's initial position seems to be ignored everywhere. Why?

On Wikipedia, you will find this definition of the PID (position form) $$u(t)=K_p\:e(t) + K_i\int_{0}^{t} e(\tau)\:d\tau + K_d\:\frac{d}{dt}e(t)$$ In the same article, when you learn about the ...
  • 591
1 vote
2 answers
169 views

Frequency domain design of a PI controller for a first order system with transport delay

Let's say I have following first order system with transport delay $$G(s) = \frac{4563}{s + 64.77}\cdot e^{-0.000455\cdot s}$$ My goal is to design in the frequency domain a PI controller in the form $...
  • 885
1 vote
0 answers
93 views

Tuning controllers in dual-loop control with feed-forward and decoupling signals

What would be the best step-by-step approach to tune PI controllers in a dual-loop control with decoupling and feed-forward signals? I am trying to tune both the voltage and current controller in DSP ...
0 votes
1 answer
68 views

Using voltage dependent capacitor in PID tuning?

Changes in capacitance of some types of MLCC with applied voltage is a well known phenomenon. Changes can be quite considerable eg -50% Has anyone ever tried using this effect to fine tune the I term ...
  • 12.6k
1 vote
1 answer
99 views

Transformation of known analog PI controller settings to a digital PID controller setting

I have used an analog PI controller (New Focus LB1005-S) so far to lock the repetition rate of a mode-locked laser using a piezo as actuator on the laser cavity length. The transfer function of the ...
  • 11
2 votes
0 answers
91 views

Control system with one setpoint, one process variable, and two outputs?

I asked a version of this question before and got some unhelpful answers, I think because 1) the minutiae of my question distracted from the core concept, and 2) I didn't adequately describe the ...
  • 61
0 votes
1 answer
85 views

How to design PI controllers for two cascaded control loops?

Let's say I have following cascaded control loops: inner current control loop with bandwidth \$\omega_{bw_{1}}\$ (PI controller \$R_{i_{s_{d}}}\$) outer flux control loop with bandwidth \$\omega_{bw_{...
  • 885
0 votes
0 answers
53 views

Query on PI Tuning of Three Phase Inverter

I am working on tuning a PI controller for a three-phase three-level PWM inverter as part of our larger project, but I am facing issues with said tuning using the sustained oscillation method. To ...
0 votes
0 answers
197 views

Why does the CAN ID 7DF not work yet 7E0 does?

I am using https://github.com/Ircama/ELM327-emulator in order to simulate the can/elm327 response from a toyota euris hybrid. My understanding is that the header 7DF should be used when requesting ...
  • 1
1 vote
1 answer
129 views

Single-loop (PID) vs Dual-loop (i.e P-PI) servo position controllers difference?

I am wondering why the servo position loops are mostly dual-loop consisting of position and velocity loops while the position can be controller by using only the position PID controller. I am aware ...
0 votes
0 answers
101 views

How to implement a Control System when I have two parameters that control said system?

I've got a system that uses two parameters, let's call them F and P, to control the mass flow rate of a substance flowing into a chamber. I need to control the concentration (grams per cubic meter) of ...
  • 61
1 vote
0 answers
122 views

How to design PI controller for the field weakening control of the three phase induction motor?

In the book called Electric Motor Control in the Chapter 8 I have found following field weakening strategy for the three phase induction motor The aforementioned field weakening strategy is based on ...
  • 885
0 votes
1 answer
88 views

Controlling a kiln with PID and old magnetic contactor

I have retrofitted an old 240V/16A kiln with a controller consisting of an INKBIRD ITC-100VH, a FOTEK SSR-40 and K-type thermocouple in line with VegOilGuy's guide: https://www.vegoilguy.co.uk/...
0 votes
1 answer
106 views

How to control voltage using PID when driving SCR?

I am designing a scr based digital battery charger for the first time and have successfully driven scr to provide 110V-DC from a 140V singe-phase transformer. 2 SCR-diode combination forms full bridge ...
0 votes
0 answers
241 views

Temperature is not increasing after some value (MAX6675) (PID)

I was following this circuit diagram shown above (from https://electronoobs.com/eng_arduino_tut24_sch2.php) to create a 12V heater for heating a hot end using PID. The only thing I'm not using from ...
  • 1

1
2 3 4 5
12