Skip to content

PID controller logic #1

@camlost2

Description

@camlost2

Simply clamping the integral part is not enough to cure integral windup

suppose the variable rises up to the setpoint but still lower than it, the integral would stay negatively saturated. It only cancels when the variable stays higher than the setpoint for a while.

A FIFO queue is needed to store the integral values of each update

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions