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

    Slice HT-Thermistor - RRF Preset (maybe) wrong

    Scheduled Pinned Locked Moved
    General Discussion
    5
    14
    566
    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.
    • tom_Nbgundefined
      tom_Nbg
      last edited by

      Hi,
      I had problems today (with my first prints) and it seems, that the measured temperature by the Duet isn't the "true" temperature. As I am a physicist I go into the Steinhart-Hart Coefficient model and fount out, that the preset from the configurator doesn't match with the model and also they doesn't match with the values given by SliceEngineering (when the model calculator matches pretty perfect all values from Slice).

      RRF Configurator preset:
      M305 P1 T500000 B4723 C1.196220e-7 R4700

      Values given from Slice:
      T500000 B3800 (no C)

      When I put in three values from the SliceTable into the RRF Configurator, I got:
      T500000 B4682 C1.143895e-7

      When putting in only two values from Slice, the configurator calculates
      T500000 B3965

      And then the values from the Stanford Research Calculator:
      T500000 B3965 C1.143894618e-7

      As you can see:
      The B-Value is calculated correct when only two parametes are given, but is wrong when using three values, whereas then the C-Value is correct.

      So it seeams, that the Preset is wrong (B and C value) and the calculation of beta (B) is also wrong when using three parameters.

      Conclusion:
      It seems that the B-, C-Values from Stanford are correct - I check all the data from Slice with it and got perfect match. To be sure, I'll make measurements from the nozzle temp on monday and compare them with the measured values from the Duet preset - and will report. If I'm right, then the true temperature is about 30°C lower than the measured...

      @dc42 : could it be, that there is a bug in the RRF Calculator?

      Tom

      Links:

      SliceEngineering Thermistor RT-Table

      Stanford Research Thermistor Calculator for the Steinhart-Hart Coefficients

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

        What 3 values are you inputting into the Stanford calculator, and what values does it return for a, b, c and Beta?

        When you supply a C value in M305 or M308, the B value needed by RRF is the reciprocal of the Steinhart-Hart 'b' coefficient. The Beta value reported by the Stanford calculator assumes you are using C=0.

        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

        tom_Nbgundefined 2 Replies Last reply Reply Quote 0
        • tom_Nbgundefined
          tom_Nbg @dc42
          last edited by

          @dc42 I put in R=500000 for T = 25°C, R=2600 for T=220°C and R=1009 for T=280°C.
          The result is here:
          SSR_Calc.png

          You the SH-Model the C-Paramter (A and B and not used normally - only for low Temps)

          And beta-Modell

          1 Reply Last reply Reply Quote 0
          • tom_Nbgundefined
            tom_Nbg @dc42
            last edited by

            @dc42 oh - B in M305 isn't Beta - from the Beta-Model? Then I misunderstood it...?

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

              Thanks. That screenshot gives the Steinhart-Hart B coefficient as 2.136058980e-4. The reciprocal of that is 4681.52. So the preset is correct.

              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

              tom_Nbgundefined 2 Replies Last reply Reply Quote 0
              • tom_Nbgundefined
                tom_Nbg @dc42
                last edited by

                @dc42 Thank you for clarification! I was irritated by "Beta" and don't realized that is ment as B... so everything is fine.

                1 Reply Last reply Reply Quote 0
                • tom_Nbgundefined
                  tom_Nbg @dc42
                  last edited by

                  @dc42 - sorry - again: but the preset has other values for B and C!

                  Stanford: B=4681 and C=1.143895e-7

                  Preset: B=4723, C=1.196220e-7
                  rrf_Preset.png

                  When I put in the three values, THEN, RRF has the right ones!RRF_Calc.JPG

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

                    It probably means that the RRF preset was calculated using different temperatures. Bear in mind that the Slice thermistor is rated to 500C, so it's likely that the highest temperatures used was much higher than 280C. But if you won't be going above 280C then by all means use those figures instead.

                    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

                    tom_Nbgundefined 1 Reply Last reply Reply Quote 0
                    • tom_Nbgundefined
                      tom_Nbg @dc42
                      last edited by

                      @dc42 Thank you again 🙂
                      My (hopefully) last question:

                      The configurator puts in a R4700 Paramter in M305, whereas the RRF3 configurator doesn't (in M308) - for what is that parameter used for (I don't get it from the gcode manual) - AND must it be there then in 2.05 (and not anymore in 3.0x)?

                      Thank you again!

                      droftartsundefined 1 Reply Last reply Reply Quote 0
                      • droftartsundefined
                        droftarts administrators @tom_Nbg
                        last edited by

                        @tom_Nbg The R value is the series resistor value in the temperature sensing circuit on the Duet. On the Duet 2 Wifi, it's 4k7, on Maestro, it's 2k2. RRF3 uses the board definition to set the R value automatically, you have to put it in in M305 on RRF2.x.

                        Ian

                        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                        tom_Nbgundefined 1 Reply Last reply Reply Quote 0
                        • tom_Nbgundefined
                          tom_Nbg @droftarts
                          last edited by

                          @droftarts Thanks! got it! 🙂

                          oozeBotundefined 1 Reply Last reply Reply Quote 0
                          • oozeBotundefined
                            oozeBot @tom_Nbg
                            last edited by oozeBot

                            @tom_Nbg so, for the layman, will you please post the final snippet of your config when you get this sorted out?

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

                              The R parameter in M305 and M308 commands is only needed in config.g files for legacy Duets, i.e. Duet 0.6 and 0.8.5 boards. For all other boards, all versions of RRF know the correct resistor values, so the R parameter is never needed.

                              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
                              • Vetiundefined
                                Veti
                                last edited by

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