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
0 votes
2 answers
41 views

Implementing feedforward control in heated box

I'm making a temperature-controlled box. Issue I'm having is that it overshoots and undershoots a lot because it takes a long time between turning the heater on/off and seeing a difference in ...
Popeye's user avatar
  • 309
0 votes
2 answers
82 views

If you autotune a PID while the controller is live what is the worst that can happen?

I am new to using PID in studio5000. I want to autotune a heater with a CV that stays at 100, never reaching the SP but just under it. I think that might help the controller finally reach the SP. What ...
Cyange's user avatar
  • 1
0 votes
0 answers
14 views

Simulink question about a electrotechnical system (simple autonomous vehicle)

I am rather new to all the simulation work and its complex applications. I have been tasked to work on a rather complex project that is creating autonomous vehicle digital twin and then anayaize how ...
Ah.'s user avatar
  • 1
1 vote
0 answers
46 views

How to tune PID (KP, KI, KD) for an actuator attached to a butterfly valve

I'm currently tuning an actuator that was unstable. The person before me set the values to: KP = 0.04, KI = 0.07 and KD = 0. The system would oscillate between 90% open and 10% open and never reach ...
Javier's user avatar
  • 11
0 votes
0 answers
37 views

Problem with the current in a multiphase buck converter

I am a student of electrical and computer engineering and am currently working on a project that involves the study of a multiphase buck converter or synchronous buck converter (2 phases, in my case). ...
José Alves's user avatar
0 votes
0 answers
29 views

Setting the parameters of PID for 10 °C set point

I have a PID controller (REX C100), connected to a TEC1-12706 (Thermal Electric Cooling) and a thermocouple K-type. I want to set 10 °C on my PID. The problem is that the actual temperature in PID is ...
Hamed's user avatar
  • 1
0 votes
0 answers
38 views

Sensored Brushless DC Motor Back EMF Problem

I am working on the current control of a BLDC motor with a speed of 12000rpm. The current controller in the system is designed as PI. I give a reference value of 10A to control the motor and the ...
G. G's user avatar
  • 1
0 votes
0 answers
20 views

Understanding the effect of HPF on the amplitude and phase control in STM32

I am using a STM32 to control amplitude and phase of a signal when passed through a RC circuit(LPF) which later will be replaced with a tip tilt mirror. I have a STM32 which has the code implemented. (...
Rima's user avatar
  • 135
0 votes
1 answer
31 views

Quick PMSM FOC PI controler design

For a Simulink Model I am looking for a quick and easy way to estimate PI-controller parameters for a speed control loop and Id and Iq controler of a PMSM using FOC. I don't have a real motor just the ...
hanss's user avatar
  • 75
0 votes
2 answers
91 views

PID control of a reversible Peltier (using Arduino PID_V2 library)

I have a box of water, which temperature I have to regulate to a ramping setpoint which could go both below and above the ambient temperature. So I have decided to use a Peltier for both cooling and ...
irilinir's user avatar
0 votes
1 answer
57 views

Integral Controller design

For this system, what method do I use to select a value of Ki? Gh and Gt are first-order blocks with time constants Th and Tt-
diode's user avatar
  • 21
0 votes
0 answers
52 views

Stuck during designing a PI Controller

I'm trying to design a PI Controller on the basis of this paper: "Design of robust PI control systems based on sensitivity analysis and genetic algorithms." by Jau-Woei Perng • Shan-Chang ...
Rin R's user avatar
  • 1
1 vote
0 answers
62 views

How to suppress oscillations of the LC circuit current?

I have a following circuit which basically consists of three individual power electronics converters Converter_01 In case \$v_1 > v_2\$ it operates as a single phase diode bridge rectifier ...
Steve's user avatar
  • 1,061
0 votes
0 answers
98 views

PID control with PIC microcontroller

I'm relatively new in C program ( I'm using MPLAB X IDE XC8 ), and first time trying to make a PID control, using a PIC16F15223 This is what I want to make: The pic has an analog input that reads a ...
samuel mattio's user avatar
0 votes
1 answer
96 views

Modelling the PID controller for a Buck Converter from a given schematic

I followed a document to implement a PID controller for a Si MOSFET based buck converter as the traditional multistep analog PID converter was not giving any good results for some reason. The document ...
Lakshman's user avatar
0 votes
0 answers
32 views

CV state lead-acid battery charge from solar panel

I simulate the charging of a lead-acid battery, using MPPT algorithms, Buck converter, a PID regulator and a solar panel. In the CC stage everything is perfect. The battery is charged up to 14.4V, so ...
vsa's user avatar
  • 1
0 votes
0 answers
79 views

Ziegler–Nichols method of PID auto tuning

