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

how to use the new heater tuning algorithm on 3.2 ?

Scheduled Pinned Locked Moved
Tuning and tweaking
7
18
668
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
    Charlie
    last edited by 7 Jan 2021, 04:55

    Im new to all of this, but here is my settings. They seem to work well.

    ; Heater, Extruder 1.
    M308 S1 P"e0temp" Y"thermistor" A"Extr. 1 Temp" T100000 B4725 C7.06e-8 ; Set (Extruder 1) temperature sensor parameters.
    ; S (Sensor number): 1.
    ; P (Pin name): e0temp.
    ; Y (sensor type): thermistor.
    ; A (Sensor name): Extr 1. Temp.
    ; T (Thermistor resistance at 25 deg C): 100,000.
    ; B (Beta value): 4725.
    ; C (Coefficient): 7.06e-8.
    M950 H1 C"e0heat" T1 ; Create heater (extruder 1).
    ; H (Heater number): 1.
    ; C (Pin name): e0heat.
    ; T (Temperature sensor number): 1.
    M307 H1 R1.481 C620.7:352.3 D6.65 I0 B0 S1.00 V24.1 ; Set heating process parameters.
    ; H (Heater number): 1.
    ; R (Heating rate): 1.481.
    ; C (Dominant time constant of heating process [seconds]): 620.7 (print fans off) : 352.3 (print fans fully on).
    ; D (Dead time [seconds]): 6.65.
    ; I (Invert PWM signal): 0 (Not inverted).
    ; B (Bang bang control): 0 (Disabled).
    ; S (Maximum PWM frequency to use): 1.00.
    ; V (Vin calibration supply voltage): 24.1.
    M143 H1 S285 ; Set maximum heater temperature (deg C).

    Specifically within "M307" the "R", "C", "D", "S", and "V" parameters.

    1 Reply Last reply Reply Quote 0
    • undefined
      Charlie
      last edited by 7 Jan 2021, 05:09

      And M303 H# S# should allow you to tune the heater.
      Tuning

      M303

      undefined 1 Reply Last reply 7 Jan 2021, 05:11 Reply Quote 0
      • undefined
        lui2004 @Charlie
        last edited by lui2004 1 Jul 2021, 05:12 7 Jan 2021, 05:11

        @Charlie

        i dont understand the config.g for new algortihm

        for tuning is like thats?

        Nozzle thermistor :
        M303 H1 S230
        BED:
        M303 H0 S70
        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 7 Jan 2021, 05:17

          For the hot end you can now tune it as a tool instead of just a heater to allow for the tool fan to be part of the tuning process so that the algorithm can compensate for the cooling effects of the part fan.

          Ex: M303 T0 S205

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined undefined 2 Replies Last reply 7 Jan 2021, 05:19 Reply Quote 0
          • undefined
            lui2004 @Phaedrux
            last edited by 7 Jan 2021, 05:19

            @Phaedrux

            ok thank @Phaedrux

            what i must change in my config.g ?

            undefined 1 Reply Last reply 7 Jan 2021, 05:20 Reply Quote 0
            • undefined
              Phaedrux Moderator @lui2004
              last edited by Phaedrux 1 Jul 2021, 05:21 7 Jan 2021, 05:20

              @lui2004 Nothing. You tune as normal and save the results, just like before.

              See the entries for M303 and M307 for details on the changes.

              https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M307_Set_or_report_heating_process_parameters

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • undefined
                lui2004
                last edited by 7 Jan 2021, 05:21

                @Phaedrux said in how to use the new heater tuning algorithm on 3.2 ?:

                M303 T0 S205

                ok perfect after tuning i will safe it with M500 and its done ?

                undefined 1 Reply Last reply 7 Jan 2021, 05:21 Reply Quote 0
                • undefined
                  Phaedrux Moderator @lui2004
                  last edited by 7 Jan 2021, 05:21

                  @lui2004 Yes, as long as you also have M501 at the end of config.g to load your saved results.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  undefined 1 Reply Last reply 7 Jan 2021, 05:22 Reply Quote 0
                  • undefined
                    lui2004 @Phaedrux
                    last edited by 7 Jan 2021, 05:22

                    @Phaedrux

                    yes i have M501 in my config.g

                    thanks a lot

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      theruttmeister @Phaedrux
                      last edited by 7 Jan 2021, 06:20

                      @Phaedrux said in how to use the new heater tuning algorithm on 3.2 ?:

                      For the hot end you can now tune it as a tool instead of just a heater to allow for the tool fan to be part of the tuning process so that the algorithm can compensate for the cooling effects of the part fan.

                      Ex: M303 T0 S205

                      Can you elaborate?
                      There doesn't seem to be a way to auto-tune with both fan on and off, to give the two sets of parameters that would be needed.

                      Isolate, substitute, verify.

                      undefined 1 Reply Last reply 7 Jan 2021, 06:39 Reply Quote 0
                      • undefined
                        Phaedrux Moderator @theruttmeister
                        last edited by 7 Jan 2021, 06:39

                        @theruttmeister it should be automatic when you tune as a tool versus as a heater. It will turn the fan on and off during the process and use that info. Beyond that it's all magic to me.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          dc42 administrators
                          last edited by 7 Jan 2021, 07:35

                          I recommend running the tuning with the hot end close to the bed and near the centre of the bed, because proximity of the bed affects the airflow from the 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

                          undefined 2 Replies Last reply 7 Jan 2021, 07:54 Reply Quote 0
                          • undefined
                            lui2004 @dc42
                            last edited by 7 Jan 2021, 07:54

                            @dc42

                            hi

                            can itune booth with:

                            M303 T0 S205 for Hotend

                            and

                            M303 T1 S70 for Bed is that ok ?

                            undefined 1 Reply Last reply 7 Jan 2021, 08:04 Reply Quote 0
                            • undefined
                              jay_s_uk @lui2004
                              last edited by 7 Jan 2021, 08:04

                              @lui2004 no as the bed isn't a tool.
                              Tune the bed as normal

                              M303 H0 S70
                              

                              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
                              • undefined
                                lui2004 @dc42
                                last edited by 7 Jan 2021, 09:43

                                @dc42

                                are my results ok ?

                                ; config-override.g file generated in response to M500 at 2021-01-07 09:03
                                ; This is a system-generated file - do not edit
                                ; Heater model parameters
                                M307 H0 R0.245 C675.381:675.381 D13.14 S1.00 V24.2 B0
                                M307 H1 R2.516 C140.883:121.891 D4.68 S1.00 V24.3 B0
                                ; Workplace coordinates
                                G10 L2 P1 X0.00 Y0.00 Z0.00
                                G10 L2 P2 X0.00 Y0.00 Z0.00
                                G10 L2 P3 X0.00 Y0.00 Z0.00
                                G10 L2 P4 X0.00 Y0.00 Z0.00
                                G10 L2 P5 X0.00 Y0.00 Z0.00
                                G10 L2 P6 X0.00 Y0.00 Z0.00
                                G10 L2 P7 X0.00 Y0.00 Z0.00
                                G10 L2 P8 X0.00 Y0.00 Z0.00
                                G10 L2 P9 X0.00 Y0.00 Z0.00
                                M486 S-1
                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  dc42 administrators
                                  last edited by 7 Jan 2021, 12:28

                                  Yes those look good to me.

                                  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
                                  • ?
                                    A Former User @lui2004
                                    last edited by A Former User 1 Nov 2021, 13:11 11 Jan 2021, 10:18

                                    @lui2004

                                    a little bit maybe from my personal observations regarding the new heater tuning algorithm:

                                    We have here a small anycubic-i3-mega that got as new mainboard the duet-pcb, it sits in a wooden chamber with the standard heatplate used as chamber heater and 1 additional fan in the top of that chamber to "cool" the chamber by sucking out air (there are some holes in the bottom plate of the chamber to let new air in when that happens)

                                    When using the new heater tuning algorithm, I leave the door of the chamber open and put the fan of the chamber to max rpm, BECAUSE first I did it the other way round with door closed and chamberfan off and after tuning and saving the tune with M500 I got a heater fault manually heating up, because that time the door was open and the fan on and that was too much for the state it was tuned in (heating too slow/temperature rise too slow).

                                    So long story short: I would recommendate from my observations that you tune with "hardest" surrounding conditions for the heater. With hardest what I mean is, that it has to work hardest. If you tune it with the easiest condition, you might later get a sporadic heater fault when conditions get harder.

                                    (I do not know if that on the long run could be also constrained by something like this request here https://forum.duet3d.com/topic/20844/limiting-ramp-rate-in-heating-algorithm/3?_=1610360187720 but for the moment I can work with it and that is what counts.)

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