Luro02 / klipper-mpc

Implementation of Model Predictive Temperature Control for klipper
GNU General Public License v3.0
16 stars 2 forks source link

Support for specifying ambient temperature thermistor #13

Open Luro02 opened 10 months ago

Luro02 commented 10 months ago

Finding the ambient temperature after the printer has been used can be difficult, because at some point close to the ambient temperature, the printer will cool down very slowly.

Some have a heated chamber or an ambient temperature installed.

What should be possible?

What might be possible?

How much does the real ambient temperature matter?

At the time of writing this, the code is using the real ambient temperature for two things:

  1. to calculate the asymptotic temperature (if I remember correctly, there is not much of a difference between fixing it to 25°C and using the actual temperature like 17°C)
  2. to calculate the ambient_xfer_coeff

The calculation of the ambient_xfer_coeff is flawed and might be switched to a different formula.

chrisheib commented 8 months ago

Pi temperature is ~15C above ambient in idle for me, so probably not the greatest source of ambient temp.