I am working on a problem where I need to implement auto tuning PID control using Ziegler–Nichols method. Basically I want to control temperature using it. The PID has to be implemented with the ...
newbie's user avatar
  • 25
1 vote
1 answer
61 views

Determine derivative time of real PID controller

I need help determining the derivative time of a real PID controller. Above me is an ideal PID controller. In my case I have another resistor (let us say R0) before R1 and Cd serial. How do I now get ...
helphelphelppp's user avatar
0 votes
0 answers
74 views

Understand derivative circuit with frequency filter

I am trying to understand a circuit which is part of a PID controller. Input to (this part) of circuit is error signal (difference between target and present level). "DIF" part of circuit ...
RealNovice's user avatar
1 vote
1 answer
92 views

Temperature control of a system with variable setpoint and variable outside temperature

I'm building an insulated box in which I have about 5-6 liters of water which will be cooled/warmed by a Peltiers, driven by variable current. The setpoint will vary between 16 and 26 degrees C, and ...
irilinir's user avatar
0 votes
0 answers
53 views

PID output to motor rpm

I am working on my project "Control design for tilt rotor." The UAV has 4 tilt rotors and I am using PID to controller for position and attitude control (outer and inner loop). ...
Dhruvil Chavada's user avatar
1 vote
0 answers
87 views

What is the Z transform of the discrete PI control model?

I have a discreate PI controller implemented in stm32 MCU, it has the following form: $$ PI=K_p\cdot[r(t_i)-y(t_i)] + (K_I)\cdot\sum_{n=0}^{i}[r(t_n)-y(t_n)]\cdot\Delta t $$ where \$r(t_i)\$ is the ...
zymaster's user avatar
1 vote
1 answer
96 views

Does the idea of bandwidth make sense for a system with an infinite DC gain?

I'm thinking specifically of systems with ideal PID controllers. The transfer function will always have an integrator term, which, if I understand correctly, means it will always have infinite DC ...
Mikayla Eckel Cifrese's user avatar
1 vote
1 answer
51 views

The effect of the coefficient of the derivative part in PID control

I am learning about control systems, specifically PID control. I am a little confused by the coefficient in front of the derivative term. My lecturer said a positive coefficient for the derivative ...
Benedikt Cwetler's user avatar
0 votes
0 answers
102 views

How to design a PI/PID controller with a given bandwidth and phase margin?

I've read the article, Introduction: PID Controller Design, which explained really well the effect each branch of the controller has on the rise time, settling time, overshoot, and error, which gives ...
Mikayla Eckel Cifrese's user avatar
4 votes
1 answer
583 views

What's the point of the proportional branch in a PI controller?

I just watched this MatLab video on the basics of how PI/PID controllers work and for the most part it makes sense. They started with an example with just a P controller and showed that, while it ...
Mikayla Eckel Cifrese's user avatar
1 vote
0 answers
112 views

How does the incremental form of the PID controller work?

I have a question regarding the features of the so called incremental (velocity) form of the PID controller. As far as I understand this form in correct manner it can be described via this pseudocode <...
Steve's user avatar
  • 1,061
0 votes
1 answer
169 views

Designing a PID controller using uA741 opamp using ltspice [closed]

I want to design a PID controller I created the design with all the components but when I run my ac sweep my output graph of Vout/Vin is not correct as a PID controller should function but when i run ...
Haroutioun Topskanian's user avatar
0 votes
0 answers
78 views

PI integral anti-windup with dynamic saturation limit

I have a controller to control the power output of a solar inverter and I'm not sure how to implement the integral anti-windup. The problem I'm facing is the actual output power is dependent on the ...
Wanderer's user avatar
0 votes
0 answers
42 views

How to achieve smooth transitions between operational modes in the bidirectional buck-boost dc-dc converter?

I have below given DC-DC converter Until this moment I have used this converter for current control either in the buck or in the boost mode in the indicated current flow direction. The control ...
Steve's user avatar
  • 1,061
2 votes
3 answers
87 views

Proportional control: steady state explanation

In this video, a scenario is given to show the failings of using solely proportional control. Consider a drone that must be made to hover at an altitude of 100m. The RPM required to hover the drone is ...
insipidintegrator's user avatar
7 votes
3 answers
2k views

Can I use a motor as a rotary encoder?

Let me preface this by saying that I'm not an expert, nor do I conclusively understand how op-amps work, but I have a strong suspicion that this should be possible, at least crudely. I have this idea ...
Isaac Walters's user avatar
0 votes
2 answers
79 views

Intuitive advice needed regarding PID controller for *centering* a Balanced Inverted Pendulum

I have built for myself an inverted pendulum balancer. It comprises a straight, horizontal metal track upon which rides a carriage which is driven by a stepper motor. The pendulum is mounted on the ...
Wossname's user avatar
  • 434
0 votes
1 answer
63 views

