jc-bao / policy-adaptation-survey

This repository is for comparing the prevailing adaptive control method in both control and learning communities.
Apache License 2.0
7 stars 1 forks source link

PID controller cannot converge to zero. #4

Closed jc-bao closed 1 year ago

jc-bao commented 1 year ago

Basic PID

The drone hovers at the point close to the origin.

image

Perturbating when the stuck

After adding disturbance to the controller: (change the angle if the force is vertical to the displacement to the center)

image

Observed oscillation.

What about always headed to the target angle?

image
jc-bao commented 1 year ago

Problem allocated: the first-order decay function included the disturbance force, which result in a constant shift of force.

After moving the disturbance out of the delay, the PID controller works well now.

image