Browse Source

Enable PIDBED

chrono 9 years ago
parent
commit
08bc723a3c
1 changed files with 10 additions and 17 deletions
  1. 10
    17
      Marlin/example_configurations/Felix/Configuration.h

+ 10
- 17
Marlin/example_configurations/Felix/Configuration.h View File

70
 // #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
70
 // #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
71
 
71
 
72
 // This defines the number of extruders
72
 // This defines the number of extruders
73
-#define EXTRUDERS 2
73
+#define EXTRUDERS 1
74
 
74
 
75
 //// The following define selects which power supply you have. Please choose the one that matches your setup
75
 //// The following define selects which power supply you have. Please choose the one that matches your setup
76
 // 1 = ATX
76
 // 1 = ATX
205
 // If your configuration is significantly different than this and you don't understand the issues involved, you probably
205
 // If your configuration is significantly different than this and you don't understand the issues involved, you probably
206
 // shouldn't use bed PID until someone else verifies your hardware works.
206
 // shouldn't use bed PID until someone else verifies your hardware works.
207
 // If this is enabled, find your own PID constants below.
207
 // If this is enabled, find your own PID constants below.
208
-//#define PIDTEMPBED
208
+#define PIDTEMPBED
209
 //
209
 //
210
 //#define BED_LIMIT_SWITCHING
210
 //#define BED_LIMIT_SWITCHING
211
 
211
 
216
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
216
 #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
217
 
217
 
218
 #ifdef PIDTEMPBED
218
 #ifdef PIDTEMPBED
219
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
220
-//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
221
-    #define  DEFAULT_bedKp 10.00
222
-    #define  DEFAULT_bedKi .023
223
-    #define  DEFAULT_bedKd 305.4
224
-
225
-//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
226
-//from pidautotune
227
-//    #define  DEFAULT_bedKp 97.1
228
-//    #define  DEFAULT_bedKi 1.41
229
-//    #define  DEFAULT_bedKd 1675.16
219
+// Felix Foil Heater
220
+   #define DEFAULT_bedKp 103.37
221
+   #define DEFAULT_bedKi 2.79
222
+   #define DEFAULT_bedKd 956.94
230
 
223
 
231
 // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
224
 // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
232
 #endif // PIDTEMPBED
225
 #endif // PIDTEMPBED
270
 // uncomment the 2 defines below:
263
 // uncomment the 2 defines below:
271
 
264
 
272
 // Parameters for all extruder heaters
265
 // Parameters for all extruder heaters
273
-//#define THERMAL_RUNAWAY_PROTECTION_PERIOD 40 //in seconds
274
-//#define THERMAL_RUNAWAY_PROTECTION_HYSTERESIS 4 // in degree Celsius
266
+#define THERMAL_RUNAWAY_PROTECTION_PERIOD 60 //in seconds
267
+#define THERMAL_RUNAWAY_PROTECTION_HYSTERESIS 5 // in degree Celsius
275
 
268
 
276
 // If you want to enable this feature for your bed heater,
269
 // If you want to enable this feature for your bed heater,
277
 // uncomment the 2 defines below:
270
 // uncomment the 2 defines below:
278
 
271
 
279
 // Parameters for the bed heater
272
 // Parameters for the bed heater
280
-//#define THERMAL_RUNAWAY_PROTECTION_BED_PERIOD 20 //in seconds
281
-//#define THERMAL_RUNAWAY_PROTECTION_BED_HYSTERESIS 2 // in degree Celsius
273
+#define THERMAL_RUNAWAY_PROTECTION_BED_PERIOD 30 //in seconds
274
+#define THERMAL_RUNAWAY_PROTECTION_BED_HYSTERESIS 5// in degree Celsius
282
 
275
 
283
 
276
 
284
 //===========================================================================
277
 //===========================================================================

Loading…
Cancel
Save