Questions tagged [pid]
Proportional Integral Derivative Controller. A type of control algorithm used in many control situations, especially servo systems.
30
questions with no upvoted or accepted answers
5
votes
2answers
785 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
44 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 "...
2
votes
1answer
87 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
0answers
55 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 ...
2
votes
1answer
725 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
2answers
57 views
Finding the right PD values for a quadcopter simulator
I am working on this short assignment where I have to find the right PD values for a simulated quadcopter. I have to reach 0.9 meters under 1 second with an overshoot of less than 5%. This is my ...
1
vote
4answers
100 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
0answers
50 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
1answer
195 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
vote
0answers
57 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
225 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
245 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
82 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
88 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
510 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
223 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
10 views
PID control of a drone using a joystick
The DJI Tello Drone has an SDK (they call it an SDK but it's really an API) that allows users to send control commands and request state information from its sensors over WiFi UDP sockets.
It's a very ...
0
votes
1answer
11 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 ...
0
votes
1answer
54 views
0
votes
2answers
31 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
37 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
24 views
Mapping PID output to motors in 2WD line tracker
Recently at a small robotics design competition, a part of the challenge involved line tracking. Our implementation included six photo resistors on the bottom of the base and differential steering. ...
0
votes
0answers
64 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
205 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
46 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
83 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
154 views
Loop time for self balancing robot
I have been working on a self balancing robot and there are quite a few parameters and one of them is loop execution time (t_loop henceforth). To my understanding, the smaller t_loop, the better it is ...
0
votes
1answer
174 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
378 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 ...