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

    rotary delta + mesh compensation | Strange Z-Lift

    Scheduled Pinned Locked Moved
    Firmware developers
    4
    36
    1.8k
    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.
    • Egrisundefined
      Egris @dc42
      last edited by Egris

      @dc42 After the G30 i did via Webcontrol button Y+5 5mm in Y-Direction. The Effector is moving in Y and Z direction. Could this matter?

      https://youtu.be/W4afA7cdHNI

      Testing it with 3.3 beta gives the same Result

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

        It looks like the move to raise the probe after it triggers may be using one motor only. Is the Z motor on the left as seen in that video?

        Please post your config.g file so that I can try to replicate 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

        Egrisundefined 1 Reply Last reply Reply Quote 0
        • Egrisundefined
          Egris @dc42
          last edited by

          @dc42 thank you very much for looking into my problem!
          Here is my config.g File

          config.g

          and i did a drawing of the actual wiring layout

          Layout.jpg

          ; Rotary Delta Config
          M669 K10 U190.0 L393.5 R45 A-90.0:46.50 H419.5 X60, Y60, Z60 B212.132
          M666 X0.0 Y0.0 Z-0.28

          I rotated the all 3 arm angles by 60° to line up the X/Y Axis

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

            @Egris , @Orang_ , I am trying to work out exactly what the problem is. Can you tell me whether mesh bed calibration is working on your rotary delta printers?

            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

            Egrisundefined 1 Reply Last reply Reply Quote 0
            • Egrisundefined
              Egris @dc42
              last edited by

              @dc42 at the moment i cant confirm weather the mesh compensation is working or not. For me it was not possible to finish the grid probing. At the outskirts of the bed the Z-Lift is doing really fast moves to the other side of the bed. What i can confirm is that printing without the compensation is working really well.

              Probing a single point changes / effects the the machine coordinate sytem. After a G30 when i whant to move lets say only in Y-Direction, the move is in Y and Z direction like in that last video.

              Looking forward to solve this Problem together. Thanks alot for looking into it.

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

                @Egris said in rotary delta + mesh compensation | Strange Z-Lift:

                At the outskirts of the bed the Z-Lift is doing really fast moves to the other side of the bed.

                1. Are you saying that when the machine has been calibrated manually so that good prints are possible, the Z-lift moves during mesh bed probing are not vertical?

                2. What happens if you home the printer, command the nozzle to e.g. 5mm above the centre of the bed, and do G30 S-1 ? Does the Z lift move afterwards go straight up? If so, is it any different if you run G30 S-1 when the nozzle is away from 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

                Egrisundefined 1 Reply Last reply Reply Quote 0
                • Egrisundefined
                  Egris
                  last edited by

                  i looked into the Statemachine for bed-probing in Gcodes 4 but couldn find any hint.
                  before the Z-Lift there is called the Function SetMoveBufferDefaults(). Could there be somthing reset?

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

                    PS - one more test:

                    1. Move the nozzle to a point off-centre e.g. X0 Y50 Z10. Then command the nozzle up (e.g. to Z50) and check that the movement is vertical. Next, command the nozzle to X0 Y50 Z10 again, but after that send G91 Y50 Z10 (i.e. tell the machine where it is at, giving it the same coordinates that it thinks it is at). Then command the nozzle up to Z50 again and see if the movement is still vertical.

                    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

                    Egrisundefined 1 Reply Last reply Reply Quote 0
                    • Egrisundefined
                      Egris @dc42
                      last edited by

                      @dc42 1. Are you saying that when the machine has been calibrated manually so that good prints are possible, the Z-lift moves during mesh bed probing are not vertical?

                      Yes thats true. In the Center of the Bed the Z-Lifts are "more" vertical than they are getting to the edges of the bed.

                      If i set my grid-probing to X-145:145 Y-145:145 the first Probe is at X-145 Y-145. Everything works fine until the Z-Lift. When Z is lifted the head moves to abaout X-145 Y145 in a not coordinated move. When it arrives there the head will move to the next grid point at X-125Y-145. On that 2 moves it crashed the nozzle into the bed

                      1 Reply Last reply Reply Quote 1
                      • Egrisundefined
                        Egris @dc42
                        last edited by

                        @dc42 said in rotary delta + mesh compensation | Strange Z-Lift:

                        Move the nozzle to a point off-centre e.g. X0 Y50 Z10. Then command the nozzle up (e.g. to Z50) and check that the movement is vertical. Next, command the nozzle to X0 Y50 Z10 again, but after that send G91 Y50 Z10 (i.e. tell the machine where it is at, giving it the same coordinates that it thinks it is at). Then command the nozzle up to Z50 again and see if the movement is still vertical.

                        tested it and it works like it should. Z-Movment is vertical

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

                          Thanks; and what about the G30 S-1 tests?

                          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
                          • Egrisundefined
                            Egris
                            last edited by

                            i can do that test probably tomorrow. I think i damaged my Z_Probe_In Pin by the 5V Signal of the BLtouch. My Duet2 probably was older than the revision that can handle 5V on that Pin. 🙏 . Is there a possibly to use another analog pin for my Z-Probe? I orderd a spare one

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

                              @Egris said in rotary delta + mesh compensation | Strange Z-Lift:

                              i can do that test probably tomorrow. I think i damaged my Z_Probe_In Pin by the 5V Signal of the BLtouch. My Duet2 probably was older than the revision that can handle 5V on that Pin. 🙏 . Is there a possibly to use another analog pin for my Z-Probe? I orderd a spare one

                              Are you sure the pin isn't working? The Z probe input pin is fairy tough even on older Duets.

                              You can connect the BLTouch to a spare endstop input.

                              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
                              • dc42undefined
                                dc42 administrators
                                last edited by dc42

                                I have reproduced this issue by configuring my linear delta as if it is a rotary delta. The forward transform for rotary delta kinematics was inverting the Cartesian Y coordinate. What surprises me is that this has ever worked, because that code has not changed.

                                I have put a new firmware build for Duet WiFi at https://www.dropbox.com/sh/q5uqqkjbmhgvlhq/AACYqG0ynLME9ogoLd1zLB2Xa?dl=0. If you are not already running release 3.3beta1, please read the 3.3beta1 release notes before installing this.

                                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
                                • dc42undefined
                                  dc42 administrators
                                  last edited by dc42

                                  I've made an attempt at implementing auto calibration for rotary delta machines. The firmware for Duet 2 is at https://www.dropbox.com/sh/q5uqqkjbmhgvlhq/AACYqG0ynLME9ogoLd1zLB2Xa?dl=0.

                                  Calibration factors implemented are:

                                  3 = homing switch position corrections
                                  4 = as 3 + bearing heights (all 3 heights adjusted by the same amount)
                                  5 = as 4 + delta radius
                                  7 = as 5 + tower position corrections

                                  I have no machine to test this one, so it is highly likely that it won't work. It's also possible that it will work but only if you home again immediately after running auto calibration.

                                  Please test it very carefully. Use M669 and M666 without parameters after running auto calibration to see what parameters changed.

                                  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

                                  Egrisundefined 2 Replies Last reply Reply Quote 0
                                  • Egrisundefined
                                    Egris @dc42
                                    last edited by Egris

                                    @dc42 thanks alot for your support. Bed probing is working now 🙂 . I will try the autocalibration function and write a feedback how it works.

                                    1 Reply Last reply Reply Quote 0
                                    • Egrisundefined
                                      Egris @dc42
                                      last edited by

                                      @dc42 did a Autocalibration. Result is as follows:

                                      M669
                                      Kinematics is rotary delta, arms (190.000,190.00,190.000)mm, rods (393.500,393.500,393.500)mm, bearingHeights (422.008,422.01,422.008)mm, arm movement -90.0 to 46.5°, delta radius 45.480, bed radius 212.1, angle corrections (59.839,59.430,60.000)°

                                      M666
                                      Endstop adjustments X-0.82 Y-1.04 Z-1.47°

                                      Start Values:
                                      ;M669 K10 U190.0 L393.5 R45 A-90.0:46.50 H418.8 X60, Y60, Z60 B212.132 (59.839,59.430,60.000)
                                      ;M666 X0.0 Y0.0 Z-0.28

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

                                        So it's made some small adjustments. Does it print more accurately, or less accurately? If you run auto calibration again, do the M669 and M666 parameters remain stable?

                                        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

                                        Egrisundefined 3 Replies Last reply Reply Quote 0
                                        • Egrisundefined
                                          Egris @dc42
                                          last edited by Egris

                                          @dc42 after several calibrations the values will stop at a certain level and are adjusted each cycle a little bit higer / lower. After the calibration i moved the head to a bit above Z0 and moved in X direction. I noticed a bowlshape movment. So i adjusted the rod lenght manually, did another calibration cycles and now i have quiet a steady linear movment above the bed 🙂

                                          Then i did a G29 Mesh calibration..
                                          225 points probed, min error -0.188, max error 0.428, mean 0.017, deviation 0.094

                                          When i want to look at the graph it says Invalid Height Map. Im not sure why this will happen. The File is saved to the sd card

                                          heightmap.csv

                                          1 Reply Last reply Reply Quote 0
                                          • Egrisundefined
                                            Egris @dc42
                                            last edited by

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