|
Heizbett heizt weit über Solltemperatur 13. June 2015 09:41 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 56 |
//=========================================================================== //============================= PID Settings ================================ //=========================================================================== // PID Tuning Guide here: [reprap.org] // Comment the following line to disable PID and enable bang-bang. #define PIDTEMP #define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current #define PID_MAX BANG_MAX // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current #ifdef PIDTEMP //#define PID_DEBUG // Sends debug data to the serial port. //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX //#define SLOW_PWM_HEATERS // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay //#define PID_PARAMS_PER_EXTRUDER // Uses separate PID parameters for each extruder (useful for mismatched extruders) // Set/get with gcode: M301 E[extruder number, 0-2] #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature // is more then PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max. #define PID_INTEGRAL_DRIVE_MAX PID_MAX //limit for the integral term #define K1 0.95 //smoothing factor within the PID #define PID_dT ((OVERSAMPLENR * 10.0)/(F_CPU / 64.0 / 256.0)) //sampling period of the temperature routine // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it // Ultimaker //Used PID Autotuning at 200C #define DEFAULT_Kp 28.55 #define DEFAULT_Ki 1.6 #define DEFAULT_Kd 127.72 // MakerGear // #define DEFAULT_Kp 7.0 // #define DEFAULT_Ki 0.1 // #define DEFAULT_Kd 12 // Mendel Parts V9 on 12V // #define DEFAULT_Kp 63.0 // #define DEFAULT_Ki 2.25 // #define DEFAULT_Kd 440 #endif // PIDTEMP //=========================================================================== //============================= PID > Bed Temperature Control =============== //=========================================================================== // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis // // Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder. // If your PID_dT above is the default, and correct for your hardware/configuration, that means 7.689Hz, // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. // If your configuration is significantly different than this and you don't understand the issues involved, you probably // shouldn't use bed PID until someone else verifies your hardware works. // If this is enabled, find your own PID constants below. //#define PIDTEMPBED // #define BED_LIMIT_SWITCHING // This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, // so you shouldn't use it unless you are OK with PWM on your bed. (see the comment on enabling PIDTEMPBED) #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current #ifdef PIDTEMPBED //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) //original values; works well for Sparkcube MK2 #define DEFAULT_bedKp 10.0 #define DEFAULT_bedKi .023 #define DEFAULT_bedKd 305.4 //sparkcube MK2 4mm alu. Used autotune: Too slow! // #define DEFAULT_bedKp 437.54 // #define DEFAULT_bedKi 51.86 // #define DEFAULT_bedKd 922.83 //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) //from pidautotune // #define DEFAULT_bedKp 97.1 // #define DEFAULT_bedKi 1.41 // #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. #endif // PIDTEMPBED //this prevents dangerous Extruder moves, i.e. if the temperature is under the limit //can be software-disabled for whatever purposes by #define PREVENT_DANGEROUS_EXTRUDE //if PREVENT_DANGEROUS_EXTRUDE is on, you can still disable (uncomment) very long bits of extrusion separately. #define PREVENT_LENGTHY_EXTRUDE #define EXTRUDE_MINTEMP 170 #define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH) //prevent extrusion of very large distances.
|
Re: Heizbett heizt weit über Solltemperatur 13. June 2015 11:06 |
Registrierungsdatum: 13 Jahre zuvor Beiträge: 3.973 |
|
Re: Heizbett heizt weit über Solltemperatur 13. June 2015 11:18 |
Registrierungsdatum: 11 Jahre zuvor Beiträge: 4.977 |
| Triffid Hunter's Calibration Guide | --> X <-- Drill for new Monitor | Most important Gcode. |
|
Re: Heizbett heizt weit über Solltemperatur 13. June 2015 14:26 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 56 |
|
Re: Heizbett heizt weit über Solltemperatur 13. June 2015 16:08 |
Registrierungsdatum: 11 Jahre zuvor Beiträge: 4.977 |
| Triffid Hunter's Calibration Guide | --> X <-- Drill for new Monitor | Most important Gcode. |
|
Re: Heizbett heizt weit über Solltemperatur 13. June 2015 18:34 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 56 |
|
Re: Heizbett heizt weit über Solltemperatur 14. June 2015 07:18 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 56 |
|
Re: Heizbett heizt weit über Solltemperatur 14. June 2015 12:00 |
Registrierungsdatum: 12 Jahre zuvor Beiträge: 215 |
|
Solved: Re: Heizbett heizt weit über Solltemperatur 15. June 2015 15:56 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 56 |
|
Re: Solved: Re: Heizbett heizt weit über Solltemperatur 16. June 2015 05:31 |
Registrierungsdatum: 12 Jahre zuvor Beiträge: 215 |
|
Re: Heizbett heizt weit über Solltemperatur 25. August 2015 15:00 |
Registrierungsdatum: 10 Jahre zuvor Beiträge: 1 |
|
Re: Heizbett heizt weit über Solltemperatur 25. August 2015 17:02 |
Administrator Registrierungsdatum: 18 Jahre zuvor Beiträge: 14.165 |

|
Re: Heizbett heizt weit über Solltemperatur 26. August 2015 01:17 |
Registrierungsdatum: 11 Jahre zuvor Beiträge: 4.977 |
| Triffid Hunter's Calibration Guide | --> X <-- Drill for new Monitor | Most important Gcode. |