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
1
vote
0answers
25 views

PID control for robotic manipulator servoing

I'm trying to enable robotic manipulator servoing using MoveIt servo implementation. However, I'm having some questions regarding reference following and error compensation. The thing is, I roughly ...
5
votes
1answer
145 views
+50

Self balancing bike using a flywheel: ROS implementation

I have a bike with two stands and a flywheel like this: The stands can be adjusted so that they don't touch the ground. Now, the task is to implement a self balancing mechanism: when I run the script,...
0
votes
1answer
44 views

Implementing PID on a line following bot using turtlebot

I am using ROS melodic,turtlebot 2 on Ubuntu 18.04. The idea is to create an environment consisting of lines as a path (slightly curved), and to program the turtlebot to follow the lines. Basically, a ...
0
votes
1answer
53 views

Mapping Joystick Inputs to Quadcopter

hope you are all doing well. We are doing a project where a quadcopter is controlled by an ordinary joystick. We have constructed the Control Algorithm and the joystick to move the quadcopter in ...
0
votes
1answer
47 views

Bug in code of Self-Balancing Bot

I am making a Self balancing bot as my project in which I am using MPU6050, Arduino Uno, motor driver l298n and DC motors. I am making this using data from accelerometer and gyroscope and combining ...
0
votes
0answers
33 views

PI controller for skew angle on a train wagon like robot

I have a robot very similar to a train wagon, it has 4 actuated wheels controlled by 2 motors. The two wheels that are located on the same rail are controlled by the same motor. On each wheel it's ...
0
votes
1answer
29 views

Identifying active PID-Controller parameters

A metric of a physical system is being controlled by a PID controller (in this case a valve controls the temperature of a liquid by mixing hot liquid into a stream of cold liquid). All measurement ...
0
votes
1answer
19 views

Rotate a certain angle using PID and mpu6050

Currently I'm working with a 4 wheel robot and I'm trying to rotate a certain amount of angle. I used PID_V1 library to rotate this. But when I upload and test the code Robot rotate continously. ...
0
votes
1answer
58 views

How to design a PID controller for boat?

I have a boat with two trusters and a trajectory planner which is based on the bicycle model. In order to control the boat, the linear velocity of each truster has to be provided. The following ...
0
votes
1answer
60 views

Robots Following Robots with Safety Distance Planning and Coordination

I have two robots, I wish for the second robot to follow the first one while keeping a constant distance d_safe between them. I am trying to implement a PID ...
0
votes
0answers
45 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
1
vote
0answers
38 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 ...
3
votes
2answers
66 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. ...
1
vote
1answer
57 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 ...
0
votes
2answers
101 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 ...
0
votes
0answers
26 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
1answer
50 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
88 views

How can I improve DC Motors rise time?

...
3
votes
2answers
87 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 ...
2
votes
1answer
64 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 ...
2
votes
1answer
465 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 ...
0
votes
1answer
53 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 ...
0
votes
2answers
61 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..
0
votes
1answer
36 views

What is the difference between The state-space equation and The configuration-space equation

The craig(p.180) states that equations can be made to represent the dynamic equations. The first one being the state space equation. $\tau=M(\Theta)\cdot\ddot{\Theta} + V(\Theta,\dot{\Theta}) + G(\...
0
votes
2answers
54 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 ...
3
votes
1answer
102 views

Motion profile and Motion control scheme, how do they interact?

I'm studying motion control and I start with the simplest case, I have to go from A to B in a straight line using a trapezoidal motion profile. I understand that in a real case, due to the fact that ...
1
vote
2answers
104 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 ...
1
vote
1answer
38 views

How to compensate for back drive caused by gravity

I have a 24v DC motor with a planetary gear box, Hbridge, and encoder feedback that drives an arduino robot similar to a winch that moves a weight by spooling a strap up and down. The problem I am ...
1
vote
3answers
169 views

Quadcopter PID Controller for distance

I am trying to use a PID controller to stop a quadcopter at a specific location while travelling horizontally, however currently it overshoots/undershoots depending on the max velocity. I have tried ...
0
votes
1answer
59 views

Res-Scaling method beats PID controller. How?

Scenario: I have a robotic arm that has a (1D) lidar on its end, to orient itself with respect to the slant table in front of it. The lidar returns pretty accurate distance values in mm. The motor ...
0
votes
1answer
65 views

Imaginary part in result of inverse laplace transform

I am working with a system(closed-loop feedback control) that has a transfer function like this F = 20*(s+5)/(s^4+13.5s^3+41s^2+80*s+100) this one is in the s-domain but for the response analysis, I ...
0
votes
2answers
92 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 ...
0
votes
1answer
47 views

PID on DC motor turning on both directions

I have a skid steer robot where I have four individual DC motors with an H bridge so I can control speed and direction. There are also four quadrature encoders with 6000 ticks per revolution. The ...
1
vote
4answers
256 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 ...
0
votes
1answer
56 views

Feed both position and speed errors to one single PID

I have seen in the documentation of an old subcontractor's product that the controller of a robotic arm joint was basically feeding error position + error rate directly into one single PID. It feels ...
1
vote
2answers
120 views

Finding the PID values for a vehicle control system

I'm trying to design a PID system for the longitudinal control of an autonomous vehicle. I figured out about most of it but I'm trying to figure out the Kp, Ki and Kd values. This is an illustration ...
2
votes
1answer
55 views

PID controller issue

Recently I've successfully implemented PID controller for my robot's moving motors. Now the system can automatically adjust it's speed depending on different situations: increase it if something ...
2
votes
1answer
311 views

How to PID tune a four wheel robot?

Four wheel mecanum rover with a mass of approximately 50 Kg. Each wheel has a 20:1 gearbox with encoder at the wheel (rather than the motor). If this was something like a robot arm I would PID tune ...
1
vote
1answer
25 views

Can badly tuned Feedforward still decrease steady-state error?

Let's say we're trying to control the speed of a motor to 20 revs/sec, and we know that our controller output for that speed is approximately 5. We currently have a Proportional controller to drive ...
1
vote
1answer
42 views

Using Integral gain for motor positioning

I'm struggling to see how Integral gain is used for motor positioning (with an encoder on the shaft). Suppose we have an AC motor connected to a winch which drives an object forwards and backwards. ...
1
vote
1answer
104 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 "...
0
votes
1answer
40 views

Good Software Projects for Aspiring Engineers [closed]

With the pandemic going on, our school has decided to officially shutdown all sponsored club meetings. Now that we are all digital, our robotics club was looking for projects that students can do at ...
2
votes
1answer
90 views

How do "process gain" and "proportional gain" affect the Steady State Error in a PID Controlled machine?

I came across this doubt while reading the Wikipedia page on PID Control. The section on Steady-state error states: Steady-state error (SSE) is proportional to the process gain and inversely ...
2
votes
1answer
313 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 ...
1
vote
0answers
60 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
2answers
70 views

How to determine actuator and process for PID, and how to intepret the output

Imagine there is a web service (let's say Twitter) that handles tons of requests from around the world. I want to figure out how to let the web service pick a certain amount of (let's say 1 billion) ...
1
vote
3answers
640 views

Implementation of Velocity Control Algorithm Based on PID

I'm very familiar with the traditional position form of PID. The error is just the difference between some setpoint encoder value and the current encoder value. Although this suffices for basic ...
0
votes
0answers
89 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
209 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
58 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 ...

1
2 3 4 5 6