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

    strange message when PID tuning

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    4
    18
    1.1k
    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.
    • nick9one1undefined
      nick9one1
      last edited by nick9one1

      thanks 🙂

      for some reason I still get the same error when heating. Triggered at about 80C
      250eead5-b183-4557-84d3-feb0e997d7ef-image.png

      If I clear the error it usually happens again, then on the third try It gets to temp OK.

      I PID tuned next to the bed and the part cooling fan kicks in during the second half of the tune.

      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T101302.1408 B3950 C0 R4700 A"Bed Temp" 	; 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
      M140 H0                                        								; map heated bed to heater 0
      M143 H0 S100                                   								; set temperature limit for heater 0 to 100C
      M307 H0 R0.278 C1408.5 D27.03 S1.00											; Set PID for bed values
      M308 S1 P"e0temp" Y"thermistor" T96774.19355 B3950 C0 R4700 A"Hotend Temp"             
         ; 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
      M143 H1 S265                              									; set temperature limit for heater 1
      M307 H1 R3.461 C147.8:85.5 D7.80 S1.00 V23.9								; Set PID for hotend values
      

      You can see M307 in config.g matches the tuning result in my first post.
      I've run the tune 4 times, each PID was very slightly different but all trigger the Error.

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

        @nick9one1 You have reset the Duet since changing config.g? Send M307 H1 to check what settings are actually being used. It's possible that you have a config_override.g file that is using a different (old) value, too.

        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
        • nick9one1undefined
          nick9one1
          last edited by nick9one1

          @droftarts said in strange message when PID tuning:

          M307 H1

          Yes I've reset the printer a few times since changing pids.

          I dont have a config_override file..
          5f0d435a-7c5b-4fa8-bfb3-ac71c254d2ab-image.png

          and this is the result of M307 H1 (values look the same as the the PID tuning result)

          c281a097-348a-439b-908f-bd29cdfb9076-image.png

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

            @nick9one1 Are you running the print cooling fan when heating up? If so, turn it off. Was the heated bed already hot when you did the M303 tuning (might have a small effect on results)? Did you tune the heater with the nozzle close to the bed (which simulates the conditions when printing)?

            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
            • nick9one1undefined
              nick9one1
              last edited by nick9one1

              Yep I did all that. nozzle at Y0, bed was cold. part cooling fan is off when the error happens.

              I wonder if the thermisistor that came with the Biqu H2 is differnt to what I have specified.

              M308 S1 P"e0temp" Y"thermistor" T96774.19355 B3950 C0 R4700 A"Hotend Temp"  ; configure sensor 1 as thermistor on pin e0temp
              

              the H2 product page doesn't list any data on the supplied thermistor
              https://www.biqu.equipment/products/biqu-h2-direct-extruder-dual-driver-gear-extrusion-for-ender3-b1-3d-printer?_pos=1&_sid=10dc3ab2a&_ss=r

              but they do seem to sell (what I imagine) is the the same thermistor separately
              https://www.biqu.equipment/products/biqu-3d-printer-parts-1m-2m-ht-ntc100k-thermistor-temperature-sensor-for-high-temperature-filament-350-degrees?_pos=2&_sid=81f4ff1ef&_ss=r&variant=46654559299

              three isn't much information other than its a HT-NTC100K

              1 Reply Last reply Reply Quote 0
              • nick9one1undefined
                nick9one1
                last edited by

                I've changed M308 to reflect more 'default' settings, re-tuned, but still get the same error...

                M308 S1 P"e0temp" Y"thermistor" T100000 B3950 A"Hotend Temp"
                
                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator
                  last edited by

                  After doing the tuning can you try sending M500 to save the result to config-override.g. Then you don't have to manually copy anything over. As long as you have M501 at the end of config.g to load those settings it should then take effect at boot up.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  1 Reply Last reply Reply Quote 0
                  • nick9one1undefined
                    nick9one1
                    last edited by

                    Thanks. I'll try that

                    1 Reply Last reply Reply Quote 0
                    • nick9one1undefined
                      nick9one1
                      last edited by

                      I had to add M501 at the end of config.g (as I dont usually use config-override.g)

                      ; Configuration file for Duet WiFi (firmware version 3)
                      ; executed by the firmware on start-up
                      ;
                      ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Sep 05 2020 23:57:30 GMT+0100 (British Summer Time)
                      
                      ; General preferences
                      M80					       	; Turns on the ATX power supply
                      G90                                            	; send absolute coordinates...
                      M83                                            	; ...but relative extruder moves
                      M550 P"BLV MGN Cube"                           	; set printer name
                      M669 K1                                        	; select CoreXY mode
                      
                      ; Network
                      M552 S1                                        	; enable network
                      M587 S"your_wifi_name" P"your_password"        	; Configure access point. You can delete this line once connected
                      M586 P0 S1                                     	; enable HTTP
                      M586 P1 S0                                     	; disable FTP
                      M586 P2 S0                                     	; disable Telnet
                      
                      ; Drives
                      M569 P0 S0                                     	; physical drive 0 goes backwards
                      M569 P1 S1                                     	; physical drive 1 goes forwards
                      M569 P2 S1                                     	; physical drive 2 goes forwards
                      M569 P3 S0                                     	; physical drive 3 goes backwards
                      M584 X0 Y1 Z2 E3                               	; set drive mapping
                      M350 X16 Y16 Z16 E16 I1                        	; configure microstepping with interpolation
                      M92 X200.00 Y200.00 Z3200.00 E932.00            ; set steps per mm
                      M566 X820.00 Y820.00 Z70.00 E500.00             ; set maximum instantaneous speed changes (mm/min)
                      M203 X20000.00 Y20000.00 Z500.00 E2000.00      	; set maximum speeds (mm/min)
                      M201 X3000.00 Y3000.00 Z150.00 E5000.00        	; set accelerations (mm/s^2)
                      M906 X1100 Y1100 Z1100 E800 I30               	; set motor currents (mA) and motor idle factor in per cent
                      M84 S30                                        	; Set idle timeout
                      
                      ; Pressure advance
                      M572 D0 S0.1
                      
                      ; Axis Limits
                      M208 X-30 Y0 Z0 S1                            	; set axis minima
                      M208 X305 Y329 Z950 S0                        	; set axis maxima
                      
                      ; Endstops
                      M564 H0					       					; allow jog without homing
                      M574 X1 S1 P"xstop"                            	;
                      M574 Y2 S1 P"ystop"                            	;
                      M574 Z1 S1 P"zstop"                            	; configure Z-probe endstop for low end on Z
                      
                      ; Z-Probe
                      M558 P1 H5 C"^zprobe.in" H5 F250 T9000 R0.5 T7200	; set Z probe type to switch and the dive height + speeds
                      G31 P500 X0 Y25 Z1.97                      			; set Z probe trigger value, offset and trigger height
                      M557 X10:280 Y25:278 P5                      		; define mesh grid
                      
                      ; Heaters
                      M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 C0 A"Bed Temp" 				; 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
                      M140 H0                                        								; map heated bed to heater 0
                      M143 H0 S100                                   								; set temperature limit for heater 0 to 100C
                      ;M307 H0 A340.0 C445.4 D27.6 S1.00 V23.9 B0									; Set PID for heated bed values
                      M307 H0 R0.278 C1408.5 D27.03 S1.00											; Set PID for bed values
                      M308 S1 P"e0temp" Y"thermistor" T100000 B3950 A"Hotend Temp"  				; 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
                      M143 H1 S265                              									; set temperature limit for heater 1
                      M307 H1 R3.349 C228.7:133.4 D7.83 S1.00 V23.9								; Set PID for hotend values
                      		
                      ; Fans
                      M950 F0 C"Fan2" Q50                        	; create fan 0 on pin 2 and set its frequency
                      M106 P0 S0 H-1 X204                             ; set fan 0 value. Thermostatic control is turned off
                      ;M950 F0 C"Fan0" Q100                           ; create fan 2 on pin fan2 and set its frequency
                      ;M106 P0 S1 H1 T45                              ; set fan 2 value. Thermostatic control is turned on
                      
                      ; Tools
                      M563 P0 D0 H1 F0                               	; define tool 0
                      G10 P0 X0 Y0 Z0                                	; set tool 0 axis offsets
                      G10 P0 R0 S0                                   	; set initial tool 0 active and standby temperatures to 0C
                      
                      ; Screen
                      M575 P1 B57600 S1
                      
                      
                      M501
                      
                      

                      and config-override.g

                      ; config-override.g file generated in response to M500 at 2021-03-21 01:19
                      ; This is a system-generated file - do not edit
                      ; Heater model parameters
                      M307 H0 R0.278 C1408.500:1408.500 D27.03 S1.00 V0.0 B1
                      M307 H1 R3.445 C219.932:130.532 D7.80 S1.00 V23.9 B0
                      ; Workplace coordinates
                      G10 L2 P1 X0.00 Y0.00 Z0.00
                      G10 L2 P2 X0.00 Y0.00 Z0.00
                      G10 L2 P3 X0.00 Y0.00 Z0.00
                      G10 L2 P4 X0.00 Y0.00 Z0.00
                      G10 L2 P5 X0.00 Y0.00 Z0.00
                      G10 L2 P6 X0.00 Y0.00 Z0.00
                      G10 L2 P7 X0.00 Y0.00 Z0.00
                      G10 L2 P8 X0.00 Y0.00 Z0.00
                      G10 L2 P9 X0.00 Y0.00 Z0.00
                      M486 S-1
                      

                      Unfortunately I get exactly the same..

                      801276ca-2dff-4505-89eb-a26d533ec85c-image.png

                      1 Reply Last reply Reply Quote 0
                      • SJIundefined
                        SJI
                        last edited by SJI

                        I've also been experiencing this also. Once it's at temp all is good

                        edit: Firmware 3.2.2 Duet 3 6HC

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

                          Can we see some photos of the hotend assembly?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 0
                          • nick9one1undefined
                            nick9one1
                            last edited by nick9one1

                            sure..

                            A couple of stock images, then three of my setup.
                            It way be worth mentioning the whole assembly is aluminium.. The block, gears, extruder housing, tensioning arm.
                            Its fairly similar to the E3d Hermera, although smaller and lighter.

                            8fa05e05-f9df-42dc-8185-71244a7d35fd-image.png

                            5f159913-8872-4a0a-a338-ff7d04e9c235-image.png

                            20210321_190330.jpg

                            20210321_190314.jpg

                            20210321_190343.jpg

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

                              Is the heat block making contact with the cold side? Can't quite tell from the photo of the underside.

                              what does your heater graph look like during the tuning?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              1 Reply Last reply Reply Quote 0
                              • nick9one1undefined
                                nick9one1
                                last edited by nick9one1

                                3mm-4mm gap between heat block and cold side.

                                There's quite a lot of thermal mass with the complete extruder assembly being 100% metal. My initial thoughts were this was the reason for the error. But the pid tuning should take account of this? (tuning was done from cold).

                                cf068e95-6252-4961-9a9c-63f1f06cef1f-image.png

                                20210321_223937.jpg

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

                                  Thanks for the feedback on the new algorithm. Will see if DC42 has any tuning suggestions.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  nick9one1undefined 1 Reply Last reply Reply Quote 0
                                  • nick9one1undefined
                                    nick9one1 @Phaedrux
                                    last edited by

                                    @phaedrux

                                    update - after making a few changes the hotend is now heating without the error.

                                    The all metal throat is secured by two grub screws to the body/heatsink. Although properly secured, I think the throat was heating up, expanding slightly and making better contact with the heatsink, causing it to dump heat a bit quicker and triggering the error.
                                    I've added some thermal compound to the throat/heatsink, re-tuned and can now heat from cold without any issues.

                                    b3247aa6-039c-4ba2-8062-22b2a3a43678-image.png

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