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

PID Tuning

Scheduled Pinned Locked Moved
Tuning and tweaking
5
26
1.0k
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
    noblebran @64bit
    last edited by 6 Jul 2021, 15:32

    @64bit It saved the RRF, not the PID.

    I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

    undefined 1 Reply Last reply 6 Jul 2021, 15:33 Reply Quote 0
    • undefined
      noblebran @droftarts
      last edited by 6 Jul 2021, 15:33

      @droftarts Thank you, I will try M307... I appreciate the response.

      I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

      1 Reply Last reply Reply Quote 0
      • undefined
        jay_s_uk @noblebran
        last edited by 6 Jul 2021, 15:33

        @noblebran The output for PID tuning is an M307 line with R, C and D values so what you describe is expected.
        What command did you use to tune the hotend/bed?

        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

        undefined 1 Reply Last reply 6 Jul 2021, 15:35 Reply Quote 0
        • undefined
          noblebran @jay_s_uk
          last edited by 6 Jul 2021, 15:35

          @jay_s_uk I used "m303 h1 s210". I get the PID values when I type in M307 H1, but they don't seem to save as it doesn't help with the heating, it still fails and heats too fast (over runs by 15c+ and then faults).

          I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

          undefined 1 Reply Last reply 6 Jul 2021, 15:38 Reply Quote 0
          • undefined
            jay_s_uk @noblebran
            last edited by 6 Jul 2021, 15:38

            @noblebran if you use a part cooling fan, I suggest using M303 T0 S210 instead and then the fan is ran during the tuning process so its affect can be taken into account.

            What output did you get in the console when you ran the tuning? Does it match whats shown with the output of M307 H1?
            Are you running the correct voltage heater cartridge for your system? What wattage is it?

            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

            undefined 2 Replies Last reply 6 Jul 2021, 15:45 Reply Quote 0
            • undefined
              noblebran @jay_s_uk
              last edited by 6 Jul 2021, 15:45

              @jay_s_uk thank you, I do have the part cooling fans running during tuning. I am, I am running a 40 watt heat cartridge, I bought everything from e3d and its been great. Never had an issue.

              m307 h1
              

              Heater 1 model: heating rate 3.658, cooling time constant 136.6, dead time 14.00, max PWM 1.00, calibration voltage 0.0, mode PID
              Computed PID parameters: setpoint change: P3.5, I0.080, D34.2, load change: P3.5, I0.124, D34.2

              I am running it now to see if it matches.

              I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

              1 Reply Last reply Reply Quote 0
              • undefined
                noblebran @jay_s_uk
                last edited by noblebran 7 Jun 2021, 15:51 6 Jul 2021, 15:50

                @jay_s_uk now I get this:

                Auto tuning heater 1 completed after 3 idle and 5 tuning cycles in 659 seconds. This heater needs the following M307 command:
                M307 H1 B0 R3.539 C260.4 D14.22 S1.00 V23.1
                Send M500 to save this command in config-override.g
                m307 h1
                Heater 1 model: heating rate 3.539, cooling time constant 260.4, dead time 14.22, max PWM 1.00, calibration voltage 23.1, mode PID
                Computed PID parameters: setpoint change: P3.5, I0.058, D35.3, load change: P3.5, I0.106, D35.3

                They seem to be slightly different but my heat temp still goes above 250 when aiming for 210.

                I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

                undefined 2 Replies Last reply 6 Jul 2021, 15:52 Reply Quote 0
                • undefined
                  jay_s_uk @noblebran
                  last edited by 6 Jul 2021, 15:52

                  @noblebran yep, that looks pretty normal.
                  Add M307 H1 B0 R3.539 C260.4 D14.22 S1.00 V23.1 to your config.g or send M500 (ensuring M501 is at the end of your config.g) and check that config-override.g matches

                  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

                  undefined 1 Reply Last reply 6 Jul 2021, 15:57 Reply Quote 0
                  • undefined
                    jay_s_uk @noblebran
                    last edited by 6 Jul 2021, 15:52

                    @noblebran said in PID Tuning:

                    They seem to be slightly different but my heat temp still goes above 250 when aiming for 210.

                    did you tune as H1 or T0?

                    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

                    undefined 1 Reply Last reply 6 Jul 2021, 15:56 Reply Quote 0
                    • undefined
                      noblebran @jay_s_uk
                      last edited by 6 Jul 2021, 15:56

                      @jay_s_uk I tuned as H1 as my fan was already on.

                      I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

                      undefined 1 Reply Last reply 6 Jul 2021, 15:56 Reply Quote 0
                      • undefined
                        jay_s_uk @noblebran
                        last edited by 6 Jul 2021, 15:56

                        @noblebran you're best of tuning using T0 as the PWM power will be adjusted automatically to take into account whether the fan is on or not

                        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

                        undefined 2 Replies Last reply 6 Jul 2021, 15:57 Reply Quote 0
                        • undefined
                          noblebran @jay_s_uk
                          last edited by 6 Jul 2021, 15:57

                          @jay_s_uk said in PID Tuning:

                          M307 H1 B0 R3.539 C260.4 D14.22 S1.00 V23.1

                          I had that in my config already, that is why I am so confused...

                          I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            noblebran @jay_s_uk
                            last edited by 6 Jul 2021, 15:57

                            @jay_s_uk I will do that.

                            I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              noblebran @jay_s_uk
                              last edited by 6 Jul 2021, 16:03

                              @jay_s_uk

                              @jay_s_uk said in PID Tuning:

                              @noblebran you're best of tuning using T0 as the PWM power will be adjusted automatically to take into account whether the fan is on or not

                              Still after all the tuning, I am running the T0 as mentioned and look at this graph. I have seen literally no changes.

                              5384298c-c21e-45cb-bbd1-f448958e2b56-image.png

                              Crazy, huh???

                              I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

                              undefined 1 Reply Last reply 6 Jul 2021, 16:04 Reply Quote 0
                              • undefined
                                jay_s_uk @noblebran
                                last edited by 6 Jul 2021, 16:04

                                @noblebran what type of hotend are you running? thats stupidly fast heat up
                                is your config.g correct for your thermistor?

                                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

                                undefined 1 Reply Last reply 6 Jul 2021, 16:07 Reply Quote 0
                                • undefined
                                  noblebran @jay_s_uk
                                  last edited by 6 Jul 2021, 16:07

                                  @jay_s_uk its all e3d volcano, just replaced everything with this build. Granted it is extremely warm and humid where I am right now.

                                  This is what I am using for the thermistor:

                                  M308 S1 P"e0temp" Y"thermistor" T100000 B4138      ; configure sensor 1 as thermistor on pin e0temp
                                  

                                  I believe that is correct?

                                  I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

                                  undefined 1 Reply Last reply 6 Jul 2021, 16:08 Reply Quote 0
                                  • undefined
                                    jay_s_uk @noblebran
                                    last edited by jay_s_uk 7 Jun 2021, 16:09 6 Jul 2021, 16:08

                                    @noblebran if you're using an E3D thermistor, no

                                    M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.060000e-8
                                    

                                    Can you confirm what you purchased?

                                    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

                                    undefined 1 Reply Last reply 6 Jul 2021, 16:19 Reply Quote 0
                                    • undefined
                                      noblebran @jay_s_uk
                                      last edited by noblebran 7 Jun 2021, 16:52 6 Jul 2021, 16:19

                                      @jay_s_uk

                                      @noblebran said in PID Tuning:

                                      @jay_s_uk its all e3d volcano, just replaced everything with this build. Granted it is extremely warm and humid where I am right now.

                                      This is what I am using for the thermistor:

                                      M308 S1 P"e0temp" Y"thermistor" T100000 B4138      ; configure sensor 1 as thermistor on pin e0temp
                                      

                                      I believe that is correct?

                                      I do not have the e3d thermistor then. It is just a regular type k thermistor. I will order a new one, but I ran it on smoothieware for years and never had an issue. odd I how I don't have a problem now, I am buying a new block that allows the use of a cartridge but the one I have now isn't big enough for a cartridge.

                                      Do you know of anyway to compensate or reduce the power to the cartridge to allow it to heat up less?

                                      The cartridge is 12v also, not sure if that matters. I would think if it is 24v (set up that way) wouldn't it burn up?

                                      I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

                                      undefined 1 Reply Last reply 6 Jul 2021, 18:37 Reply Quote 0
                                      • undefined
                                        Phaedrux Moderator @noblebran
                                        last edited by Phaedrux 7 Jun 2021, 18:55 6 Jul 2021, 18:37

                                        @noblebran said in PID Tuning:

                                        type k thermistor.

                                        Do you mean type k thermocouple?

                                        @noblebran said in PID Tuning:

                                        The cartridge is 12v also, not sure if that matters.

                                        M307 H1 B0 R3.539 C260.4 D14.22 S1.00 V23.1

                                        Yikes, yes it does. It looks like you're running a 12v heater at 24v. Hence the insanely fast heat up. DO NOT DO THIS. Replace the heater with 24v immediately and don't use it until you do.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        undefined 2 Replies Last reply 6 Jul 2021, 19:15 Reply Quote 1
                                        • undefined
                                          noblebran @Phaedrux
                                          last edited by 6 Jul 2021, 19:15

                                          @phaedrux

                                          @phaedrux said in PID Tuning:

                                          Yikes, yes it does. It looks like you're running a 12v heater at 24v. Hence the insanely fast heat up. DO NOT DO THIS. Replace the heater with 24v immediately and don't use it until you do.

                                          Okay, thank you!

                                          I own a Tevo Little Monster but there isn't much left of that except for the frame. Duet 2 Wifi + PanelDue 7i.

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