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.

62 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
142 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 ...
2
votes
0answers
44 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 ...
2
votes
1answer
251 views

Tuning PID coefficients for stationary stability of brushless DC motors

I'm using a commercial off-the-shelf brushless DC motor controller. It combines a PID controller and an absolute encoder to regulate position. When my motor reaches its target state, it generates a ...
2
votes
0answers
69 views

Designing PID to reject load disturbances of dead-time process

I am using the PID Tuner for the PID Controller Block in Simulink. I am particularly interested in the output disturbance BODE plot. I am trying to achieve an acceptable output disturbance with the ...
2
votes
0answers
1k views

Peltier Driving Circuit

I am driving a peltier (thermoelectric heater/cooler) using a DAC (MCP4725), Arduino mega, quad-opamps to shift/invert the DAC voltage (LT1885) and 4xOPA549 (2 per peltier). I use PI control and ...
1
vote
0answers
45 views

Tuning PID Controller with high precision

I'm learning control theory at university and I have to design PID controller for this object G(s) = 10/s(s+1); But my teacher requires settling time <10s and %overshoot <=2% Anyone can suggest ...
1
vote
0answers
62 views

Closed-loop system with two cascaded P-controllers produces error increasing with time

The task: I control desired angle \$\theta_{d}\$ with two cascaded \$P\$-controllers, the outer is for desired angular velocity \$\omega_{d}\$ and the inner is for desired angular acceleration \$\dot{...
1
vote
1answer
38 views

Finding coefficients for a PID controller that minimize the integral of the squared error (ISE)

The problem The problem is to find the coefficients for the P, I and D terms of a PID controller used to regulate the object that minimize the the integral of the squared error (ISE): $$Q = \int_0^\...
1
vote
0answers
35 views

Does having negative PID gains effects stability and realization of system?

Can we have a PID controller which has positive I gain and negative P gain? or will our system and controller will be not be realizable and will be unstable in this case due to a negative value of PID ...
1
vote
0answers
37 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: ...
1
vote
0answers
51 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:
1
vote
0answers
222 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: ...
1
vote
0answers
88 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. ...
1
vote
0answers
1k 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 ...
1
vote
0answers
2k views

PID temperature controller with Arduino using a NTC thermistor and a Peltier Cell

I'm trying to control the temperature of a LED laser (which have a thermistor as temperature sensor and a Peltier Cell, both integrated with the laser) and what I'm implementing is a PID controller ...
1
vote
1answer
287 views

How to tackle noise with PI controller

Updated: I am not sure if the title fits my inquiry here but I will try to explain. I have this system show in Fig1. It is a simple plant \$\frac{1}{as}\$ (expressed in the frequency domain). Then I ...
1
vote
0answers
484 views

Designing PID controller for 2 servo motor synchronization

I am trying to use a PID controller to synchronize wheel speeds in an arduino-bot so that I can get it to drive straight. I am unsure how to approach this problem without knowing the physical ...
1
vote
0answers
204 views

Closed-loop systems - discrepancy between Simulink and Arduino

I am trying to figure out how to reproduce closed-loop systems in Arduino that were designed initially designed in Simulink. Take the following closed-loop system with unity feedback and gain: Where ...
1
vote
0answers
145 views

PID tuning single input two output with changing setpoint

I am operating the process in the image below, where I am using a recirculating heated/cooled bath (RHCB) (Polystat 12122-56) that externally circulates hot water through a heat exchanger (HX) and ...
1
vote
0answers
120 views

What are the advantages of controlling an ac pm motor in abc or qd0 reference frame?

let's refer to the following (vector) control schemes: Qd0 is the synchronous reference frame, with d alligned to the pm magnetic field. the system is balanced and symmetric (so no 0 component). the ...
1
vote
0answers
186 views

How to apply Ziegler–Nichols to a heater-termometer system?

This is not a production project (though I don't mind it having practical value), but an undergraduate thesis. I already have an onoff controller with hysteresis and that works fine. I am hoping to ...
1
vote
0answers
145 views

How to tune PID for a Y(t) = k*X(t) system?

Could I have your opinions on PID type selection? System description Here comes a very simple system: Output(t) = \$ k * (Input(t) + systemVariable(t)) \$. \$k\$ is constant and \$systemVariable(t)\$...
1
vote
0answers
356 views

PID tuning method

I am trying to design a PID controller, to get the response I want to, so I am beginning to think that my approach with tuning the values might be incorrect. I have to Design a controller for the ...
1
vote
0answers
195 views

PD control (PID without I) - Homework help

I've been given a system - x" = bx′ + kx + ru and I've been asked to rewrite it in the canonical form x' = AX + BU. I've got -- ...
0
votes
1answer
41 views

Low pass filter vs integrator

Context: I am programming a flight controller for an autonomous drone. I want it to be able to hover in place so I am working on a PID controller for the throttle to keep vertical velocity at 0. (...
0
votes
0answers
20 views

Drive signal (duty cycle) calculation for PI compensator

I am trying to simulate an inverter with 4 ideal switching devices in LTSpice. I have the compensator working, however I don't the correct equation in terms of calculating the duty cycle. What I ...
0
votes
0answers
22 views

PI tuning from simulink scope?

I would like to use the method of Zigler-Nichols method for open loop. I got the step reponse from Simulink scope but How can I calculate the L and A from the scope?
0
votes
0answers
37 views

Design of a controller

I am working on a project that requires me to design a controller knowing the following specifications: "The controller performance must be consistent under varying conditions. The rotor must respond ...
0
votes
0answers
15 views

Lead compensator vs pd controller?

I have already studied that lead compensator is apparently similar to pd controller for both improve transient response But how can we decide?which one to use?
0
votes
2answers
77 views

Controller vs compensator?

Both these terms: controller(forexample PID controller) and compensator(Lead compensator) are often encountered in control systems,but what is difference between these two? Brain douglas in this ...
0
votes
1answer
36 views

confusion regarding QNET VTOL(Vertical Take off and Landing)

I was reading a manual about QNET VTOL and i came across a block diagram(shown in attached snapshot) In the explaination of diagram, manual writes that The VTOL device is broken down into two ...
0
votes
1answer
35 views

4-20mA PLC analog output ground referencing for other devices

I'm currently using a PLC to control an induction heating coil. I'm using a chinese induction driver that allows 4-20mA PID input. This device runs off standard australian 230v AC 50hz. I've ...
0
votes
2answers
70 views

Using PID relay to drive multiple contactors

I am a physicist by training but have been tasked with designing a heating controller box for a custom application that will be used in an industrial setting. I would like to make sure that I am ...
0
votes
0answers
28 views

Controller and compensator

What is the difference between controllers and compensators While searching for answer the most prominent answer I got was that compensator have magnitude=1 and is used to make sure the system ...
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
45 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 ...
0
votes
0answers
169 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
0answers
74 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
27 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
0answers
57 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 ...
0
votes
1answer
43 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( ...
0
votes
0answers
111 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
322 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
0answers
358 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 ...
0
votes
0answers
23 views

Reason for parametric variation in a power system

Let us take an example of a single area power system consisting of a governor, noon-reheated turbine, load and machine, droop characteristics. It is written in the literature that ...
0
votes
2answers
97 views

Help with identifying a transfer function - with neuroscience application

This is a question for you electrical network engineers. The problem has arisen in a neuroscience study I am working on, but I hope to be able to glean some insight from other domains that deal with ...
0
votes
0answers
324 views

How can I change the PID controller gains (Kp,Ki,Kd) in Arduino with potentiometers?

I am using the PID library in Arduino in order to control the temperature of a laser. The thing is that I would like to be able to change the controller gains Kp, Ki and Kd from external ...
0
votes
0answers
495 views

PI Controller with XLSEMI4016 Buck Converter, unstable VFB seen

I have the following circuit set up to control VOUT (labelled SENSE on my Excel test results). Note that the node between REXT, POT, and R_B is called VFB. It goes to the FB pin of the XL4016 chip, ...
0
votes
0answers
743 views

Circuit Design for Temperature Sensing PID Controller using Op-Amps

Basically, the idea is that I'll have a temperature sensor (LM35) that will sense the temperature of a certain metal can. This metal can is subjected to heat by a gas burner, and the gas burner's ...
0
votes
0answers
55 views

Digital PID velocity controller

I have seen two differente digital PID controller so far and I don't know which one should be prefered to control the speed of a dc motor. 1.) out=out_last + Kp err + Ki sum_err + Kd (err-err_last) ...