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

    Temperature jumps when the fan is turned on

    Scheduled Pinned Locked Moved
    Beta Firmware
    8
    20
    967
    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.
    • DonStaufferundefined
      DonStauffer @Adrian52
      last edited by

      @adrian52 I didn't even know there WAS heater compensation for the cooling fan. How do you control it?

      deckingmanundefined jay_s_ukundefined 2 Replies Last reply Reply Quote 0
      • deckingmanundefined
        deckingman @DonStauffer
        last edited by

        @donstauffer said in Temperature jumps when the fan is turned on:

        @adrian52 I didn't even know there WAS heater compensation for the cooling fan. How do you control it?

        I'm on my phone so difficult to send links but look up the tuning command. I think it's M303 but could be wrong. Essentially you PID tune a tool with it's associated heater rather than a heater.

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

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

          @donstauffer Its M303 TX SXXX with T being the tool number (e.g. 0) and S being the temperature you want to tune to

          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 1
          • dc42undefined
            dc42 administrators @Vladimir_U
            last edited by dc42

            @vladimir_u I've checked the code. The only situations in which the heater power is adjusted are:

            1. When a M106 command with an S parameter but no P parameter is used to adjust the speed of the print cooling fan for the current tool. In this case the feedforward correction is used, controlled by the second K parameter n the M307 command for that tool heater. No correction is applied if that second K term is zero.

            2. If the VIN voltage measured by the Duet drops, then the tool heater power is corrected to allow for that voltage drop.

            There is no path for a thermostatic fan turning on to cause a change in heater power, unless that fan draws such a large current that the power voltage drops - which would be unusual for a fan.

            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

            1 Reply Last reply Reply Quote 0
            • Vladimir_Uundefined
              Vladimir_U
              last edited by

              @dc42 Yes, I can't repeat this bug right now. I tried to start the fan with different options. there were no jumps. But I am sure for sure that it was synchronized with the inclusion of the cooling fan of the board. Later I will run this code that had this effect. Could you tell me by what value the voltage should change in order for the correction to work?

              1 Reply Last reply Reply Quote 0
              • Vladimir_Uundefined
                Vladimir_U
                last edited by

                It looks like I found what was the reason for the hotend temperature fluctuations. It's all about the slicer settings. The fact is that when printing bridges, the slicer increases cooling. But the bridges were so small that the actual speed of the coolers did not have time to change. But the firmware already included heating compensation. And for this reason there were temperature jumps. This affects the quality of the model wall. I should have written about it here. Perhaps someone else will encounter a similar effect.
                Снимок экрана 2022-01-19 221645.png Снимок экрана 2022-01-19 221413.png

                1 Reply Last reply Reply Quote 1
                • Vladimir_Uundefined
                  Vladimir_U
                  last edited by

                  @dc42 have you considered adding some time delay to the firmware to enable compensation. Or activation of compensation by double analysis of changes in fan rotation speed with an interval of several seconds. Perhaps this would help to avoid such an effect.

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

                    @vladimir_u great detective work.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    Vladimir_Uundefined 1 Reply Last reply Reply Quote 0
                    • Vladimir_Uundefined
                      Vladimir_U @Phaedrux
                      last edited by

                      @phaedrux the desire to understand this did not give me peace😆

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

                        @vladimir_u in the tests we did using a E3D V6 hot end, the compensation needed to act instantly, because the additional heater power took a small number of seconds to reach the nozzle, whereas the fan took less than a second to reach the new speed. So the fan speed increased faster than the heat reached the nozzle. As a result, the best compensation we could achieve still resulted in a slight dip in indicated temperature when the fan speed increased; but this dip was smaller than without heater feedforward, also the recovery to the set temperature was faster.

                        I am surprised that in your graph, the temperature is rising so much because of heater feedforward. Have you tested whether the heater feedforward is compensating correctly when you change the fan speed and leave it at the new value for several seconds? It may be that the feedforward constant (the second K parameter in the M307 command) is not appropriate for your hot end.

                        What type of hot end do you have, and what type of print cooling fan?

                        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

                        Argoundefined Vladimir_Uundefined 2 Replies Last reply Reply Quote 0
                        • Argoundefined
                          Argo @dc42
                          last edited by

                          @dc42

                          The E3D V6 and similar hotends with heater cartridges react slow.

                          There are newer hotends like the E3D Revo or the Rapido which don't have a "classic" heater cartridge. The heating unit is cylindrical and they draw less power the higher the temperature gets:

                          https://trianglelab.net/u_file/2111/01/file/Rapido-hotendcylindricalceramicheaterpowertest-f063.pdf?spm=a2g0o.detail.1000023.95.1aed2dcc0Ov6It&file=Rapido-hotendcylindricalceramicheaterpowertest-f063.pdf

                          They also heat up much fast and the reaction time is lower.
                          Workaround for me (with the Rapido hotend) at the moment is to do the PID tuning without the fan (H parameter instead of T) so the temperature stays somewhat stable when the fan is turned on.

                          1 Reply Last reply Reply Quote 0
                          • Vladimir_Uundefined
                            Vladimir_U @dc42
                            last edited by

                            @dc42 My printer uses a hotend other than e3dv6. the thermistor there is located closer to the heater. Perhaps for this reason he is more sensitive. However. As a result of several experiments, with the implementation of the M303 with different blowing power, I stopped at the option when calibration occurs with a blowout of 35 percent. Fluctuations when switching within 3 degrees. The best with this configuration can not be achieved, I think.
                            photo_2022-01-20_21-02-14.jpg photo_2022-01-20_20-51-09.jpg

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