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
0
votes
0answers
8 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
1answer
11 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
35 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 ...
0
votes
0answers
30 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
33 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
2answers
61 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
52 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
0answers
24 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
1answer
32 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
0answers
18 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 ...
0
votes
1answer
38 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
43 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
51 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
45 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
72 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 ...
0
votes
0answers
6 views

Can badly tuned Feedforward still decrease following 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
31 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. ...
0
votes
0answers
20 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
34 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
46 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
0answers
54 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
45 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
66 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) ...
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
3answers
200 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
57 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
86 views

Implementing a high-level PID controller which uses odometry in diff drive wheeled robot

How I can implement a high level PID controller that uses odometry to couple both motors in a diff drive wheeled robot? This is my try: From the motor controller, I can get the estimated speed in ...
0
votes
0answers
203 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
43 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
vote
0answers
54 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 ...
3
votes
1answer
105 views

Inverted pendulum controller

I had an exam yesterday, and I was asked the following question: Why PID controller is necessary for stabilizing the inverted pendulum on a cart, why not we just use PI or PD? Now I've seen some ...
0
votes
0answers
66 views

Compensator design

I got a plant $G(s)=\left(0.13s+1\right)/s^2$ to design a compensator which provides below demands: Settling time : max 2s Overshoot : max %35 Gain margin : min 10 dB Phase margin : min 30 deg ...
2
votes
3answers
301 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 ...
2
votes
1answer
121 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 ...
0
votes
2answers
32 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 ...
0
votes
1answer
69 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" ...
0
votes
1answer
44 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 ...
1
vote
1answer
52 views

Sampling time selection

I'm trying to design a compensator for a pendulum type plant with arduino mega. As you can see from the picture, the system bandwidth is 9 rad/sec. I calculated the sampling time as ws=10*wb=90, so, ...
1
vote
1answer
108 views

PID tuning - can't get stiffness without going unstable

I'm trying to tune a low-friction actuator. This actuator is controlled via a 24peak amp drive. I'm running into the problem where the system goes unstable prior to reaching good stiffness. I start ...
3
votes
1answer
120 views

PID control: zero out integral on error sign change?

I am learning about PID as a novice to robotics (background in software engineering). One common problem with PID is that if the PV is below the SP for a long time, integral term will accumulate a ...
3
votes
1answer
49 views

Helium Balloon Altitude and Velocity Control System

I am designing a helium balloon which implements a control system that can expand and contract the balloon using a motor, thereby increasing or decreasing buoyancy and, subsequently, acceleration. I ...
1
vote
2answers
68 views

Which controller (PI or PD) is generally more robust to noisy sensor measurements and why?

Assuming no filter is used to measure error (or rate of change in error) with respect to a desired state, would a PI controller more/less/about equally robust to signal input noise compared to a PD ...
0
votes
2answers
81 views

PID control loop and feedback acquisition synchronization

In many real-time PID control loop application I have seen that the control loop is triggered exactly as the ADC interrupts arrives in order to achieve maximum synchronization between feedback ...
1
vote
1answer
201 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 = ...
2
votes
1answer
673 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-...
0
votes
3answers
95 views

PID control while desiring steady state offset

I have a rather niche application of PID control, and I am looking for ideas on how to solve it. Design Temperature sensor is externally mounted on a liquid vessel's body --> ...
0
votes
1answer
354 views

Line following robot mathematic model

I'm trying to improve the speed my line following robot. I have made this chassis designs. This is the main prototype I'm working on. Look at the following image. I'm driving the robot with PID, and ...
1
vote
2answers
66 views

Can P gain too high cause roll of death?

I've been sperimenting with PIDs on my quadcopter and I've noticed that pitch P = 65 causes double front and back flips which looks like a roll of death (or in this case a flip of death) and lowering ...
0
votes
1answer
74 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 ...
2
votes
1answer
65 views

What is the best adaptive controller for robotic arms?

I have a question that lays on practical experience. What is the best adaptive controller for a robotic arm? Self Tuning Regulator (STR) Model Reference Adaptive Controller (MARC) Adaptive Model ...

1
2 3 4 5 6