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
3answers
74 views

Controlling a DC Motor via an analog PID circuit

I am trying to design a 1 DOF copter as in this drawing: For this circuit there is a stick connected to a DC motor and potentiometer. The potetiometer can be rotated. I need to control the position ...
0
votes
1answer
36 views

Split range control structure for the inverter

I have been working on the grid forming inverter control. I have started with the cascaded voltage and current control loop i.e. control structure like that As far as I understand correctly this ...
0
votes
3answers
76 views

Peltier Quick Heating and Cooling

I am using Peltier Module to quickly heat and cool down the object placed on it to a particular temperature. My target is to heat the object to 90 degrees and then cool it down to 54 degrees and then ...
0
votes
1answer
44 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
1answer
118 views

Suggestion for PID Tuning

Hello friends I'm currently working on a project on my university stabilizing a thermal unit with a cooling fan I used a pretty basic PID design being suggested by Application Note from Atmel itself. ...
1
vote
1answer
50 views

PID finetuning for central heating

I'm currently building & programming a controller for an electrical central heating. The system has the following hardware components: heater pump temperature sensors To control the temperature ...
0
votes
1answer
66 views

MCU onboard PID controllers?

As far as I know, no MCU has an onboard PID controller, with all the frills of timing, PWM (or analog) I/O, filtering etc. Why not? It would certainly seem no more complex than an onboard ADC/DAC
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(...
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
3answers
61 views

Problem measuring the velocity of a BLDC motor

I'm coding a PIC24FJ256GA106 to make a PIPD velocity control for a BLDC motor by using the Hall sensors instead of back-emf. Currently I can control start, stop and direction of rotation of the motor. ...
2
votes
2answers
63 views

How to experimentally tune the current PI controllers in the synchronous reference frame?

I have been developing a control software for the grid connected three phase inverter i.e. for below given power electronics converter The control software implements below given control algorithm (...
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 ...
1
vote
0answers
56 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 ...
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 ...
0
votes
2answers
713 views

What is the industrial equivalent of a dimmer switch for resistive heaters?

Question: What is the industrial, solid-state equivalent of a dimmer switch? Background: I am building a PID box, and I want to limit the current draw on a 1.5 kW resistive heating element to ...
1
vote
1answer
485 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 ...
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
2answers
147 views

DC motor parameter identification using microcontroller

I've built a DC motor controller which measures the speed and current (not really sure yet about current values) of a permanent magnet DC motor. I plan to connect different PM DC motors. Is there a ...
0
votes
2answers
124 views

Grinding on PI/PID controller at specific PWM

I've modified a previous PI controller of a design team on that is working on high speed motor applications to include the D, which didn't solve this issue. The PID loop takes actual speed, and ...
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 ...
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
votes
1answer
39 views

Stepper motor position control

i currently try to control a stepper motor to position a camera, to keep my face in the middle of the frame. The face detection is working, and my python program(on raspberry pi 3) can determin the ...
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
45 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 ...
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(...
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 ...
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 ...
3
votes
1answer
130 views

High power buck converter LiFePo4 charger

I’m planning to charge my 48V LifePo4 battery bank of some HV solar panels (Max 140V, MPPT @109V). Since I'm quite interested in the construction of power conversion electronics, I thought I would try ...
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 ...
1
vote
1answer
58 views

Understanding the incomplete CMSIS PID motor control documentation

I'm trying to understand the CMSIS PID Motor Control. Obvisouly it is a PID controller in parallel structure (instead of in series stucture or some sophisticated structure). It seems like there is no ...
1
vote
1answer
120 views

How to tune this PID loop

I have a DC motor that is controlled by an FPGA and a L298N motor driver board. The FPGA generates a PWM signal based on feedback from a dual channel quadrature rotary encoder (1000ppr per channel). I ...
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 ...
1
vote
2answers
773 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
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 ...
0
votes
3answers
34 views

Filtering process value (PV) or controller output (CO)?

In the case of a noisy process value, what are the pros and cons of filtering the process value (PV) versus filtering the controller output (CO) or maybe both? Filtering PV changes the process model ...
0
votes
1answer
71 views

Remove big valley in phase plot

I am working on a speed controller for a robot and it's for when the robot is balancing on its wheels. I am designing the controller as part of a project in a linear control design course. However, ...
0
votes
1answer
106 views

Can I remove my step response overshoot?

I am working on a balance controller for a robot. I found the open loop transfer function between the motor voltage and robot pitch angle: ...
-1
votes
4answers
76 views

What is the “state value” of a PID? [closed]

I have a Yudian 518 PID installed in a heat treatment furnace and it has two segment displays labeled PV (process value) and SV (state value). The process value for my instrument is obviously the ...
0
votes
4answers
84 views

Question about PID control loop timing

For my project I am creating a RISC processing architecture on an FPGA that can perform various basic instructions like adding, multiplying, subtracting, storing and fetching from memory etc. To prove ...
0
votes
1answer
60 views

Filter for rotary encoder

I'm attempting to use PID for DC motor control. The motor is geared, with a magnet on the motor shaft coupled with a single hall effect sensor to help measure speed. This is all wired up to a capture ...
22
votes
8answers
6k views

Why do consumer ovens use thermostats instead of PID + PWM?

I measured the temp stability of my oven, and it's a really big swing of 10-15c in a saw tooth pattern. Aren't PI(D) controllers with variable output meant to dampen this type of oscillation? I ...
1
vote
1answer
754 views

How do we decide to use a lag compensation versus a PI compensation?

Although lag and PI compensation apparently have the same objective of improving the steady state response, how does one decide which one to use?
6
votes
3answers
2k views

Confusion in PID loop for the case of zero error?

I am already studying PID control and some how to some extent I have understood it except one main confusion. When the difference between reference input \$r(t)\$ and current output value \$y(t)\$ is ...
0
votes
3answers
80 views

How to deal with units in code implementation for PID-controller

Background: A robot uses two encoders attached to each rear wheel for feedback of speed. The program reading the encoders reads pulses per time unit. The encoders are sufficiently linear. The ...
0
votes
3answers
59 views

Control overshooting

Suppose I want to control a portable electric stove in order to bring a big pot of water to, say, 70°C. The first thing that came to my mind was the simplest: use one of those power plug+termocouple ...
0
votes
1answer
34 views

Modeling magnetic levitation system with current as the input signal

I am exploring magnetic levitation system as a part of studying control system. The height of the ball levitating in a magnetic field is described by the following differential equation $$ m\frac{d^2H}...
-1
votes
3answers
99 views

Safety of immersion water heater

I would like to build a sous-vide circularor, using a PID-controlled immersion heater. I've read that as the product wears out, there might be some electricity leakages, so I would like to make the ...
2
votes
1answer
129 views

How to implement control of the bidirectional buck-boost dc/dc converter in software?

I am at the beginning of the development process of the control software for this dc/dc converter i.e. bidirectional buck-boost converter I have studied the available literature and I have found that ...
0
votes
0answers
62 views

Ziegler Nichols for second order transfer function

I have a second order overdamped transfer function as follows - $$ \frac{1}{(70s+1)(50s+1)} $$ and now I want to use a PID controller and tune it using Ziegler-Nichols. I have worked with Ziegler ...

1
2 3 4 5
10