Questions tagged [pid]

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

26 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
2answers
1k views

Multivariable PID controller

I'm making a robot that uses two DC motors to move, and has two distance sensors on its right side. I want to make a PID controller to control the angle of the robot (using a wall as reference) and ...
2
votes
1answer
149 views

Motor acceleration and position with PID control

I'm working on a robot with differential drive (2 drive wheels equipped with rotary encoders and 4 free spinning omni wheels for stability) and each wheel is controlled via a separate arduino nano. I ...
2
votes
1answer
857 views

Python PID tuning - Parrot Bebop 2 - Target follower - ROS

I'm developing a PID controller for making the drone follow a detected object. I used as reference these topics: Ttracking-objects-from-camera-pid-controlling-parrot-ar-drone Tracking-objects-...
1
vote
0answers
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 ...
1
vote
4answers
169 views

PID control brushed motors via PWM using Encoder Clicks at SetPoints/Measurements

I've read numerous posts (1 , 2, 3 ) about using PID to control motors. All examples I've seen deal with the control signal being in the same units as the measurement signal. For example, use PID to ...
1
vote
1answer
59 views

Tuning a cascaded attitude and attitude rate PID controller

Assume that I have an object in 3D, and I want to have a controller that stabilizes its orientation (also referred to as "attitude"). To be sure we are clear: attitude is measured in "degrees" or "...
1
vote
0answers
55 views

PD controller tuning for flexible joint robotic arm

I am trying to tune the gains of my PD controller for a single axis flexible joint robot. The controller output is the motor torque. My question is: how can i tune the PD gains if the output (torque) ...
1
vote
0answers
56 views

Is it possible to make a self balancing robot using small or medium scale integrated circuits?

Almost all the information I've seen about self-balancing robots implies the use of an Arduino to implement the control. I'm wondering if it is possible to implement the control using just small or ...
1
vote
0answers
58 views

Quadcopter bldc PID control

Working on stabilizing a Quad using Arduino Due. I have slightly modified one of the examples of Jeff Rowberg's library to give yaw, pitch and roll angles (zero initialized angles). Moreover, I am ...
1
vote
0answers
239 views

Treatment of euler angles in quadcopter control

In most implementations of quadcopter control systems I've seen, each axis of the quadcopter is controlled independently. For example, to control the rate in the roll axis, the desired output is ...
1
vote
0answers
262 views

Is it my PID that is unstable or my physical system? (Quadcopter)

I've been working on this Arduino-MPU6050 quadcopter for a while now, and it looks like it's close to being finished. I have programmed it in rate mode, so the PID's control the rotational velocity. ...
1
vote
0answers
84 views

Quadcopter takeoff when low throttle /w PID

I'm making my own quad controller from scratch. I have fixed one axis on a "pendulum" so that only one axis can move freely ( + mode). Let's say that I have 0 throttle. As you know PID output is added ...
1
vote
0answers
90 views

PID tuning for Quadcopter

I have been stabilizing my quadcopter. I tuned my angle PIDies and my quadcopter tries to stabilize itself, but there is some overshooting. Which is, I think, due to gyro rates. I have read that we ...
1
vote
0answers
532 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 ...
1
vote
1answer
275 views

Tuning PID controlling car's steering angle

We built a car model with Ackerman steering type for line following task. The distance between rear and front wheels' axes was about 42 cm. Then we tuned PID controller (really just PD: Kp = 0.9, Ki = ...
0
votes
0answers
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} $. ...
0
votes
2answers
38 views

Reliably enabling/disabling a PID loop via FSM in a microcontroller

I have a PID loop for a small vehicle implemented in a microcontroller. Currently the PID loop is implemented in a timer interrupt. I want to implement an FSM that will have states that enable or ...
0
votes
0answers
42 views

To calculate roll,pitch and yaw

How do I calculate roll,pitch and yaw value from the position co ordinates of the drone, that is x,y and z from the gps sensor??? Using the x,y and z co ordinates I have to calculate roll,pitch and ...
0
votes
0answers
70 views

How to create a 4 sensor PID wall follower

I need help creating a 4 sensor PID wall follower, which has two walls either side of the robot and the goal is to keep the robot central and not crash into the walls, the sensors are positioned in ...
0
votes
0answers
207 views

Why am I unable to tune the PID parameters on my quadcopter?

I am building a nano quadcopter in X-Configuration with coreless DC motors, 65mm 2 blade propellers and a 1S Lipo battery (860mAh, 25C). The weight of the assembly is around 70g in total. I am ...
0
votes
0answers
54 views

How to make a diff robot (2 traction wheels front and 2 castor wheels back) to go straight?

I’m developing a differential robot. My wheeled robot has two castor wheels in the back and two driven wheels in the front. The motor controller I’m using can handle two motors each with 90 cpr. Each ...
0
votes
1answer
87 views

Improving PID gain constants

I have started building and programming my own quadcopter. I used stm32 f103 and right now I'm testing PID controller. The issue is getting right gain constants. I have build a swing and attached ...
0
votes
1answer
193 views

How can i find and install (acspid) python PID library

How can i find and install (acspid) python PID library in the folowing code import acspid pid=acspid.pidcont(1.2,0.02,0.01,5,-5)
0
votes
1answer
200 views

stable altitude quadcopter

I'm currently working on a project to generate a stable altitude and automatic control for a quadcopter I'm using arduino as the flight controller Ultrasonic sensor HC-SR04 MPU-6050 However my ...
-1
votes
1answer
397 views

PID vs Fuzzy line follower

I am making a line follower to follow a white line (approx 1.7 cmm wide) on a black track. I am using an array of 5 TCRT5000 (IR led+phototransistor) to detect the line. I was previously working with ...
-2
votes
1answer
69 views

Quadcopter accelerating or not

I am on the project quadcopter. So i have to use PID for stabalizing it. I think i am going wrong because i am adding the pid output to motors thrust. While the motors thrust means to be its ...