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

    RESOLVED. WAS: thermistor bug in 3.2beta 2 on Duet Maestro

    Scheduled Pinned Locked Moved
    Beta Firmware
    3
    21
    847
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      M950 H0 C"bedheat" T0                           ; create bed heater output on out0 and map it to sensor 0
      M143 H0 S140                                 ; set temperature limit for heater 0 to 140C
      ;M307 H0 B0 S1.00                             ; disable bang-bang mode for the bed heater and set PWM limit
      M140 H0   
      

      Just as an aside for the bed heater, you've got some commands out of order for the bed. M950 > M140 > M143
      https://duet3d.dozuki.com/Wiki/Gcode#Section_M140_Set_Bed_Temperature_Fast_or_Configure_Bed_Heater

      Are you sure you're using the right pins for the chamber heater? Also bear in mind that the M308 commands must come before the M950 commands that create the heater.

      Here's the heater block I get from the configurator using your values. At the very least you should try to emulate the command ordering layout to make sure something isn't out of order.

      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B3950         ; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"bedheat" T0                                  ; create bed heater output on bedheat and map it to sensor 0
      M307 H0 B0 S1.00                                       ; disable bang-bang mode for the bed heater and set PWM limit
      M140 H0                                                ; map heated bed to heater 0
      M143 H0 S120                                           ; set temperature limit for heater 0 to 120C
      
      M308 S1 P"e0temp" Y"thermistor" T100000 B4700 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp
      M950 H1 C"e0heat" T1                                   ; create nozzle heater output on e0heat and map it to sensor 1
      M307 H1 B0 S1.00                                       ; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S315
      
      M308 S2 P"e1temp" Y"thermistor" T100000 B3950          ; configure sensor 2 as thermistor on pin e1temp
      M950 H2 C"e1heat" T2                                   ; create chamber heater output on e1heat and map it to sensor 2
      M307 H2 B0 S1.00                                       ; disable bang-bang mode for the chamber heater and set PWM limit
      M141 H2                                                ; map chamber to heater 2
      M143 H2 S120
      

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • pixelpieperundefined
        pixelpieper
        last edited by

        There is no chamber heater, just the sensor, the chamber is passively heated by the bed. Note that the corresponding M950 is commented out.

        Voron V2.434 / Duet 3 Mini5+, Duet 3 Expansion Mini 2+, Duet 1LC V1.1 Toolboard
        Voron V0.250 / Duet 2 Maestro

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

          Are you sure the new heater cartridge matches your PSU voltage? 12v cartridge on 24v power?

          What were the heater faults you experienced? Error messages?

          Can you post the results of M122 and M98 P"config.g" and your full config.g?

          Z-Bot CoreXY Build | Thingiverse Profile

          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • pixelpieperundefined
            pixelpieper
            last edited by

            The cartridge is not the issue, original e3d 40W 24V. Remember, the issues disappeared with the downgrade to RRF 3.1.1.

            I attached the config.
            config.g.txt

            Voron V2.434 / Duet 3 Mini5+, Duet 3 Expansion Mini 2+, Duet 1LC V1.1 Toolboard
            Voron V0.250 / Duet 2 Maestro

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

              @Phaedrux said in WARNING! thermistor bug in 3.2beta 2 on Duet Maestro:

              What were the heater faults you experienced? Error messages?
              Can you post the results of M122 and M98 P"config.g"

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • pixelpieperundefined
                pixelpieper
                last edited by

                The errors were too slow a heatup. I have to put the board back to 3.2 beta 2 for the commands first, give me a moment.

                Voron V2.434 / Duet 3 Mini5+, Duet 3 Expansion Mini 2+, Duet 1LC V1.1 Toolboard
                Voron V0.250 / Duet 2 Maestro

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

                  Too slow to heat would indicate PID tuning hasn't been applied.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • pixelpieperundefined
                    pixelpieper
                    last edited by pixelpieper

                    4742D87E-801F-4B6C-9EBE-0C6BE9996F6A.jpeg

                    Ok, now I see the same issue also on RRF 3.1.1😳

                    The thermistor readout becomes strange at around 200°C, until then it is fine and follows what my multimeter reads. Above 200 it saturated while the multimeter sees temperatures up to 280 where I then pulled the plug.

                    However, there is a chance that the high temperatures damaged my thermistors here.

                    Voron V2.434 / Duet 3 Mini5+, Duet 3 Expansion Mini 2+, Duet 1LC V1.1 Toolboard
                    Voron V0.250 / Duet 2 Maestro

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

                      The graph definitely looks odd.

                      The multimeter temp probe can be drawing heat away from it. How does the temp graph look when left alone?

                      Do you have any spurious M307 commands left over from before that could be feeding it incorrect PID values?

                      This is the only report of something like this happening so I'm doubtful that it's related to 3.2 beta 2. Correlation != causation situation.

                      When in doubt I like to use a default config from the config tool as a sanity check to eliminate any config errors. So if you could do some tests with a stock config from the tool on 3.1.1 to see if the behaviour remains that would be helpful. then we know it's hardware.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      pixelpieperundefined 1 Reply Last reply Reply Quote 0
                      • pixelpieperundefined
                        pixelpieper
                        last edited by

                        B424ED04-DA38-4CA1-834C-5052CAE9B886.jpeg

                        And now it’s working again, within 3°C of my multimeter, only change was B3950 in the thermistor definition. But I still get some funky business for a moment during heatup.

                        Some hardware fault? Noise?

                        Voron V2.434 / Duet 3 Mini5+, Duet 3 Expansion Mini 2+, Duet 1LC V1.1 Toolboard
                        Voron V0.250 / Duet 2 Maestro

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

                          @pixelpieper said in WARNING! thermistor bug in 3.2beta 2 on Duet Maestro:

                          Some hardware fault? Noise?

                          Definitely possible.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 0
                          • pixelpieperundefined
                            pixelpieper @Phaedrux
                            last edited by pixelpieper

                            @Phaedrux said in WARNING! thermistor bug in 3.2beta 2 on Duet Maestro:

                            This is the only report of something like this happening so I'm doubtful that it's related to 3.2 beta 2. Correlation != causation situation.

                            Sure, but that was the biggest change in the recent days. Besides a) installing the display and b) adding a front switch for 230V. The latter could in theory increase the 50Hz noise, but I think the cable is not close to the thermistor.

                            When in doubt I like to use a default config from the config tool as a sanity check to eliminate any config errors. So if you could do some tests with a stock config from the tool on 3.1.1 to see if the behaviour remains that would be helpful. then we know it's hardware.

                            I will try tomorrow, even so I doubt it - used this config for like 4 months without problems. Have two more unused thermistors here and an other Maestro, so I have some more debugging options...

                            Voron V2.434 / Duet 3 Mini5+, Duet 3 Expansion Mini 2+, Duet 1LC V1.1 Toolboard
                            Voron V0.250 / Duet 2 Maestro

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

                              Well if there's still off thermistor behaviour happening with 3.1.1 then I think we can rule out 3.2 beta2.

                              If there were other wiring changes around the same time...

                              Z-Bot CoreXY Build | Thingiverse Profile

                              1 Reply Last reply Reply Quote 0
                              • pixelpieperundefined
                                pixelpieper
                                last edited by

                                BAD09E31-D03C-4BA3-9C76-EA5D24430364.jpeg

                                I have the habit of always taking a picture when changing things, nothing of the changes is close to the thermistor cable.

                                Voron V2.434 / Duet 3 Mini5+, Duet 3 Expansion Mini 2+, Duet 1LC V1.1 Toolboard
                                Voron V0.250 / Duet 2 Maestro

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

                                  I meant from changing the heater cartridge. Could there have been some damage to the thermistor wiring?

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  pixelpieperundefined 1 Reply Last reply Reply Quote 0
                                  • pixelpieperundefined
                                    pixelpieper @Phaedrux
                                    last edited by pixelpieper

                                    @Phaedrux 83C1982C-83BD-4221-A05D-73E9B080B400.jpeg

                                    Unlikely, I swapped the whole hotend and I have seen the issues with both now. Also, the Molex MicroFit connectors are very reliable. And in the drag chain I have Heluflon Teflon coated cable which is well suited for this application... - will anyway replace the drag chain cable tomorrow and twist the thermistor wire.

                                    Voron V2.434 / Duet 3 Mini5+, Duet 3 Expansion Mini 2+, Duet 1LC V1.1 Toolboard
                                    Voron V0.250 / Duet 2 Maestro

                                    1 Reply Last reply Reply Quote 1
                                    • pixelpieperundefined
                                      pixelpieper
                                      last edited by pixelpieper

                                      Sorry for the confusion, it seems I might have had a wiring or crimp issue which by chance developed in parallel to playing with the beta. Having it seamingly disappear while downgrading did not help either...

                                      looks better now.

                                      I will replace all my hotend thermistors with PT1000, a wire fault resulting in to low a temperature reading is to dangerous in my opinion, so the upgraded sensors will give me some peace of mind.

                                      Voron V2.434 / Duet 3 Mini5+, Duet 3 Expansion Mini 2+, Duet 1LC V1.1 Toolboard
                                      Voron V0.250 / Duet 2 Maestro

                                      1 Reply Last reply Reply Quote 2
                                      • T3P3Tonyundefined
                                        T3P3Tony administrators
                                        last edited by

                                        @pixelpieper thanks for confirming the cause in the end. And also thanks for taking the plunge and testing 3.2 beta!

                                        www.duet3d.com

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