# Questions tagged [pid]

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

289 questions
Filter by
Sorted by
Tagged with
8 views

### Find viscous friction for DC motor transfer function

How do I find the viscous friction for my DC motor without measuring the input current and output torque. I have to do a theoretical model on simulink and can't find any answers on how to find it
17 views

### How to implement PID position control for 4wheel mecanum robot?

I want to implement PID control on my 4 wheel mecanun robot. I want to give a position instruction to my robot and that it follow the following curves of velocity and position. The only feedback that ...
64 views

### Inner current controller benefits

I am currently working on a system with a BLDC motor attached to a non linear spring on which a user can apply a force. Meaning the torque applied on the motor's output is most of the time unknown. ...
52 views

### How to choose closest angle when crossing -180 degrees

I'm applying a PID for position control on a diff drive robot, got the angles (orientation )between -pi and pi. It works fine until it needs to change its orientation from (let's say) -170 degrees to ...
52 views

### PID controller for motor speed control and distance control

I am building a robot rover comprised of dual DC motors each with hall sensors to obtain rotaional speed. I currently have a PID controller for each DC motor that is able to control the speed of the ...
21 views

### How to prove the stability of trajectory tracking with PD control using Lyapunov method?

I'm having a problem to prove the stability of PD control in trajectory tracking. Let say we have a system with double integrator dynamics and we what to minimalize the tracking error $\tilde{x}$. ...
47 views

### Quadcopter descends when rolled or pitched

I'm currently working on a quadcopter using f450 frame and YMF32 code. I was able to successfully build the quadcopter and It flies without having any vibrations or wobbles. Also, I tuned the PID ...
66 views

...
79 views

### PID Control: Is adding a delay before the next loop a good idea?

I am implementing PID control in c++ to make a differential drive robot turn an accurate number of degrees, but I am having many issues. Exiting control loop early due to fast loop runtime If the ...
58 views

### Can I measure torque from this motor by only measuring the current?

I am new to robotics, please forgive/correct any errors. My Project Plan I want to use a PID controlled motor in a human-interface device where I need to measure the user's exerted force on an end ...
186 views

### PID controller that targets a set rotation and a set velocity at that rotation?

I have a 3d physics simulation where I use a PID controller to reach a set orientation (orientation error drives a torque output). Which works well enough some cases, but in others it's not working ...
42 views

### pid tuning the wheel velocity

I am using diff drive controller to control the wheels of my robot. Here i am trying to use the control toolbox pid class for making the input velocity and velocity measured from wheel encoder to be ...
51 views

### High derivative gain in PD control

Why does high derivative gain in PD control results in motor noise or chatter? The graph that I see on MATLAB simulation is smooth enough, so following that it should not make noise..
32 views

461 views

### How to control the velocity of a mobile robot?

I have a differential drive robot whose linear velocity and angular velocity is to be controlled. The current strategy for doing that is: A high level path tracking module spits out the reference ...
159 views

### IR sensor spacing in sensor array relative to line width

I'm trying to build a line follower bot that follows a 3cm wide black line. I have a line sensor array with 6 analog sensors spaced 1cm apart. This means that in an ideal situation, i.e bot going ...
38 views

### effect of three terms of PID controller on output response? [duplicate]

What is the effect of each of the three terms on output response of a pid controller? i mean how will P term shape/effect the output response similarly what is the effect of I and D terms on output ...
71 views

### Confused about I and D in PID controller?

I am trying to learn PID controllers from basics and i came to know that "P" term looks for current error "I"term looks for past error "D"term looks for future error I have some how understood "P" ...
46 views

### Fuzzy logic controller for controlling a four-bar linkage

I am trying to design a control system to move a joint of four bar linkage according to desired trajectory. A dc-motor is used to move the joint. Can fuzzy logic controller be used to solve this ...