{"id":508,"date":"2014-04-01T22:15:43","date_gmt":"2014-04-01T20:15:43","guid":{"rendered":"http:\/\/www.3deee.ch\/?p=508"},"modified":"2015-06-15T18:58:10","modified_gmt":"2015-06-15T16:58:10","slug":"pid-autotuning-fr-3d-drucker","status":"publish","type":"post","link":"https:\/\/www.3deee.ch\/?p=508","title":{"rendered":"PID-Autotuning f&uuml;r 3D-Drucker"},"content":{"rendered":"<p>Wenn man sich einen Drucker selber aufbaut, dann nimmt man einfach eine Firmware (aktuell w\u00e4re Marlin oder Repetier) und spielt die dann auf den Drucker. Man ist erst Mal froh, wenn sich die Achsen bewegen und k\u00fcmmert sich wenig um die Aufheizzeiten.<br \/>\nVielfach sind aber die falschen PID-Werte in der Firmware eingetragen, weil man einen Extruder oder ein Heizbett verwendet, das halt nicht dem entspricht, was man nun im Drucker verbaut hat.<\/p>\n<div class=\"GARD gard_async_mode\" id=\"google-ads-3tD9\" ><script async=\"async\" src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><div id=\"GARDasync_3tD9\"><\/div><script >(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/div><script>\radUnit = document.getElementById(\"google-ads-3tD9\");\radWidth = adUnit.offsetWidth;\rif ( adWidth >= 999999 ) {\r\/* GETTING THE FIRST IF OUT OF THE WAY *\/ \r} else if ( adWidth >= 970 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:970px;height:90px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 728 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:728px;height:90px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 468 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:468px;height:60px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"9924945823\\\"><\/ins>\";\r} else if ( adWidth >= 336 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:336px;height:280px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 320 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:320px;height:100px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 320 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:320px;height:50px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 300 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:300px;height:600px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8448212620\\\"><\/ins>\";\r} else if ( adWidth >= 300 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:300px;height:250px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 250 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:250px;height:250px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 234 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:234px;height:60px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 200 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:200px;height:200px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 180 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:180px;height:150px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 160 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:160px;height:600px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"7793371424\\\"><\/ins>\";\r} else if ( adWidth >= 125 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:125px;height:125px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 120 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:120px;height:600px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 120 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:120px;height:240px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 728 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:728px;height:15px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 468 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:468px;height:15px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 200 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:200px;height:90px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 180 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:180px;height:90px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 160 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:160px;height:90px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 120 ) {\rdocument.getElementById(\"GARDasync_3tD9\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:120px;height:90px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r}<\/script>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>PID-Werte sind Werte, die die Regelung steuern, welche die Heizungen an eurem Drucker steuern. Was f\u00fcr einen Einfluss diese Werte haben k\u00f6nnen, seht ihr im Titelbild. Links ist die Heizkurve ohne richtige PID-Werte, rechts die Heizkurve mit den richtigen PID-Werten<\/p>\n<p>Um die korrekten Werte f\u00fcr den Extruder zu ermitteln gebt ihr in der Befehlszeile eures Hostprogramms folgende Zeile ein:<\/p>\n<p>M303 E-0 S230 C8<\/p>\n<p>M303 startet den Befehl<br \/>\nE-0 w\u00e4hlt den Extruder 1<br \/>\nS230 setzt die zu erreichende Temperatur auf 230\u00b0C<br \/>\nC8 setzt die Zyklen auf 8<\/p>\n<p>Nun beginnt euer Drucker aufzuheizen, nachdem er 8 mal die 230\u00b0C erreicht hat, gibt er in der Befehlszeile untereinander die PID-Werte aus, das k\u00f6nnte wie folgt aussehen:<\/p>\n<p>Kp 21.08<br \/>\nKi 1.09<br \/>\nKd 101.56<\/p>\n<p>Diese k\u00f6nnt ihr nun direkt in eure Firmware an der entsprechenden Stelle eintragen. Falls ihr die sofort in den EPROM \u00fcbertragen m\u00f6chtet, dann k\u00f6nnt ihr die nun mit den folgenden Befehlen direkt \u00fcbertragen:<\/p>\n<p>M301 P21.08 I1.09 D101.56<br \/>\nM500<\/p>\n<p>Wenn ihr nun das ganze auch noch f\u00fcr das Heizbett machen wollt, braucht ihr die folgenden Befehle:<\/p>\n<p>M303 E-1 S60 C8 \/\/Ausf\u00fchren vom Autotuning f\u00fcr das Heizbett auf 60\u00b0C<\/p>\n<p>M304 P559.41 I104.10 D751.57 \/\/Schreiben der PID-Werte in den Zwischenspeicher<br \/>\nM500 \/\/ Speichern der Werte auf dem Arduino<\/p>\n<p>Falls ihr die PID-Regelung f\u00fcr das Heizbett verwenden wollt, m\u00fcsst ihr diese, zumindest bei Marlin, noch in der Firmware aktivieren.<\/p>\n<div class=\"GARD gard_async_mode\" id=\"google-ads-D4Ox\" ><script async=\"async\" src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><div id=\"GARDasync_D4Ox\"><\/div><script >(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/div><script>\radUnit = document.getElementById(\"google-ads-D4Ox\");\radWidth = adUnit.offsetWidth;\rif ( adWidth >= 999999 ) {\r\/* GETTING THE FIRST IF OUT OF THE WAY *\/ \r} else if ( adWidth >= 970 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:970px;height:90px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 728 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:728px;height:90px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 468 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:468px;height:60px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"9924945823\\\"><\/ins>\";\r} else if ( adWidth >= 336 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:336px;height:280px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 320 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:320px;height:100px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 320 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:320px;height:50px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 300 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:300px;height:600px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8448212620\\\"><\/ins>\";\r} else if ( adWidth >= 300 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:300px;height:250px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 250 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:250px;height:250px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 234 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:234px;height:60px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 200 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:200px;height:200px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 180 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:180px;height:150px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 160 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:160px;height:600px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"7793371424\\\"><\/ins>\";\r} else if ( adWidth >= 125 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:125px;height:125px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 120 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:120px;height:600px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 120 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:120px;height:240px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 728 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:728px;height:15px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 468 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:468px;height:15px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 200 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:200px;height:90px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 180 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:180px;height:90px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 160 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:160px;height:90px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r} else if ( adWidth >= 120 ) {\rdocument.getElementById(\"GARDasync_D4Ox\").innerHTML = \"<ins class=\\\"adsbygoogle\\\" style=\\\"width:120px;height:90px;display:block;\\\" data-ad-client=\\\"ca-pub-2912967267075159\\\" data-ad-slot=\\\"8592377177\\\"><\/ins>\";\r}<\/script>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wenn man sich einen Drucker selber aufbaut, dann nimmt man einfach eine Firmware (aktuell w\u00e4re Marlin oder Repetier) und spielt die dann auf den Drucker. Man ist erst Mal froh, wenn sich die Achsen bewegen und k\u00fcmmert sich wenig um die Aufheizzeiten. Vielfach sind aber die falschen PID-Werte in der&#8230;<\/p>\n","protected":false},"author":2,"featured_media":507,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_links_to":"","_links_to_target":""},"categories":[1],"tags":[126,108,109,132,123,127,128,131,129,130,125,124,99],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.3deee.ch\/index.php?rest_route=\/wp\/v2\/posts\/508"}],"collection":[{"href":"https:\/\/www.3deee.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.3deee.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.3deee.ch\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.3deee.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=508"}],"version-history":[{"count":3,"href":"https:\/\/www.3deee.ch\/index.php?rest_route=\/wp\/v2\/posts\/508\/revisions"}],"predecessor-version":[{"id":605,"href":"https:\/\/www.3deee.ch\/index.php?rest_route=\/wp\/v2\/posts\/508\/revisions\/605"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.3deee.ch\/index.php?rest_route=\/wp\/v2\/media\/507"}],"wp:attachment":[{"href":"https:\/\/www.3deee.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.3deee.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=508"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.3deee.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}