Jump to content
lars86

PID Bed Control: No UC Settings / Not saving

Recommended Posts

Posted · PID Bed Control: No UC Settings / Not saving

Hi guys,

I just enabled PID bed control on my UMO + heated bed kit last night. With the right Kp, Ki, Kd parameters, the result is lightyears ahead of bang bang control. I'm not sure why it isn't the default.

The autotune generated terrible values for the constants in my experience, so I have been spending a large amount of time manually tuning the control constants, and am getting it looking very nice. (I'll start another thread for that)

My issue, is that the constants don't show up as settings in the Ulti-controller. I can tune them via gcodes, but even if I issue an M500, they don't stick. There must be some other portion of code to uncomment in the firmware.

Can anyone point me in the right direction?

Thanks!

Share this post


Link to post
Share on other sites
Posted · PID Bed Control: No UC Settings / Not saving

Save it in the configuration.h and recompile it.

 

Right, I was interested in fine tuning without recompiling.

Share this post


Link to post
Share on other sites
Posted · PID Bed Control: No UC Settings / Not saving

 

Save it in the configuration.h and recompile it.

 

Right, I was interested in fine tuning without recompiling.

 

So you adjust the parameters with M304 and when you found the 'right' ones, you write them into the source code and recompile it once. You anyway had to recompile the source code in order to activate pid for the bed, correct?

Share this post


Link to post
Share on other sites
Posted · PID Bed Control: No UC Settings / Not saving

So you adjust the parameters with M304 and when you found the 'right' ones, you write them into the source code and recompile it once. You anyway had to recompile the source code in order to activate pid for the bed, correct?

 

You could say the same for extruder PID settings, but they are listed in the controller menu, and respond to being saved to EEPROM. Seems like there must be a correctable difference in the firmware between extruder and bed settings. That is what I am asking about, not how to do something I have obviously already done.

Share this post


Link to post
Share on other sites
Posted · PID Bed Control: No UC Settings / Not saving

btw: what makes you think the autotune feature gives bad values?

 

This.

After running autotune with 8 cycles, twice over and pushing those calculated values across, this was my bed response:

5a331012be78e_Tuningstock.thumb.jpg.7f852a0332a9f6132360ec7fd707b97b.jpg

After throwing out those values and starting over manually:

5a331012dd26b_Tuned1.thumb.jpg.ca1675c3574075e19a89724f42f5a964.jpg

5a331012be78e_Tuningstock.thumb.jpg.7f852a0332a9f6132360ec7fd707b97b.jpg

5a331012dd26b_Tuned1.thumb.jpg.ca1675c3574075e19a89724f42f5a964.jpg

Share this post


Link to post
Share on other sites
Posted · PID Bed Control: No UC Settings / Not saving

You could say the same for extruder PID settings, but they are listed in the controller menu, and respond to being saved to EEPROM. Seems like there must be a correctable difference in the firmware between extruder and bed settings. That is what I am asking about, not how to do something I have obviously already done.

 

Now I see your point. You compare the situation of the nozzle PID settings with the bed PID setting. Sorry for not seeing it earlier, it's 30°C+ since a few days here... ;)

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 96 replies
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!