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

    PID problems

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    25
    860
    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.
    • BlitzRegundefined
      BlitzReg @Stephen6309
      last edited by

      @stephen6309 I'm reading 23.66V on the bed connector on the duet wifi 2 board going to the mosfet

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

        @blitzreg said in PID problems:

        @stephen6309 How do I know the B value my resister? For some reason when I try the M303 T0 S80 the extruder starts to tune instead of the bed and on the duet panel the extruder is showing T0.

        M303 T0 S80 is to tune the tool heater as a tool including the associated fan.

        M303 H0 is correct for tuning heater 0 which you have assigned as the bed heater.

        Can you send M122 and M98 P"config.g" in the gcode console and post the results here?

        So you are using an external mosfet for the bed heater?

        What does the temp graph look like during the tuning process? Can you snap a screen shot?

        B4138

        If your bed thermistor is bog standard the B value is probably 3950 instead.

        Z-Bot CoreXY Build | Thingiverse Profile

        BlitzRegundefined 7 Replies Last reply Reply Quote 0
        • BlitzRegundefined
          BlitzReg @Phaedrux
          last edited by

          @phaedrux Hi, ok I'll try that! This is my 2nd hypercube I have built and both have the same thermistor and bed in them. The first one has firmware 1.21 and M303 H0 S90 works good. Both machines are setup identical except firm ware version difference. Bellow is the working printers config.g

          a637d34e-5fd2-4c2f-88bb-2f690771e6e6-image.png

          1 Reply Last reply Reply Quote 0
          • BlitzRegundefined
            BlitzReg @Phaedrux
            last edited by

            @phaedrux

            m122

            5/5/2022, 2:20:12 PM m122
            === Diagnostics ===
            RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.0 (2022-03-15 18:58:31) running on Duet WiFi 1.02 or later
            Board ID: 08DJM-9178L-L2MS8-6J1FL-3S06N-KBHGP
            Used output buffers: 3 of 24 (13 max)
            === RTOS ===
            Static ram: 23868
            Dynamic ram: 74568 of which 40 recycled
            Never used RAM 13604, free system stack 184 words
            Tasks: NETWORK(ready,13.1%,236) HEAT(notifyWait,0.0%,332) Move(notifyWait,0.0%,364) MAIN(running,86.8%,440) IDLE(ready,0.0%,30), total 100.0%
            Owned mutexes: WiFi(NETWORK)
            === Platform ===
            Last reset 01:05:34 ago, cause: software
            Last software reset at 2022-05-05 13:14, reason: User, GCodes spinning, available RAM 13604, slot 0
            Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
            Error status: 0x00
            Aux0 errors 0,0,0
            Step timer max interval 0
            MCU temperature: min 21.9, current 23.6, max 24.0
            Supply voltage: min 24.1, current 24.2, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
            Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
            Events: 0 queued, 0 completed
            Driver 0: standstill, SG min n/a
            Driver 1: standstill, SG min n/a
            Driver 2: standstill, SG min n/a
            Driver 3: standstill, SG min n/a
            Driver 4: standstill, SG min n/a
            Driver 5:
            Driver 6:
            Driver 7:
            Driver 8:
            Driver 9:
            Driver 10:
            Driver 11:
            Date/time: 2022-05-05 14:20:10
            Cache data hit count 4294967295
            Slowest loop: 4.93ms; fastest: 0.18ms
            I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
            === Storage ===
            Free file entries: 10
            SD card 0 detected, interface speed: 20.0MBytes/sec
            SD card longest read time 3.6ms, write time 0.0ms, max retries 0
            === Move ===
            DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
            === MainDDARing ===
            Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
            === AuxDDARing ===
            Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
            === Heat ===
            Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
            Heater 1 is on, I-accum = 0.0
            === GCodes ===
            Segments left: 0
            Movement lock held by null
            HTTP is idle in state(s) 0
            Telnet is idle in state(s) 0
            File is idle in state(s) 0
            USB is idle in state(s) 0
            Aux is idle in state(s) 0
            Trigger is idle in state(s) 0
            Queue is idle in state(s) 0
            LCD is idle in state(s) 0
            Daemon is idle in state(s) 0
            Autopause is idle in state(s) 0
            Code queue is empty
            === Network ===
            Slowest loop: 15.75ms; fastest: 0.00ms
            Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
            HTTP sessions: 1 of 8

            • WiFi -
              Network state is active
              WiFi module is connected to access point
              Failed messages: pending 0, notready 0, noresp 0
              WiFi firmware version 1.26
              WiFi MAC address 84:0d:8e:b2:1e:40
              WiFi Vcc 3.42, reset reason Turned on by main processor
              WiFi flash size 4194304, free heap 25976
              WiFi IP address 192.168.86.101
              WiFi signal strength -47dBm, mode 802.11n, reconnections 0, sleep mode modem
              Clock register 00002002
              Socket states: 0 0 0 0 0 0 0 0
            1 Reply Last reply Reply Quote 0
            • BlitzRegundefined
              BlitzReg @Phaedrux
              last edited by

              @phaedrux said in PID problems:

              M98 P"config.g"

              5/5/2022, 2:21:34 PM M98 P"config.g"
              HTTP is enabled on port 80
              FTP is disabled
              TELNET is disabled
              Error: Heater 7 not found

              1 Reply Last reply Reply Quote 0
              • BlitzRegundefined
                BlitzReg @Phaedrux
                last edited by

                @phaedrux yes external mosfet

                1 Reply Last reply Reply Quote 0
                • BlitzRegundefined
                  BlitzReg @Phaedrux
                  last edited by

                  @phaedrux I'm running pid tune now on the bed. The bed with a IR gun is 10C higher then what the thermistor is showing

                  1 Reply Last reply Reply Quote 0
                  • BlitzRegundefined
                    BlitzReg @Phaedrux
                    last edited by

                    @phaedrux
                    46d4b79c-73a0-4779-a45e-a9f01a822559-image.png

                    1 Reply Last reply Reply Quote 0
                    • BlitzRegundefined
                      BlitzReg @Phaedrux
                      last edited by

                      @phaedrux 9c3cc138-8cba-4236-a667-74ba00185fee-image.png

                      Yes, just looked up what I purchased and they are 3950. So , do I put B3950 ?

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

                        @blitzreg said in PID problems:

                        So , do I put B3950 ?

                        Yes.

                        M308 S0 P"bedtemp" Y"thermistor" T100000 B3950

                        Z-Bot CoreXY Build | Thingiverse Profile

                        BlitzRegundefined 2 Replies Last reply Reply Quote 0
                        • BlitzRegundefined
                          BlitzReg @Phaedrux
                          last edited by BlitzReg

                          @phaedrux hi so no C0 R4700 behind B3950? I'm running it now

                          c7cf0e32-b368-4357-a99a-6ac0038ec96b-image.png

                          dda8a863-7c1d-4dd9-86f8-46e353329f14-image.png

                          1 Reply Last reply Reply Quote 0
                          • BlitzRegundefined
                            BlitzReg @Phaedrux
                            last edited by BlitzReg

                            @phaedrux right now the thermistor in phase 3 reads 84 and the IR gun shows 96. Makes me wonder if the thermistor is bad

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

                              Where is the thermistor positioned to get the reading?

                              Are you measuring with the IR temp gun in the same location?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              BlitzRegundefined 2 Replies Last reply Reply Quote 0
                              • BlitzRegundefined
                                BlitzReg @Phaedrux
                                last edited by

                                @phaedrux no, I actually testing it all 4 corners and in the middle where the thermistor is located

                                1 Reply Last reply Reply Quote 0
                                • BlitzRegundefined
                                  BlitzReg @Phaedrux
                                  last edited by

                                  @phaedrux Almost 1 hour on phase 3. My other hypercube has already tuned using firm ware 1.21. now I'm wondering when I tell the extruder to heat to 220C its actually 220C. My first prints off them looked like they got pretty hot. I am using the e3d hemeria w/volcano direct drive. I also have their REVO

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

                                    For the hotend you have a known thermistor and the correct values from E3D, so it should be as accurate as you can expect.

                                    As for the bed, at 24v it takes a long time to heat up and it does many cycles, so it can take quite a while. Rather than tuning to 90c, try a more reachable temp like 60.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    BlitzRegundefined 3 Replies Last reply Reply Quote 0
                                    • BlitzRegundefined
                                      BlitzReg @Phaedrux
                                      last edited by

                                      @phaedrux Hi, the problem was the thermistor in the bed. I swapped it out and now the temps are almost the same between the panel and the IR Gun. Now the gremlin has move to the extruder. I have a REVO Hermera direct drive and it keeps getting heater faults. I have ver 3.4.0 and ran M303 T0 S240 and it tunes fine. But I noticed the the temp rises above the print temperature I set and keeps going until there is a heater fault.

                                      1 Reply Last reply Reply Quote 0
                                      • BlitzRegundefined
                                        BlitzReg @Phaedrux
                                        last edited by

                                        @phaedrux eeee3788-7311-4cf2-be38-fd27e7eb1fc9-image.png

                                        1 Reply Last reply Reply Quote 0
                                        • BlitzRegundefined
                                          BlitzReg @Phaedrux
                                          last edited by

                                          @phaedrux Why is it saying Heater 0 when the fault happens on heater 1 the extruder? Not sure what is happening here!

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

                                            @blitzreg said in PID problems:

                                            @phaedrux Why is it saying Heater 0 when the fault happens on heater 1 the extruder? Not sure what is happening here!

                                            I think that is a bug in the displayed heater. Please update to 3.4.1 RC1

                                            https://github.com/Duet3D/RepRapFirmware/releases/tag/3.4.1rc1

                                            What did your tuned values result in?

                                            If the part cooling fan doesn't have a big impact on the heater, you can tune the hotend as a normal heater with M303 H1 S240 and see if it behaves better.

                                            Z-Bot CoreXY Build | Thingiverse Profile

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