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

    Clearpath Servos with 1XD Expansion

    Scheduled Pinned Locked Moved Unsolved
    Duet Hardware and wiring
    clearpath expansion 1xd duet 3 servo
    15
    88
    7.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.
    • jballard86undefined
      jballard86 @JoergS5
      last edited by

      @JoergS5

      g4 reduced a lot of the shifts, trying:

      m400
      g4 s.5

      results in a few

      1 Reply Last reply Reply Quote 0
      • jballard86undefined
        jballard86 @JoergS5
        last edited by

        @JoergS5
        still shifting with m400 and g4 s.5

        JoergS5undefined 1 Reply Last reply Reply Quote 0
        • JoergS5undefined
          JoergS5 @jballard86
          last edited by

          @jballard86 at the moment I don't have additional ideas. I will think about and tell you when I have a new one.

          jballard86undefined 1 Reply Last reply Reply Quote 0
          • jballard86undefined
            jballard86 @JoergS5
            last edited by

            @JoergS5 15957904407291965536359268878336.jpg

            This is interesting, it had shifts mid layer on the skirt

            I'm out of ideas as well, maybe @dc42 can give some more input.

            JoergS5undefined 1 Reply Last reply Reply Quote 0
            • JoergS5undefined
              JoergS5 @jballard86
              last edited by JoergS5

              @jballard86 slip through of the belt to the pulley is a possibiltiy also, but you would hear it. But I don't know how to verify it.

              jballard86undefined 1 Reply Last reply Reply Quote 0
              • jballard86undefined
                jballard86 @JoergS5
                last edited by

                @JoergS5 an I am unfortunately aware of that noise from when I was setting up hard stop homing

                1 Reply Last reply Reply Quote 0
                • tae wimjuundefined
                  tae wimju
                  last edited by

                  Hi. This may be long-shot, but...have you check that all ClearPath motor has the exact same RAS setting, and that the motor are not set to "Auto RAS"? Keep the RAS setting fairly low, like no more then 25mS (mine only let me set maximum 16mS which work OK fine for me. But make sure the RAS values match exactly the same. Good luck with print machine!

                  jballard86undefined 1 Reply Last reply Reply Quote 0
                  • NitroFreakundefined
                    NitroFreak
                    last edited by

                    I had the same exact problems on my JMC servo,
                    I guess you are not using the duet expansion breakout board? That fixes it.
                    You need the 5V logic for the steps to arrive properly, the 3.3v logic from the mainboard is enough to trigger some steps to run normally but not all of them.

                    So yes you need the expansion breakout board. here is my thread on it
                    https://forum.duet3d.com/topic/8948/3-3v-logic-for-5v-servomotor-optocouplers

                    1 Reply Last reply Reply Quote 1
                    • T3P3Tonyundefined
                      T3P3Tony administrators
                      last edited by

                      @NitroFreak the 1XD produces 5V level signals so i don't think its that.

                      @jballard86 Can you do a simpler test to try and reproduce the missed steps (if it is that that is causing the shifts). Do the servos have an interface where you can see the ticks received, or work those out from movement received? try just a movement of a set distance back and forth between two points (without printing).

                      www.duet3d.com

                      jballard86undefined 2 Replies Last reply Reply Quote 0
                      • jballard86undefined
                        jballard86 @tae wimju
                        last edited by

                        @tae-wimju Both have the same RAS setting, I actually turned it to none on both servos to rule out RAS early on.

                        1 Reply Last reply Reply Quote 0
                        • jballard86undefined
                          jballard86 @T3P3Tony
                          last edited by

                          @T3P3Tony The problem is not reproducible while other steppers are not operating. I made a simple gcode file with about 50 moves, many of them with 1mm oscillations and then return to home. After running the code dozens of times no change in origin for the duet or servos was noticed.

                          Im pretty sure that the issue has to do with communication between the duet 3 and the 1xd boards.

                          Ive thrown some steppers in place of the servos temporarily.

                          Any other good tests I could do? to help narrow the issue down?

                          1 Reply Last reply Reply Quote 0
                          • Teknic_Servoundefined
                            Teknic_Servo
                            last edited by Teknic_Servo

                            Hi @jballard86,

                            I'm a Teknic engineer and I came across your post. While it doesn't seem like the motors are causing the issue you are seeing, the ClearPath MSP software has a lot of useful diagnostic tools that can help us figure out where the problem may lie (mechanics, controller, wiring, settings, etc.).

                            Based on the information in this thread, I'm not quite sure what the issue is, but I'd be happy to set up an online session and troubleshoot with you. Please feel free to give Teknic a call if you are interested.

                            EDIT You may have seen some of the support videos that Teknic produced to help customers learn the MSP software and diagnostic tools. In the event that you haven't (or in the likely situation that someone else comes across this post and needs help troubleshooting some aspect of their machine), here are some links to those videos:

                            -"Using MSP (Motor Setup Program)": https://www.teknic.com/products/clearpath-brushless-dc-servo-motors/model-support-sd-dc/#model-support-running

                            -"How to Use ClearPath's Diagnostic Tools" (we plan to eventually move this video to the link above as well, but right now it's located on our "Videos" page under "Demos and Tutorials"): https://www.teknic.com/watch-video/

                            Best,
                            Bridgette G. - Teknic Servo Systems Engineer

                            jballard86undefined 1 Reply Last reply Reply Quote 3
                            • jballard86undefined
                              jballard86 @Teknic_Servo
                              last edited by

                              @Teknic_Servo

                              I may take you up on that. Im also pretty confidant that this issue has nothing to do with the servos. But the 1XD are a beta device and im sure the problem revolves around that.

                              I will be putting the Servos back in the printer when I get some more ideas from Duet, then I may call yall up to help diagnose.

                              1 Reply Last reply Reply Quote 0
                              • jballard86undefined
                                jballard86 @T3P3Tony
                                last edited by

                                @T3P3Tony

                                What is the max step rate of the Duet 3? That may be the problem, the less micro stepping I do the faster the printer will actually print.

                                Im debating putting the Servos back in and try them at maybe a 2x equivalent microstepping to see if the error continues.

                                Any more ideas on your side?

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

                                  The max step rate reduces as you increase the step pulse width and interval. So set the M569 T parameters to the minimum values given on the datasheet for the drivers.

                                  8000 pulses per rev is equivalent to 8000/200 = x40 microstepping. So reducing pulses per rev may be advisable.

                                  Use M122 to report the number of hiccups on the expansion board. High values indicate that the 1XD cannot maintain the requested step rate.

                                  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

                                  jballard86undefined 2 Replies Last reply Reply Quote 0
                                  • jballard86undefined
                                    jballard86 @dc42
                                    last edited by

                                    @dc42 towards the end of my testing with the servos I had dropped down to 3600/rev and hiccups were in the single digits usually 1 or 2

                                    pulses were setup at 2.7:2.7:2.7:2.7

                                    still had shifting

                                    1 Reply Last reply Reply Quote 0
                                    • jballard86undefined
                                      jballard86 @dc42
                                      last edited by

                                      @dc42 Know of any other users running step/dir servos using the 1xd with no issues?

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

                                        Please check for hiccups in the M122 report for the 1XD board as I requested before.

                                        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
                                        • jballard86undefined
                                          jballard86 @jballard86
                                          last edited by

                                          @dc42

                                          I did, it would read 0-2 hiccups yet it still shifted consistently. Hiccups went down as I reduced the the resolution of the servos, and still I had layer shifts. I did a M122 dozens of times with the same results

                                          Or are you asking for something else in particular? After this hurricane hits tomorrow night I plan on putting the Servos back in for some more testing, and ill do another M122 that will result in 0-2 hiccups again.

                                          @jballard86 said in Clearpath Servos with 1XD Expansion:

                                          @JoergS5

                                          at low speeds, no retractions, no fan the hiccups are minimal: 0-2.

                                          Ive also reduced the servos to an 18x microstepping equivalent (3600 counts/rev), with no change.

                                          Ill also have to say that even at low speeds im still getting a shift on every layer its just significantly less pronounced.

                                          Ive also tested without the bed heater on, no change. I thought there may be interference.

                                          JoergS5undefined 1 Reply Last reply Reply Quote 0
                                          • JoergS5undefined
                                            JoergS5 @jballard86
                                            last edited by JoergS5

                                            @jballard86 I would try to isolate the problem. eg it seems that only one axis or diagonal ( in both cases it could be one stepper if its corexy) is the reason. So only one 1xd if its the board. So to verify you could exchange the two boards and check whether the axis changes also. If not, it could be a different reason. Did you check hiccups of both boards? I don't know the 1xd boards, but is there something special to do for the CAN termination?

                                            You could use P3 for a normal stepper for x or y and check whether one of the two 1xd is faulty and whether it is a problem which only occurs with two 1xd boards. I know, this is some work, but isolating the problem is Imho the way to have a chance.

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