Questions tagged [pid]

Proportional Integral Derivative Controller. A type of control algorithm used in many control situations, especially servo systems.

Filter by
Sorted by
Tagged with
2 votes
2 answers
413 views

Multiple PIDs in quadcopter

I am wondering what the use is of two PID loops to control a quadcopter. One PID for stability control and another PID for rate control. Why can't you just use one PID per axis to control a ...
user2233215's user avatar
2 votes
2 answers
1k views

2 wheeled, 2 motor robot control

I decided to work on a 2 wheeled robot position mapping problem. For that I have 2 DC motors with encoders from pololu. I have the following two questions: Do I need to know the model of each motor ...
ChiPlusPlus's user avatar
2 votes
1 answer
380 views

How do you design Quadcopter PID algorithm?

Just to give a bit a context, here are the equations I'm using for the Angular accelerations. φ** =(1/Jx)τφ and θ** =(1/Jy)τθ So my plant gains would be φ**/τφ =(1/Jx) along x axis and θ**/τθ =...
Ozymandias's user avatar
0 votes
3 answers
251 views

Quadcopter multiple ESC angles glitch

I'm developing my fligth controller board on Tiva Launchpad for quadcoper and while calibrating PID I discovered an unexpected behaviour: sometimes quadcopter seems to experience random angle errors. ...
Mikhail Pershin's user avatar
5 votes
1 answer
5k views

Comparing LQR and PID controllers for inverted pendulum problem

As far as i can tell, both LQR and PID controllers can both be applied to the cart-pole (inverted pendulum) problem. What are the pros/cons to using one controller over the other for this particular ...
Paul's user avatar
  • 1,278
4 votes
2 answers
486 views

Dealing with position inaccuracy and latency in PID Loop

Background: I am new to PID, for my first PID project I am using a simple P-Loop and 300 degree linear potentiometers for position feedback. I am using the roboclaw 2x60A motor controller. The motor ...
Joel's user avatar
  • 155
1 vote
3 answers
3k views

How to program parallel PID control loops? So I can give my robot multiple set points to follow

So I'm in the process of building my robot and it has encoders on every wheel measuring speed and position and a compass sensor measuring heading. I have 3 seperate PID loops at the moment, I can ...
Shasam's user avatar
  • 13
5 votes
1 answer
3k views

The aerial refueling problem: sketch of a feedback controller

At first happy new 2015!!! I'm looking for my next simulator development: a Tanker is flying at constant speed (350 Knots) (no acceleration, no change of altitude or direction). The Tanker is ...
Wilhelm's user avatar
  • 700
2 votes
1 answer
97 views

The algorithm for the following analog controller => digital controller?

I have found a continous control in the following form: $$ u(s) = \left( K_{p} + \frac{K_{i}}{s} + K_{d} \frac{N}{1 + \frac{N}{s}} \right)e(s) $$ but since I need it to "convert" in a digital ...
Wilhelm's user avatar
  • 700
0 votes
1 answer
235 views

PID for Quadcopters

As already mentioned the PID output values that correspond to the error from the desirable error and current error has no units. Let's say we are using only the proportional part of the PID. Is it ...
Konstantinos Monachopoulos's user avatar
4 votes
1 answer
6k views

How to find a solution for quadcopter PID control

I've built a quadcopter and a rig to safely test it on. I'm working on the PID for controlling the roll pitch and yaw. I understand how a PID works on a more simple plant like say a robot with wheels ...
Aage Torleif's user avatar
7 votes
1 answer
4k views

How to tune the PID parameters using Fuzzy Logic?

I previously used the Ziegler method to tune the parameters of my PID controller to control my robot's position. I then implemented fuzzy logic for self-tuning the parameters. I have two inputs to ...
Moayad Hani Abu Rmilah's user avatar
4 votes
3 answers
4k views

How to control PID Yaw

My yaw angle varies from -180 degree to 180 degree. ...
Earthgod's user avatar
  • 237
2 votes
1 answer
212 views

Implementing a position control for UAV through a flight controller. Plant model is unknown

We are using Naza-M-Lite for our flight controller without GPS. The localization is obtained through our RGB-D camera sensor. We are able to teleoperate and even implement PID controllers for Roll, ...
Xegara's user avatar
  • 251
1 vote
1 answer
564 views

Is the input of ESC really limited at 50 Hz and will the PID controllers work properly?

Based on the wiki page of ESC, the ESC generally accepts a nominal 50 Hz PWM servo input signal whose pulse width varies from 1 ms to 2 ms http://en.wikipedia.org/wiki/Electronic_speed_control For ...
Xegara's user avatar
  • 251
1 vote
0 answers
694 views

RNN instead of a PID controller

