|
696 | 696 | #define PID_K1 0.95 // Smoothing factor within any PID loop |
697 | 697 |
|
698 | 698 | #if ENABLED(PIDTEMP) |
699 | | - //#define MIN_POWER 0 |
700 | | - //#define PID_DEBUG // Print PID debug data to the serial port. Use 'M303 D' to toggle activation. |
| 699 | + //#define MIN_POWER 0 // Min power to improve PID stability (0..PID_MAX). |
| 700 | + // Get the power from the temperature report ('M105' => @:nnn) and try P*2-20 to P*2-10. |
| 701 | + //#define PID_DEBUG // Print PID debug data to the serial port. Use 'M303 D' to enable/disable. |
701 | 702 | //#define PID_PARAMS_PER_HOTEND // Use separate PID parameters for each extruder (useful for mismatched extruders) |
702 | 703 | // Set/get with G-code: M301 E[extruder number, 0-2] |
703 | 704 |
|
|
796 | 797 | //#define PIDTEMPBED |
797 | 798 |
|
798 | 799 | #if ENABLED(PIDTEMPBED) |
799 | | - //#define MIN_BED_POWER 0 |
800 | | - //#define PID_BED_DEBUG // Print Bed PID debug data to the serial port. |
| 800 | + //#define MIN_BED_POWER 0 // Min power to improve PID stability (0..MAX_BED_POWER). |
| 801 | + // Get the power from the temperature report ('M105' => B@:nnn) and try P*2-20 to P*2-10. |
| 802 | + //#define PID_BED_DEBUG // Print Bed PID debug data to the serial port. Use 'M303 D' to enable/disable. |
801 | 803 |
|
802 | 804 | // 120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) |
803 | 805 | // from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10) |
|
878 | 880 | #define MAX_CHAMBER_POWER 255 // limits duty cycle to chamber heater; 255=full current |
879 | 881 |
|
880 | 882 | #if ENABLED(PIDTEMPCHAMBER) |
881 | | - #define MIN_CHAMBER_POWER 0 |
882 | | - //#define PID_CHAMBER_DEBUG // Print Chamber PID debug data to the serial port. |
| 883 | + #define MIN_CHAMBER_POWER 0 // Min power to improve PID stability. (0..MAX_CHAMBER_POWER) |
| 884 | + // Get the power from the temperature report ('M105' => C@:nnn) and try P*2-20 to P*2-10. |
| 885 | + //#define PID_CHAMBER_DEBUG // Print Chamber PID debug data to the serial port. Use 'M303 D' to enable/disable. |
883 | 886 |
|
884 | 887 | // Lasko "MyHeat Personal Heater" (200w) modified with a Fotek SSR-10DA to control only the heating element |
885 | 888 | // and placed inside the small Creality printer enclosure tent. |
886 | | - // |
887 | 889 | #define DEFAULT_chamberKp 37.04 |
888 | 890 | #define DEFAULT_chamberKi 1.40 |
889 | 891 | #define DEFAULT_chamberKd 655.17 |
|
0 commit comments