Skip to content

[FR] Improved MPC support for PTC hotends #27223

@rondlh

Description

@rondlh

Is your feature request related to a problem? Please describe.

Yes, MPC doesn't always work well for ceramic hotend heaters

Are you looking for hardware support?

No

Describe the feature you want

MPC (Predictive Model temperature control) generally works very well, especially with the common 6x20mm hotend heater cartridges.
These cartridges heating power is largely independent of the temperature they are at, but this is not the case with ceramic heaters.
For ceramic heaters the heating power is drastically reduced when the temperature increases.
I measured a ceramic heaters and found a start heating power of about 50 Watt at room temperature, but only about 24 Watt at 235 °C.
With MPC you need to provide the heater power, so I enter 24 Watt. This causes 2 issues:

  1. MPC auto-tune might not provide accurate results if the actual heating power is not (relatively) constant.
  2. Temperature overshoot when you set a hotend target temp lower than 235°C.
  3. Slow response and it takes a long time to reach the hotend target temperature if the temperature is above 235°C.

Additional context

I believe the common 6x20mm hotend heaters use nichrome wire inside. Nichrome has a very low temperature coefficient α = 0.0002 / 1 °C. This means that a temperature increase of 100 °C only increases the electrical resistance by 2%.
I'm not sure what wire is used in ceramic heaters, but the temperature coefficient is much larger.
If the heater wire is a pure metal then the resistance should be linear (within reason) to the temperature, so only 2 points/measurents would be needed to calculate an estimation of the heater power at a given temperature.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions