Skip to content

Fix #2470: Funktionspläne: PID-Verhalten bei YMIN > 0 - #2472

Open
GermanBluefox wants to merge 1 commit into
masterfrom
fix/issue-2470-mwyl9rcv
Open

GermanBluefox wants to merge 1 commit into
masterfrom
fix/issue-2470-mwyl9rcv

Conversation

@GermanBluefox

Copy link
Copy Markdown
Contributor

Fixes #2470: the FBD PID controller now clamps its integral part in every cycle so that P + I + D always stays within YMIN..YMAX. Before, the integral part started at 0 at startup and after RST. The anti-windup only stopped it from growing further, so with YMIN > 0 the output stayed at YMIN until the internal value had climbed up to it. When coming from above or from YMAX, the controller could take a long time to react after the error reversed. Now the controller starts directly at the limit, also after RST, and leaves YMIN or YMAX in the first cycle after the error turns. The smooth take-over after MAN, HOLD and the dead band is unchanged, and with TN = 0 there is still no integral part. The code comment, the PID section in docs/en and docs/de, and the tests in test/testFbd.js are updated.

Fixes #2470

Fixes #2470: the FBD PID controller now clamps its integral part in every cycle so that P + I + D always stays within YMIN..YMAX. Before, the integral part started at 0 at startup and after RST. The anti-windup only stopped it from growing further, so with YMIN > 0 the output stayed at YMIN until the internal value had climbed up to it. When coming from above or from YMAX, the controller could take a long time to react after the error reversed. Now the controller starts directly at the limit, also after RST, and leaves YMIN or YMAX in the first cycle after the error turns. The smooth take-over after MAN, HOLD and the dead band is unchanged, and with TN = 0 there is still no integral part. The code comment, the PID section in docs/en and docs/de, and the tests in test/testFbd.js are updated.

Fixes #2470
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Funktionspläne: PID-Verhalten bei YMIN > 0

1 participant