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

Heater Control

Scheduled Pinned Locked Moved
Tuning and tweaking
7
44
9.8k
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
    dc42 administrators
    last edited by 25 Aug 2016, 20:04

    Thanks, Stephen, now I know what I am dealing with. Thank you for your patience.

    I found that even with the 1.15a release, you could still get temperature creep if you have a noisy thermistor channel and were using legacy PID parameters. I've fixed that in release 1.15b, available on github at https://github.com/dc42/RepRapFirmware/tree/dev/Release.

    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
    • undefined
      StephenRC
      last edited by 25 Aug 2016, 22:47

      I printed that part again with 1.15a. Printing PETG at 250C, when the blowers came on the first time it dropped to 243.7C, it increased a few tenths of a C while printing the first solid top layer layer and it didn't get back to 250C until they turned off. The second time it dropped to 242.7C, and also the temp didn't get back to 250C until they turned off.

      1 Reply Last reply Reply Quote 0
      • undefined
        RCarlyle
        last edited by 29 Aug 2016, 14:54

        Update running 1.15b – pressing the PanelDue reset button fixes it temporarily. When I power cycle, the PanelDue gets stuck on "Starting up" and I have to press the reset button to get it to connect.

        Found a text error in the gcode console:

        11:01:20 PM
        M303
        Heater 1 tuning succeeded, use M207 H1 to see result

        On picking P values… would it be possible to auto-tune that too? Turn on the heater at 100% power, wait through the dead time, measure the heat-up curve slope, and ballpark a P value that gives a reasonable slope? Then cool back down and restart. Yeah, that takes considerably longer, but one longer run that works 99% of the time is preferable than needing multiple runs to dial in a good number, particularly on beds where there is more variability than hot ends.

        1 Reply Last reply Reply Quote 0
        • undefined
          RCarlyle
          last edited by 29 Aug 2016, 16:12

          By the way, I REALLY appreciate the "heater appears to be overpowered" warning. It's going to lead to some good conversations and end-user concern. Really emphasizes the need for thermal fuses on high-power beds, for example. Auto-tune says my bed can hit 258C, which would be a pretty big problem since it's on ABS mounts. I do have a thermal fuse on it though.

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 1 Sept 2016, 08:25

            @RCarlyle:

            Update running 1.15b – pressing the PanelDue reset button fixes it temporarily. When I power cycle, the PanelDue gets stuck on "Starting up" and I have to press the reset button to get it to connect.

            Found a text error in the gcode console:

            11:01:20 PM
            M303
            Heater 1 tuning succeeded, use M207 H1 to see result

            On picking P values… would it be possible to auto-tune that too? Turn on the heater at 100% power, wait through the dead time, measure the heat-up curve slope, and ballpark a P value that gives a reasonable slope? Then cool back down and restart. Yeah, that takes considerably longer, but one longer run that works 99% of the time is preferable than needing multiple runs to dial in a good number, particularly on beds where there is more variability than hot ends.

            In future I plan to use a heating phase, a cooling phase, and then a steady temperature phase. This will be somewhat faster than the approach you suggest. But the maths is more complex and I need to work that out; also I want to resolve any issues with temperature control first.

            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
            • undefined
              mhackney
              last edited by 19 Sept 2016, 17:42

              dc42 1.15c firmware. My first attempts at auto tuning the hot end on a printer that has been running this hotend (E3D v6 with 12V cartridge) for several years without fail.

              I started with P0.5 and that overshot (S240) P0.4 and P0.3 the same. Then P0.2 gave this:

              M303 H1 P0.2 S240

              1:36:48 PMWarning: Heater 1 appears to be over-powered and a fire risk! If left on at full power, its temperature is predicted to reach 882C.
              Auto tune heater 1 with PWM=0.20 completed in 824 sec, maximum temperature reached 195.5C
              Use M307 H1 to see the result

              This is a stock E3D v6 setup with a stock 12V supply putting out 12.45VDC. Any suggestions or explanations appreciated.

              cheers,
              Michael

              My 3D Printing blog: http://www.sublimelayers.com
              Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 19 Sept 2016, 18:20

                Those results don't sound right. What M307 parameters did it return? Can you measure the resistance of the heater cartridge? Do you have any thermal insulation on your hot end?

                I believe E3D changed the power of the heaters they ship from 40W to 25W some time ago.

                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
                • undefined
                  mhackney
                  last edited by 19 Sept 2016, 18:25

                  This is a 40W cartridge that measures 3.6Ω, no insulation. Unfortunately, I did not check M307.

                  I just reran it after waiting for it to cool to room temperature as:
                  M303 H1 P0.25 S250

                  Temperature increased gradually (I have a screen shot) and then get this message:
                  Auto tune of heater 1 with P=0.25 S=250.0 cancelled because temperature limit exceeded. Use lower P or higher S in m303 command.

                  I did an M307 H1:
                  Heater 1 model: gain 862.3, time constant 296.2, dead time 6.9, max PWM 1.00, in use: yes, mode: PID
                  Setpoint change: P8.9, I0.03, D42.9
                  Load change: P8.9, I0.65, D42.9

                  I'll rerun the P0.2 S240 and do an M307 this time.

                  My 3D Printing blog: http://www.sublimelayers.com
                  Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 19 Sept 2016, 18:40

                    So that's 43W at 12.45V. Your time constant found by tuning is about double the value I get, which suggests to me that either your hot end is better insulated than mine or your hot end heatsink cooling fan is not very effective. The combination of high heater power and long time constant explains the high gain and hence the warning message.

                    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
                    • undefined
                      mhackney
                      last edited by 19 Sept 2016, 18:47

                      It's a stock E3D V6 with standard cooling fan and shroud. I've measured the top of the cold zone and it is fine and I never get plugging with PLA. The parameters I use with the M301 are:

                      M301 H1 P20 I0.27 D100 T1.1 S1 W300 B30

                      (this is with 1.15-beta3) and worked fine. Hot end heated up quickly and stabilized. I have other printers I can update to the 1.15c firmware but they are Duet .85 controllers. Not sure what to do here with this one though.

                      I did rerun the P0.2 S240 and got the same overpower warning and this time I dd the M307:

                      M307 H1
                      Heater 1 model: gain 884.2, time constant 296.0, dead time 6.8, max PWM 1.00, in use: yes, mode: PID
                      Setpoint change: P8.7, I0.03, D41.8
                      Load change: P8.7, I0.64, D41.8

                      My 3D Printing blog: http://www.sublimelayers.com
                      Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        dc42 administrators
                        last edited by 19 Sept 2016, 18:53

                        The warning is genuine then, although it may be exaggerating somewhat because it assumes that the heat loss is linear with temperature, which is not exactly true.

                        I suggest you plug the M307 parameters into config.g. If they don't give you good temperature control, you can put your M301 command back after the M307 if you double and halve the I and D parameters as per the 1.15 release notes.

                        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
                        • undefined
                          mhackney
                          last edited by 19 Sept 2016, 19:04

                          Thanks David.

                          But this begs the question - what's the "right" thing to do from a heater perspective? Is this legitimately a safety concern and if so, what should be done to rectify it? Is this unique to my E3D V6 or all of them?

                          My 3D Printing blog: http://www.sublimelayers.com
                          Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            mhackney
                            last edited by 19 Sept 2016, 19:18

                            Ok, I plugged the parameters into M307:
                            M307 H1 A884.2 C296.0 D6.8 B0 S0.8

                            I did leave S0.8 for no good reason. It is working perfectly - climbs steadily up to my target (190°C) and then levels with no overshooting and stabilizes much faster with less than +/-.1°C variation. Much better than what I had before.

                            My 3D Printing blog: http://www.sublimelayers.com
                            Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              dc42 administrators
                              last edited by 19 Sept 2016, 19:18

                              @mhackney:

                              Thanks David.

                              But this begs the question - what's the "right" thing to do from a heater perspective? Is this legitimately a safety concern and if so, what should be done to rectify it? Is this unique to my E3D V6 or all of them?

                              You might want to consider replacing your 40W heater cartridge by a 25W one, which I understand is what E3D ships as standard these days. Otherwise you might suffer a heater block meltdown if the heater ever got stuck at full power.

                              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
                              • undefined
                                elmoret
                                last edited by 19 Sept 2016, 19:25

                                30w is now standard, which tops out at ~330C without heater block insulation or a fan blowing on the heater block.

                                40w will get hot enough to melt the aluminum in the event of a firmware/FET failure.

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  mhackney
                                  last edited by 19 Sept 2016, 19:28

                                  Ok, this is good to know! I will check and update the cartridges in all of my printers. No need playing with fire!

                                  My 3D Printing blog: http://www.sublimelayers.com
                                  Coming this summer: "3D Printing Strategies - the art of perfecting your designs and prints"

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