# Klipper with MPC

**URL:** <https://klipper.discourse.group/t/klipper-with-mpc/3101>\
**Category:** Features\
**Created:** [June 8, 2022, 9:56am UTC](https://klipper.discourse.group/t/klipper-with-mpc/3101 "2022-06-08T09:56:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neko-vecter](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/neko-vecter/32/1551_2.png) [@Neko-vecter](https://klipper.discourse.group/u/Neko-vecter)\
**Post date:** [June 8, 2022, 9:56am UTC](https://klipper.discourse.group/t/klipper-with-mpc/3101/1 "2022-06-08T09:56:11Z")

</div>

The marlin 2.1 release MPC function to prevent PID overcome.

> **[Model Predictive Temperature Control](https://marlinfw.org/docs/features/model_predictive_control.html)**
>
> Control temperatures using a physical model of the system

Do klipper have plan to develop this feature?

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [June 8, 2022, 3:16pm UTC](https://klipper.discourse.group/t/klipper-with-mpc/3101/2 "2022-06-08T15:16:05Z")

</div>

Sounds cool. I’m quite happy how Klipper’s PID is performing on my printer but if it is an improvement, why not 😇

---

<div class="post-metadata">

**Author:** ![SonicBoom](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@SonicBoom](https://klipper.discourse.group/u/SonicBoom)\
**Post date:** [July 3, 2022, 5:57pm UTC](https://klipper.discourse.group/t/klipper-with-mpc/3101/4 "2022-07-03T17:57:54Z")

</div>

Yes please, i asked about this as well. I have MPC tune running on my other Marlin printers and it is quite impressive. can be tuned per filament, with and without fans and a few other settings. However it is currently only available for the hotend.

---

<div class="post-metadata">

**Author:** ![Jaccob](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/jaccob/32/1612_2.png) [@Jaccob](https://klipper.discourse.group/u/Jaccob)\
**Post date:** [July 5, 2022, 3:11am UTC](https://klipper.discourse.group/t/klipper-with-mpc/3101/6 "2022-07-05T03:11:06Z")

</div>

Agree. MPC is awesome, but only available for the hotend is enough, since the pid has been doing a great job in controling the heat bed. There are not many factors could affect it

---

<div class="post-metadata">

**Author:** ![ray\_boy](https://avatars.discourse-cdn.com/v4/letter/r/b3f665/32.png) [@ray\_boy](https://klipper.discourse.group/u/ray_boy)\
**Post date:** [May 13, 2024, 2:14am UTC](https://klipper.discourse.group/t/klipper-with-mpc/3101/7 "2024-05-13T02:14:28Z")

</div>

MPC has been ported from Marlin to the DangerKlipper fork. Currently under Beta testing and tuning with some excellent results.

Functional for hotends with cartridge or PTC heaters and Beds with/without bed fans.

Here is a link to the beta documentation if you are interested.

> <https://github.com/YanceyA/danger-klipper-BE_doc_update/blob/MPC_Documentation/docs/MPC.md>

Active feature discussion on the armchair engineering discord.
