mirror of
https://github.com/teachingtechYT/teachingtechYT.github.io.git
synced 2024-08-30 18:23:26 +00:00
962 lines
84 KiB
HTML
962 lines
84 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Teaching Tech 3D Printer Calibration</title>
|
|
<link type="text/css" rel="stylesheet" href="css/styles.css">
|
|
<link type="text/css" rel="stylesheet" href="css/responsive-tabs.css">
|
|
<link type="text/css" rel="stylesheet" href="css/featherlight.css">
|
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet">
|
|
<script src="js/jquery-3.5.1.js"></script>
|
|
<script src="js/jquery.responsiveTabs.js"></script>
|
|
<script src="js/videobox.js"></script>
|
|
<script src="js/featherlight.js"></script>
|
|
<script src="js/baseline.js"></script>
|
|
<script src="js/retraction.js"></script>
|
|
<script src="js/temperature.js"></script>
|
|
<script src="js/acceleration.js"></script>
|
|
<script src="js/encoding-indexes.js"></script>
|
|
<script src="js/encoding.js"></script>
|
|
<script src="js/gcodeprocessing.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="header">
|
|
<img src="img/tt.png" class="icon" style="vertical-align:middle;" /><h1>Teaching Tech 3D Printer Calibration</h1><span id="donate">Useful? Considering supporting me: <a href="https://paypal.me/testlawgicau" target="blank"><img class="icon" src="img/paypal.png" /></a><a href="http://www.patreon.com/teachingtech" target="blank"><img class="icon" src="img/patreon.png" /></a></span>
|
|
</div>
|
|
<div id="tabs">
|
|
<ul>
|
|
<li><a href="#intro">Introduction</a></li>
|
|
<li><a href="#frame">Frame Check</a></li>
|
|
<li><a href="#pid">PID Autotune</a></li>
|
|
<li><a href="#baseline">Baseline Print</a></li>
|
|
<li><a href="#esteps">Extruder E-steps Calibration</a></li>
|
|
<li><a href="#flow">Slicer Flow Calibration</a></li>
|
|
<li><a href="#steppers">Stepper Motor Driver Current</a></li>
|
|
<li><a href="#retraction">Retraction Tuning</a></li>
|
|
<li><a href="#temp">Temperature Tuning</a></li>
|
|
<li><a href="#accel">Acceleration Tuning</a></li>
|
|
<li><a href="#linadv">Linear Advance</a></li>
|
|
</ul>
|
|
|
|
<div id="intro">
|
|
<h2>Introduction</h2>
|
|
<p>This page serves as a companion for this video: <a href="https://www.youtube.com/watch?v=rp3r921DBGI" target="_blank">3D printer calibration revolutionised - Step by step to better print quality</a></p>
|
|
<iframe width="480" height="360" src="https://www.youtube.com/embed/rp3r921DBGI" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
<p>It aims to make calibrating your 3D printer as easy as possible. If you find it helps you and you would like to say thank you, here is a donation link: <a href="https://paypal.me/testlawgicau" target="blank">PayPal.me</a></p>
|
|
<p>Special thanks to my <a href="http://www.patreon.com/teachingtech" target="_blank">Patrons</a> for suggesting this video, helping define the contents and testing/proofing.</p>
|
|
<p>Watch the video and then work through each tab. I have created a custom gcode generator to assist in making testing towers. This used to be a laborious process and beyond the skills of many users. Other times pre-sliced gcode was used from the internet, but it is impossible to have gcode available for every printer configuration. <i>Until now!</i></p>
|
|
<div class="warning">
|
|
<h2>Warning - Read carefully!</h2>
|
|
<p>Every attempt has been made to ensure this is safe but ultimately there always is risk in running pre-sliced gcode from the internet. Preview the gcode in your slicer or <a href="http://gcode.ws/" target="_blank">Gcode.ws</a> and <span style="color:red; font-weight: bolder;">print at your own risk.</span></p>
|
|
<p>Only print this gcode when you are present, alert and capable of stopping the printer in case of emergency.</p>
|
|
<p>Validation has been built into the forms to only allow sensible min and max values, however this is not foolproof.</p>
|
|
<p>The gcode generated by this page has the following general characteristics:</p>
|
|
<ul>
|
|
<li>0.2mm layer height</li>
|
|
<li>0.4mm nozzle</li>
|
|
<li>Base feedrate of 60mm/sec</li>
|
|
<li>0.2 - 0.4mm of Z hop</li>
|
|
<li>Nozzle priming has been turned off to avoid bed clips or problems with deltas</li>
|
|
<li>A single layer skirt (except on the acceleration test)</li>
|
|
</ul>
|
|
<p>To be compatible, your printer should have a miniumum bed size of 100 x 100mm. The largest print is 85x 95 x 30mm.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="frame">
|
|
<div class="exp">
|
|
<h2>Frame Check</h2>
|
|
<h5>Aim:</h5>
|
|
<p>To ensure there are no underlying problems with the frame or mechanical components of the 3D printer.</p>
|
|
<h5>When required:</h5>
|
|
<p>Any time the frame or mechanical components have been disassembled or replaced.</p>
|
|
<h5>Tools:</h5>
|
|
<p>Basic spanners, allen keys, etc.</p>
|
|
</div>
|
|
<p>It would be easy to use the techniques elsewhere on this page to try and fix problems that were actually caused by a problem with the physical components, so we will eliminate this possibility first.</p>
|
|
<p>Many of these procedures are covered in this video: <a href="https://youtu.be/T-Z3GmM20JM" target="_blank">Complete beginner's guide to 3D printing - Assembly, tour, slicing, levelling and first prints</a></p>
|
|
<iframe width="480" height="360" src="https://www.youtube.com/embed/T-Z3GmM20JM" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
<h4>Loose nuts and bolts</h4>
|
|
<p>Move around the machine and check all fasteners. Crucial ones include those on the print head gantry such as those that hold the hot end on.</p>
|
|
<h4>V-roller tension</h4>
|
|
<p>If your printer has a motion system based on V-roller wheels riding on V-slot extrusions, check they are properly tensioned. Each location will have one eccentric nut. This can be twisted to either add or remove tension on the wheels.</p>
|
|
<p><b>If the wheels are too loose:</b> Wobble will be present in the assembly, which will show in the print as surface artefacts.</p>
|
|
<p><b>If the wheels are too tight:</b> The assembly will be too tense, which will wear the V-rollers prematurely.</p>
|
|
<h4>Bed Levelling</h4>
|
|
<p>Probably the most essential part of setting up your 3D printer. Most new users will trip up on this. If you have ABL, this includes making sure your Z offset has been set and saved. My method is included in the above video and this diagram is a handy reference:</p>
|
|
<a href="#" data-featherlight="img/firstlayer.jpg"><img class="thumb" src="img/firstlayer.jpg" /></a>
|
|
<h4>PTFE Tube</h4>
|
|
<p>If your printer has PTFE tube, such as a bowden tube setup for the extruder/hot end, it is essential to make the tube is fully inserted and seated in the coupler. Also ensure the coupler is properly tightened. You may wish to use a small retaining clip on the coupler to prevent the tube working loose: <a href="https://www.thingiverse.com/thing:4268489" target="_blank">Creality PTFE clip by morfidesign</a>.</p>
|
|
<h4>Nozzle</h4>
|
|
<p>It is worth heating up the nozzle and pushing some filament through to see if it is exiting the nozzle properly. If the diameter is inconsistent or the extruded plastic shoots to one side, it may indicate a partial blockage in the nozzle that will be a pain in the future. It is also worth checking if the nozzle is properly tightened. Only do this when it is hot or you may break it.</p>
|
|
<h4>Belts</h4>
|
|
<p>Ensure all belts are properly alinged and tensioned sufficiently. Also check the grub screws are tight on the pulleys that connect the belts to the stepper motors.</p>
|
|
<h4>Fans</h4>
|
|
<p>Check all fans are spinning freely. This includes but is not limited to: mainboard cooling fan, heat sink fan, part cooling fan, PSU fan. It can be hard to diagose if a fan is performing at less than full capacity. It may be easier to simply replace than repair if you suspect a fan is failing.</p>
|
|
<p>Another suitable video for seeing some of these procedures is here:</p>
|
|
<iframe width="480" height="360" src="https://www.youtube.com/embed/kAafiApJs9A" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
</div>
|
|
|
|
<div id="pid">
|
|
<div class="exp">
|
|
<h2>PID Autotune</h2>
|
|
<h5>Aim:</h5>
|
|
<p>To ensure the heating of the 3D printer nozzle and bed are safe, stable and consistent.</p>
|
|
<h5>When required:</h5>
|
|
<p>Any time the hot end is changed, including addng/removing a silicone sock or altering part cooling fan/ducts. Any time the bed is changed, such as adding a glass/mirror plate, magnetic spring steel sheet and/or under bed insulation.</p>
|
|
<h5>Tools:</h5>
|
|
<p>Terminal software such as <a href="https://www.pronterface.com/" target="_blank">Pronterface</a> or <a href="https://octoprint.org/" target="_blank">Octoprint</a>.</p>
|
|
</div>
|
|
<p>PID autotuning is quick and easy, and relates to the most potentially dangerous components of your 3D printer: the heaters. It makes sense to do it as a first step. This procedure is covered in this video: <a href="https://youtu.be/qCtL0Yd_w0I" target="_blank">Two easy fixes for 3D printer temperature swings</a></p>
|
|
<iframe width="480" height="360" src="https://www.youtube.com/embed/qCtL0Yd_w0I" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
<p>In Marlin, this is a very straightforward process using <a href="https://marlinfw.org/docs/gcode/M303.html" target="_blank">M303</a>.</p>
|
|
<p>In a terminal, enter the following to tune the hot end:</p>
|
|
<pre>M303 E0 S200 U1</pre>
|
|
<p>This will tune the hot end at 200 degrees. The <b>S</b> value can be altered to suit your most common printing temperature. The <b>U1</b> means the result is stored to RAM and we can save it immediately to EEPROM by sending:</p>
|
|
<pre>M500</pre>
|
|
<p>For the bed, <b>PIDTEMPBED</b> must be enabled in the firmware, then the command is quite similar:</p>
|
|
<pre>M303 E-1 S60 U1</pre>
|
|
<p>The bed is selected with <ib>E-1</b>, and the temp set to 60 degrees. Substitute as necessary for your normal printing bed temperature. Once again save to EEPROM afterwards with:</p>
|
|
<pre>M500</pre>
|
|
<p>It may be preferable to have the printer as close to printing conditions as possible during these tuning prodecures. That means having filament loaded and the part cooling fan on for PLA temperatures.</p>
|
|
</div>
|
|
|
|
<div id="baseline">
|
|
<div class="exp">
|
|
<h2>Baseline Print</h2>
|
|
<h5>Aim:</h5>
|
|
<p>To establish a baseline for comparison with later tests or before modifications.</p>
|
|
<h5>When required:</h5>
|
|
<p>Before general calibration or before a significant modification is to be fitted.</p>
|
|
<h5>Tools:</h5>
|
|
<p>Gcode generator on this page.</p>
|
|
</div>
|
|
<p>The form below will create a customised version of the <a href="https://www.thingiverse.com/thing:1278865" target="_blank">XYZ 20mm calibration cube by iDig3Dprinting</a>. It is fast to print and gives a good indication if there is any fundamental problem with the printer.</p>
|
|
<a href="#" data-featherlight="img/cube.jpg"><img class="thumb" src="img/cube.jpg" /></a>
|
|
<form name="baselineForm" id="baselineForm" onsubmit="return false;">
|
|
<h4>Bed dimensions</h4>
|
|
<p>Inputting the correct number will attempt to move the print into the centre of the bed. If the 0,0 at centre button is checked, the bed size is irrelevant. Please check the gcode to ensure it will fit on your bed.</p>
|
|
<label>0,0 at centre of bed (Delta):<input name="centre" type="checkbox" onchange="toggle(this.checked, '#baselineXY')" value="centre"></label>
|
|
<span id="baselineXY"><label>Bed X dimension (mm): <input type="number" name="bedx" value="100" min="100" max="600" step="1"></label>
|
|
<label>Bed Y dimension (mm): <input type="number" name="bedy" value="100" min="100" max="600" step="2"></label><br /></span>
|
|
<h4>Temperatures</h4>
|
|
<p>For the hot end and bed respectively, typical PLA temperatures are 200 and 60, PETG 235 and 80, ABS 250 and 100, TPU 230 and 5 (effectively off).</p>
|
|
<label>Hot end temperature (deg C): <input type="number" name="hotendtemp" value="200" min="160" max="450"></label>
|
|
<label>Bed temperature (deg C): <input type="number" name="bedtemp" value="60" min="5" max="150"></label><br />
|
|
<h4>Part Cooling Fan</h4>
|
|
<p>Printing with PLA typically has the part cooling fan come on from layer 2. Alter this default bahaviour here:</p>
|
|
<label for="pc">Select part cooling fan behaviour:</label>
|
|
<select name="pc">
|
|
<option value="0">100% fan from layer 2</option>
|
|
<option value="1">50% fan from layer 2</option>
|
|
<option value="2">No constant fan</option>
|
|
</select>
|
|
<h4>Auto Bed Levelling</h4>
|
|
<label for="abl">Select which method of ABL is in place.</label>
|
|
<select name="abl">
|
|
<option value="0">No ABL</option>
|
|
<option value="1">Probe new mesh at the start of print - G29</option>
|
|
<option value="2">Restore saved mesh - M420 S1</option>
|
|
<option value="3">Prusa MK3 - G28 W followed by M80</option>
|
|
<option value="4">Prusa Mini - Only heat nozzle to 170, then G29</option>
|
|
</select>
|
|
<h4>Retraction</h4>
|
|
<p>If you don't know what to enter here, you can leave the retraction speed at 40 mm/sec. For a bowden tube printer, 6mm is a likely retraction distance. For direct drive, a starting value of 1mm may be suitable.</p>
|
|
<label>Retraction distance (mm): <input type="number" name="retdist" value="5" min="0" max="20"></label>
|
|
<label>Retraction speed (mm/sec): <input type="number" name="retspeed" value="40" min="5" max="150"></label><br />
|
|
|
|
<p><input type="button" onclick="processBaseline()" value="Download Gcode"></p>
|
|
</form>
|
|
<h2>Interpreting Results:</h2>
|
|
<p>The cube should look similar to those at the top of this page. If there are no major issues, please continue to the next step. If there is a significant defect, the culprit will likely be found by working through the frame page.</p>
|
|
</div>
|
|
|
|
<div id="esteps">
|
|
<div class="exp">
|
|
<h2>Extruder E-steps Calibration</h2>
|
|
<h5>Aim:</h5>
|
|
<p>To determine the correct amount of steps Marlin firmware needs to send to the extruder stepper motor for accurate movement.
|
|
<h5>When required:</h5>
|
|
<p>Base calibration, as well as any time there has been a change to the extruder/hot end.</p>
|
|
<h5>Tools:</h5>
|
|
<p>Ruler, permanent marker, terminal software such as <a href="https://www.pronterface.com/" target="_blank">Pronterface</a> or <a href="https://octoprint.org/" target="_blank">Octoprint</a>.</p>
|
|
</div>
|
|
<p>For the X, Y, and Z axes, the steps per mm is usually consistent between printers and rarely changes with modifications. As long as belts are tight and true, it rarely needs to be tuned.</p>
|
|
<p>For the extruder however, variations in extruder hardware and filament means it is worth properly calibrating the extruder steps per mm, or E-steps.</p>
|
|
<p>This can be done by sending simple gcode commands via terminal to extrude a set amount of filament, then measuring how much filament actually went through the system.</p>
|
|
<p>Firstly, we need to know the existing E-steps value. To find this, enter:</p>
|
|
<pre>M92</pre>
|
|
<p><a href="https://marlinfw.org/docs/gcode/M092.html" target="_blank">M92</a> is used to report or set the steps per mm for each axis. M92 by itself will report the current parameters. We want to make note of the number after <b>E</b>, in the example below, <b>93.00</b>:</p>
|
|
<img src="img/esteps1.jpg" />
|
|
<p>Now heat up your hot end to whatever temperature you usually print with. Once the temperature is stable, enter:</p>
|
|
<pre>G91</pre>
|
|
<p><a href="https://marlinfw.org/docs/gcode/G091.html" target="_blank">G91</a> puts the printer in relative movement mode. This means requesting 100mm of filament adds 100mm to the current position, instead of moving to the specific position of 100mm.</p>
|
|
<p>Now we take a permanent marker and put a mark 120mm from the entry to the extruder:</p>
|
|
<a href="#" data-featherlight="img/mark.jpg"><img class="thumb" src="img/mark.jpg" /></a>
|
|
<p>Next, we enter:</p>
|
|
<pre>G1 E100 F100</pre>
|
|
<p><a href="https://marlinfw.org/docs/gcode/G000-G001.html" target="_blank">G1</a> sends a move command to the printer, in this case asking the extruder to advance 100mm at a speed of 100mm/sec.</p>
|
|
<p>The filament will then slowly go through the extruder and hot end. Once the extrusion finishes, we measure the distance between the mark and the entry to the extruder.</p>
|
|
<img src="img/mark2.jpg" />
|
|
<p>Ideally, 20mm remains, which means exactly 100mm was extruded. If your distance is anything other that this, complete the form below to calculate the correct E-steps:</p>
|
|
<form name="estepsForm" onsubmit="return false;">
|
|
<p><label>Previous E-steps as reported by M92: <input type="number" name="oldSteps" value="93"></label></p>
|
|
<p><label>Measurement between extruder entry and mark on filament (mm): <input type="number" name="remainingFil" value="20"></label></p>
|
|
<input type="button" onclick="esteps();" value="Calculate">
|
|
<div id="estepsresult">
|
|
<p>There was <b id="e1"></b> mm of filament remaining, which means you extruded <b id="e2"></b> mm of filament. Your new E-steps should be <b id="e3"></b><br />
|
|
Enter the following in the terminal:</p>
|
|
<pre>M92 E<span id="e4"></span></pre>
|
|
<p>Followed by M500 to save to EEPROM.</p>
|
|
<pre>M500</pre>
|
|
<p>You may wish to repeat this test with the new E-steps value to verify.</p>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="flow">
|
|
<div class="exp">
|
|
<h2>Slicer Flow Calibration</h2>
|
|
<h5>Aim:</h5>
|
|
<p>To determine the correct amount filament to be extruded by the 3D printer as directed by the slicer.
|
|
<h5>When required:</h5>
|
|
<p>Base calibration, as well as any time there has been a change to the extruder/hot end.</p>
|
|
<h5>Tools:</h5>
|
|
<p>Your favourite slicer. Accurate vernier calipers (two decimal places is much more prefferable to a set with only one).</p>
|
|
</div>
|
|
<p>Our E-steps are now correct in the firmware, so we will move on to calibrating the slicer. Each slicer has a setting to control the overall amount of filament extruded by the printer. If the flow rate is increased, more filament will be extruded. If the flow rate is descreased, less filament will be extruded.</p>
|
|
<p>In Simplify3D and PrusaSlicer, this is called <b>Extrusion Multiplier</b>. Cura calls it <b>Flow</b>.</p>
|
|
<p>My method of determining the correct flow rate is to print a hollow, single wall cube with a specified wall thickness, then measure the actual thickness of the wall and adjust the flow rate in the slicer to suit.</p>
|
|
<p>Unfortunately, I can't provide pre-sliced gcode for this process. It is vital to use gcode generated by <i>YOUR</i> slicer. Setting up your slicer to print the cube in the right way should be simple by following these steps:</p>
|
|
<table>
|
|
<head>
|
|
<tr>
|
|
<th>Step</th>
|
|
<th>Cura</th>
|
|
<th>Simplify3D</th>
|
|
<th>PrusaSlicer</th>
|
|
</tr>
|
|
</head>
|
|
<tbody>
|
|
<tr>
|
|
<td>1. Import STL</td>
|
|
<td colspan="3" style="text-align: center;"><a href="files/cube.stl">cube.stl</a></td>
|
|
</tr>
|
|
<tr>
|
|
<td>2. Turn off infill</td>
|
|
<td>Infill > Infill density: 0%</td>
|
|
<td>General settings > Infill percentage: 0%</td>
|
|
<td>Print settings > Infill > Fill density: 0%<br />Also set infill to 0% on main panel</td>
|
|
</tr>
|
|
<tr>
|
|
<td>3. Turn off top layers</td>
|
|
<td>Shell > Top thickness: 0</td>
|
|
<td>Layer > Top solid layers: 0</td>
|
|
<td>Print settings > Layers and perimeters > Horizontal layers > Top: 0</td>
|
|
</tr>
|
|
<tr>
|
|
<td>4. Ensure wall thickness is a known value.<br />Substitute whatever values you like here. This example uses <b>0.4</b>, which is common for a 0.4mm nozzle and 0.2mm layer height.</td>
|
|
<td>Shell > Wall thickness: <b>0.4</b></td>
|
|
<td>Extruder > Extrusion width > tick manual > <b>0.4</b></td>
|
|
<td>Print settings > Advanced > Extrusion width > Default extrusion width: <b>0.4</b><br />
|
|
<i>and</i><br />
|
|
Print settings > Advanced > Extrusion width > Perimeters: <b>0.4</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td>5. Set outer wall thickness to single extrusion</td>
|
|
<td>Shell > Wall line count: 1</td>
|
|
<td>Layer > Outline/Perimeter shells: 1</td>
|
|
<td>Print settings > Layers and perimeters > Vertical shells > Perimeters: 1</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>6. Set flow rate to default: 1.0 / 100%</td>
|
|
<td>Material > Flow: 100</td>
|
|
<td>Extruder > Extrusion multiplier: 1.0</td>
|
|
<td>Filament settings > Filament > Extrusion multiplier: 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td>7. Expected result:</td>
|
|
<td><img src="img/curacube.jpg" /></td>
|
|
<td><img src="img/simplify3dcube.jpg" /></td>
|
|
<td><img src="img/prusaslicercube.jpg" /></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p>Now slice and print!</p>
|
|
<h2>Interpreting Results:</h2>
|
|
<p>Use vernier calipers to measure the outer wall thickness of the hollow cube. Take measurements in multiple places/sides and average them.</p>
|
|
<a href="#" data-featherlight="img/measurecube.jpg"><img class="thumb" src="img/measurecube.jpg" /></a>
|
|
<p>If your measurement is <i>significantly</i> off, the following calculator can then be used to calculate the new flow rate:</p>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Cura</th>
|
|
<th>Simplify3D / PrusaSlicer</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<form name="flow1" onsubmit="return false;">
|
|
<p><label>Previous flow rate: <input type="number" name="oldFlow" value="100" min="0" max="200" step="1"></label></p>
|
|
<p><label>Target wall thickness (mm): <input type="number" name="targetWall" value="0.4" min="0.1" max="1" step="0.01"></label></p>
|
|
<p><label>Measured wall thickness (mm): <input type="number" name="measuredWall" value="0.4" min="0.1" max="1" step="0.01"></label></p>
|
|
<input type="button" onclick="flowCalc1()" value="Calculate">
|
|
<div id="flow1result">
|
|
<p>Your new flow rate should be <b id="f1"></b></p>
|
|
</div>
|
|
</form>
|
|
</td>
|
|
<td>
|
|
<form name="flow2" onsubmit="return false;">
|
|
<p><label>Previous flow rate: <input type="number" name="oldFlow" value="1.0" step="0.1" min="0.1" max="2"></label></p>
|
|
<p><label>Target wall thickness (mm): <input type="number" name="targetWall" value="0.4" min="0.1" max="1" step="0.01"></label></p>
|
|
<p><label>Measured wall thickness (mm): <input type="number" name="measuredWall" value="0.4" min="0.1" max="1" step="0.01"></label></p>
|
|
<input type="button" onclick="flowCalc2();" value="Calculate">
|
|
<div id="flow2result">
|
|
<p>Your new flow rate should be <b id="f2"></b></p>
|
|
</div>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<div class="exp">
|
|
<h2>Important note!</h2>
|
|
<p>What you see with your eyes is more important than a theoretical calculation. After you have performed this calibration, please adjust the flow rate higher or lower based on what you actually see.</p>
|
|
<p>For example, the cube shown in the thumbnail of the <a href="https://www.thingiverse.com/thing:1278865" target="_blank">XYZ 20mm calibration cube by iDig3Dprinting</a>:</p>
|
|
<a href="#" data-featherlight="img/xyzcube.jpg"><img class="thumb" src="img/xyzcube.jpg" /></a>
|
|
<p>This print shows clear signs of under extrusion. There are gaps in the top infill as well as gaps between the perimeters and infill. Despite what any calibration procedure determined, the flow rate for this slicer/printer combination needs to be increased.</p>
|
|
<p><a href="https://all3dp.com/2/over-extrusion-3d-printing-tips-and-tricks-to-solve-it/" target="_blank">This article on all3DP</a> has examples of what over extrusion looks like.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="steppers">
|
|
<div class="exp">
|
|
<h2>Stepper Motor Current Tuning</h2>
|
|
<h5>Aim:</h5>
|
|
<p>To set the correct amount of current supplied to the stepper motors of the printer. This is set with the stepper motor drivers, located on the mainboard.</p>
|
|
<h5>When required:</h5>
|
|
<p>If steps are being skipped/missed. If the stepper motors are too hot to touch. When significant changes are made to the motion system (eg. heavier bed, conversion to direct drive from bowden tube).</p>
|
|
<p>If your 3D printer is running fine without hot stepper motors, you may skip this step.</p>
|
|
<h5>Tools:</h5>
|
|
<p>For newer, 'smart' stepper motor drivers: terminal software such as <a href="https://www.pronterface.com/" target="_blank">Pronterface</a> or <a href="https://octoprint.org/" target="_blank">Octoprint</a>.</p>
|
|
<p>For older stepper motor drivers: a multimeter, small screwdriver and a spare wire with alligator clips (optional but recommended).</p>
|
|
</div>
|
|
<p>Setting the stepper driver current is an important step in calibrating a 3D printer, although typically the value does not need to be exact. There is a window within which the printer will operate without issue.</p>
|
|
<p>General methods are used on this page, but if you are after more detail on a specific driver, my <a href="https://www.youtube.com/playlist?list=PLGqRUdq5ULsOIIaBONPU65uH2s6iI6GqY" target="_blank">stepper motor driver guide playlist</a> may be of use.</p>
|
|
<p>Although we target a specific current, the following rule of thumb is the most important factor:</p>
|
|
<div class="exp">
|
|
<h5>Rule of thumb:</h5>
|
|
<p>If the stepper motor is missing steps or you are experiencing layer shifts, the stepper current needs to be increased. This will supply more torque to the motor but also make it (and the driver) run hotter.</p>
|
|
<p>If the stepper motor is too hot to touch, the stepper current needs to be decreased. This will remove torque and make the motor (and the driver) run cooler.</p>
|
|
</div>
|
|
<p>Unfortunately, sometimes a stepper motor may be running hot and still missing steps. The following may apply in these cases:</p>
|
|
<ul>
|
|
<li>In the case of the extruder stepper motor, there may be an obstruction such as a partially blocked nozzle, PTFE tube unseated, hot end temprature too low (increased resistance to melting/flow) and/or first layer too close (nozzle jammed against bed, no where for plastic to exit).</li>
|
|
<li>For X, Y and Z, the stepper motor may be undersized for the mass it is pushing. This can occur when increasing the size of the printer (eg. Ender Extender kit), adding something heavier to the bed (eg. glass/mirror plate), and/or converting from bowden tube to a heavy direct drive extruder.</li>
|
|
<li>If there is some sort of mechanical misalignment that makes movement a lot harder. This may be a V-roller that is far too tight or a misaligned Z axis leadscrew causing the Z axis to bind.</li>
|
|
<li>The acceleration/jerk and printing speeds are too aggressive for the stepper motors.</li>
|
|
<li>Each stepper motor driver has a rated current, if this is too high it will run very hot and potentially cause missed steps. Active cooling can help this but the current should still be still within the safe specifications for that driver.</li>
|
|
</ul>
|
|
<p>If tuning the stepper driver current is unable to find a sweet spot, the good news is you can upgrade to a larger stepper motor easily in most cases. Nema17 steppers have the same mounting pattern and output shaft diameter, however you should still check your machine to ensure there is enough room for a longer stepper before any purchase. With all else being equal, a longer stepper motor will be capable of more torque and handling higher current.</p>
|
|
|
|
<div class="exp">
|
|
<p>Depending on the stepper motor driver, there are two ways of setting the current:</p>
|
|
<h5>1. Physical:</h5>
|
|
<p>For older stepper motor drivers or TMC drivers running in legacy mode, the current is set by turning a trim pot screw on the top of the driver to raise or lower VREF, which in turns sets the driver current.</p>
|
|
<h5>2. Gcode:</h5>
|
|
<p>On TMC drivers, the current is set directly with gcode commands. This can be set in the firmware, via a terminal or by using the printer's LCD. This value should then be saved to EEPROM to stay persistent.</p>
|
|
<p>We will cover these one at a time below.</p>
|
|
</div>
|
|
<h2>Peak Current and Sense Resistor Value</h2>
|
|
<p>Setting stepper driver current accurately relies on knowing two values: the peak current that the stepper motor is rated for and the sense resistor value on the stepper motor driver.</p>
|
|
<p>For newer TMC drivers, the sense resistor value is already known. For older drivers, methods for determining this are seen in the following snippet. Methods for determing the stepper motor peak current are shown too:</p>
|
|
<iframe width="480" height="360" src="https://www.youtube.com/embed/H41hIXdB6js?start=307&end=359" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
<h2>1. Physical</h2>
|
|
<p>I have covered this in detail before, so please use the embedded video below (queued to the correct time) to see how to set the VREF. The process is essentially the same for any driver.</p>
|
|
<p>The VREF is just a reference voltage to assist us in setting the driver current. It is used because it is much simpler to measure voltage rather than current with a multimeter. Typically these drivers have the peak/max current set.</p>
|
|
<p>The general steps for setting current via VREF are the same between drivers, only the VREF formula changes:</p>
|
|
<ol>
|
|
<li>Power up mainboard via 12/24V normal power supply, <i>NOT</i> just USB 5V.</li>
|
|
<li>Set multimeter to DC voltage, max 2V range.</li>
|
|
<li>Connect black/negative multimeter probe to ground. This can be a negative terminal or the top of the USB connector.</li>
|
|
<li>Connect the red/positive probe to the trim pot on top of the driver to measure VREF.</li>
|
|
<li>Turn the trim pot <i>SLOWLY</i> with a screw driver, then remeasure.</li>
|
|
<li>Repeat for each stepper motor driver.</li>
|
|
</ol>
|
|
<p>Alternatively, you can use an aligator clip wire between the red probe and the metal shaft of the screwdriver, so that a VREF reading is available as you turn the screwdriver. This procedure is shown in this snippet:</p>
|
|
<iframe width="480" height="360" src="https://www.youtube.com/embed/H41hIXdB6js?start=389&end=438" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
<p>The VREF formulas for drivers I have tested are as follows:</p>
|
|
<h4>A4988</h4>
|
|
<p>The typical sense resistor value is 0.1. Please check your drivers to be sure.</p>
|
|
<pre>VREF = 8 x max current x sense resistor value</pre>
|
|
<p>Then use the video above as a guide to the process.</p>
|
|
<h4>DRV8825</h4>
|
|
<p>The sense resistor value should be 0.1. If it is:</p>
|
|
<pre>VREF = max current / 2</pre>
|
|
<p>The process is then the same as for A4988s as shown in the video above.</p>
|
|
<h4>TMC2100</h4>
|
|
<p>Like the TMC drivers covered in the gcode section, the current for the TMC2100 is set not as a peak, but instead as RMS. To determine RMS, divide the peak current by <b>1.41</b>.</p>
|
|
<pre>VREF = (RMS current * 2.5) / 1.77</pre>
|
|
<p>The process is then the same as for A4988s as shown in the video above.</p>
|
|
<h4>TMC2208 - Legacy/standalone mode (as found in Creality silent boards)</h4>
|
|
<p>Like the TMC drivers covered in the gcode section, the current for the TMC2208 (legacy mode) is set not as a peak, but instead as RMS. To determine RMS, divide the peak current by <b>1.41</b>.</p>
|
|
<pre>VREF = (RMS current * 2.5) / 1.77</pre>
|
|
<p>The process is then the same as for A4988s as shown in the video above.</p>
|
|
<h4>LV8729</h4>
|
|
<p>There are mainly two kinds of stepper driver boards with this driver.</p>
|
|
<p>One has a resistor labeled R100 on the bottom, and on the other the resistor is labeled R220. Which formula you use is based off of this resistor</p>
|
|
<p>The process is then mostly the same as for A4988s as shown in the video above, but with the correct formula for your driver board.</p>
|
|
<p>R100:</p>
|
|
<pre>VREF = max current / 2</pre>
|
|
<p>R220:</p>
|
|
<pre>VREF = max current * 1.1</pre>
|
|
<h2>2. Gcode</h2>
|
|
<p>TMC drivers connected via UART or SPI serial can easily have their current set via gcode. This is not peak current, but rather RMS (root mean square) current. Rather than the maximum, think of this as more a typical/average current, where the driver will be operating mostly. To convert the peak current from stepper motor specs to RMS, divide it by <b>1.41</b>.</p>
|
|
<p>The current can be set in a few different ways for each driver:</p>
|
|
<h4>TMC2208, TMC2209, TMC2130, etc</h4>
|
|
<p>These drivers should have a sense resistor value of <b>0.11</b>. This is the default in Marlin, so when compiling it should already be set (<b>X_RSENSE</b> for the X axis, <b>Y_SENSE</b> for Y and so forth):</p>
|
|
<img src="img/tmc1.jpg" />
|
|
<p>Therefore, you can set your RMS current directly in the firmware when compiling. This is <b>X_CURRENT</b> for the X axis, <b>Y_CURRENT</b> for the Y and so forth. After flashing firmware, remember that the previous value may still be stored in the EEPROM. Check your values by entering <b>M503</b> in a terminal.</p>
|
|
<p>You can also set the RMS current via terminal with <a href="https://marlinfw.org/docs/gcode/M906.html" target="_blank">M906</a>. Please follow the link to see the reference. An example of setting the X axis current to 680 would be:</p>
|
|
<pre>M906 X680</pre>
|
|
<p>Don't forget to save the value to EEPROM afterwards with:</p> <pre>M500</pre>
|
|
<p>Finally, the LCD <b>Configuration</b> menu can be used to set the RMS current. Don't forget to save afterwards by clicking on <b>Store Settings</b>.</p>
|
|
<h4>TMC5160</h4>
|
|
<p>The TMC5160 is the same as the other TMC drivers apart from one important difference: the sense resistor value needs to be changed from <b>0.11</b> to <b>0.075</b> when compiling the firmware.</p>
|
|
<img src="img/tmc2.jpg" />
|
|
<p>After this change is made, the same procedures apply:</p>
|
|
<p>You can set your RMS current directly in the firmware when compiling. This is <b>X_CURRENT</b> for the X axis, <b>Y_CURRENT</b> for the Y and so forth. After flashing firmware, remember that the previous value may still be stored in the EEPROM. Check your values by entering <b>M503</b> in a terminal.</p>
|
|
<p>You can also set the RMS current via terminal with <a href="https://marlinfw.org/docs/gcode/M906.html" target="_blank">M906</a>. Please follow the link to see the reference. An example of setting the X axis current to 680 would be:</p>
|
|
<pre>M906 X680</pre>
|
|
<p>Don't forget to save the value to EEPROM afterwards with:</p> <pre>M500</pre>
|
|
<p>Finally, the LCD <b>Configuration</b> menu can be used to set the RMS current. Don't forget to save afterwards by clicking on <b>Store Settings</b>.</p>
|
|
</div>
|
|
|
|
<div id="retraction">
|
|
<div class="exp">
|
|
<h2>Retraction Tuning</h2>
|
|
<h5>Aim:</h5>
|
|
<p>To set the correct parameters concerning retraction during 3D printing, including retraction distance, speed, and extra restart distance.</p>
|
|
<h5>When required:</h5>
|
|
<p>Initial calibration, any time the hot end or extruder is changed, when trying a new type/brand of filament.</p>
|
|
<h5>Tools:</h5>
|
|
<p>Gcode generator on this page.</p>
|
|
</div>
|
|
<p>FDM works by melting plastic filament and extruding it accurately one layer at a time to build up 3D geometry. By its nature, the plastic will continue to ooze and drip out of the nozzle even when not pushed by the extruder. To combat this, our slicers use retraction, where the filament is withdrawn from the hot end, aleviating pressure and minimising ooze. When properly tuned, this has the effect of removing stringing, the unwanted oozing of plastic between two points of the model.</p>
|
|
<p>An example of fine stringing can be seen in the following image. It appears like cobwebs:</p>
|
|
<a href="#" data-featherlight="img/stringing.jpg"><img class="thumb" src="img/stringing.jpg" /></a>
|
|
<div class="exp">
|
|
<h5>Special note:</h5>
|
|
<p>Temperature tuning and retraction tuning are related to each other. You could do them in either order, and it may be necessary to tune back and forth to reach an ideal result. A higher nozzle temperature will promote more oozing and stringing, whereas a lower temperature will reduce oozing and stringing.</p>
|
|
</div>
|
|
<p>Besides hot end temperature, there are three parameters we will be tuning relating to retraction. In the table is a description of each as well as where the setting is found in the most popular slicers.</p>
|
|
<table>
|
|
<head>
|
|
<tr>
|
|
<th>Retraction Parameter</th>
|
|
<th>Cura</th>
|
|
<th>Simplify3D</th>
|
|
<th>PrusaSlicer</th>
|
|
</tr>
|
|
</head>
|
|
<tbody>
|
|
<tr>
|
|
<td>Retraction distance: The length the filament is pulled away from the nozzle in mm.</td>
|
|
<td>Travel > Retraction distance</td>
|
|
<td>Extruder > Retraction distance</td>
|
|
<td>Printer settings > Extruder 1 > Retraction > Length</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Retraction speed: The speed at which this filament is withdrawn in mm/sec.</td>
|
|
<td>Travel > Retraction speed</td>
|
|
<td>Extruder > Retraction speed</td>
|
|
<td>Printer settings > Extruder 1 > Retraction > Retraction Speed</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Extra restart distance: The retraction distance will be reveresed when the travel (non-extruding) movement is over. This is typicaly zero, but you can opt for extra filament to be extruded (a positive value) or less than than what was retracted (a negative value). Also measured in mm.</td>
|
|
<td>Travel > Retraction extra prime amount</td>
|
|
<td>Extruder > Extra restart distance</td>
|
|
<td>Printer settings > Extruder 1 > Retraction > Extra length on restart</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<div class="exp">
|
|
<h5>Other factors beyond the scope of this test:</h5>
|
|
<ul>
|
|
<li>Retraction acceleration: This will affect whether the retraction speed can actually be reached. The gcode below does not include any changes to what is set on your printer. You can change this with <a href="https://marlinfw.org/docs/gcode/M204.html" target="_blank">M204</a> and the <b>R</b> argument.</li>
|
|
<li>Slicer settings such as coast: Coast stops extrusion slightly early to assist retraction. This varies from slicer to slicer and isn't always necessary to tune.</li>
|
|
<li>Linear advance: Linear advance, covered later in this guide, can drastically improve the accuracy of our extrusion. It has a significant impact of retraction (reducing the need), so after configuring linear advance you may need to revisit retraction.</li>
|
|
<li>Z hop: The amount the nozzle lifts vertically in mm during a travel (non-extruding) movement. this could have potentially minor impact on stringing. The generator below has this fixed at <b>0.4mm</b>.</li>
|
|
<li>Slicer differences: The gcode generated below was originally sliced by Simplify3D. The settings you establish should translate to your slicer quite well but there may be idiosyncrasies. For instance, Cura measures extra restart distance in volume rather than length.</li>
|
|
</ul>
|
|
</div>
|
|
<p>The following form will create a retraction tower to conveniently test back to back parameters in the same print. Of the three available parameters, it is best to change only one per test print. For example, keep the retraction speed and exta restart distance the same, but vary the retraction distance over each segment. Changing more than one parameter makes is hard to tell what made the difference. The print is quick, so repeat the test varying other parameters until you are happy with them all.</p>
|
|
<p>Here is the STL if you would like to slice a similar test yourself: <a href="files/retractiontest.stl">retractiontest.stl</a></p>
|
|
<form name="retractionForm" id="retractionForm" onsubmit="return false;">
|
|
<h4>Bed dimensions</h4>
|
|
<p>Inputting the correct number will attempt to move the print into the centre of the bed. If the centre button is checked, the bed size is irrelevant. Please check the gcode to ensure it will fit on your bed.</p>
|
|
<label>0,0 at centre of bed (Delta):<input name="centre" type="checkbox" onchange="toggle(this.checked, '#retractionXY')" value="centre"></label>
|
|
<span id="retractionXY"><label>Bed X dimension (mm): <input type="number" name="bedx" value="100" min="100" max="600" step="1"></label>
|
|
<label>Bed Y dimension (mm): <input type="number" name="bedy" value="100" min="100" max="600" step="2"></label><br /></span>
|
|
<h4>Temperatures</h4>
|
|
<p>For the hot end and bed respectively, typical PLA temperatures are 200 and 60, PETG 235 and 80, ABS 250 and 100, TPU 230 and 5 (effectively off).</p>
|
|
<label>Hot end temperature (deg C): <input type="number" name="hotendtemp" value="200" min="160" max="450"></label>
|
|
<label>Bed temperature (deg C): <input type="number" name="bedtemp" value="60" min="5" max="150"></label><br />
|
|
<h4>Part Cooling Fan</h4>
|
|
<p>PLA typically has the part cooling fan come on from layer 2. Alter this default bahaviour here:</p>
|
|
<label for="pc">Select part cooling fan behaviour:</label>
|
|
<select name="pc">
|
|
<option value="0">100% fan from layer 2</option>
|
|
<option value="1">50% fan from layer 2</option>
|
|
<option value="2">No constant fan</option>
|
|
</select>
|
|
<h4>Auto Bed Levelling</h4>
|
|
<label for="abl">Select which method of ABL is in place.</label>
|
|
<select name="abl">
|
|
<option value="0">No ABL</option>
|
|
<option value="1">Probe new mesh at the start of print - G29</option>
|
|
<option value="2">Restore saved mesh - M420 S1</option>
|
|
<option value="3">Prusa MK3 - G28 W followed by M80</option>
|
|
<option value="4">Prusa Mini - Only heat nozzle to 170, then G29</option>
|
|
</select>
|
|
<h4>Retraction</h4>
|
|
<p>For intial tests, you can leave the retraction speed at 40 mm/sec. For a bowden tube printer, 6mm is a likely retraction distance. For direct drive, a starting value of 1mm may be suitable. Vary either side of this for each segment.</p>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Reference Diagram</th>
|
|
<th>Segment</th>
|
|
<th>Retraction distance</th>
|
|
<th>Retraction speed</th>
|
|
<th>Extra restart distance</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td rowspan="6">
|
|
<img src="img/retractiondiagram.jpg" />
|
|
</td>
|
|
<td style="text-align: center;">F</td>
|
|
<td><input type="number" min="0" max="20" name="f1" value="6"></td>
|
|
<td><input type="number" min="5" max="200" name="f2" value="40"></td>
|
|
<td><input type="number" min="-10" max="10" name="f3" value="0"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;">E</td>
|
|
<td><input type="number" min="0" max="20" name="e1" value="6"></td>
|
|
<td><input type="number" min="5" max="200" name="e2" value="40"></td>
|
|
<td><input type="number" min="-10" max="10" name="e3" value="0"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;">D</td>
|
|
<td><input type="number" min="0" max="20" name="d1" value="6"></td>
|
|
<td><input type="number" min="5" max="200" name="d2" value="40"></td>
|
|
<td><input type="number" min="-10" max="10" name="d3" value="0"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;">C</td>
|
|
<td><input type="number" min="0" max="20" name="c1" value="6"></td>
|
|
<td><input type="number" min="5" max="200" name="c2" value="40"></td>
|
|
<td><input type="number" min="-10" max="10" name="c3" value="0"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;">B</td>
|
|
<td><input type="number" min="0" max="20" name="b1" value="6"></td>
|
|
<td><input type="number" min="5" max="200" name="b2" value="40"></td>
|
|
<td><input type="number" min="-10" max="10" name="b3" value="0"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;">A</td>
|
|
<td><input type="number" min="0" max="20" name="a1" value="6"></td>
|
|
<td><input type="number" min="5" max="200" name="a2" value="40"></td>
|
|
<td><input type="number" min="-10" max="10" name="a3" value="0"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p><input type="button" onclick="processRetraction()" value="Download Gcode"></p>
|
|
</form>
|
|
<h2>Interpreting Results:</h2>
|
|
<p>Inspect your finished print. Hopefully there will be a clear difference between the segments that reflect the settings you entered. In the example below (Ender 3 direct drive, PLA, linear advance enabled), the retraction distance varied from 0.4 up to 1.4mm in 0.2mm increments. Segments A and B have the least stringing. Based on this, I would assume that a retraction distance of 0.4 - 0.6 is best for this printer. this is consistant with linear advance being enabled.</p>
|
|
<p>I would then repeat the test, setting the same retraction distance for each segment and instead altering the retraction speed to dial that in. A third test could then take place to test extra restart distance.</p>
|
|
<a href="#" data-featherlight="img/retractionresults.jpg"><img class="thumb" src="img/retractionresults.jpg" /></a>
|
|
</div>
|
|
|
|
<div id="temp">
|
|
<div class="exp">
|
|
<h2>Temperature Tuning</h2>
|
|
<h5>Aim:</h5>
|
|
<p>To set the ideal printing temperature for the hot end for a given filament.</p>
|
|
<h5>When required:</h5>
|
|
<p>Initial calibration, any time the hot end is changed, when trying a new type/brand of filament.</p>
|
|
<h5>Tools:</h5>
|
|
<p>Gcode generator on this page.</p>
|
|
</div>
|
|
<p>For this calibration, we are only concerned with the temperature of the hot end, not the bed. The bed temperature will need to be matched to any given filament, and once a good value is found, you will generally stick with it.</p>
|
|
<p>Instead here we are tuning the temperature at which the filament is extruded. There is no universal temperature for a given filament. Variations in heater blocks and thermistor placement dictate this.</p>
|
|
<div class="exp">
|
|
<h5>Rule of thumb and special note:</h5>
|
|
<p>A higher nozzle temperature should result in stronger parts, particularly interlayer adhesion. Part surface may be shinier. The filament will be softer so ooze and stringing may be increased, and some surface detail potentially lost, especially on overhangs. A hot end temperature too high may damage parts of the assembly such as the internal PTFE tube.</p>
|
|
<p>A lower nozzle temperature should result in weaker parts, particularly interlayer adhesion. Part surface may be duller. The filament will be firmer so ooze and stringing may be reduced, with good surface detail, especially on overhangs. A hot end temperature too low can cause the hot end to jam.</p>
|
|
<p>Temperature tuning and retraction tuning are related to each other. You could do them in either order, and it may be necessary to tune back and forth to reach an ideal result.</p>
|
|
</div>
|
|
<p>The following form will create a temperature tower to conveniently test back to back parameters in the same print. There are five segments to vary the temperature. Generally the lowest temperatures would be at the start of the print (segment A) and the increase up to the highest by the top of the print (segment E).</p>
|
|
<p>Your 3D printer firmware will have a minimum hot end temperature extrusion is allowed and a maximum hot end temperature for safety. Make sure to keep within these boundaries to avoid errors.</p>
|
|
<p>Here is the STL if you would like to slice a similar test yourself: <a href="files/temperaturetower.stl">temperaturetower.stl</a></p>
|
|
<form name="temperatureForm" id="temperatureForm" onsubmit="return false;">
|
|
<h4>Bed dimensions</h4>
|
|
<p>Inputting the correct number will attempt to move the print into the centre of the bed. If the centre button is checked, the bed size is irrelevant. Please check the gcode to ensure it will fit on your bed.</p>
|
|
<label>0,0 at centre of bed (Delta):<input name="centre" type="checkbox" onchange="toggle(this.checked, '#tempXY')" value="centre"></label>
|
|
<span id="tempXY"><label>Bed X dimension (mm): <input type="number" name="bedx" value="100" min="100" max="600" step="1"></label>
|
|
<label>Bed Y dimension (mm): <input type="number" name="bedy" value="100" min="100" max="600" step="2"></label><br /></span>
|
|
<h4>Bed Temperature</h4>
|
|
<p>For the bed, typical PLA temperature is 60, PETG 80, ABS 100, and TPU 5 (effectively off).</p>
|
|
<label>Bed temperature (deg C): <input type="number" name="bedtemp" value="60" min="5" max="150"></label><br />
|
|
<h4>Part Cooling Fan</h4>
|
|
<p>PLA typically has the part cooling fan come on from layer 2. Alter this default bahaviour here:</p>
|
|
<label for="pc">Select part cooling fan behaviour:</label>
|
|
<select name="pc">
|
|
<option value="0">100% fan from layer 2</option>
|
|
<option value="1">50% fan from layer 2</option>
|
|
<option value="2">No constant fan</option>
|
|
</select>
|
|
<h4>Auto Bed Levelling</h4>
|
|
<label for="abl">Select which method of ABL is in place.</label>
|
|
<select name="abl">
|
|
<option value="0">No ABL</option>
|
|
<option value="1">Probe new mesh at the start of print - G29</option>
|
|
<option value="2">Restore saved mesh - M420 S1</option>
|
|
<option value="3">Prusa MK3 - G28 W followed by M80</option>
|
|
<option value="4">Prusa Mini - Only heat nozzle to 170, then G29</option>
|
|
</select>
|
|
<h4>Retraction</h4>
|
|
<p>For intial tests, you can leave the retraction speed at 40 mm/sec. For a bowden tube printer, 6mm is a likely retraction distance. For direct drive, a starting value of 1mm may be suitable. If you are following this guide in order, you should already know your ideal retraction values.</p>
|
|
<label>Retraction distance (mm): <input type="number" name="retdist" value="5" min="0" max="20"></label>
|
|
<label>Retraction speed (mm/sec): <input type="number" name="retspeed" value="40" min="5" max="150"></label><br />
|
|
<h4>Hot end temperature</h4>
|
|
<p>Typically, filament comes with a recommended hot end temperature. It is recommended to use values either side of this. For instance, if a PLA asked for 200 degrees, you may vary the temperature from 190, 195, 200, 205, 210 (the default values of the form).</p>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Reference Diagram</th>
|
|
<th>Segment</th>
|
|
<th>Hot end temperature</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td rowspan="5" style="text-align: center;">
|
|
<img src="img/temperaturediagram.jpg" />
|
|
</td>
|
|
<td style="text-align: center;">E</td>
|
|
<td><input type="number" min="150" max="450" name="e1" value="210"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;">D</td>
|
|
<td><input type="number" min="150" max="450" name="d1" value="205"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;">C</td>
|
|
<td><input type="number" min="150" max="450" name="c1" value="200"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;">B</td>
|
|
<td><input type="number" min="150" max="450" name="b1" value="195"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;">A</td>
|
|
<td><input type="number" min="150" max="450" name="a1" value="190"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p><input type="button" onclick="processTemperature()" value="Download Gcode"></p>
|
|
</form>
|
|
<h2>Interpreting Results:</h2>
|
|
<p>Inspect your finished print. Hopefully there will be a clear difference between the segments that reflect the temperatures you entered. In the example below (Ender 3 direct drive, PLA, linear advance enabled), the hot end temperature varied from 185 to 225 in 10 degree increments"</p>
|
|
<a href="#" data-featherlight="img/temperatureresults.jpg"><img class="thumb" src="img/temperatureresults.jpg" /></a>
|
|
<p>For the first layer, there was some extruder clicking as the extruder struggled to push the filament through the cooler nozzle. As expected, surface becomes more glossy as the temperature increases. What was unexpected, was surface rippling either being more prominent or at least more obvious as the temperature went up. Underhangs and bridges all look good on this test.</p>
|
|
<p>My previous hot end temperature was 200 degrees for this printer, but I will consider lowring it to 190 degrees after this test.</p>
|
|
<p>You may also wish to conduct some destructive testing to evaluate part strength. In many cases this is more important than the appearance of the part.</p>
|
|
</div>
|
|
|
|
<div id="accel">
|
|
<div class="exp">
|
|
<h2>Acceleration Tuning</h2>
|
|
<h5>Aim:</h5>
|
|
<p>To find the right compromise between printing speed and quality, specifically related to surface artefacts such as ghosting.</p>
|
|
<h5>When required:</h5>
|
|
<p>Initial calibration, when significant changes are made to the motion system (eg. heavier bed, conversion to direct drive from bowden tube).</p>
|
|
<h5>Tools:</h5>
|
|
<p>Terminal software such as <a href="https://www.pronterface.com/" target="_blank">Pronterface</a> or <a href="https://octoprint.org/" target="_blank">Octoprint</a>.</p>
|
|
<p>Gcode generator on this page.</p>
|
|
</div>
|
|
<p>We set a feedrate or movement speed in our slicer, but the printer does not instantly reach these speeds. Like a motor vehicle, it needs time to accelerate. If the distance of the movement is short, it may not even have time to reach the specified speed. This can determined with the handy <a href="https://blog.prusaprinters.org/calculator/" target="_blank">acceleration calculator</a>, available on the Prusa website.</p>
|
|
<p>Complementary to acceleration we have jerk, replaced by junction deviation in newer versions of Marlin. These settings have differences, but both are essentially reponsible for making sure the printer does not come to a complete stop between each movement, but rather decelerates an appropriate amount deending on the angle of the next 'corner'.</p>
|
|
<p>We will be tuning both of these parameters with another tower. The aim is to have a reasonably fast print time without inducing excessive ringing/ghosting. An example of bad ghosting is seen below. The features of the model are repeated across the surfaces due to vibration of the printer components:</p>
|
|
<a href="#" data-featherlight="img/ghosting.jpg"><img class="thumb" src="img/ghosting.jpg" /></a>
|
|
<p>I have previously made a detailed video guide on this subject, complete with many diagrams explaining the concepts. The tuning process depicted will be improved upon here with an easier to use calculator and custom gcode generator below.</p>
|
|
<iframe width="480" height="360" src="https://www.youtube.com/embed/Mnvj6xCzikM" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
<div class="exp">
|
|
<h5>Rule of thumb:</h5>
|
|
<p>Higher acceleration and jerk wil result in a faster print time, as the printer reaches top speed faster and maintains a higher speed when corning. This is harder on the printer, and may result in reduced lifespan of components and the need for more regular maintenance. It also introduces more surface defects such as ringing/ghosting.</p>
|
|
<p>Lower acceleration and jerk will result in a slower print time, as the printer reaches top speed more gradually and corners at a lower velocity. This is easier on the printer, with potentially increased component lifespan and less need for regular maintenance. It reduces surface artefacts such as ringing/ghosting, unless it is far too conservative, in which case it may introduce bulging in corners.</p>
|
|
</div>
|
|
<h2>Calculating maxmimum feedrate - optional</h2>
|
|
<p>One strategy is to calculate the fastest your 3D printer can move while while extruding cleanly, set this feedrate in the slicer, and then tune acceleration to meet this speed. If you are not interested in printing as fast as possible, skip to the next section.</p>
|
|
<p><i>This part of the guide and calculator is adapted from <a href="https://grabcad.com/tutorials/dialing-in-a-filament-and-specifying-the-max-volumetric-e-xtrusion-value"target="_blank">Martin Pirringer's tutorial</a>. Please consider supporting him and his robotics team through <a href="paypal.me/DudeWithaPulse" target="_blank">paypal</a> or you can also donate to team 1989 through their <a href="www.vernonrobotics.com" target="_blank">Team 1989 Web Site</a></i></p>
|
|
<p>The following calculator will assist you in determing the maximum feedrate your printer/extruder/hot end is capable of.</p>
|
|
<form id="maxExtrusion" name="maxExtrusion">
|
|
<ol>
|
|
<li>Clear debris from hobbed gear, bring nozzle up to normal printing temp and load filament.</li>
|
|
<li>Enter the following into pronterface. This will set movement to relative and then extrude 50mm of filament at a feedrate of 2mm/sec:</li>
|
|
<pre>G91</pre>
|
|
<pre>G1 E50 F120</pre>
|
|
<li>Inspect extuded filament for consistency. If all is well, keep repeating with higher feedrate F, until extrusion is inconsistent, extruder stepper skips steps and/or hobbed gear starts eating into filament.<br />
|
|
The following are examples of increasing the extruder feed rate by 1mm/sec each time, although you should stop when the extrusion becomes problematic. You may have more or less steps than this:</li>
|
|
<pre>G1 E50 F180</pre>
|
|
<pre>G1 E50 F240</pre>
|
|
<pre>G1 E50 F300</pre>
|
|
<pre>G1 E50 F360</pre>
|
|
<pre>...</pre>
|
|
<li>After you find the limiting speed, back off and repeat the test at a lower feedrate several times in a row until you are confident of reliable and repeatable extrusion.</li>
|
|
<li>Enter your reliable feedrate and filament diameter below:</li>
|
|
<label>Reliable feedrate: <input type="number" min="60" max="1000" name="maxFeed" value="180" step="10" onchange="maxExt(); maxFee();"></label>
|
|
<label>Filament diameter: <input type="number" min="1.5" max="4" name="filDia" value="1.75" step="0.05" onchange="maxExt(); maxFee();"></label>
|
|
<p class="result">Your maximum reliable extrusion speed is <b><span id="maxExt">7.22</span> mm/3</b> per second.</p>
|
|
<li>Enter the following settings from your slicer:</li>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Input setting:</th>
|
|
<th>Cura</th>
|
|
<th>Simplify3D</th>
|
|
<th>PrusaSlicer</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><label>Layer height (mm): <input type="number" name="layerH" min="0.05" max="1" value="0.2" step="0.05" onchange="maxFee();"></label></td>
|
|
<td>Quality > Layer height</td>
|
|
<td>Layer > Primary layer height</td>
|
|
<td>Print settings > Layer height</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>Extrusion width (mm): <input type="number" name="layerW" min="0.1" max="1" value="0.4" step="0.01" onchange="maxFee();"></label></td>
|
|
<td>Quality > Line width</td>
|
|
<td>Extruder > Extrusion width</td>
|
|
<td>Print settings > Advanced > Extrusion width > Default extrusion width</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p class="result">Your maximum reliable XY feedrate is <b><span id="maxFee">90</span> mm</b> per second.</p>
|
|
<p class="warning">Warning: This value is dependent on a number of variables such as filament type, brand, colour, ambient temperature, etc. Be conservative to ensure success.</p>
|
|
</ol>
|
|
<p></p>
|
|
</form>
|
|
<h2>Acceleration Tuning</h2>
|
|
<p>We will now produce an acceleration tower to conveniently test back to back settings in a single print. If you would like to slice the model yourself, here is the STL: <a href="files/accelerationtower.stl">accelerationtower.stl</a>. It should be sliced with a normal base, but hollow, no top layers and only 2 perimeters.</p>
|
|
<p>The only thing you need to know before this test is whether your firmware is set up for jerk (older) or junction deviation (newer). Entering <b>M503</b> via terminal will give a list of printer variables:</p>
|
|
<ul>
|
|
<li>If the <b>M205</b> line contains the letters <b>X, Y & Z</b>, your printer is running jerk. The numbers after the X,Y & Z are your current jerk values for each axis.</li>
|
|
<li>If the <b>M205</b> contains the letter <b>J</b>, your printer is running junction deviation. The number after the J is your current junction devation value.</li>
|
|
</ul>
|
|
<p>The image below shows an example of each of these scenarios:</p>
|
|
<a href="#" data-featherlight="img/m205.jpg"><img class="thumb" src="img/m205.jpg" /></a>
|
|
<p>Use the following form to customise the gcode to you liking:</p>
|
|
<form name="accelerationForm" id="accelerationForm" onsubmit="return false;">
|
|
<h4>Bed dimensions</h4>
|
|
<p>Inputting the correct number will attempt to move the print into the centre of the bed. If the centre button is checked, the bed size is irrelevant. Please check the gcode to ensure it will fit on your bed.</p>
|
|
<label>0,0 at centre of bed (Delta):<input name="centre" type="checkbox" onchange="toggle(this.checked, '#accelerationXY')" value="centre"></label>
|
|
<span id="accelerationXY"><label>Bed X dimension (mm): <input type="number" name="bedx" value="100" min="100" max="600" step="1"></label>
|
|
<label>Bed Y dimension (mm): <input type="number" name="bedy" value="100" min="100" max="600" step="2"></label><br /></span>
|
|
<h4>Temperatures</h4>
|
|
<p>For the hot end and bed respectively, typical PLA temperatures are 200 and 60, PETG 235 and 80, ABS 250 and 100, TPU 230 and 5 (effectively off).</p>
|
|
<label>Hot end temperature (deg C): <input type="number" name="hotendtemp" value="200" min="160" max="450"></label>
|
|
<label>Bed temperature (deg C): <input type="number" name="bedtemp" value="60" min="5" max="150"></label><br />
|
|
<h4>Part Cooling Fan</h4>
|
|
<p>PLA typically has the part cooling fan come on from layer 2. Alter thi default bahaviour here:</p>
|
|
<label for="pc">Select part cooling fan behaviour:</label>
|
|
<select name="pc">
|
|
<option value="0">100% fan from layer 2</option>
|
|
<option value="1">50% fan from layer 2</option>
|
|
<option value="2">No constant fan</option>
|
|
</select>
|
|
<h4>Auto Bed Levelling</h4>
|
|
<label for="abl">Select which method of ABL is in place.</label>
|
|
<select name="abl">
|
|
<option value="0">No ABL</option>
|
|
<option value="1">Probe new mesh at the start of print - G29</option>
|
|
<option value="2">Restore saved mesh - M420 S1</option>
|
|
<option value="3">Prusa MK3 - G28 W followed by M80</option>
|
|
<option value="4">Prusa Mini - Only heat nozzle to 170, then G29</option>
|
|
</select>
|
|
<h4>Retraction</h4>
|
|
<p>For intial tests, you can leave the retraction speed at 40 mm/sec. For a bowden tube printer, 6mm is a likely retraction distance. For direct drive, a starting value of 1mm may be suitable. If you are following this guide in order, you should already know your ideal retraction values.</p>
|
|
<label>Retraction distance (mm): <input type="number" name="retdist" value="5" min="0" max="20"></label>
|
|
<label>Retraction speed (mm/sec): <input type="number" name="retspeed" value="40" min="5" max="150"></label><br />
|
|
<h4>Base feedrate/speed</h4>
|
|
<p>You can specify the feedrate for X and Y movements. The inner perimeter will be set to this speed and the outer perimeter 50% of this speed.</p>
|
|
<label>Base feedrate (mm/sec): <input type="number" name="feedrate" value="60" min="20" max="500"></label>
|
|
<h4>Acceleration and jerk/junction deviation</h4>
|
|
<p>After entering <b>M503</b>, I have determined my 3D printer firmware uses:</p>
|
|
<label>Jerk: <input type="radio" value="jerk" name="selector" checked="checked" onchange="toggleJ()"></label>
|
|
<label>Junction deviation: <input type="radio" value="jd" name="selector" onchange="toggleJ()"></label>
|
|
<p>Based on the values you saw from <b>M503</b>, enter variables around this below.</p>
|
|
<p>Junction deviation requires a single value, where as jerk has separate values for X and Y. You can leave them the same or enter independent values.</p>
|
|
<p>You should only change either acceleration or jerk/junction deviation for each test print, otherwise it will be impossible to know which parameter is responsible for any changes.</p>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Reference diagram</th>
|
|
<th>Segment</th>
|
|
<th>Acceleration</th>
|
|
<th class="jerktd">Jerk X</th>
|
|
<th class="jerktd">Jerk Y</th>
|
|
<th class="jdtd">Junction deviation</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td rowspan="6" style="text-align: center;"><img src="img/accelerationdiagram.jpg" /></td>
|
|
<td style="text-align: center;">F</td>
|
|
<td><input type="number" name="f1" value="500" min="10" max="5000" step="100"></td>
|
|
<td class="jerktd"><input type="number" name="f2" value="8" min="1" max="30" step="1"></td>
|
|
<td class="jerktd"><input type="number" name="f3" value="8" min="1" max="30" step="1"></td>
|
|
<td class="jdtd"><input type="number" name="f4" value="0.05" min="0.01" max="20" step="0.01"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;">E</td>
|
|
<td><input type="number" name="e1" value="500" min="10" max="5000" step="100"></td>
|
|
<td class="jerktd"><input type="number" name="e2" value="8" min="1" max="30" step="1"></td>
|
|
<td class="jerktd"><input type="number" name="e3" value="8" min="1" max="30" step="1"></td>
|
|
<td class="jdtd"><input type="number" name="e4" value="0.05" min="0.01" max="20" step="0.01"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;">D</td>
|
|
<td><input type="number" name="d1" value="500" min="10" max="5000" step="100"></td>
|
|
<td class="jerktd"><input type="number" name="d2" value="8" min="1" max="30" step="1"></td>
|
|
<td class="jerktd"><input type="number" name="d3" value="8" min="1" max="30" step="1"></td>
|
|
<td class="jdtd"><input type="number" name="d4" value="0.05" min="0.01" max="20" step="0.01"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;">C</td>
|
|
<td><input type="number" name="c1" value="500" min="10" max="5000" step="100"></td>
|
|
<td class="jerktd"><input type="number" name="c2" value="8" min="1" max="30" step="1"></td>
|
|
<td class="jerktd"><input type="number" name="c3" value="8" min="1" max="30" step="1"></td>
|
|
<td class="jdtd"><input type="number" name="c4" value="0.05" min="0.01" max="20" step="0.01"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;">B</td>
|
|
<td><input type="number" name="b1" value="500" min="10" max="5000" step="100"></td>
|
|
<td class="jerktd"><input type="number" name="b2" value="8" min="1" max="30" step="1"></td>
|
|
<td class="jerktd"><input type="number" name="b3" value="8" min="1" max="30" step="1"></td>
|
|
<td class="jdtd"><input type="number" name="b4" value="0.05" min="0.01" max="20" step="0.01"></td>>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: center;">A</td>
|
|
<td><input type="number" name="a1" value="500" min="10" max="5000" step="100"></td>
|
|
<td class="jerktd"><input type="number" name="a2" value="8" min="1" max="30" step="1"></td>
|
|
<td class="jerktd"><input type="number" name="a3" value="8" min="1" max="30" step="1"></td>
|
|
<td class="jdtd"><input type="number" name="a4" value="0.05" min="0.01" max="20" step="0.01"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p><input type="button" onclick="processAcceleration()" value="Download Gcode"></p>
|
|
</form>
|
|
<h2>Interpreting Results:</h2>
|
|
<p>Inspect your finished print. Hopefully there will be a clear difference between the segments that reflect the acceleration values you entered. In the example below (Ender 3 direct drive, PLA, linear advance enabled), acceleration varied from 300 to 800 in 100 mm/sec/sec increments. Junction deviation was left at the default 0.08. The difference between each segment is subtle, but there is increased ghosting around the letter Y on the higher segments. The previous value was 500, but a small increase in quality may be achieved from lowering the value to 400.</p>
|
|
<a href="#" data-featherlight="img/accelerationresults.jpg"><img class="thumb" src="img/accelerationresults.jpg" /></a>
|
|
<p></p>
|
|
<p>One you have a value you are happy with, you can update with:</p>
|
|
<pre>M204 P400</pre>
|
|
<p>where <b>400</b> is the value of the acceleration with the best compromise based on the tower test print. We can store the value to EEPROM by sending:</p>
|
|
<pre>M500</pre>
|
|
<p>You would then repeat the test with all of the acceleration values locked at your preferred value for each segment, but this time varying jerk/junction deviation.</p>
|
|
<p>To save for a printer with jerk (with a determined best compromise of <b>8</b> for this example), we would enter:</p>
|
|
<pre>M205 X8 Y8</pre>
|
|
<p>To save for a printer with junction deviation (with a determined best compromise of <b>0.05</b> for this example), we would enter:</p>
|
|
<pre>M205 J0.05</pre>
|
|
<p>Either way, we save to EEPROM afterwards with:</p>
|
|
<pre>M500</pre>
|
|
<p>Each of these parameters can also be entered and stored from the <b>configuration</b> menu of the Marlin LCD.</p>
|
|
</div>
|
|
|
|
<div id="linadv">
|
|
<div class="exp">
|
|
<h2>Linear Advance Tuning</h2>
|
|
<h5>Aim:</h5>
|
|
<p>To tune the timing of the extrusion with the aim of reducing swolen corners and thinner walls. This results in a more consistent extrusion and a reduction in surface artefacts.</p>
|
|
<h5>When required:</h5>
|
|
<p>Initial calibration, when changing the extruder/hot end (especially if changing from bowden tube to direct drive), when trying new filaments.</p>
|
|
<h5>Tools:</h5>
|
|
<p><a href="https://marlinfw.org/tools/lin_advance/k-factor.html" target="_blank">Marlin Linear Advance Pattern Generator</a></p>
|
|
</div>
|
|
<p>In a 3D printer, due to the pressure required to push the molten filament through the small opening of the nozzle, there is a small time delay from when the extruder pushes the filament to when it actually comes out the nozzle. Traditionally the movement of the extruder is matched to XY movements of the printer, so this means the start of a line will be undedextruded and the end of the line will be overextruded. Linear advance unsynchronises the extruder movements from the XY movements, changing the timing of the extruder so the thin and thick sections are significantly reduced.</p>
|
|
<p>The concept and how to tune linear advance is explained in much more detail here:</p>
|
|
<iframe width="480" height="360" src="https://www.youtube.com/embed/n3yK0lJ8TWM" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
<div class="exp">
|
|
<h5>Special notes:</h5>
|
|
<p>Linear advance often goes by the name pressure advance. They are the same thing.</p>
|
|
<p>Linear advance is often not enabled by default in Marlin firmware. Therefore, the firmware must be recompiled with linear advance included. This is covered in the video above.</p>
|
|
<p>Linear advance is incompatible with certain stepper motor drivers. A prominent one is the TMC2208 when connected in legacy mode (as found on Creality silent boards). When connected in 'smart' mode via UART, this is not a problem.</p>
|
|
<p>Linear advance is not currently compatible with S curve acceleration (another Marlin feature), although it is possible to uncomment <b>#define EXPERIMENTAL_SCURVE</b> when adding linear advance as a work around.</p>
|
|
<p>Linear advance requires aggressive acceleration for the extruder and will work the motor harder. Higher current maybe required for the E driver, which will make it run hotter.</p>
|
|
<p>Linear advance is filament dependent. A different value is required for each filament to get the best results.</p>
|
|
<p>Testing for linear advance relies on the visual inspection of a single layer, therefore it is important to have your bed levelling/first layer reliable and repeatable.</p>
|
|
</div>
|
|
<h2>Linear Advance Pattern Generator</h2>
|
|
<p>Marlin has excellent <a href="https://marlinfw.org/docs/features/lin_advance.html" target="_blank">linear advance documentation</a> and a test gcode generator already made, so there is no point recreating a competitor here. An example of how to use it is shown in the video above, and it can be found here: <a href="https://marlinfw.org/tools/lin_advance/k-factor.html" target="_blank">Marlin Linear Advance Pattern Generator</a></p>
|
|
<p>The parameter we tune for linear advance is called the <b>K factor</b>. The K factor relates to the amount of flex or compression in the filament and the length of the path between the extruder and hot end.</p>
|
|
<p>A higher K value suits a bowden tube and/or flexible filaments. This is because the filament can flex sideways in the tube inbetween the extruder and hot end, adding to the extrusion time delay. A good starting point for a bowden extruder is a K value of <b>1.0</b>.</p>
|
|
<p>A lower K value suits a direct drive extruder and more rigid filaments. With these characteristics, the transfer of filament between extruder and hot end is more direct with less time delay. A good starting point for a direct drive extruder is <b>0.2</b>.</p>
|
|
<p>The above video takes you through how to use the pattern generator, which basically involves inputting printer and slicer parameters, before clicking to download the gcode file.</p>
|
|
<p>Using the suggested starting K values above, you would then pick an upper and lower limit either side of this for a preliminary test.</p>
|
|
<a href="#" data-featherlight="img/patterngenerator.jpg"><img class="thumb" src="img/patterngenerator.jpg" /></a>
|
|
<h2>Interpreting results:</h2>
|
|
<p>Printing the gcode generated by the pattern generator with yield a result like this:</p>
|
|
<a href="#" data-featherlight="img/linearadvanceresults.jpg"><img class="thumb" src="img/linearadvanceresults.jpg" /></a>
|
|
<p>Some of the horizontal lines should have obvious thick and thin portions, and some may even have large gaps. You are looking for the line with the most consistent extrusion width from left to right. The K value for this line will be printed to the right of the line. At this point, as shown in the video, you may wish to repeat the test with a narrower range of values either side of this best K value. This will help determine the best value by using a 'higher resolution'.</p>
|
|
<h2>Saving the K Factor</h2>
|
|
<p>With many of the parameters we have tuned so far, we can permanently save them to either the firmware and EEPROM. As the linear advance K factor is filament dependent, this may not be the best solution if you print with varied filaments, and instead you may prefer to save using your slicer profile. All methods are covered below.</p>
|
|
<p>The K factor can be set by using the <a href="https://marlinfw.org/docs/gcode/M900.html" target="_blank">M900</a> gcode:</p>
|
|
<pre>M900 K0.11</pre>
|
|
<p>It can be permanently stored EEPROM by following up with:</p>
|
|
<pre>M500</pre>
|
|
<p>Both the setting and saving of the K factor can also be achieved using the LCD menu.</p>
|
|
<p>You may prefer to use the <b>M900</b> gcode command in your start gcode instead, particularly if your slicer supports different start gcodes for different materials. In the event that you use start gcode, unless an <b>M500</b> follows, the setting of the K factor will be temporary. When the printer is next restarted the value stored in the EEPROM will be restored. When new print starts the value given it its start gcode will oberwrite the previously set value.</p>
|
|
<p>Linear advance can be temporarily be disabled by setting the K factor to 0:</p>
|
|
<pre>M900 K0</pre>
|
|
</div>
|
|
</div>
|
|
<div id="footer">
|
|
<p style="text-align: center;">This page was created using:</p>
|
|
<ul style="margin-top:-20px;">
|
|
<li><a href="https://jquery.com/" target="_blank">jQuery</a></li>
|
|
<li><a href="https://github.com/jellekralt/Responsive-Tabs" target="_blank">Responsive Tabs by jellekraut</a></li>
|
|
<li><a href="https://fonts.google.com/specimen/Roboto" target="_blank">Roboto font</a></li>
|
|
<li><a href="https://github.com/tedktedk/videobox" target="_blank">Videobox by tedktedk</a></li>
|
|
<li><a href="https://github.com/noelboss/featherlight" target="_blank">Featherlight by noelboss</a></li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
<script>
|
|
$('#tabs').responsiveTabs({
|
|
startCollapsed: 'accordion'
|
|
});
|
|
$(".videoThumb").videoBox({
|
|
width: '480',
|
|
height: '360',
|
|
loop: false,
|
|
autoplay: false,
|
|
byline: false,
|
|
color: "00adef",
|
|
maxheight: '',
|
|
maxwidth: '',
|
|
portrait: true,
|
|
title: '',
|
|
controls: 1
|
|
});
|
|
</script>
|
|
</html>
|