Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dual loop pid #118

Closed
wants to merge 5 commits into from
Closed

Conversation

rodrigo2019
Copy link

upstream: Klipper3d/klipper#5972
got some @rogerlz implementation from https://github.com/DangerKlippers/danger-klipper/pull/58 and fixed merge issues with the pid_v features

@rogerlz rogerlz force-pushed the master-danger branch 3 times, most recently from f5d3460 to 240edcf Compare January 14, 2024 17:10
@rogerlz rogerlz requested a review from bwnance January 26, 2024 22:17
@rogerlz rogerlz force-pushed the master-danger branch 2 times, most recently from 2346081 to 6968f00 Compare February 1, 2024 16:38
@CarVac
Copy link

CarVac commented Feb 9, 2024

Might it be better called "cascade PID" to match standard terminology?

https://en.wikipedia.org/wiki/Proportional%E2%80%93integral%E2%80%93derivative_controller#Cascade_control

@rodrigo2019
Copy link
Author

rodrigo2019 commented Feb 9, 2024

Might it be better called "cascade PID" to match standard terminology?

https://en.wikipedia.org/wiki/Proportional%E2%80%93integral%E2%80%93derivative_controller#Cascade_control

Cascade PID is different from this one, it involves a hierarchical arrangement where one PID loop sets the setpoint for another. In this case we have two parallel pid's and the final signal its a minimum value between both.

@CarVac
Copy link

CarVac commented Feb 9, 2024

Ah, I see. Never mind then.

@Kishmeth
Copy link

Kishmeth commented Feb 10, 2024

Still seems to break pid_v (however I'm on the bleeding edge branch so might be some changes there). Setting extruder control to pid_v results in a 0 degrees reading and no heating.

No other issues, smooth control even with a 12kg thermal mass.

Merge modifications from pid_v feature

Signed-off-by: Rodrigo Andrade <[email protected]>
Merge modifications from pid_v feature

Signed-off-by: Rodrigo Andrade <[email protected]>
Update docs with dual_loop_pid params

Signed-off-by: Rodrigo Andrade <[email protected]>
added reference from the implemented feature

Signed-off-by: Rodrigo Andrade <[email protected]>
Apply the tolerance logic for the primary controller calibration

Signed-off-by: Rodrigo Andrade <[email protected]>
@rogerlz
Copy link
Contributor

rogerlz commented Feb 13, 2024

I am testing this PR this week

@fn2dk
Copy link

fn2dk commented Mar 1, 2024

i can really see the benefit of this used in a " active chamber" ! .

@Nathan22211
Copy link

I get config wrapper errors trying to bring this into bleeding edge for testing, did bleeding edge even touch the heater's code?

@rogerlz rogerlz reopened this May 15, 2024
@rogerlz rogerlz closed this May 15, 2024
@rogerlz rogerlz requested a review from a team as a code owner May 15, 2024 21:44
@rogerlz rogerlz reopened this May 15, 2024
@rogerlz rogerlz closed this May 15, 2024
@bwnance bwnance reopened this May 15, 2024
@bwnance bwnance closed this May 15, 2024
@bwnance bwnance reopened this May 15, 2024
@bwnance bwnance closed this May 15, 2024
@bwnance
Copy link
Contributor

bwnance commented May 15, 2024

We seem to be having a weird GitHub bug that is auto-closing this PR

@bwnance bwnance reopened this May 15, 2024
@bwnance bwnance closed this May 15, 2024
@rodrigo2019
Copy link
Author

virtual bullying

@rogerlz rogerlz reopened this May 16, 2024
@rogerlz rogerlz closed this May 16, 2024
@Nathan22211
Copy link

Nathan22211 commented May 16, 2024 via email

@Cellivar
Copy link

You're hitting a corner case in how GitHub PRs work. It looks like this repo is no longer a fork of Klipper, it's a separate repo. This PR was opened before that, when rodrigo2019's repo and this repo were both forks of Klipper.

When this repo was disconnected the PR was automatically closed, GitHub can't handle PRs between repos that aren't in the same network anymore.

There is no way to fix this PR, a new one will need to be opened from a fork of danger-klipper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants