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

    Infinite U-axis, but linear motion?

    Scheduled Pinned Locked Moved
    General Discussion
    infinite axis
    5
    10
    528
    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.
    • o_lampeundefined
      o_lampe
      last edited by

      Hi gents,
      I've made a draft of an infinite U-axis which acts as parking lot for (feltpen) tools.
      As you see, the cross beam, which is part of the 'MerryGoRound' is straight and needs to be treated as linear.
      The wiring of the tools requires a back and forth tool selection. That's why the whole oval needs to be seen as infinite IMHO.
      I can't figure out a way to define the U-axis.

      alt text

      CNCModellerundefined 1 Reply Last reply Reply Quote 1
      • o_lampeundefined
        o_lampe
        last edited by

        This concept is either so far off reality, that noone has an answer or it's so simple, that noone bothers to answer.
        Nevertheless, I got my N20-encoder motors now and will build the carriers. Let's see, if I figure out which assumption is true...

        1 Reply Last reply Reply Quote 0
        • whosrdaddyundefined
          whosrdaddy
          last edited by

          Treat it as a normal linear axis with a fixed length (if you unfold the ellipse, you will get a line of a certain length), and home it at a certain point on the axis.

          o_lampeundefined 1 Reply Last reply Reply Quote 0
          • CNCModellerundefined
            CNCModeller @o_lampe
            last edited by

            @o_lampe said in Infinite U-axis, but linear motion?:

            Hi gents,
            I've made a draft of an infinite U-axis which acts as parking lot for (feltpen) tools.
            As you see, the cross beam, which is part of the 'MerryGoRound' is straight and needs to be treated as linear.
            The wiring of the tools requires a back and forth tool selection. That's why the whole oval needs to be seen as infinite IMHO.
            I can't figure out a way to define the U-axis.

            alt text

            Couldn't you just treat it as a rotary axis and have each tool as a predetermined "angle"?

            e.g. 10 tools evenly spaced at 36.5 Deg spacing. You'd still have a steps per distance relationship but the circumference of the virtual circle of the path would be the path length of you elipse...

            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 dc42

              There are a couple of problem with an infinite axis:

              • When the axis coordinate gets large, precision will suffer. Axis coordinates are store in floating point format, which offers about 6 to 9 decimal digits of precision. So when the coordinate reaches one million mm (1km), the resolution may not be much better than 1mm.
              • The axis position has to be converted to a microstep position. Microstep positions are stored in 32-bit signed integer format. So strange things will happen when you go beyond about +/- 2 billion microsteps. With 100 microsteps/mm, this will be at coordinates beyond about +/- 20km.

              You could avoid these issues if at certain times (e.g. when changing pen holders) you check whether the axis coordinate has gone outside a certain range, and if so use G92 to reset it to an equivalent coordinate inside that range.

              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

              CNCModellerundefined o_lampeundefined 2 Replies Last reply Reply Quote 0
              • CNCModellerundefined
                CNCModeller @dc42
                last edited by CNCModeller

                @dc42 said in Infinite U-axis, but linear motion?:

                There are a couple of problem with an infinite axis:

                • When the axis coordinate gets large, precision will suffer. Axis coordinates are store in floating point format, which offers about 6 to 9 decimal digits of precision. So when the coordinate reaches one million mm (1km), the resolution may not be much better than 1mm.
                • The axis position has to be converted to a microstep position. Microstep positions are stored in 32-bit signed integer format. So strange things will happen when you go beyond about +/- 2 billion microsteps. With 100 microsteps/mm, this will be at coordinates beyond about +/- 20km.

                You could avoid these issues if at certain times (e.g. when changing pen holders) you check whether the axis coordinate has gone outside a certain range, and if so use G92 to reset it to an equivalent coordinate inside that range.

                Is this an issue for a polar printer bed axis, or have you included some tricks in the kinematics?

                I routinely print in continuous spiral mode so can click up about 3000 rotations for a full size print at 0.4 mm layer height, I think that works out at 5km perimeter for a max size print on the bed. But that's circumferential not the interpreted X Y which never exceeds +-300mm.

                Many of my prints actually oscillate so never go outside of a single rotation.

                Also as long as this is just an oscillating tool changer carousel I'm guessing it'll never be outside of the length of the elipse perimeter.

                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

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

                  @whosrdaddy said in Infinite U-axis, but linear motion?:

                  Treat it as a normal linear axis with a fixed length (if you unfold the ellipse, you will get a line of a certain length), and home it at a certain point on the axis.

                  If I do that, I'd have to define it longer than it actually is to allow the tools to enter the 'straight' from both sides. I'd then have to home it with an extra endstop, since it arrives at the 'real' 0,0 from the wrong side.
                  It's worth a try, just have to figure out, which endstop-switch allows pass-through? Optical perhaps...

                  jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                  • jay_s_ukundefined
                    jay_s_uk @o_lampe
                    last edited by

                    @o_lampe optical would work or a well placed mechanical switch with a roller

                    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

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

                      @dc42 said in Infinite U-axis, but linear motion?:

                      There are a couple of problem with an infinite axis:

                      I don't plan to let the tools run a marathon in the same direction, but as I wrote above the tools will arrive and leave the straight from both sides. That's the infinite part I couldn't solve as that usually means, it's a rotary axis where a natural transition happens. ( >100rad = 0rad)

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

                        @jay_s_uk
                        Yes, rollers are plenty. Maybe I can use the min-endstop from both directions, when I use the single v-roller to trigger?
                        Sure not, the trigger point would have to be at the tangent of the roller, which is too unreliable.

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