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

    Scanning Z probe support in RRF 3.5

    Scheduled Pinned Locked Moved
    Beta Firmware
    23
    128
    10.3k
    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.
    • CNCModellerundefined
      CNCModeller @o_lampe
      last edited by

      ... and even when in line with the field lines the pitch of the scan might need to be the same as or multiples of the pitch of the field lines. And that assumes every field line is the same strength.

      Will be an interesting experiment none the less...

      Polar Duet3 Mini + 1HCL
      https://youtube.com/playlist?list=PLWjZVEdMv1BY82izahK45qKh-hp3NFkix
      Wanhao D4S: Duet2
      https://forum.duet3d.com/post/296755
      K40 Laser, Duet2
      https://forum.duet3d.com/post/312082
      Wanhao D5S
      https://www.youtube.com/CNCModellerUK

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

        @CNCModeller I don't think the static magnetic field should affect the sensor significantly, because it's unlikely to cause magnetic saturation.

        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

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

          I've made some further improvements to the scanning probe software:

          • Previously I was fitting the sensor frequency vs. height calibration points to a quadratic curve. When I plotted the residual in a spreadsheet I saw that there was a small cubic residual error. Now I fit a cubic curve to the points instead.
          • I hadn't noticed that during calibration, when the sensor got close to the bed it returned an amplitude error, which affected the calibration. I have increased the oscillation amplitude to fix this.

          Here is a 522 point height map produced by the scanning sensor in 21 seconds, including the time taken to do a regular probe at bed centre (to establish an accurate Z=0 datum) and then calibrate the scanning probe:

          466c0e3f-4f23-4686-b5d4-1354e48b54ea-image.png

          Here is a height map of the same bed produced using the microswitch probe in 5 min 28 seconds (I reduced the dive height to 2mm to speed up probing):

          983b9d47-60c5-41be-8762-1c74e71040e6-image.png

          There's not much difference between them, except for a 0.04mm offset that I need to track down.

          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

          samlogan87undefined o_lampeundefined 2 Replies Last reply Reply Quote 2
          • samlogan87undefined
            samlogan87 @dc42
            last edited by

            @dc42 when you did that, was the bed warm or are you still playing around with it when it’s cold?

            Custom Core-XY

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

              @samlogan87 it's still cold. I'll try heating the bed to 80C next.

              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

              samlogan87undefined 1 Reply Last reply Reply Quote 0
              • o_lampeundefined
                o_lampe @dc42
                last edited by

                @dc42 said in Scanning Z probe support in RRF 3.5:

                There's not much difference between them

                The max. deviation numbers have a huge difference:
                -0.351 vs -0.198
                That's almost a layer thickness, or am I wrong?

                dc42undefined 1 Reply Last reply Reply Quote 0
                • samlogan87undefined
                  samlogan87 @dc42
                  last edited by

                  @dc42 cool. It is looking very promising though. Awesome work. I have a 400x400mm bed and always have issues with bed flatness especially when you really heat it up to do nylons etc

                  Custom Core-XY

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

                    @o_lampe said in Scanning Z probe support in RRF 3.5:

                    The max. deviation numbers have a huge difference:
                    -0.351 vs -0.198
                    That's almost a layer thickness, or am I wrong?

                    Those most negative height error values are in the mid right hand edge of the map. 0.04mm of the difference is accounted for by the offset between the height maps. I think the remainder is caused by the bed magnet at that position. It's now clear to me that the six bed magnets are causing slight dips in the height map produced by the scanning probe. This is especially clear along the left hand edge.

                    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

                    1 Reply Last reply Reply Quote 0
                    • lparnell34undefined
                      lparnell34
                      last edited by lparnell34

                      Im getting a G31: invalid z probe index error and also Error: M558: Unknown pin name 'i2c.ldc1612'
                      I modified my config.g and mesh.g to include your changes. Im using the sammyc21 expansion board.

                      I'm also using the latest firmware that I built for the sammyc21 and duet3 6hc from github today.

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

                        @lparnell34 sounds like you must have built RRF using the wrong branches from Github. Use the 3.5-dev branches.

                        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

                        lparnell34undefined 1 Reply Last reply Reply Quote 0
                        • lparnell34undefined
                          lparnell34 @dc42
                          last edited by

                          @dc42 I used the 3.5 dev builds.

                          dc42undefined 2 Replies Last reply Reply Quote 0
                          • dc42undefined
                            dc42 administrators @lparnell34
                            last edited by

                            @lparnell34 I haven't tested the SammyC21 implementation. Looks like I left out the new pin definitions. I'll fix that.

                            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

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

                              @lparnell34 I've committed that fix to Duet3Expansion. Please try again.

                              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

                              lparnell34undefined 1 Reply Last reply Reply Quote 0
                              • lparnell34undefined
                                lparnell34 @dc42
                                last edited by

                                @dc42 alright thanks. I'll give it a try in a bit.

                                1 Reply Last reply Reply Quote 0
                                • lparnell34undefined
                                  lparnell34 @dc42
                                  last edited by

                                  @dc42 that fixed both of my issues. Thanks.

                                  1 Reply Last reply Reply Quote 0
                                  • DeadNewbieundefined
                                    DeadNewbie @dc42
                                    last edited by

                                    @dc42

                                    very interested in this, can you stick me down as a beta tester if you want one.

                                    regards

                                    Michael

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

                                      @DeadNewbie I can supply firmware binaries with scanning probe support for anyone who wants to try them. The support will be included in firmware 3.5.0-rc.1 which I hope to release 2 or 3 weeks from now.

                                      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

                                      samlogan87undefined 1 Reply Last reply Reply Quote 1
                                      • samlogan87undefined
                                        samlogan87 @dc42
                                        last edited by

                                        @dc42 are you guys likely to release a toolboard with a i2c connector?

                                        Custom Core-XY

                                        oliofundefined 1 Reply Last reply Reply Quote 0
                                        • oliofundefined
                                          oliof @samlogan87
                                          last edited by

                                          @samlogan87 dc42 wrote upstream

                                          For the future, we are considering making a dedicated CAN-connected board to support the LDC1612 as well as tool board variants with this chip on board.

                                          <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                                          samlogan87undefined 1 Reply Last reply Reply Quote 2
                                          • lparnell34undefined
                                            lparnell34
                                            last edited by

                                            @dc42 I was trying to test z probe scanning but it seems the probe is reading wrong. It says 22768239 under z probe on dwc dashboard. When I run G29 K1 it scans the bed but the max deviation is 1256mm and after it's done scanning it keeps lowering the Z axis until it bottoms out and grinds.

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