I am building a drone using the raspberry pi and I am using 6*PID controllers to control the speed and the value for each angle, can I use a recurrent neural network (RNN) or other neural network to ...
e-nouri's user avatar
  • 111
2 votes
0 answers
681 views

PID Control Tuning [duplicate]

Im currently designing a robot for my undergraduate project. One of the task of this robot is to follow the wall. For the purpose I'm using a PID control system, where the reference is given from a ...
Vino's user avatar
  • 155
3 votes
2 answers
330 views

A general question about PID Controller

I have a basic question because I'm trying to understand right now a concept that I thought it was obvious. Looking at this video he is going to feedback the variable state x with the input of the ...
Wilhelm's user avatar
  • 700
7 votes
2 answers
8k views

Position Controller for a Quadrotor

I have a question regarding the implementation of a quadrotor's position controller. In my Matlab model the quadrotor takes 4 inputs: a desired altitude ($Z_{des}$) and desired attitude angles($\Phi_{...
Wilhelm's user avatar
  • 700
7 votes
2 answers
130 views

Deducing single wing plane transfer function Aka Transfer function estimation through set of points

I'm trying to control a plane via roll using PID controller , I had a problem finding the transfer function thus I used the following method :- Fix the plane in an air tunnel change the ...
RoboMan's user avatar
  • 169
0 votes
1 answer
110 views

What is a PID as is related to quadcopters [duplicate]

I'm trying to make a Quadcopter from scratch, I have a fair amount of experience with adruinos, and I'm trying to understand how to necessary systems work, and I can't seem to figure out what PID ...
austinphilp's user avatar
5 votes
1 answer
828 views

Yaw angle calculation for drone PID from two distance sensors

I'm building a control system with a Parrot AR 2.0 drone where I have access to thrust controls for up/down (z), left/right (y), forward/backwards (x), turn left and turn right (yaw) through a Ruby ...
Chris Butler's user avatar
2 votes
2 answers
466 views

PID Tuning Quadcopter Problem

I am tuning PID for quadcopter, the problem i have is that with different base Throttle, i seems that i have to adjust different PID gains in order for the quadcopter to balance!
Earthgod's user avatar
  • 237
3 votes
2 answers
626 views

PID in a system with pole at origin

I've seen in a lot of places some methods of tuning a PID controller. Most of them will say that one should apply a step input to the system and based on that response you can tune the PID parameters ...
FELIPE_RIBAS's user avatar
0 votes
1 answer
1 view

Gains optimization package?

Hi all, I am looking for a package allowing to optimize gains for a given robot (or a simulated robot) - such as low-level PID gains. The idea is to provide init gains to the package and a cost ...
user avatar
5 votes
2 answers
2k views

Natural frequency computation (for PID gains computations)

I am currently trying to parametrize the low-level gains of a robotic arm. This arm uses a classical PID for each joint. I am trying to use a method based on computation rather than a trial-and-error/...
arennuit's user avatar
  • 609
0 votes
2 answers
1k views

Position Control of an Omni Wheel Drive Robot

I want to create a robot that will navigate on a desired path! That path can be a straight line or a circular path with a given radius. I will use 3 or 4 omni wheel drive platform and for positioning,...
Akshat's user avatar
  • 101
7 votes
2 answers
5k views

Cascading PID DC Motor Position & Velocity Controllers

I'm trying to build a robot with a differential drive powered by two DC Motors. First I implemented a PID Controller to control the velocity of each motor independently. Estimated the TF using the ...
rflmota's user avatar
  • 173
6 votes
3 answers
759 views

PID Integration over not constant dt (∆time)

Is integration over not constant dt (∆time) a possible thing? Let's say you have a PID loop with differentiating frequency, can the integral part of it still work? (Assuming you know the dt from the ...
Dan Barzilay's user avatar
4 votes
2 answers
582 views

Good method for Retuning a PID After Detecting Oscillation

Given a PID controller with an anti-windup, what are some practical ways to retune the controller once oscillation has been caused and detected? I have access to the magnitude and period of the ...
Kousha's user avatar
  • 141
3 votes
2 answers
1k views

Electronic Speed Control Concepts

I am a programmer who has never worked with electronics before. I am learning the concepts and hoping to build a quadcopter, with the control software entirely written by me. Motor control seems to be ...
necromancer's user avatar
5 votes
4 answers
832 views

Controlling a system with PID that resists backdrive

I'm controlling the angular position of a pendulum using a DC motor with a worm gearbox. Mechanically, worm gears are impossible to backdrive. Using a PID controller on a pendulum system with a ...
Dan Laks's user avatar
  • 151
0 votes
2 answers
104 views

Velocity Control via Vibration

I am working on a robot that has an accelerometer. This accelerometer measures the vibration of the robot. When the robot hits a certain vibration, I would like it to slow down in order to reduce the ...
mechaman's user avatar
  • 137
