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.

110 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
231 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 ...
3
votes
1answer
2k 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 ...
2
votes
0answers
55 views

Using lag-compensator to get good system response - RHP zero

I am designing a velocity controller for a balancing robot. The most important thing for the robot is to maintain balance, so I would prefer a slower response velocity response in turn for a steady ...
2
votes
0answers
67 views

Simulation of field oriented control of three phase induction motor

I have been developing a simulation of the field oriented control algorithm of the three phase squirrel cage induction motor in the Xcos (equivalent of the Simulink). The simulation consists of ...
2
votes
1answer
91 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^\...
2
votes
0answers
58 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
0answers
75 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 ...
1
vote
0answers
37 views

PID - Root Locus (Sisotool) for Transfer Function (TF) with Zero and Poles in Right Plane

I have a 8th order transfer function, you can see it in the first image: % Transfer function num = [2.091,0,203.3,0,-2151,0,-1.072e05]; den = [1,0,-830.4,0,-1.036e05,0,-5.767e05,0,2.412e07]; tf = tf(...
1
vote
0answers
57 views

How to select minimum bandwidth of a controller?

As a specific example, I'm trying to control the phase currents of a PMSM motor used in an electric vehicle. I'm using a PI controller to do this. I am familiar with control theory and have ensured a ...
1
vote
0answers
55 views

How to design “DC iris control” circuitry for CCTV camera applications?

Problem Statement: How to design "DC iris control" circuitry for CCTV camera applications? I have a proprietary and old 'Tamron' lens with me, I wish to control its IRIS. The iris control ...
1
vote
2answers
81 views

Relationship between latency and sampling rate of a digital PID controller

I am trying to set up a fast digital PID controller. The error signal is read by an ADC and sent to an FPGA. The FPGA uses a PID equation to compute the integer sent to the DAC. At the moment I am ...
1
vote
0answers
28 views

Changing between multiple bands of PID values

I have to control the temperature of an oven from room temperature to around 600degC. To do so I divide the temperature range into multiple bands eg 0-200, 200-400, 400-600 etc. Each range has a set ...
1
vote
0answers
73 views

How to design a PI controller for fourth-order transfer-function?

Fourth-order systems may render very complex characteristic equation that are difficult for tuning. Is there any method to tune controllers for these systems easily?
1
vote
0answers
291 views

PID controller simulation in Scilab/Xcos

I have been attempting to resolve following issue related to the simulation in Scilab/Xcos. I have been developing a control software and at the time being I have been developing a library of the ...
1
vote
0answers
56 views

How do I plot the root locus when there are multiple controller gains?

I am trying to design a closed loop system with a PI controller. I have plotted root loci before, but in those, I had assumed that the controller was only Proportional. This gave a characteristic ...
1
vote
2answers
135 views

Best way to add PID to thermoform machine?

I'm inexperienced at electrical engineering. I'm attempting to add a PID controller to an inexpensive, small thermoforming machine. Here's a link to the machine. https://www.amazon.com/Excellent-...
1
vote
0answers
173 views

how LTspice integrates Laplace in the time domain?

I modeled two different PID controllers with Laplace and with the same control parameters in LTspice, but the results show me the same behavior of the two PID controllers in ...
1
vote
0answers
84 views

Designing a PID control with plant controlled using relays

I am working on a project to design a Controlled (Constant Current) DC Battery Charger. The charger has a variable transformer (Plant). The output of which is fed to the batteries to charge them via a ...
1
vote
0answers
55 views

PID for pure first order process (no time delay)

So I have to make a PID control for a pure first order process (DC-motor) to control the rotational speed. I cant use ZN because there is no time delay in the process and oscillation can't be achieved....
1
vote
0answers
49 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
64 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
0answers
53 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
2answers
774 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 ...
1
vote
0answers
101 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
58 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
284 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
96 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
1answer
372 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(...
1
vote
0answers
3k 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
486 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
526 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
222 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
148 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
143 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
189 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
146 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
363 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
200 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
0answers
17 views

Control System Suddenly Goes Unstable During Steady State

Hope you are all doing well. I am doing a project on quadrotors right now. I use 5 Controllers (1 Feedforward + PID, 4 PD) for the position (x, y, z) and yaw angle control of a quadcopter. I tuned the ...
0
votes
1answer
46 views

How to current control for DC motor with PWM

I’m a student on a team developing this project. We are attempting to make an balancing system(by reaction wheel) with current and angle PID control. The whole circuit consists of dc motor, power ...
0
votes
0answers
21 views

PT2 behavior of closed loop system

In control design often it is assumed that the transfer function of the closed-loop system is similar to a PT2 element (PT2– 2nd order prototype transfer function) as $$T(s)=\frac{\omega_0^2}{s^2+2\...
0
votes
0answers
52 views

Setpoint weighting algorithm for the PI controller

Some time ago I found an interesting modification of the standard PI controller algorithm. The modification is called the setpoing weighting in the literature and regards the proportional component of ...
0
votes
0answers
22 views

Implications of CMSIS PID control algorithm variants

Of the CMSIS PID Motor Control there are 3 implementation variants w.r.t. data type used: Q15, Q31, and floating-point. Cause there is little documentation of the library it's difficult to understand ...
0
votes
0answers
43 views

Harmonic response of PID only works if multiplied by a large number?

I am trying to control just one motor using a H-bridge as shown in the picture (one motor only). I am attempting to use PD control, but for some reason I only obtain a sin wave when I multiply sin(x) ...
0
votes
1answer
46 views

Vienna rectifier Matlab simulation

I am trying to simulate the following case: A three-phase source in a Matlab is connected to a Vienna Rectifier which is supposed to supply power to a resistive load of 50KW. Output DC voltage to be ...
0
votes
2answers
60 views

What is a Pseudo Derivative controller

Can anyone tell me why the control system designers do not prefer pure derivative controller? Instead they use something called a ...
0
votes
0answers
44 views

Buck boost inverter design with current mode

As a project, I should design inverting buck boost converter without using IC. I designed somehow the converter but not optimized it yet since I have no proper drive. I am planning to set output of ...
0
votes
0answers
110 views

PID Control with DC motor and encoder (FPGA)

This is a follow up from a previous question I posted. I have made some changes from advice but still have problems. I have developed a processing core on an FPGA that can execute some instructions to ...
0
votes
0answers
76 views

Can't understand this PID code

I am having trouble understanding some PID code on an FPGA that is posted on github, by David Paquette. I will paste it in at the bottom of the post. It looks very compact and neat, an I understand ...
0
votes
1answer
57 views

Can anyone explain the difference between these two forms of PID controllers?

Usually, when people talk about PID controller, I think of the "parallel form" of PID controllers, I know how it is derived (we just need to add all 3 three P I D controllers together). This ...