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
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 ...
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 ...
0
votes
1answer
673 views

How do PID control loop in a servo motor reverse motor direction?

Suppose the motor is set to turn to the 40 deg position. We apply a load that acts in the opposite direction (want to take the motor to the 30 deg position). A simple P(ID) controller will apply ...
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 ...
0
votes
1answer
326 views

How to control switching of mosfet in PFC boost rectifier using PI controller?

My aim is to reduce THD in the supply current and I wanna use a simple PI controller for that, to make the inductor current more sinusoidal and at the same time keep the output voltage of the ...
0
votes
0answers
202 views

determining the time constant for KI from a Graph

I'm having the following graph, I'm using PI controller, so I used a gain of KP = 2048. I would like to determine the KI from that graph and the time constant of the integral term. How would I get it ...
0
votes
2answers
253 views

Thermal runaway protection

I'm having an oven that is heating a specific element. I have cascaded P/PI loops. I have two thermo elements as sensors. I would like to know how would I implement a thermal runaway protection. ...
0
votes
0answers
74 views

Design controller to get this response

We have the following closed loop system where a is from 1 to 10 and p from 0 to 1(excluding 1). We want to design controllers H(s) and C(s) so that the step response is inside this area This is ...
2
votes
2answers
476 views

PID controller - How is plant equation derived?

During our control systems course we often work on control techniques where the plant equation/state space model is given .However , how are these derived? For example, if I wanted to build a ...
0
votes
2answers
2k views

how do I control duty cycle of a MOSFET using PI controller

I have designed a buck boost converter, how can I use a PI controller which will automatically change the duty cycle of the mosfet as per my desired output voltage or current? I have been fidgeting ...
9
votes
3answers
2k views

Please explain in layman's terms how a PID accounts for inertia in temperature control

I'm building my own hobbyist microprocessor-controlled reflow oven. I'm using (mechanical) relays to turn the heaters (i.e. quartz tubes) on or off. I've noticed heating lags a couple of seconds ...
3
votes
2answers
1k views

Finding desired closed-loop poles from root locus

I am trying to design a P controller (proportional constant only) to satisfy certain overshoot and settling time requirements for my plant. My values for \$\zeta\$ and \$w_n\$ which would satisfy the ...
0
votes
1answer
272 views

State Space model for a MIMO, coupled system

I came across a non-linear MIMO system with coupled inputs which is to be modelled in state space form. The kinematics are as follows: $$ \ddot{x} = F_Ecos(\psi)sin(\theta) + F_Esin(\psi)cos(\theta) +...
1
vote
2answers
494 views

Doubt with the conversion from output PID signal to PWM on inverted pendulum control problem

I am working on the design of a PID controller to control an inverted pendulum. The last days i got stuck in trying to understand the relationship between the PID's output, and how can relate it with ...
0
votes
1answer
383 views

Weighted average

I'm kinda new to this forum. I'm an electronics student from Argentina (sorry if my English is not the best, you know). I'm a robotics enthusiast. Now I'm building a racing robot. The thing is: it's a ...
0
votes
4answers
504 views

load bank: 12V, 120 A

I'm trying to design a load bank with a power source of 12V. I want to get a range of Amps in the output (from 1 Amp to 120 Amps, so that is 1 amp, 2 amps, 3 amps,…120amps) and I want it to be ...
0
votes
1answer
333 views

PI controller response frequency

I'm writing a report on the PI controller I built for my university project, which is supposed to keep a magnetic ball levitating underneath a controllable electromagnet. The prototype works with a ...
0
votes
1answer
109 views

PID loop rate versus response time

If I have a system with a response time of T milliseconds, how fast should I run a digital PID loop ie what is the minimum frequency that the lop should be?
1
vote
1answer
99 views

Controller for a DC motor for moving 18 cm constantly

I am working on designing a micro mouse that solves a maze. The objective is to reach the centre of the maze. The mouse needs to move one block distance at a time, which is 18 m. Currently, I am using ...
4
votes
1answer
754 views

PID control at small PWM values for a DC motor

I've set up a PID controller to control the shaft position of a brushed DC motor that I control via PWM and an optical encoder. I'm basically reconstructing an RC servo. Now that I think I've found ...
2
votes
3answers
238 views

why does absolute encoder (even multiturn) have the option of an additional incremental output

Many companies make absolute encoders for motor drives some can output an optional incremental track . my question is why is that needed since the encoder have a BiSS interface that can go as high as ...
0
votes
0answers
33 views

Implement a multimodel control system

I am asking you how would i be able to implement a multimodel system using RC filters.I need a nonlinear model and my teacher told me to use RC filters.By using a RC filter i get a first order system ...
2
votes
3answers
654 views

Testing a PID controller, need equation for PV

I am writing a basic PID controller for the purposes of a completely in-computer simulation, no hardware to run it on. I only the PID. How can I test it on some simulated physical environment? I have ...
0
votes
2answers
1k views

Bi-directional PID control

I am currently a Mechanical engineering student and I am trying to create a device that will balance two weights by moving the fulcrum between them. The whole thing looks like a see-saw with a motor ...
0
votes
1answer
494 views

How do I get a closed-loop PID controller from a transfer function?

I have the transfer function below: $$T_c(s) = \frac{s+k_i}{m_0s^3+s+k_i}$$ It is assumed that \$k_p=1\$ and \$k_d=0\$. I am given that \$x_l(t)=[x_l(t),y_l(t)]^T\$ is the trajectory and the ...
0
votes
1answer
153 views

Voltage drop when driving voice coil OpAmp gain stage

