<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[SoliForum - 3D Printing Community — Can you PID tune a SSR controlled heat bed?]]></title>
		<link>https://www.soliforum.com/topic/12595/can-you-pid-tune-a-ssr-controlled-heat-bed/</link>
		<atom:link href="https://www.soliforum.com/feed/rss/topic/12595/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Can you PID tune a SSR controlled heat bed?.]]></description>
		<lastBuildDate>Tue, 20 Oct 2015 16:32:19 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Can you PID tune a SSR controlled heat bed?]]></title>
			<link>https://www.soliforum.com/post/108012/#p108012</link>
			<description><![CDATA[<p>Thanx <br />I will have to go digging around when I get a little time and look...</p><p>Thanx again.&nbsp; </p><p>btw your SSR install drawing was worth it&#039;s weight in gold last weekend!</p>]]></description>
			<author><![CDATA[null@example.com (Ski52)]]></author>
			<pubDate>Tue, 20 Oct 2015 16:32:19 +0000</pubDate>
			<guid>https://www.soliforum.com/post/108012/#p108012</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can you PID tune a SSR controlled heat bed?]]></title>
			<link>https://www.soliforum.com/post/108006/#p108006</link>
			<description><![CDATA[<p>This section here is what you&#039;re looking for, the last line has the code you would use to test PID.</p><br /><br /><div class="codebox"><pre><code>// Bed Temperature Control
// Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis
//
// Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder.
// If your PID_dT above is the default, and correct for your hardware/configuration, that means 7.689Hz,
// which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating.
// This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater.
// If your configuration is significantly different than this and you don&#039;t understand the issues involved, you probably
// shouldn&#039;t use bed PID until someone else verifies your hardware works.
// If this is enabled, find your own PID constants below.
#define PIDTEMPBED
//
//#define BED_LIMIT_SWITCHING

// This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option.
// all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis)
// setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did,
// so you shouldn&#039;t use it unless you are OK with PWM on your bed.  (see the comment on enabling PIDTEMPBED)
#define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current

#ifdef PIDTEMPBED
//120v 500W silicone heater W/SSR (Bob&#039;s Bedheater)
//from pidautotune      
//    #define DEFAULT_bedKp 44.39
//    #define DEFAULT_bedKi 7.88
//    #define DEFAULT_bedKd 62.54
      
//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
//    #define  DEFAULT_bedKp 10.00
//    #define  DEFAULT_bedKi .023
//    #define  DEFAULT_bedKd 305.4

//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
//from pidautotune
//    #define  DEFAULT_bedKp 97.1
//    #define  DEFAULT_bedKi 1.41
//    #define  DEFAULT_bedKd 1675.16
//Solidoodle3 Standard Bed //{SD Patch}
//from pidautotune //{SD Patch}
      #define  DEFAULT_bedKp 100.15 //{SD Patch}
      #define  DEFAULT_bedKi 7.65 //{SD Patch}
      #define  DEFAULT_bedKd 327.90 //{SD Patch}

//Replicator MK2B Heat Bed //{SD Patch}
//from pidautotune //{SD Patch}
//    #define  DEFAULT_bedKp 367.89 //{SD Patch}
//    #define  DEFAULT_bedKi 36.68 //{SD Patch}
//    #define  DEFAULT_bedKd 922.06 //{SD Patch}

//QU-BD Silicone Bed 200x200 Square //{SD Patch}
//from pidautotune //{SD Patch}
//    #define  DEFAULT_bedKp 304.87 //{SD Patch}
//    #define  DEFAULT_bedKi 47.49 //{SD Patch}
//    #define  DEFAULT_bedKd 489.67 //{SD Patch}


// FIND YOUR OWN: &quot;M303 E-1 C8 S90&quot; to run autotune on the bed at 90 degreesC for 8 cycles.
#endif // PIDTEMPBED</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (wardjr)]]></author>
			<pubDate>Tue, 20 Oct 2015 16:06:03 +0000</pubDate>
			<guid>https://www.soliforum.com/post/108006/#p108006</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can you PID tune a SSR controlled heat bed?]]></title>
			<link>https://www.soliforum.com/post/108005/#p108005</link>
			<description><![CDATA[<p>You can but it sounds more like you have bang-bang enabled in your firmware.&nbsp; PID for bed heaters need to be changed through the firmware either way.&nbsp; It isn&#039;t something you can change in EEPROM like for the Nozzle.&nbsp; I would start by checking the in configuration.h first for bang-bang and then choose one of the heater options that more closely matches your set up.&nbsp; The PID instructions are in that section.&nbsp; I will dig up a screenshot.</p>]]></description>
			<author><![CDATA[null@example.com (wardjr)]]></author>
			<pubDate>Tue, 20 Oct 2015 16:01:32 +0000</pubDate>
			<guid>https://www.soliforum.com/post/108005/#p108005</guid>
		</item>
		<item>
			<title><![CDATA[Can you PID tune a SSR controlled heat bed?]]></title>
			<link>https://www.soliforum.com/post/108004/#p108004</link>
			<description><![CDATA[<p>Just converted my SD2 to a SSR controlled heat bed.&nbsp; I would like to PID tune it because I get a ~5-7 degree variance across the board, looks like a regular sawtooth wave.&nbsp; I really don&#039;t think it&#039;s a major problem, but every small refinement helps a little.&nbsp; I have read other places that because of the SSR you can&#039;t do this.&nbsp; Is that so?</p><p>Thanx<br />Ski</p>]]></description>
			<author><![CDATA[null@example.com (Ski52)]]></author>
			<pubDate>Tue, 20 Oct 2015 15:54:31 +0000</pubDate>
			<guid>https://www.soliforum.com/post/108004/#p108004</guid>
		</item>
	</channel>
</rss>
