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

Unable to tune chamber heater

Scheduled Pinned Locked Moved
General Discussion
6
20
836
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.
  • undefined
    davidewen @dc42
    last edited by 3 Jan 2023, 18:42

    @dc42

    Thank you.

    FYI; These are the results from my latest tuning attempt.

    M303 H2 P1 Y1 S50 ; auto tune heater 2, default PWM (100%), Tuning Cycle Hystresis 1C 50C target
    

    Warning: Auto tune of heater 2 failed due to bad curve fit (R=0.183 K=3.127:0.000 D=7.70)

    undefined 1 Reply Last reply 3 Jan 2023, 18:59 Reply Quote 0
    • undefined
      Tinchus @davidewen
      last edited by 3 Jan 2023, 18:59

      @davidewen @dc42 There are several post about this issue with heated chambers.
      In my case the problem raised with version 3.3 and up. Something changed on that PID implementation. Before that, my heated chamber was using the old PID very good.

      After I upgraded, the problem raised. So I tried to autotune again and I was getting the same errors like you. After playing a while, what I did was: I raised deadtime value A LOT. That way, autotune was able to finish.

      BUT then it didnt worked: the values I got from autotune, should have worked but every time I tried to heat up the chamber, an error was there: temp rising too slowly.
      Running autotune several times worked again, but then again, using the reported values always failed with the same error.

      Then I did a trick: I ran autotune but using ONLY 80% of the PWM. Then to the reported values I changed the PWM to 100%. That is the only way I have been able to use PID on the heated chamber

      I hope it helps

      undefined 2 Replies Last reply 5 Jan 2023, 13:45 Reply Quote 2
      • undefined
        davidewen @Tinchus
        last edited by 5 Jan 2023, 13:45

        @Tinchus

        Thanks for this info.
        For whatever reason, it has only partially worked for me.
        I can at least finish the tune, but I still can not run the chamber heater even after updating the M307 with the auto tune parameters.

        The heater faults out with this error. The values will change based on the M307 settings, but it's always the same error that the temperature is rising too slowly.

        Heater 2 fault: temperature rising too slowly: expected 0.14°C/sec measured 0.03°C/sec

        1 Reply Last reply Reply Quote 0
        • undefined
          davidewen @Tinchus
          last edited by 5 Jan 2023, 13:47

          @Tinchus said in Unable to tune chamber heater:

          I raised deadtime value A LOT. That way, autotune was able to finish.

          When you said you raised dead time a LOT. Do you remember what value you used?

          undefined 1 Reply Last reply 6 Jan 2023, 20:17 Reply Quote 0
          • undefined
            Tinchus @davidewen
            last edited by Tinchus 1 Jun 2023, 20:18 6 Jan 2023, 20:17

            @davidewen Remeber that I said that raising deatime only worked in order for the autotune to work.

            After that, I had the same problem than you: values reported by autotune and updated on the M307 command, never worked for me, it always fail with the "temp rising too slowly" error.

            For chamber PID to work (somehow, it works in my case ONLY for a certain temperature range), the trick I found was doing the PID using only 80% of the available PWM. Then when autotne finishes, notice that this 80% value is reported, change that value only to 100%. This worked for me.

            deadtime I used for autotuning was like 240.

            Also, my chamber heaters are kind of powerfull: I have 2 1000W heaters.

            undefined 1 Reply Last reply 6 Jan 2023, 21:02 Reply Quote 0
            • undefined
              davidewen @Tinchus
              last edited by 6 Jan 2023, 21:02

              @Tinchus

              Thanks for the response.
              Same for me. I can trick the system to finish the autotune, but still can not get the system to work in normal use with the parameters autotune gives.

              Even changing the PWM back to 100% is not working for me.

              I'm not sure what values would even be helpful.

              I only have (1) 250w heater, so my chamber heats pretty slowly.
              I need about 20-30 minutes to get to 50°C.

              undefined 1 Reply Last reply 6 Jan 2023, 21:09 Reply Quote 0
              • undefined
                Tinchus @davidewen
                last edited by 6 Jan 2023, 21:09

                @davidewen then I would suggest you to do autoune using only 50% of pwm, or less (probably you will nedd to adjust deadtime for autotune to finish?)

                undefined 1 Reply Last reply 6 Jan 2023, 21:10 Reply Quote 0
                • undefined
                  davidewen @Tinchus
                  last edited by 6 Jan 2023, 21:10

                  @Tinchus

                  Thanks, I will try that now.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    davidewen @dc42
                    last edited by 7 Jan 2023, 21:57

                    @dc42

                    Have you had a chance to look into this?

                    I have not been able to get anything to work.

                    I have been able to get the autotune to pass multiple times, but the parameters don't work after entering them in.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      hackinistrator
                      last edited by 8 Jan 2023, 21:06

                      did you try with R value in m307 at 0.001?
                      also , maybe your heater never reaches the target temp .

                      undefined 1 Reply Last reply 9 Jan 2023, 16:52 Reply Quote 0
                      • undefined
                        davidewen @hackinistrator
                        last edited by 9 Jan 2023, 16:52

                        @hackinistrator

                        Thanks for the input. I'll give your R0.001 suggestion a try.

                        Re: heater not reaching temp. It does, and I had no problem with this issue prior to updating FW as also stated by @Tinchus.

                        After running autotune again, and kind of passing, here's what I received as settings.

                        The first line is actual autotune settings that don't work.
                        The second line is modified with the 0.001 setting as suggested.

                        I was able to complete a 50°C chamber heat with it.

                        However, I cannot start an actual print unless I pre-heat the chamber. Printing fails with the typical error of expected this heat time, but got this heat time.

                        ;M307 H2 R1.491 K1.725:0.000 D9.50 E1.35 S0.10 B0 ; autotune settings
                        M307 H2 R0.001 K1.725:0.000 D9.50 E1.35 S1.00 B0 ; autotune settings

                        @dc42 - have you had a chance to look into this problem?

                        undefined 1 Reply Last reply 10 Jan 2023, 00:25 Reply Quote 0
                        • undefined
                          davidewen @davidewen
                          last edited by 10 Jan 2023, 00:25

                          @dc42, @Tinchus, @hackinistrator, @RogerPodacter

                          I finally got this to partially work.
                          I had to re-run RRF config and get a new config.json file.

                          This happened to me when I changed from a Z-Probe to a Z-Switch. No amount of changing config.g would work until RRF was run.

                          I still get errors occasionally, but not every time.

                          @dc42 , I think this still needs to be looked into. It may also be a good idea to figure out why a new config.json file helps alleviate the problems.

                          undefined undefined undefined 3 Replies Last reply 10 Jan 2023, 03:20 Reply Quote 0
                          • undefined
                            Phaedrux Moderator @davidewen
                            last edited by 10 Jan 2023, 03:20

                            @davidewen said in Unable to tune chamber heater:

                            It may also be a good idea to figure out why a new config.json file helps alleviate the problems.

                            I think that's a red herring. That file is only used by the config tool to read your config back into it again so you can make changes. It doesn't get used by RRF in any other way AFAIK.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 1
                            • undefined
                              Tinchus @davidewen
                              last edited by 12 Jan 2023, 13:37

                              @davidewen In my case I never used the config tool. I always do configuration changs directly on config.g

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                dc42 administrators @davidewen
                                last edited by 13 Jan 2023, 16:21

                                @davidewen what temperature do you heat the chamber to, how long does it take to get there, and what is the ambient temperature? These figures will give me an idea of the heating rate, so that can see whether the current limits are appropriate.

                                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

                                undefined 1 Reply Last reply 16 Jan 2023, 04:29 Reply Quote 0
                                • undefined
                                  davidewen @dc42
                                  last edited by 16 Jan 2023, 04:29

                                  @dc42 said in Unable to tune chamber heater:

                                  @davidewen what temperature do you heat the chamber to, how long does it take to get there, and what is the ambient temperature? These figures will give me an idea of the heating rate, so that can see whether the current limits are appropriate.

                                  Thanks for getting back to me.

                                  I generally heat the chamber to 60C.
                                  I haven’t timed it, but I think it takes about 30 minutes.
                                  Ambient temperature is 70F

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