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

M308 B parameter, what's it mean?

Scheduled Pinned Locked Moved
Tuning and tweaking
4
8
249
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
    airscapes
    last edited by 14 May 2024, 15:56

    Hi, I am configuring a Duet 3 mini for a Makergear M2. I have an existing and functioning M2 with a Duet 2 and I am manually doing the config.g. for the new system . I probably did the initial config on the Duet 2 with the config tool so maybe that is where this came from. I have M308 S0 P"temp0" Y"thermistor" T100000 B4072 for bed and same B 4072 for the Hot end Thermistor, what does the 4072 signify? I am assuming it has something to do with the type of Thermistor but I see no reference on where that is found. I assume it is correct but would like to understand where that came from.
    Thanks!

    undefined undefined 2 Replies Last reply 14 May 2024, 16:09 Reply Quote 0
    • undefined
      droftarts administrators @airscapes
      last edited by 14 May 2024, 16:09

      @airscapes See https://docs.duet3d.com/User_manual/Reference/Gcodes#m308-set-or-report-sensor-parameters and https://docs.duet3d.com/User_manual/Connecting_hardware/Temperature_connecting_thermistors_PT1000#thermistor-parameters

      Bnnn Beta value, or the reciprocal of the Steinhart-Hart thermistor model B coefficient

      The B parameter (B4725) means that the thermistor B value over the temperature range of interest is 4725. The B values quoted in thermistor datasheets are typically quoted over a range 25 to 75C, which may be OK for bed thermistor but is too low a range for a hot end thermistor. That's why the B values recommended by RRF differ from the values in the datasheet. Also, if the C parameter is used then the B value has to be adjusted.

      Most thermistors will specify their Beta value; it's kind of necessary.

      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

      1 Reply Last reply Reply Quote 0
      • undefined
        gloomyandy @airscapes
        last edited by 14 May 2024, 16:13

        @airscapes It is sort of explained in the gcode dictionary for M308:

        Bnnn Beta value, or the reciprocal of the Steinhart-Hart thermistor model B coefficient

        See: https://en.wikipedia.org/wiki/Steinhart–Hart_equation and here: https://docs.duet3d.com/User_manual/Connecting_hardware/Temperature_connecting_thermistors_PT1000#thermistor-parameters

        So it is basically one of the numbers that characterises a thermistor and how the resistance maps to actual temperature. Some common values are given here: https://docs.duet3d.com/User_manual/Connecting_hardware/Temperature_connecting_thermistors_PT1000#typical-parameter-values
        and some more (mainly older ones) are here:
        https://reprap.org/wiki/Thermistor

        undefined 1 Reply Last reply 14 May 2024, 17:40 Reply Quote 0
        • undefined
          airscapes @gloomyandy
          last edited by airscapes 14 May 2024, 17:40

          @gloomyandy Maybe I just guessed.. 5.3 EPCOS 100K Thermistor (B57560G1104F) has a value of 4072 and the only info I can find is that the M2 uses and 100K EPCOS compatible thermistor. No marking on the can and only marking are that of the shrink tubing.
          I sent a mail to Makergear to see if they have a copy of the datasheet.. Guess it is time to move on to then next sections of the config.
          Thanks!
          Doug
          Thermisotr.jpg

          undefined 1 Reply Last reply 14 May 2024, 20:01 Reply Quote 0
          • undefined
            dc42 administrators @airscapes
            last edited by 14 May 2024, 20:01

            @airscapes said in M308 B parameter, what's it mean?:

            B57560G1104F

            The datasheet of that thermistor at https://www.tdk-electronics.tdk.com/inf/50/db/ntc/NTC_Glass_enc_sensors_G1560.pdf gives a resistance vs temperature table (it's the 8304 column on page 6 onwards, multiplied by 100kohms). So for best accuracy you can plug three temperature and resistance values into the calculator in the configuration tool, and let it calculate the parameters. For example: 100000 ohms @ 25C, 16419 ohms @ 150C and 2261.5 ohms @ 250C.

            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 1 Reply Last reply 15 May 2024, 14:44 Reply Quote 0
            • undefined
              airscapes @dc42
              last edited by 15 May 2024, 14:44

              @dc42 & @gloomyandy
              Info back from Makergear
              "The thermistor we use for both the hot end and the HBP is an EPCOS thermistor. The part number is B57560G1104F000"

              Looks like this is the data sheet from a search of that generic number.
              https://www.farnell.com/datasheets/2130808.pdf
              If I read it right the 100K is the RT part 8304 and the B value (page 6-7) for 25/100C is 4092
              I see no C value.
              Using the calculator with 3 values as suggested above does not seem to work and that does not seem to give me the C Coefficient:
              Any more help would be appreciated, most of that sheet is Greek to me.. 😉
              Thanks,

              undefined 1 Reply Last reply 15 May 2024, 15:16 Reply Quote 0
              • undefined
                droftarts administrators @airscapes
                last edited by 15 May 2024, 15:16

                @airscapes You don't need a C parameter, just use the B parameter. eg:

                M308 S1 P"temp1" Y"thermistor" A"Nozzle" T100000 B4092     ; configure sensor #1
                

                The B57560G1104F thermistor is one of the few that's pre-defined in the configtool.

                Also, I'm afraid @dc42 's numbers were incorrect, it should have been 100000 ohms @ 25C, 1641.9 ohms @ 150C and 226.15 ohms @ 250C (the last two resistances were out by a factor of 10)! This gives:

                M308 S1 P"temp1" Y"thermistor" A"Nozzle" T100000 B4617 C8.987154e-8     ; configure sensor #1
                

                I doubt there's really much difference in the temperature reading you'll get between the two.

                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

                undefined 1 Reply Last reply 15 May 2024, 16:17 Reply Quote 0
                • undefined
                  airscapes @droftarts
                  last edited by airscapes 15 May 2024, 16:17

                  @droftarts Thank you soo much!
                  Bed heater is 60w and slow auto tune say
                  M307 H0 R0.150 K0.155:0.000 D15.28 E1.35 S1.00 B0
                  If I change to B1 will it heat faster?

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