<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[SoliForum - 3D Printing Community — Huge swings in extruder temperature]]></title>
	<link rel="self" href="https://www.soliforum.com/feed/atom/topic/4855/" />
	<updated>2013-12-29T20:42:50Z</updated>
	<generator>PunBB</generator>
	<id>https://www.soliforum.com/topic/4855/huge-swings-in-extruder-temperature/</id>
		<entry>
			<title type="html"><![CDATA[Re: Huge swings in extruder temperature]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/45336/#p45336" />
			<content type="html"><![CDATA[<p>thanks</p>]]></content>
			<author>
				<name><![CDATA[satman49]]></name>
				<uri>https://www.soliforum.com/user/574/</uri>
			</author>
			<updated>2013-12-29T20:42:50Z</updated>
			<id>https://www.soliforum.com/post/45336/#p45336</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Huge swings in extruder temperature]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/45327/#p45327" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>satman49 wrote:</cite><blockquote><p>pirvan, where did you find this?</p></blockquote></div><p>It&#039;s in the configuration.h file.&nbsp; </p><p>I downloaded this Solidoodle/Arduino file, and modified it&#039;s configuration.h file to reflect the changes I needed.&nbsp; Then built and uploaded the new firmware.</p><p><a href="http://download1897.mediafire.com/4fasnkelkafg/leatx20mqiicipz/Solidoodle-arduino-1.0.5-windows.zip">http://download1897.mediafire.com/4fasn … indows.zip</a></p><p>Download the file, extracted to a working directory (needs about 260MB), then run the Arduino executable.&nbsp; &nbsp; Load the Solidoodle sketch (&quot;File/Example/SolidoodleMarlin&quot;), then on the configuration.h tab make the necessary changes.&nbsp; Then either build the new hex file or upload it to the printer directly.&nbsp; make sure you select the correct board and COM port.</p><p>Hope this helps.</p>]]></content>
			<author>
				<name><![CDATA[pirvan]]></name>
				<uri>https://www.soliforum.com/user/1357/</uri>
			</author>
			<updated>2013-12-29T17:32:43Z</updated>
			<id>https://www.soliforum.com/post/45327/#p45327</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Huge swings in extruder temperature]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/45316/#p45316" />
			<content type="html"><![CDATA[<p>pirvan, where did you find this?</p><p>I finally had a chance to get back to this, and found the solution.&nbsp; The problem I had with autotune triggering MAXTEMP was solved by reducing PID_MAX from 255 to 190.&nbsp; This reduces the maximum current sent to the heater during PID.</p>]]></content>
			<author>
				<name><![CDATA[satman49]]></name>
				<uri>https://www.soliforum.com/user/574/</uri>
			</author>
			<updated>2013-12-29T06:22:47Z</updated>
			<id>https://www.soliforum.com/post/45316/#p45316</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Huge swings in extruder temperature]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/45291/#p45291" />
			<content type="html"><![CDATA[<p>I finally had a chance to get back to this, and found the solution.&nbsp; The problem I had with autotune triggering MAXTEMP was solved by reducing PID_MAX from 255 to 190.&nbsp; This reduces the maximum current sent to the heater during PID.</p><p>Now I was able to run the PID autotune command and get some numbers.&nbsp; The autotune values were very close to the numbers I had stumbled on manually.&nbsp; But what made a difference was the current reduction using the PID_MAX.&nbsp; </p><p>While I was at it, I also enabled and ran a PID on the bed, and saved the values.</p><p>While the bed is functioning flawlessly, the extruder heater still has the overshoot, but it no longer goes near the 220° mark.&nbsp; I will try to reduce the PID_MAX value further and see if that reduces the overshoot.</p>]]></content>
			<author>
				<name><![CDATA[pirvan]]></name>
				<uri>https://www.soliforum.com/user/1357/</uri>
			</author>
			<updated>2013-12-28T19:41:13Z</updated>
			<id>https://www.soliforum.com/post/45291/#p45291</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Huge swings in extruder temperature]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/44371/#p44371" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>elmoret wrote:</cite><blockquote><p>D (derivative) reduces overshoot.</p><p>I recommend you read up on PID control.</p></blockquote></div><p>Yeah, well, I downloaded a few PDFs on the subject and tried to read and understand it, and maybe some of you understand all this, but to me, 90% of it greek. All the examples and equations and such are beyond my paygrade.</p><p>But here is how I think it works, and if I&#039;m wrong, please enlighten me:</p><p>&quot;P&quot; is the bandwidth or zone in which the proportioning action takes place.&nbsp; So the larger the number the wider the zone around the target and vice-versa.&nbsp; <span style="color: Blue">(I can see the effects of &quot;P&quot; in my tests, images #1 and #2)</span></p><p>&quot;I&quot; adjusts the proportional bandwidth with respect to the target to prevent an offset from the target. <span style="color: Blue">(I could see it&#039;s effects on my tests too, see image #3).</span></p><p>&quot;D&quot; is supposed to monitor the temperature&#039;s rise and fall rate, and is supposed to adjust the bandwidth to minimize over or undershoots.&nbsp; It doesn&#039;t narrow or affect the &quot;P&quot; zone, but it tries to prevent the temperature from going above or below it.</p><p>The problem is that, in my tests,&nbsp; I can&#039;t find any value of &quot;D&quot; that will flatten out that inital overshoot.&nbsp; A very low value (&lt;50) seems to let the temperature overshoot the target to the point of triggering MAXTEMP and the extruder turning off. (and requiring an reset).&nbsp; A value of 120 (which is what I was testing with) reduces the overshoot enough to not trigger MAXTEMP, but it&#039;s still there.&nbsp; Larger values (as large as 500) do not seem to have any further effect.</p><p>So, any other ideas? </p><p>I wish I could get the autotune to do this for me, but I can&#039;t.&nbsp; Any solutions to this problem?</p>]]></content>
			<author>
				<name><![CDATA[pirvan]]></name>
				<uri>https://www.soliforum.com/user/1357/</uri>
			</author>
			<updated>2013-12-15T04:35:05Z</updated>
			<id>https://www.soliforum.com/post/44371/#p44371</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Huge swings in extruder temperature]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/44368/#p44368" />
			<content type="html"><![CDATA[<p>Hi all.</p><p>I found that the PID tuning works great to keep the temperature stabilized. What temp do you guys run at for ABS? I find that 205c I get the best layer adhesion (If I go much lower the layers don&#039;t stick together as good) but when printing tall but narrow parts, the heat it gives off seem to burn the layers and darken the color or my orange ABS.</p>]]></content>
			<author>
				<name><![CDATA[Photog]]></name>
				<uri>https://www.soliforum.com/user/4167/</uri>
			</author>
			<updated>2013-12-15T03:54:17Z</updated>
			<id>https://www.soliforum.com/post/44368/#p44368</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Huge swings in extruder temperature]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/44352/#p44352" />
			<content type="html"><![CDATA[<p>D (derivative) reduces overshoot.</p><p>I recommend you read up on PID control.</p>]]></content>
			<author>
				<name><![CDATA[elmoret]]></name>
				<uri>https://www.soliforum.com/user/221/</uri>
			</author>
			<updated>2013-12-14T22:16:38Z</updated>
			<id>https://www.soliforum.com/post/44352/#p44352</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Huge swings in extruder temperature]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/44351/#p44351" />
			<content type="html"><![CDATA[<p>Ok, so it seems that no matter what I do, I can&#039;t run the Autotune command without getting the &quot;Temperature too high&quot; error.&nbsp; </p><p>It doesn&#039;t matter if I try to autotune it to 200°, or 100°.&nbsp; I also tried a variety of solutions offered elsewhere like adding the E-0 to the command line to specify the extruder instead of the bed, whether I had the extruder heater off or on when I started the Autotune.&nbsp; </p><p>End result:&nbsp; &quot;PID Autotune failed! Temperature too high&quot;</p><p>So I decided to do some trial and error settings, and this is what I came up with this far:</p><p><span class="postimg"><img src="http://www.soliforum.com/misc.php?action=pun_attachment&amp;item=4153" alt="http://www.soliforum.com/misc.php?action=pun_attachment&amp;amp;item=4153" /></span></p><p>I started with some arbitrary numbers in the neighborhood of the original PID settings. This shows a swing of about 10°C, 5° above and 5° below the primary target.&nbsp; P is set to 20, I is zeroed out and D is set to 120</p><p>Then I decreased P to half, and got a much flatter response (in fact it&#039;s less than 1° after about 10 minutes).&nbsp; But you&#039;ll notice that the average temperature is now 5° below the target, at 185°C.</p><p><span class="postimg"><img src="http://www.soliforum.com/misc.php?action=pun_attachment&amp;item=4154" alt="http://www.soliforum.com/misc.php?action=pun_attachment&amp;amp;item=4154" /></span></p><p>Increasing the I to 1.00 brought the average temperature up to 195°,and also introduced a wild swing of almost 15°C, so I backed the number down incrementally, until I got to 0.1.&nbsp; The average temperature is now 190° (target), and the oscillations are about 1°</p><p><span class="postimg"><img src="http://www.soliforum.com/misc.php?action=pun_attachment&amp;item=4155" alt="http://www.soliforum.com/misc.php?action=pun_attachment&amp;amp;item=4155" /></span></p><p>But no matter what I do, I can&#039;t seem to get rid of the huge overshoot on the first cycle, when I turn on the heater.&nbsp; Even if the heater was turned off for only a minute, on the initial heatup, it overshoots the target by at least 10°.&nbsp; According to some of the documents I read, increasing the value of P, should reduce the overshoot, but for me, it has the opposite effect, and it introduces the wild oscillations.</p><p>For now, I can live with the current settings, but any insights on how to reduce the overshoot, or anything else for that matter, would be appreciated.</p>]]></content>
			<author>
				<name><![CDATA[pirvan]]></name>
				<uri>https://www.soliforum.com/user/1357/</uri>
			</author>
			<updated>2013-12-14T22:09:39Z</updated>
			<id>https://www.soliforum.com/post/44351/#p44351</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Huge swings in extruder temperature]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/44184/#p44184" />
			<content type="html"><![CDATA[<p>Looks like I need help after all.&nbsp; When I run the PID autotune, it fails with thi:</p><p>23:36:53.509 : PID Autotune start<br />23:38:54.527 : PID Autotune failed! Temperature too high<br />23:38:54.751 : Error:checksum mismatch, Last Line: 177<br />23:38:54.767 : Resend: 178<br />23:38:57.822 : Error:Line Number is not Last Line Number+1, Last Line: 177<br />23:38:57.822 : Resend: 178</p><br /><p>Any ideas?</p><p>The above was an attempt to autotune @ 195°C.&nbsp; I also tried autotuning at a lower temperature 180°C, but&nbsp; I get the same error.&nbsp; The line number is different (Line 99).</p>]]></content>
			<author>
				<name><![CDATA[pirvan]]></name>
				<uri>https://www.soliforum.com/user/1357/</uri>
			</author>
			<updated>2013-12-13T07:45:54Z</updated>
			<id>https://www.soliforum.com/post/44184/#p44184</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Huge swings in extruder temperature]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/44183/#p44183" />
			<content type="html"><![CDATA[<p>I have no idea how to do that.&nbsp; How do I go about doing that?</p><p>Nevermind, I search and found the Wiki on PID tuning.</p>]]></content>
			<author>
				<name><![CDATA[pirvan]]></name>
				<uri>https://www.soliforum.com/user/1357/</uri>
			</author>
			<updated>2013-12-13T07:09:51Z</updated>
			<id>https://www.soliforum.com/post/44183/#p44183</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Huge swings in extruder temperature]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/44181/#p44181" />
			<content type="html"><![CDATA[<p>I&#039;d also do the bedpid tuning as documented in configuration.h - that will cure your sawtoothed bed heat...</p>]]></content>
			<author>
				<name><![CDATA[adrian]]></name>
				<uri>https://www.soliforum.com/user/663/</uri>
			</author>
			<updated>2013-12-13T05:53:47Z</updated>
			<id>https://www.soliforum.com/post/44181/#p44181</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Huge swings in extruder temperature]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/44180/#p44180" />
			<content type="html"><![CDATA[<p>have you auto PID tuned again for the new cartridge?</p>]]></content>
			<author>
				<name><![CDATA[adrian]]></name>
				<uri>https://www.soliforum.com/user/663/</uri>
			</author>
			<updated>2013-12-13T05:53:00Z</updated>
			<id>https://www.soliforum.com/post/44180/#p44180</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Huge swings in extruder temperature]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/44178/#p44178" />
			<content type="html"><![CDATA[<p>I just finished installing a 40W heater cartridge as a replacement for my burned-out resistor, but the temperature curve is showing huge swings.&nbsp; &nbsp;I&#039;m seeing 20°C swings (10° below and 10° over) the mean temperature I set.</p><p><span class="postimg"><img src="http://www.soliforum.com/misc.php?action=pun_attachment&amp;item=4142" alt="http://www.soliforum.com/misc.php?action=pun_attachment&amp;amp;item=4142" /></span></p><p>What can I do flatten this curve?&nbsp; Is there an option that can be changed in firmware?</p>]]></content>
			<author>
				<name><![CDATA[pirvan]]></name>
				<uri>https://www.soliforum.com/user/1357/</uri>
			</author>
			<updated>2013-12-13T05:28:18Z</updated>
			<id>https://www.soliforum.com/post/44178/#p44178</id>
		</entry>
</feed>