I'm driving a voice coil with a PID controller. So far, I've set the gain (P) stage, which is composed of LM358 opamps and a dual +-4.22 rail with 1.5V AAA batteries. This is the schematic, where you ...
0
votes
3answers
586 views

Advantages of using a current loop in driving a BLDC motor

I've been reading the answers to the question: How to realize constant acceleration control for BLDC motor? However, it is not specified what are the advantages of adding a current control loop to ...
-2
votes
1answer
401 views

How to determine transfer function to control heater with PID method?

I want to make a PID controller for heater, but I confused how to determine the transfer function. i use 60 watt solder element as heater, thermocouple max6675 as temperature sensor. please help me to ...
1
vote
3answers
1k views

Quadcopter Balancing with PID algorithm

I am doing a project on self balancing quadcopter with Autonomous control. I am using Arduino Mega 2560 and MPU6050. I have obtained the roll and pitch angles from MPU6050 without the help of DMP and ...
0
votes
0answers
309 views

Closed Loop with PID controller

I have designed this circuit and I expect the output to converge to 1 when stimulating it with a step input. The problem is that I get almost 10 times the input as output. Is there something wrong ...
5
votes
3answers
10k views

PID : What does « ultimate gain Ku » in Ziegler–Nichols method mean?

According to the PID controller Wikipedia page, in its subsection Ziegler-Nichols method, as in its Ziegler-Nichols page, it is said that using "ultimate gain Ku" could help to tune a PID. ...
-3
votes
5answers
245 views

Why do P/PI/PID Controllers exist when we can manually code in software (say an Arduino). [closed]

Just wanted to know why these separate controllers exist when it can be done in software itself say for instance, the Arduino. You can still tune the response by changing values in the code. Also, in ...
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 ...
4
votes
1answer
12k views

How to implement an analog PI controller using op amps

I'm working on an analogue PI controller as a hobby project and I would like to have some advice on practical implementation and some feedback on the critical points of the circuit. I have 4 questions ...
0
votes
1answer
150 views

Speed and position controle of a BLDC motor at the same time

I want to know if it is physically possible for a BLDC motor to be controlled in speed and position at the same time. Let me clarify : while the rotor is spinning (speed control), is it possible to ...
2
votes
1answer
207 views

MATLAB PID Tuner producing the wrong output?

I'm trying to apply a PID controller to my transfer function in MATLAB to get the step response, bode, pole-zero, etc. This is the code I'm using to create the ...
2
votes
2answers
233 views

Convert PID parameters to Q15 format

I have calculated the transfer function of my system to apply a PID to it. With MATLAB and the PID Tuner tool I got the Kp, Ki ...
2
votes
1answer
645 views

Analog 4-20 mA Output module for Process Control

I am reading a spec sheet for an 8 channal analog output module for process control that says this: Because all current is sourced from within the module using the 24 VDC excitation, current ...
0
votes
3answers
292 views

Does the PID Controller (LOVE 16C-3) Need an External SSR?

My PID controller LOVE 16C-3 has a output of "relay". Do I connect the output of the PID controller to the inputs of an external SSR? Or is the relay already built in into the PID controller?
1
vote
1answer
179 views

HART; PID Loop via PC & HART modem

I have a couple of not-very-critical process control loops where the flow sensors can transmit a 4-20 mA signal & the HART protocol. I want to control some valves via a simple PID loop. Is it ...
-2
votes
1answer
386 views

How do I use Type K Thermocouple? [closed]

I see a lot of applications using this type of couple but there is no document showing how to proper use it! In my case I have a 10mm thick steel plate that get heated on one side, should a M6 hole ...
4
votes
2answers
1k views

High side regulation of current for proportional valve

I'm working with a circuit which is regulating the current over a generic, proportional solenoid valve (L1 in the schematic below). The characteristics of the valve coil is unknown/will vary and the ...
0
votes
1answer
247 views

RS485 Pinout when using PyModbus

I am trying to control a RS-485 RTU device (Love 16C-3) using a Python script (pymodbus library) that runs on a Windows 10 PC. The hardware is connected to the ...
1
vote
2answers
248 views

Run 15A 120VAC HeatPress on 15A outlet, limit current to 12A (limiter boxe???)

I want to limite the amount of current a appliance could draw to 12A in order to use it on a 15A outlet without tripping the breaker. I have a HeatPress (heating element(coil) with a PID controller) ...
-2
votes
1answer
192 views

PID Control Lithium-Ion Batteries [closed]

Please help in finding good literature/articles about PID Control for Li-Ion Batteries. I searched the internet but I heardly find anything. There are a lot of articles regarding motor control design, ...
1
vote
1answer
369 views

Autotune PID a controller

I would like to automatically tune a PID controller. Is there a method that I can use to get the frequency and timing characteristics I want and automatically tune the PID loop? Concerning industrial ...
1
vote
2answers
472 views

What kind of output is on this PID Controller

I have a Altec PC410 PID controller with 2 outputs purchased from eBay. However the exact model number is not known. On top of the controller is a diagram showing how the 2 ouputs are different. Is ...
0
votes
1answer
1k views

Sinusoidal PWM running BLDC motor in open loop

I have started to wokr on the stabilization of a single axes gimbal using an Arduino and a BLDC sensorless motor. I've read many example about this topic, but I have a question about the usage of the ...
2
votes
2answers
1k views

Controlling the speed and position of a linear actuator

I'm trying to control a linear actuator's position and velocity. I can create independent PID loops to control either position or velocity, but I'm not sure how I could control both. Should I be ...

1 2 3
4
5
8