Jak zapnout PID
Napsal: 17.12.2017 00:44
Ahoj,
snazim se zprovoznit PID regulaci hotendu a nejak se mi to nezda. Takhle vypada nahrivani na 200C. Vadi mi u toho na zacatku velke prekroceni teploty. S tim by si PID mel poradit. Mezi temi tremi nahratimi hotendu jsem menil parametry PID a presto ta krivka vypada porad stejne.
Mam Marlin 1.1. V configuration.h vypada PID zapnuty.
Nevite, co delam spatne?
(resim to proto, ze pri nahrivani na nylon 280C mi to preleze maxtemp - mam nastaven na 305C. Pred tiskem musim rucne nahrat nejdriv na 250, ono to dost presvihne a pak pomalu zvysovat na 280.)
snazim se zprovoznit PID regulaci hotendu a nejak se mi to nezda. Takhle vypada nahrivani na 200C. Vadi mi u toho na zacatku velke prekroceni teploty. S tim by si PID mel poradit. Mezi temi tremi nahratimi hotendu jsem menil parametry PID a presto ta krivka vypada porad stejne.
Mam Marlin 1.1. V configuration.h vypada PID zapnuty.
- Kód: Vybrat vše
// 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
#if ENABLED(PIDTEMP)
//#define PID_AUTOTUNE_MENU // Add PID Autotune to the LCD "Temperature" menu to run M303 and apply the result.
//#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_HOTEND // 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 than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
#define K1 0.95 //smoothing factor within the PID
// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
// Ultimaker
#define DEFAULT_Kp 22.2
#define DEFAULT_Ki 1.08
#define DEFAULT_Kd 114
Nevite, co delam spatne?
(resim to proto, ze pri nahrivani na nylon 280C mi to preleze maxtemp - mam nastaven na 305C. Pred tiskem musim rucne nahrat nejdriv na 250, ono to dost presvihne a pak pomalu zvysovat na 280.)