Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Is it possible to tweak the bed heater algorithm?

    Scheduled Pinned Locked Moved
    General Discussion
    6
    16
    495
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • KTWundefined
      KTW
      last edited by

      My printer is practically unusable at this point, since the bed heater algorithm faults it almost every time i turn on the printer.
      Is it possible to change the check, so I don't need to perform a M303+M307 every single time I need to use the printer?

      Always the same error:
      Error: Heater 0 fault: temperature rising much more slowly than the expected 0.2°C/sec

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @KTW
        last edited by

        @KTW either save the outputted values into your config.g or use M500 to save the values into config-override (ensuring you have M501 at the end of your config)

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        1 Reply Last reply Reply Quote 0
        • KTWundefined
          KTW
          last edited by

          If only it was this easy.
          I am already doing this every time. 🙂

          deckingmanundefined 1 Reply Last reply Reply Quote 0
          • deckingmanundefined
            deckingman @KTW
            last edited by

            @KTW Not sure if it'll work in this case but you could try M570 to adjust the fault detection parameters. So e.g. M570 H0 P10 T5 S300 would set the time to 10 seconds, the excursion value to 5 degrees and cancel the print after 5 minutes of exceeding those values.

            Ian
            https://somei3deas.wordpress.com/
            https://www.youtube.com/@deckingman

            KTWundefined 1 Reply Last reply Reply Quote 0
            • matt3oundefined
              matt3o
              last edited by

              I also had to tweak my values. It is feasible but depends on your bed. What are you tuning params?

              KTWundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk
                last edited by

                or roll back to 3.1.1 to use the other algorithms and then don't tune with the new ones.
                I had to do that on the heated bed on one of my printers

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                1 Reply Last reply Reply Quote 0
                • KTWundefined
                  KTW @matt3o
                  last edited by

                  @matt3o

                  M303 H0 S70
                  M307 H0 R0.363 C315.930:315.930 D5.30 S1.00 V24.4 B0

                  matt3oundefined 1 Reply Last reply Reply Quote 0
                  • KTWundefined
                    KTW @deckingman
                    last edited by

                    @deckingman
                    Thank you, I will try this.

                    deckingmanundefined 1 Reply Last reply Reply Quote 0
                    • deckingmanundefined
                      deckingman @KTW
                      last edited by

                      @KTW If that doesn't work, you could also try increasing the "D" (dead time) parameter in your M307. Try (say) 10 secs instead of the 5.3 that the tuning algorithm calculated.

                      Ian
                      https://somei3deas.wordpress.com/
                      https://www.youtube.com/@deckingman

                      1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators
                        last edited by

                        @KTW please post your entire config.g file, also the config-override.g file if you have one.

                        Duet WiFi hardware designer and firmware engineer
                        Please do not ask me for Duet support via PM or email, use the forum
                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                        KTWundefined 1 Reply Last reply Reply Quote 0
                        • matt3oundefined
                          matt3o @KTW
                          last edited by

                          @KTW said in Is it possible to tweak the bed heater algorithm?:

                          @matt3o

                          M303 H0 S70
                          M307 H0 R0.363 C315.930:315.930 D5.30 S1.00 V24.4 B0

                          if it were my printer I would try

                          M307 H0 R0.3 C400 D6.5 S1.00 V24.4 B0

                          if you are on SSR you don't need V

                          1 Reply Last reply Reply Quote 0
                          • KTWundefined
                            KTW @dc42
                            last edited by KTW

                            @dc42 here is my config files.
                            I have added the command "M570 H0 P10 T5 S300" suggested by @deckingman and this seems to have helped.

                            config-override.g
                            config.g

                            1 Reply Last reply Reply Quote 0
                            • Phaedruxundefined
                              Phaedrux Moderator
                              last edited by

                              What kind of a heated bed is it?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              KTWundefined 1 Reply Last reply Reply Quote 0
                              • KTWundefined
                                KTW @Phaedrux
                                last edited by

                                @Phaedrux
                                It's a 220V silicone heater,
                                similar to this one:
                                https://makersupplies.dk/en/heatbed/823-heatbed-silicone-heatbed-300x300mm-220v-350w.html

                                matt3oundefined 1 Reply Last reply Reply Quote 0
                                • matt3oundefined
                                  matt3o @KTW
                                  last edited by

                                  @KTW as far as I understand the problem is that the sensor is integrated, for some reason RRF can't cope with that.

                                  1 Reply Last reply Reply Quote 0
                                  • Phaedruxundefined
                                    Phaedrux Moderator
                                    last edited by

                                    See the reason here: https://forum.duet3d.com/topic/22155/error-heater-0-fault-temperature-rising-much-more-slowly/9?_=1616081192454

                                    There is still room for improvement on the new algorithm to better take into account the thermal mass of the bed plate itself.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Unless otherwise noted, all forum content is licensed under CC-BY-SA