DupI3

PID Tuning

DupI3.PIDTuning History

Hide minor edits - Show changes to output

August 28, 2015, at 06:47 PM by 50.193.251.105 -
Changed line 10 from:
->I have seen some version of the firmware take a C? instead of P? for the number of cycles. If it doesn't like it you can leave it off and it should default to 3 cycles.
to:
(note) I have seen some version of the firmware take a C? instead of P? for the number of cycles. If it doesn't like it you can leave it off and it should default to 3 cycles.
August 28, 2015, at 06:46 PM by 50.193.251.105 -
Changed line 9 from:
*With the extruder at room temperature we will need to issue the PID Tuning command. This consists of the Temperature that you want to reach (print at) and the number of cycles of tuning to run. Go to the manual Send GCode box and type in: '''''M303 S220 P5''''' where '''''Sxxx''''' is the temperature you want to use (200, 210, 220, etc)  and Px is the number of cycles to run then press Enter or Send.
to:
*With the extruder at room temperature we will need to issue the PID Tuning command. This consists of the Temperature that you want to reach (print at) and the number of cycles of tuning to run. Go to the manual Send GCode box and type in: '''''M303 S220 P5''''' where '''''Sxxx''''' is the temperature you want to use (200, 210, 220, etc)  and Px is the number of cycles to run then press Enter or Send.\\
August 28, 2015, at 06:46 PM by 50.193.251.105 -
Changed lines 9-10 from:
*With the extruder at room temperature we will need to issue the PID Tuning command. This consists of the Temperature that you want to reach (print at) and the number of cycles of tuning to run. Go to the manual Send GCode box and type in: '''''M303 S220 C5''''' where '''''Sxxx''''' is the temperature you want to use (200, 210, 220, etc)  and Cx is the number of cycles to run then press Enter or Send.
to:
*With the extruder at room temperature we will need to issue the PID Tuning command. This consists of the Temperature that you want to reach (print at) and the number of cycles of tuning to run. Go to the manual Send GCode box and type in: '''''M303 S220 P5''''' where '''''Sxxx''''' is the temperature you want to use (200, 210, 220, etc)  and Px is the number of cycles to run then press Enter or Send.
->I have seen some version of the firmware take a C? instead of P? for the number of cycles. If it doesn't like it you can leave it off and it should default to 3 cycles
.
August 28, 2015, at 05:34 PM by 50.193.251.105 -
Changed line 9 from:
*With the extruder at room temperature we will need to issue the PID Tuning command. This consists of the Temperature that you want to reach (print at) and the number of cycles of tuning to run. Go to the manual Send GCode box and type in: '''''M303 S220 C5''''' where S220 is the temperature you want to use (200, 210, 220, etc) then press Enter or Send.
to:
*With the extruder at room temperature we will need to issue the PID Tuning command. This consists of the Temperature that you want to reach (print at) and the number of cycles of tuning to run. Go to the manual Send GCode box and type in: '''''M303 S220 C5''''' where '''''Sxxx''''' is the temperature you want to use (200, 210, 220, etc)  and Cx is the number of cycles to run then press Enter or Send.
August 28, 2015, at 05:34 PM by 50.193.251.105 -
Added lines 1-2:
----
August 28, 2015, at 05:33 PM by 50.193.251.105 -
Added line 17:
*Wait until you see the message about PID Tuning being complete or having finished. You will see one last set of numbers.
August 28, 2015, at 05:32 PM by 50.193.251.105 -
Changed line 7 from:
*With the extruder at room temperature we will need to issue the PID Tuning command. This consists of the Temperature that you want to reach (print at) and the number of cycles of tuning to run. Go to the manual Send GCode box and type in: ""'M303 S220 C5""' where S220 is the temperature you want to use (200, 210, 220, etc) then press Enter or Send.
to:
*With the extruder at room temperature we will need to issue the PID Tuning command. This consists of the Temperature that you want to reach (print at) and the number of cycles of tuning to run. Go to the manual Send GCode box and type in: '''''M303 S220 C5''''' where S220 is the temperature you want to use (200, 210, 220, etc) then press Enter or Send.
Changed line 22 from:
The "M301" command sets the values to the running configuration, and "M500" saves that configuration to EEPROM.
to:
The "M301" command sets the values to the running configuration, and "M500" saves that configuration to EEPROM.
August 28, 2015, at 05:32 PM by 50.193.251.105 -
Changed line 7 from:
*With the extruder at room temperature we will need to issue the PID Tuning command. This consists of the Temperature that you want to reach (print at) and the number of cycles of tuning to run. Go to the manual Send GCode box and type in: ''''M303 S220 C5'''' where S220 is the temperature you want to use (200, 210, 220, etc) then press Enter or Send.
to:
*With the extruder at room temperature we will need to issue the PID Tuning command. This consists of the Temperature that you want to reach (print at) and the number of cycles of tuning to run. Go to the manual Send GCode box and type in: ""'M303 S220 C5""' where S220 is the temperature you want to use (200, 210, 220, etc) then press Enter or Send.
August 28, 2015, at 05:31 PM by 50.193.251.105 -
Added lines 1-22:
!!!!Extruder PID Tuning
[+The default heat manager for the I3 printer is using the DeadTime method which usually works pretty well. I found that I had to change the PID Gain / Deadtime setting to 3 to get better results without the over an undershooting of the temperatures. The heat manager can be changed to use PID which can yield better results after running the PID Tuning command for a set temperature.+]

'''Changing to PID and running a PID Tune:'''

*Using Repetier Host go into the EEPROM settings and change the Ext1. Heat Manager to 1 and then save the settings
*With the extruder at room temperature we will need to issue the PID Tuning command. This consists of the Temperature that you want to reach (print at) and the number of cycles of tuning to run. Go to the manual Send GCode box and type in: ''''M303 S220 C5'''' where S220 is the temperature you want to use (200, 210, 220, etc) then press Enter or Send.
*Once you hit send, the auto tune function will take about 15 minutes to complete. You will see the following information in your log appear multiple times with different numeric values:

->bias: 103 d: 103 min: 147.98 max: 152.02
->Ku: 65.06 Tu: 30.67
->Classic PID
->Kp: 39.04
->Ki: 2.55
->Kd: 149.66

*The values you are looking for are Kp, Ki, and Kd. Write these values down, they will be your new PID values. You can use the EEPROM menu to enter these values to the Ext1. P-gain, Ext1. I-gain and Ext1. D-gain (the kp, ki, kd values respectively) or enter the following two lines of code as we did earlier, substituting your experimental values for the ones below:

->'''M301 P39.04 I2.55 D149.66''' (press Enter or click Send)
->'''M500''' (press Enter or click Send)

The "M301" command sets the values to the running configuration, and "M500" saves that configuration to EEPROM.