Implementation of Integrator in PID control

I have a doubt in implementing PID control. I referred many documents and video tutorials regarding this. But I am quite confused regarding the implementation of integrator in PID control. I could see ...
Varun Rajarangan's user avatar
0 votes
0 answers
34 views

How to determine the K and T values of a modified PID controller?

Circuit I need to determine the K and T values for the given circuit. I hope I‘ve got the correct equation but I don‘t know how do I have to modify it get the parameters. Can I bring T_R1 & T_R2 ...
idkex's user avatar
  • 3
0 votes
3 answers
103 views

How do I get Kp?

How do you get the equation for Kp? I know where R2/R1 comes from, but no idea about + Cd/Ci.
idkex's user avatar
  • 3
0 votes
2 answers
145 views

How to integrate dead-zone in the PID controller implemented in the velocity form?

I have the below given implementation of the PID controller. ...
Steve's user avatar
  • 1,061
0 votes
1 answer
30 views

What is the influence of the measurement offset in the PI control loop?

Let's say I have a control loop with a direct acting PI controller Now suppose that there is some positive offset present on the measurment of the controlled variable and at the same time the ...
Steve's user avatar
  • 1,061
1 vote
1 answer
51 views

How to connect potentiometer to an Arduino board and a motor using a large power source at the same time [closed]

I want to use a PID system to control a potentiometer with a motor. I'm going to run the system on an Arduino so I need to connect my potentiometer to the Arduino so it can take whatever data it needs ...
Zach 's user avatar
  • 11
2 votes
0 answers
28 views

What is the integral variable of a PIDF written as a digital biquad in transposed direct form 2?

I have a PIDF written as a digital biquad in transposed direct form 2. Omitting the construction of the a and b constants the guts of the filter look like: ...
lamont's user avatar
  • 121
3 votes
0 answers
43 views

PID H-bridge random current spikes

My H-bridge consists of 4 n-channel MOSFETs. The high side is driven by a basic bootstrap circuit, and the low side is directly driven from the MCU. Using a PID function to control the motor by its ...
Ralfs Volis's user avatar
0 votes
0 answers
55 views

Crossover frequency recommendation for double loop control

In some techniques, such as Average current-mode (ACM) control, there are two loops: inner current loop and outer voltage loop. In the Fundamentals of Power Electronics by Robert W. Erickson, there is ...
T L's user avatar
  • 477
9 votes
4 answers
2k views

PID output at 0 error

I'm having some problems conceptualizing PID, specifically the case where there is 0 error. The traditional PID formula I usually find is: \$ output=K_p e + K_i \int e dt + K_d \frac {de}{dt} \$ Let's ...
turne145's user avatar
1 vote
1 answer
101 views

How to PID control a 47 Ω, 8 W resistor with a Raspberry Pi and Python?

I have a Raspberry Pi 4B, a 12 V power supply, a 12 V air pump controlled by a MOSFET, a DS18B20 for feedback and a 47 Ω, 8 W resistor that we should somehow heat. Everything up to actually heating ...
Mito's user avatar
  • 411
0 votes
1 answer
55 views

Constant Current Charger

I have done a simple charger by using a opamp UA741 and a current limiter. The current limit method is using 2 transistors and a resistor to limit at 3A. However, this current limit was not limit the ...
Wan Hakimi's user avatar
4 votes
2 answers
369 views

Understanding PID controller output value

Consider a PID controller that needs to regulate the temperature of a small object. This will be implemented in software in a microcontroller. A thermistor is closely bonded to a heater (a small 3 ...
Wossname's user avatar
  • 434
0 votes
0 answers
30 views

Measuring Motor Speed in an analog circuit - (no digital components)

I have been searching for several resources on closed-loop analog motor control. Most of them used a tachometer for speed measurement, which makes a lot of sense because the tachometer is analog and ...
Mora's user avatar
  • 167
0 votes
1 answer
144 views

LQR Infinite Horizon vs. Finite Horizon vs. Receding Horizon?

I don't know if this is the right forum, but I would like to know in words the difference between these 3 forms. I have searched online and in books but there are often demonstrations packed with ...
KaleM's user avatar
  • 327
0 votes
0 answers
80 views

SSR or TRIAC for 8kW three-phase kiln

I have a PID-controller that uses VAC as the control signal. The kiln will be heated and cooled in stages with specific speed (t oC per hour), mainly for ceramics with crystal glazes. Manufacturer ...
John I's user avatar
  • 1
0 votes
1 answer
62 views

Can a sine wave input be equivalent to a direct current signal?

I want to control the temperature of an electric oven. To do this, I must find its mathematical model, or transfer function. To control the temperature of the oven I use PWM, which goes into a circuit ...
Roberto Veramendi Espinoza's user avatar

1
2 3 4 5
13