9 votes
4 answers
11k views

How to use quaternions to feed a PID quadcopter stabilization loop?

I'm making a quadcopter. I have set up a PID loop to stabilize it to a given Euler angle (pitch and roll). The problem arises when the roll approaches 90 degrees (45 degrees and up). The values don't ...
Friend of Kim's user avatar
2 votes
1 answer
303 views

PWM PID control for small 2 watts brushed DC motor

It is "good enough" for PID output directly controls, without further modelling, the PWM duty cycle? Logic behind the question is, In case of pure resistance heater, PWM duty cycle percentage ...
EEd's user avatar
  • 419
6 votes
3 answers
209 views

Are there any problems with a variable frequency PID?

I am working on a quadrotor and am trying to solve the problems described here. In attempts to bring the refresh rate to 100 Hz, I did an analysis of the functions and most of the time 35+ ms is ...
asheeshr's user avatar
  • 360
6 votes
4 answers
6k views

How frequently should a PID controller update?

I am developing a quadcopter platform on which will be extended over the next year. The project can be found on Github. Currently, we are using an Arduino Uno R3 as the flight management module. At ...
asheeshr's user avatar
  • 360
4 votes
2 answers
13k views

Quadcopter PID output

I'm trying to develop a control system to a quadcopter and one of my options is to use a PID controller (which I think is the most used method). From what I've read, the commom strategy is to run a ...
FELIPE_RIBAS's user avatar
1 vote
1 answer
3k views

PID tuning method based on Pole placement

Is it possible to determine PID parameter using pole placement. I mean by solving the ch. eq. of close loop transfer functions which consists of either P,PI,PD or PID controllers?? Because i've ...
Control's user avatar
  • 345
2 votes
1 answer
126 views

What does this "inverse" peak mean? (step function)

I identified my system and now I am trying to tune PI regulator since I think I do not need D. I came across this graph while Matlabing and I do not know what does it mean. I am using pidtune() to ...
Kyslik's user avatar
  • 125
1 vote
1 answer
820 views

Quad copter attitude control

I have built a quad copter completely from scratch (electronics, mechanics and software). I am now at the point where all my sensor data looks correct and when I tilt the quad copter the correct ...
Joseph Roberts's user avatar
10 votes
5 answers
8k views

Why does a ID controller not exist?

Why doesn't a PID only consisting of ID exist?
Control's user avatar
  • 345
7 votes
1 answer
1k views

understanding the PID controller

I am trying to understand the effects of P, I and D constants in a PID controller on a system. As far I've understood, P and I make the system 'faster', and D makes it 'slower'(which I read in books),...
Control's user avatar
  • 345
1 vote
1 answer
139 views

How do i use the Nicolas ziegel approach if my system never becomes unstable?

How do i use the Nicolas Ziegel approach when the root locus plot of my system never becomes marginally stable , for any gain (unless it is negative).. ?? How do i estimate my ultimate gain value????
Control's user avatar
  • 345
3 votes
1 answer
820 views

Effect of adding a Pole and Zero to PID

I am confused about how adding a D (which adds a zero to the complete system) decreases the speed of the system. But when we normally add a zero to the system, it causes the system to overshoot. The ...
Control's user avatar
  • 345
1 vote
2 answers
2k views

Differential Drive Robot Control

Edited: I have a differential drive robot that needs to drive down a hall and stay in the center. I have 4 ultra sonic sensors, 2 on each side. Currently, I thought of implementing pure pursuit and ...
mechaman's user avatar
  • 137
5 votes
2 answers
299 views

What kind of motor control can I implement if I cannot use an Encoder?

Every time I see a PID control for a motor, it involves an Encoder, so the algorithm knows the real position of the motor or wheel. But with the robot I have, I cannot use an encoder. I only have ONE ...
Chirrin Dul's user avatar
2 votes
3 answers
828 views

Differential Drive Robot on uneven surfaces

So I am building a differential drive robot and I want it to autonomously drive in a straight line on an uneven surface. I know I need a position and velocity PID. As of now, I am deciding on which ...
mechaman's user avatar
  • 137
6 votes
4 answers
8k views

PID output does not reach setpoint precisely enough

I'm developing/tuning a software PID for a quadcopter. For now I'm only trying to stabilise the pitch angle using the front and back motors, and I'm only looking at Kp. The motors have a control ...
marcv81's user avatar
  • 478
5 votes
1 answer
6k views

Quadcopter Throttle and PID mixing to Motor Speed

I've been writing some quad copter software and I am not sure what the best way is to map the throttle and PID inputs to ESC power. My throttle range is 0-1 and my PID outputs are 0-1. My ESC's have ...
Joseph Roberts's user avatar

1
4 5 6
7
8