Jump to content

PID Bed Control: No UC Settings / Not saving


lars86

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!

  • 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?

  • 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.

  • 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

  • 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
    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 26 replies
    ×
    ×
    • Create New...