Difference between revisions of "Tuning hot-end temperature controller"

From re:3D
Jump to: navigation, search
(To fine-tune the hot-end PID control loop)
(Dual Extruder)
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
===Single Extruder===
 +
#Connect Gigabot's power and USB cables.
 +
#Using Pronterface connect to Gigabot.
 +
#Turn on the head fan by typing M106 S255 command in the lower right corner of Pronterface.
 +
#Ensure the hot end temperature is below 100C.
 +
#In Pronterface type into the data entry box at the lower right corner:
  
With the extruder cooled off:
+
::For GB2 use “M303 S200”
 +
::For GB3 Left Extruder use “M303 E0 S200” 
  
In Pronterface type into the data entry box at the lower right corner “M303 S195”. This will start the PID auto-tune function in the Marlin Firmware. It will cycle the heat up and down several times until displaying the message: PID Autotune Complete
+
This will start the PID auto-tune function in the Marlin Firmware. The hot end will cycle the heat up and down for a couple minutes until displaying the message: "PID Autotune Complete". Write down the last set of output values given.
Read the last set of output values given
+
  
 
:Classic PID
 
:Classic PID
Line 10: Line 16:
 
:Kd: 150.98
 
:Kd: 150.98
  
Copy these values on a piece of paper.
+
Adjusting the firmware
 +
#In Pronterface DISCONNECT from Gigabot, Close Pronterface, RESTART Pronterface.
 +
#Connect to Gigabot.
 +
#In Pronterface type into the data entry box at the lower right corner: "M301 H1 P(your Kp value) I(your Ki value) D(your Kd value)".
 +
#It should look like this using the example above: "M301 H1 P50.03 I1.98 D150.98" This will TEMPORARILY change the current settings for the temperature controller.
 +
#In Pronterface type into the data entry box at the lower right corner: "M500" and press Enter. This will make changes permanent.
 +
#In Pronterface: Set hot-end temperature to 200C and watch the temperature overshoot the target temp slightly, undershoot slightly and then settles onto the target temp within 1-2 deg.
  
In Pronterface disconnect from Gigabot
+
===Dual Extruder===
 +
#Tune each extruder separately.
 +
#Connect Gigabot's power and USB cables.
 +
#Using Pronterface connect to Gigabot.
 +
#Turn on the head fan by typing M106 S255 command in the lower right corner of Pronterface.
 +
#Ensure the hot end temperature is below 100C.
 +
#In Pronterface type into the data entry box at the lower right corner:
 +
 +
::For GB3 Left Extruder use “M303 E0 S200”
 +
::For GB3 Right Extruder use “M303 E1 S200”
  
Close Pronterface
+
This will start the PID auto-tune function in the Marlin Firmware. The hot end will cycle the heat up and down for a couple minutes until displaying the message: "PID Autotune Complete". Write down the last set of output values given.
  
Restart Pronterface
+
:Classic PID
 
+
:Kp: 50.03
Connect to Gigabot
+
:Ki: 1.98
 
+
:Kd: 150.98
In Pronterface type into the data entry box at the lower right corner:
+
 
+
M301 P(your Kp value) I(your Ki value) D(your Kd value)
+
 
+
It should look like this using the example above: M301 P50.03 I1.98 D150.98
+
 
+
This will change the current settings for the temperature controller.
+
 
+
Set hot-end temperature to 195 and watch that it comes up to temp, overshoots the target temp slightly, undershoots temp slightly and then settles onto the target temp within 1-2 deg C.
+
 
+
These kp, ki and kd values should be copied and pasted into the start g-code in Slic3r
+
  
Slic3r -> Printer Settings -> Custom G-code -> Start G-code
+
Adjusting the firmware
 +
#In Pronterface disconnect from Gigabot, Close Pronterface, Restart Pronterface.
 +
#Connect to Gigabot.
 +
#In Pronterface type into the data entry box at the lower right corner: Left Extruder "M301 H1 P(your Kp value) I(your Ki value) D(your Kd value)" or Right Extruder "M301 H2 P(your Kp value) I(your Ki value) D(your Kd value)"
 +
#It should look like this using the example above: "M301 H1 P50.03 I1.98 D150.98" This will TEMPORARILY change the current settings for the temperature controller.
 +
#In Pronterface type into the data entry box at the lower right corner: "M500" This will make changes permanent.
 +
#In Pronterface: Set hot-end temperature to 200C and watch the temp overshoot the target slightly, undershoot slightly and then settles onto the target temp within 1-2 deg.

Latest revision as of 20:05, 26 March 2016

Single Extruder

  1. Connect Gigabot's power and USB cables.
  2. Using Pronterface connect to Gigabot.
  3. Turn on the head fan by typing M106 S255 command in the lower right corner of Pronterface.
  4. Ensure the hot end temperature is below 100C.
  5. In Pronterface type into the data entry box at the lower right corner:
For GB2 use “M303 S200”
For GB3 Left Extruder use “M303 E0 S200”

This will start the PID auto-tune function in the Marlin Firmware. The hot end will cycle the heat up and down for a couple minutes until displaying the message: "PID Autotune Complete". Write down the last set of output values given.

Classic PID
Kp: 50.03
Ki: 1.98
Kd: 150.98

Adjusting the firmware

  1. In Pronterface DISCONNECT from Gigabot, Close Pronterface, RESTART Pronterface.
  2. Connect to Gigabot.
  3. In Pronterface type into the data entry box at the lower right corner: "M301 H1 P(your Kp value) I(your Ki value) D(your Kd value)".
  4. It should look like this using the example above: "M301 H1 P50.03 I1.98 D150.98" This will TEMPORARILY change the current settings for the temperature controller.
  5. In Pronterface type into the data entry box at the lower right corner: "M500" and press Enter. This will make changes permanent.
  6. In Pronterface: Set hot-end temperature to 200C and watch the temperature overshoot the target temp slightly, undershoot slightly and then settles onto the target temp within 1-2 deg.

Dual Extruder

  1. Tune each extruder separately.
  2. Connect Gigabot's power and USB cables.
  3. Using Pronterface connect to Gigabot.
  4. Turn on the head fan by typing M106 S255 command in the lower right corner of Pronterface.
  5. Ensure the hot end temperature is below 100C.
  6. In Pronterface type into the data entry box at the lower right corner:
For GB3 Left Extruder use “M303 E0 S200”
For GB3 Right Extruder use “M303 E1 S200”

This will start the PID auto-tune function in the Marlin Firmware. The hot end will cycle the heat up and down for a couple minutes until displaying the message: "PID Autotune Complete". Write down the last set of output values given.

Classic PID
Kp: 50.03
Ki: 1.98
Kd: 150.98

Adjusting the firmware

  1. In Pronterface disconnect from Gigabot, Close Pronterface, Restart Pronterface.
  2. Connect to Gigabot.
  3. In Pronterface type into the data entry box at the lower right corner: Left Extruder "M301 H1 P(your Kp value) I(your Ki value) D(your Kd value)" or Right Extruder "M301 H2 P(your Kp value) I(your Ki value) D(your Kd value)"
  4. It should look like this using the example above: "M301 H1 P50.03 I1.98 D150.98" This will TEMPORARILY change the current settings for the temperature controller.
  5. In Pronterface type into the data entry box at the lower right corner: "M500" This will make changes permanent.
  6. In Pronterface: Set hot-end temperature to 200C and watch the temp overshoot the target slightly, undershoot slightly and then settles onto the target temp within 1-2 deg.