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

    Auto calibration error

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    41
    3.6k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      @yatinsd said in Auto calibration error:

      Also when it homes for auto calibration not all axis are homing only one i have to do them manually first.

      See https://duet3d.dozuki.com/Wiki/FAQ#Section_When_I_try_to_home_my_printer_sometimes_the_carriage_or_carriages_move_only_part_of_the_way_towards_the_homing_switches_and_I_have_to_command_it_to_home_again_to_make_it_go_all_the_way. The failed homing may explain the problem.

      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

      yatinsdundefined 1 Reply Last reply Reply Quote 0
      • yatinsdundefined
        yatinsd @dc42
        last edited by

        @dc42 0_1542647285408_Capture1.JPG now it homes but still there is this probing error.

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

          Do you get probing error messages the first time you run auto calibration? I was under the impression that you only got them the second and subsequent times that you ran it.

          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

          yatinsdundefined 1 Reply Last reply Reply Quote 0
          • yatinsdundefined
            yatinsd @dc42
            last edited by

            @dc42 i got the error only the second time, first time it ran fine with below results:
            Calibrated 6 factors using 16 points, deviation before 3.775 after nan

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

              @yatinsd, please sort out the homing issue first - see my earlier reply. Then see whether the auto calibration problem persists.

              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

              yatinsdundefined 1 Reply Last reply Reply Quote 0
              • yatinsdundefined
                yatinsd @dc42
                last edited by

                @dc42 yes I have already sorted homing issue, but auto calibration problem is still persisting!

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

                  Does your config-override.g file have M665 and/or M666 commands in it? If so, delete them.

                  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

                  yatinsdundefined 1 Reply Last reply Reply Quote 0
                  • yatinsdundefined
                    yatinsd @dc42
                    last edited by yatinsd

                    @dc42 there is no config override file being created after auto calibration! can this be due to the macro files that i deleted accidently?

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

                      Auto calibration does not in itself create a config-override.g file; but you can send M500 after running auto calibration to save the values.

                      So was there a config-override.g file on your system, or not?

                      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

                      yatinsdundefined 3 Replies Last reply Reply Quote 0
                      • yatinsdundefined
                        yatinsd @dc42
                        last edited by

                        @dc42 I cannot see any such file!

                        1 Reply Last reply Reply Quote 0
                        • yatinsdundefined
                          yatinsd @dc42
                          last edited by yatinsd

                          @dc42 I tried M500 command still the same issue the when home after 1st auto calibration the head position goes random for xyz. Though now the config override file is created.

                          1 Reply Last reply Reply Quote 0
                          • yatinsdundefined
                            yatinsd @dc42
                            last edited by

                            @dc42 0_1542779135373_Capture3.JPG

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

                              Please can you change the S parameter on the final G30 command to S-1. This will cause the firmware to report the height errors without making any changes. Then report the height errors here.

                              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

                              yatinsdundefined 2 Replies Last reply Reply Quote 0
                              • yatinsdundefined
                                yatinsd @dc42
                                last edited by yatinsd

                                @dc42 I did the same as you said but the problem has just dissapeared now, i dont know how( i am able to auto calibrate it one after other). But there is one peculiar thing happening that ( I deleted the config-override file before i started the auto-calibration) now when i try and pass the M500 command no config override file is generated.

                                1 Reply Last reply Reply Quote 0
                                • yatinsdundefined
                                  yatinsd @dc42
                                  last edited by yatinsd

                                  @dc42 it is now showing the config override file as well!

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

                                    @yatinsd said in Auto calibration error:

                                    @dc42 it is now showing the config override file as well!

                                    I'm glad it's now working for you. If it goes on working, please mark this thread as Solved by editing the title.

                                    Duet Web Control doesn't update its file lists automatically. You often need to click the Refresh button to see the latest changes. This may be why you didn't see the config-override.g file at first.

                                    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

                                    yatinsdundefined 1 Reply Last reply Reply Quote 0
                                    • yatinsdundefined
                                      yatinsd @dc42
                                      last edited by yatinsd

                                      @dc42 0_1542832005147_config-override.g This file is generated after auto calibration 8 factor. when i input S1 it is fine, but when i use 8 factor calibration head values go random(read 999.99) all of a sudden. I need to do 8 factor because my bed is showing convex(4.5mm error at extreme edge) still but isnt(checked seperately).

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

                                        I suggest you connect a PC running e.g. YAT or Pronterface to your printer via USB, send M111 S1 P4 to enable Move debug, then run auto calibration. It will send details of the calibration calculations to the PC. If the auto calibration results in nans and you post that output here, I may be able to work out what is going wrong.

                                        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

                                        yatinsdundefined 1 Reply Last reply Reply Quote 0
                                        • yatinsdundefined
                                          yatinsd @dc42
                                          last edited by

                                          @dc42 following is the result after the procedure:
                                          Connecting...
                                          [ERROR] Could not connect to COM5 at baudrate 115200:
                                          Serial error: could not open port 'COM5': WindowsError(5, 'Access is denied.')
                                          Connecting...
                                          [ERROR] Could not connect to COM5 at baudrate 115200:
                                          Serial error: could not open port 'COM5': WindowsError(5, 'Access is denied.')
                                          Connecting...
                                          ok T0:19.5 /0.0 B:2000.0 /0.0
                                          Printer is now online.
                                          ok T0:19.4 /0.0 B:2000.0 /0.0
                                          ok T0:19.4 /0.0 B:2000.0 /0.0

                                          M111 S1 P4
                                          SENDING:M111 S1 P4
                                          Debugging enabled for modules: Move(4)
                                          Debugging disabled for modules: Platform(0) Network(1) Webserver(2) GCodes(3) Heat(5) DDA(6) Roland(7) Scanner(8) PrintMonitor(9) Storage(10) PortControl(11) DuetExpansion(12) FilamentSensors(13) WiFi(14) Display(15)
                                          ok T0:19.5 /0.0 B:2000.0 /0.0
                                          ok T0:19.4 /0.0 B:2000.0 /0.0
                                          g32
                                          SENDING:G32
                                          Z probe offsets: 11.502 2.401 2.424 18.805 11.597 5.171 1.926 1.981 5.546 6.321 9.789 10.063 5.115 2.919 2.982 150.000, mean 15.534, deviation from mean 35.015
                                          Stops X0.000 Y0.000 Z0.000 height 342.000 diagonal 218.000 radius 120.000 xcorr 0.00 ycorr 0.00 zcorr 0.00 xtilt 0.000% ytilt 0.000%
                                          Derivative matrix
                                          -0.0232 0.1053 0.9178 0.0959 -0.0759 -0.1918 -0.3529 -1.2353
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          -0.0266 0.9011 0.1255 0.1235 0.0719 -0.2840 -1.2189 0.2647
                                          0.1564 0.7995 0.0440 0.3918 -0.1515 0.1120 -0.6440 0.5645
                                          0.3978 0.5061 0.0961 0.5762 -0.1694 0.1577 -0.1024 0.4531
                                          0.4966 0.2391 0.2643 0.6292 0.0124 0.0568 0.2554 0.1159
                                          0.3990 0.0698 0.5312 0.5521 0.1950 -0.0108 0.3825 -0.3649
                                          0.1530 0.0171 0.8299 0.3404 0.1681 -0.0178 0.2167 -0.9142
                                          0.0096 0.2584 0.7319 0.4131 0.0065 -0.2275 -0.3529 -0.7353
                                          -0.0461 0.5090 0.5371 0.3413 -0.0025 -0.3890 -0.7860 -0.4853
                                          0.0097 0.7052 0.2850 0.4293 -0.0058 -0.2311 -0.7860 0.0147
                                          0.1827 0.5317 0.2856 0.6097 -0.0474 -0.0549 -0.3529 0.0712
                                          0.2473 0.3623 0.3903 0.6500 0.0070 -0.0510 -0.1186 -0.1000
                                          0.1843 0.2523 0.5634 0.5978 0.0609 -0.0998 -0.0775 -0.3944
                                          0.3333 0.3333 0.3333 0.6593 0.0000 0.0000 0.0000 -0.0000
                                          Normal matrix
                                          nan nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan nan
                                          Solved matrix
                                          nan 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 nan
                                          0.0000 nan 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 nan
                                          0.0000 0.0000 nan 0.0000 0.0000 0.0000 0.0000 0.0000 nan
                                          0.0000 0.0000 0.0000 nan 0.0000 0.0000 0.0000 0.0000 nan
                                          0.0000 0.0000 0.0000 0.0000 nan 0.0000 0.0000 0.0000 nan
                                          0.0000 0.0000 0.0000 0.0000 0.0000 nan 0.0000 0.0000 nan
                                          0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 nan 0.0000 nan
                                          0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 nan nan
                                          Solution: nan nan nan nan nan nan nan nan
                                          Residuals: nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
                                          Expected probe error: nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
                                          Derivative matrix
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan
                                          Normal matrix
                                          nan nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan nan
                                          nan nan nan nan nan nan nan nan nan
                                          Solved matrix
                                          nan 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 nan
                                          0.0000 nan 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 nan
                                          0.0000 0.0000 nan 0.0000 0.0000 0.0000 0.0000 0.0000 nan
                                          0.0000 0.0000 0.0000 nan 0.0000 0.0000 0.0000 0.0000 nan
                                          0.0000 0.0000 0.0000 0.0000 nan 0.0000 0.0000 0.0000 nan
                                          0.0000 0.0000 0.0000 0.0000 0.0000 nan 0.0000 0.0000 nan
                                          0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 nan 0.0000 nan
                                          0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 nan nan
                                          Solution: nan nan nan nan nan nan nan nan
                                          Residuals: nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
                                          Expected probe error: nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
                                          Stops Xnan Ynan Znan height nan diagonal 218.000 radius nan xcorr nan ycorr nan zcorr 0.00 xtilt nan% ytilt nan%
                                          Calibrated 8 factors using 16 points, deviation before 38.306 after nan
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:19.1 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:18.9 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:18.9 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:18.9 /0.0 B:2000.0 /0.0
                                          ok T0:18.9 /0.0 B:2000.0 /0.0
                                          ok T0:19.0 /0.0 B:2000.0 /0.0
                                          ok T0:18.9 /0.0 B:2000.0 /0.0
                                          [ERROR] Can't read from printer (disconnected?) (SerialException): call to ClearCommError failed
                                          [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed (WindowsError(22, 'The device does not recognize the command.'))
                                          [ERROR] Can't write to printer (disconnected?) (SerialException): WriteFile failed (WindowsError(22, 'The device does not recognize the command.'))
                                          Disconnected.

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

                                            @yatinsd said in Auto calibration error:

                                            Z probe offsets: 11.502 2.401 2.424 18.805 11.597 5.171 1.926 1.981 5.546 6.321 9.789 10.063 5.115 2.919 2.982 150.000, mean 15.534, deviation from mean 35.015
                                            Stops X0.000 Y0.000 Z0.000 height 342.000 diagonal 218.000 radius 120.000 xcorr 0.00 ycorr 0.00 zcorr 0.00 xtilt 0.000% ytilt 0.000%
                                            Derivative matrix
                                            -0.0232 0.1053 0.9178 0.0959 -0.0759 -0.1918 -0.3529 -1.2353
                                            nan nan nan nan nan nan nan nan
                                            nan nan nan nan nan nan nan nan
                                            -0.0266 0.9011 0.1255 0.1235 0.0719 -0.2840 -1.2189 0.2647
                                            0.1564 0.7995 0.0440 0.3918 -0.1515 0.1120 -0.6440 0.5645
                                            0.3978 0.5061 0.0961 0.5762 -0.1694 0.1577 -0.1024 0.4531
                                            0.4966 0.2391 0.2643 0.6292 0.0124 0.0568 0.2554 0.1159
                                            0.3990 0.0698 0.5312 0.5521 0.1950 -0.0108 0.3825 -0.3649
                                            0.1530 0.0171 0.8299 0.3404 0.1681 -0.0178 0.2167 -0.9142
                                            0.0096 0.2584 0.7319 0.4131 0.0065 -0.2275 -0.3529 -0.7353
                                            -0.0461 0.5090 0.5371 0.3413 -0.0025 -0.3890 -0.7860 -0.4853
                                            0.0097 0.7052 0.2850 0.4293 -0.0058 -0.2311 -0.7860 0.0147
                                            0.1827 0.5317 0.2856 0.6097 -0.0474 -0.0549 -0.3529 0.0712
                                            0.2473 0.3623 0.3903 0.6500 0.0070 -0.0510 -0.1186 -0.1000
                                            0.1843 0.2523 0.5634 0.5978 0.0609 -0.0998 -0.0775 -0.3944
                                            0.3333 0.3333 0.3333 0.6593 0.0000 0.0000 0.0000 -0.0000

                                            I can see two problems with that data:

                                            1. Bed probing is giving extremely large height errors, up to 150mm.

                                            2. The second and third probe points in your bed.g file are unreachable using your current delta parameters. This may be because you are using a Z probe offset from the nozzle. You need to move them closer to the centre.

                                            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

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