|
|
@ -476,6 +476,8 @@ |
|
|
|
//===========================================================================
|
|
|
|
//===========================================================================
|
|
|
|
// PID Tuning Guide here: https://reprap.org/wiki/PID_Tuning
|
|
|
|
// PID Tuning Guide here: https://reprap.org/wiki/PID_Tuning
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// https://drucktipps3d.de/pid-tuning-stabile-temperaturen-fuer-den-drucker/ //HW
|
|
|
|
|
|
|
|
|
|
|
|
// Comment the following line to disable PID and enable bang-bang.
|
|
|
|
// Comment the following line to disable PID and enable bang-bang.
|
|
|
|
#define PIDTEMP |
|
|
|
#define PIDTEMP |
|
|
|
#define BANG_MAX 255 // Limits current to nozzle while in bang-bang mode; 255=full current
|
|
|
|
#define BANG_MAX 255 // Limits current to nozzle while in bang-bang mode; 255=full current
|
|
|
@ -491,9 +493,9 @@ |
|
|
|
// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
|
|
|
|
// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
|
|
|
|
|
|
|
|
|
|
|
|
// Ultimaker
|
|
|
|
// Ultimaker
|
|
|
|
#define DEFAULT_Kp 22.2 |
|
|
|
//#define DEFAULT_Kp 22.2
|
|
|
|
#define DEFAULT_Ki 1.08 |
|
|
|
//#define DEFAULT_Ki 1.08
|
|
|
|
#define DEFAULT_Kd 114 |
|
|
|
//#define DEFAULT_Kd 114
|
|
|
|
|
|
|
|
|
|
|
|
// MakerGear
|
|
|
|
// MakerGear
|
|
|
|
//#define DEFAULT_Kp 7.0
|
|
|
|
//#define DEFAULT_Kp 7.0
|
|
|
@ -505,6 +507,11 @@ |
|
|
|
//#define DEFAULT_Ki 2.25
|
|
|
|
//#define DEFAULT_Ki 2.25
|
|
|
|
//#define DEFAULT_Kd 440
|
|
|
|
//#define DEFAULT_Kd 440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Ender-3 (HW)
|
|
|
|
|
|
|
|
#define DEFAULT_Kp 18.55 //HW
|
|
|
|
|
|
|
|
#define DEFAULT_Ki 1.26 //HW
|
|
|
|
|
|
|
|
#define DEFAULT_Kd 68.11 //HW
|
|
|
|
|
|
|
|
|
|
|
|
#endif // PIDTEMP
|
|
|
|
#endif // PIDTEMP
|
|
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
//===========================================================================
|
|
|
@ -543,9 +550,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
|
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
|
//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
|
|
|
|
//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
|
|
|
|
#define DEFAULT_bedKp 10.00 |
|
|
|
//#define DEFAULT_bedKp 10.00
|
|
|
|
#define DEFAULT_bedKi .023 |
|
|
|
//#define DEFAULT_bedKi .023
|
|
|
|
#define DEFAULT_bedKd 305.4 |
|
|
|
//#define DEFAULT_bedKd 305.4
|
|
|
|
|
|
|
|
|
|
|
|
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
|
//120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
|
|
|
|
//from pidautotune
|
|
|
|
//from pidautotune
|
|
|
@ -554,6 +561,12 @@ |
|
|
|
//#define DEFAULT_bedKd 1675.16
|
|
|
|
//#define DEFAULT_bedKd 1675.16
|
|
|
|
|
|
|
|
|
|
|
|
// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
|
|
|
|
// FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Ender-3 (HW)
|
|
|
|
|
|
|
|
#define DEFAULT_bedKp 87.11 //HW
|
|
|
|
|
|
|
|
#define DEFAULT_bedKi 16.20 //HW
|
|
|
|
|
|
|
|
#define DEFAULT_bedKd 312.17 //HW
|
|
|
|
|
|
|
|
|
|
|
|
#endif // PIDTEMPBED
|
|
|
|
#endif // PIDTEMPBED
|
|
|
|
|
|
|
|
|
|
|
|
#if EITHER(PIDTEMP, PIDTEMPBED) |
|
|
|
#if EITHER(PIDTEMP, PIDTEMPBED) |
|
|
@ -762,7 +775,7 @@ |
|
|
|
* X, Y, Z, E0 [, E1[, E2...]] |
|
|
|
* X, Y, Z, E0 [, E1[, E2...]] |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
// #define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 }
|
|
|
|
// #define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 }
|
|
|
|
#define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 25 } //HW
|
|
|
|
#define DEFAULT_MAX_FEEDRATE { 500, 500, 5, 25 } //HW
|
|
|
|
|
|
|
|
|
|
|
|
//#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
|
|
|
|
//#define LIMITED_MAX_FR_EDITING // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
|
|
|
|
#if ENABLED(LIMITED_MAX_FR_EDITING) |
|
|
|
#if ENABLED(LIMITED_MAX_FR_EDITING) |
|
|
@ -776,7 +789,7 @@ |
|
|
|
* X, Y, Z, E0 [, E1[, E2...]] |
|
|
|
* X, Y, Z, E0 [, E1[, E2...]] |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
//#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 }
|
|
|
|
//#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 10000 }
|
|
|
|
#define DEFAULT_MAX_ACCELERATION { 500, 500, 100, 5000 } //HW
|
|
|
|
#define DEFAULT_MAX_ACCELERATION { 500, 500, 100, 1000 } //HW
|
|
|
|
|
|
|
|
|
|
|
|
//#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
|
|
|
|
//#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
|
|
|
|
#if ENABLED(LIMITED_MAX_ACCEL_EDITING) |
|
|
|
#if ENABLED(LIMITED_MAX_ACCEL_EDITING) |
|
|
@ -796,7 +809,7 @@ |
|
|
|
//#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves
|
|
|
|
//#define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves
|
|
|
|
#define DEFAULT_ACCELERATION 500 // X, Y, Z and E acceleration for printing moves //HW
|
|
|
|
#define DEFAULT_ACCELERATION 500 // X, Y, Z and E acceleration for printing moves //HW
|
|
|
|
#define DEFAULT_RETRACT_ACCELERATION 500 // E acceleration for retracts //HW
|
|
|
|
#define DEFAULT_RETRACT_ACCELERATION 500 // E acceleration for retracts //HW
|
|
|
|
#define DEFAULT_TRAVEL_ACCELERATION 500 // X, Y, Z acceleration for travel (non printing) moves //HW
|
|
|
|
#define DEFAULT_TRAVEL_ACCELERATION 1000 // X, Y, Z acceleration for travel (non printing) moves //HW
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Default Jerk limits (mm/s) |
|
|
|
* Default Jerk limits (mm/s) |
|
|
|