PID_fix #35

Merged
sb10q merged 4 commits from PID_fix into master 2020-12-26 11:47:21 +08:00

Flipped error calculation method to correct behavior of kP and kI terms.

Added anti integral windup to integral handling.

Changed how the i and integral term is calculated, to prevent old kI settings from affecting the current i term calculation when kI is being tuned. Especially noticable when kI is set from a non-zero value to zero.

Flipped error calculation method to correct behavior of kP and kI terms. Added anti integral windup to integral handling. Changed how the i and integral term is calculated, to prevent old kI settings from affecting the current i term calculation when kI is being tuned. Especially noticable when kI is set from a non-zero value to zero.
topquark12 force-pushed PID_fix from 1c7b2438a4 to eb5b747050 2020-12-26 11:46:29 +08:00 Compare
sb10q merged commit 7c013ff4a4 into master 2020-12-26 11:47:21 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/thermostat#35
There is no content yet.