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

      PS - you may wish to check the voltage across the Enable and DIR inputs of your servo drive, to check that there is nothing wrong with the 5V regulators on the 1XD boards.

      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 1 Reply Last reply Reply Quote 0
      • jballard86undefined
        jballard86 @dc42
        last edited by

        @dc42 ill check them when I get off work today, and I'll probably shoot teknic an email since they state 5-24v for signals and get their input.

        I assume the 5v regulator also provides power to other ICs on the board?

        Would it be possible to bodge a simple board that sends 12-24v to the servos and use a resistor divider back to the 1xd?

        Is the 1xd schematic available yet, or will it be?

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

          Here's the 1XD prototype schematic. We plan a few minor changes for the production version.

          Duet3_EXB_1XD_Schematic_v0.4.pdf

          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

            4.99v on 40
            4.97v on 41 Likely due to the R18 and R20 tolerances.

            Did the same test with the servo encoders with the following results:

            RAS 6.2	RAS 6.2		
            3600 pulse/rev	3600 pulse/rev		
            			
            Servo Encoder at X0 Y0		Driver board position at X0 Y0	
            A	B	                B41	B40
            -12564	23112	               -49695	13499
            -12289	23124	               -49695	13499
            -12031	22945	               -49695	13499
            			
            no change with or without RAS			
            

            Unless you have any other ideas I feel like the Clearpaths are not compatible with the 1XD board for some reason, Ill contact Teknic to see what their thoughts are.

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

              @dc42

              After more research I have found multiple instances where Clearpath Servos are very picky about the signal voltage. Ive designed a small level shifter board and sent it off for a prototype run, I hope to have it in about a week or so. I will be shifting the signals to 12v.

              Once the boards and components arrive Ill test the boards, then test them with the servos and ill update.

              Bondtechundefined 1 Reply Last reply Reply Quote 1
              • Bondtechundefined
                Bondtech @jballard86
                last edited by

                @jballard86 Did you manage to find a solution? If you did what did you change?

                1 Reply Last reply Reply Quote 1
                • DOPundefined
                  DOP
                  last edited by

                  @dc42 @jballard86 Either of you ever figure this out yet? i just setup with 2 clearpath servos i see 0 hiccups but the layer shifts are real! i'm on version RRF 3.2 via duet3 + Pi4 SBC.

                  DOPundefined jballard86undefined 2 Replies Last reply Reply Quote 1
                  • DOPundefined
                    DOP @DOP
                    last edited by

                    For others who find this thread: I just installed beta 3.3 and it's working correctly now, looks like root cause was in can communications.

                    jballard86undefined 1 Reply Last reply Reply Quote 3
                    • jbergeneundefined
                      jbergene
                      last edited by

                      @dop and @jballard86 . Have any of you managed to produce a good looking print yet?
                      if yes What were the T timings you ended up using?

                      Best regards
                      John Henrik Bergene

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

                        @dop I fixed it by abandoning it and going with a different hardware solution. My assumption after lots of trouble shooting is that the clearpaths en/stp/dir signals needed to sink more current than the 1xd could provide, or that it was a CAN issue. I ended up developing my own board that worked flawlessly.

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

                          @dop said in Clearpath Servos with 1XD Expansion:

                          For others who find this thread: I just installed beta 3.3 and it's working correctly now, looks like root cause was in can communications.

                          If it was an issue in CAN, id assume that issue has been in all of their products that utilize CAN. its unfortunate that they left bugs like these in their code for so long unnoticed.

                          1 Reply Last reply Reply Quote 0
                          • atlas_Clarkundefined
                            atlas_Clark
                            last edited by atlas_Clark

                            @jballard86 I am currently embarking on a project implementing the ClearPath SD servos with a duet 3 and 1XD and was wondering if you would be able to provide any wiring advice or images? I've followed the documentation as best I can for wiring the step/dir/en to the 1XD with no luck and this post is one of the very few demonstrating exactly what I am attempting to create.

                            1 Reply Last reply Reply Quote 0
                            • alankilianundefined
                              alankilian @dc42
                              last edited by

                              This looks like all you should need for wiring information and timing.

                              However I don't believe the original poster got these servos working correctly. (I may be reading it wrong.)

                              @dc42 said in Clearpath Servos with 1XD Expansion:

                              I've checked the outputs from the 1XD board with 620 ohm load resistors, using your configuration (M569 P40.0 S0 R0 T2.7:2.7:2.7:2.7):

                              • The signal amplitude is 4.8V
                              • The step pulse width ls never less than 4.1us
                              • The smallest interval between step pulses I saw was more than 100us
                              • The end-of-step-to-direction-change hold time looks consistent at 8us, however direction changes are not very frequent so it's hard to be certain that there are no shorter ones
                              • The direction-to-step setup time appears to be very long indeed

                              Here's an example of a step with a direction change afterwards. The 'scope is looking at the STEP- (yellow) and DIR- (blue) output pins of the 1XD, with the 620 ohm load resistors connected between those outputs and the common +5V output.

                              2020-08-09 10.58.22.jpg

                              PS:

                              1. The voltage across the 620 ohm resistor connected between Enable- and +5V is a little lower, 4.78V. This is expected, because that pin is not driven by a high current drive pin of the microcontroller. But it should still be enough, because few device providing 5V output signals would provide more than that.

                              2. Please confirm that you have connected the ClearPath A+/B+/Enable+ inputs to the common +5V pin on the 1XD board, and the ClearPath A-/B-/Enable- inputs to the individual output pins.

                              e1dd4406-d074-49e0-b00b-c510ffb89349-image.png

                              SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                              SignPostManundefined 1 Reply Last reply Reply Quote 0
                              • atlas_Clarkundefined
                                atlas_Clark
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • chineundefined
                                  chine
                                  last edited by

                                  Any update on this? Did anyone get their setup working?
                                  I saw Pantheon Design is using clearpath on their new printer but it sounds like they created their own hardware to use duet/clearpath.

                                  Thanks

                                  Edkirkundefined 1 Reply Last reply Reply Quote 0
                                  • Edkirkundefined
                                    Edkirk @chine
                                    last edited by Edkirk

                                    @chine Several years ago I built a Corexy to test Clearpath Servos, I had no problems. Absolutely awesome performance. Looking through the above post I didn’t see any mention of power voltage and current to power the servos. I used a power supply from Clearpath for Servo power. I was initially concerned about signal voltage from the duet board for step/direction but there was no problem. I set Clearpath resolution to get close to my original steps per mm in config.g. I found the servos were over kill for a 3D printer, they are no better then the signal from the board just producing slightly better then a good stepper motor. They are very quiet. I transplanted the servos to my CNC router where I needed the extra power.image.jpg Photo of the original test printer.
                                    Ed Kirk

                                    1 Reply Last reply Reply Quote 1
                                    • SignPostManundefined
                                      SignPostMan
                                      last edited by

                                      @jballard86 Do you have these boards available for sale? I have developed my machine around Clear Path servos without knowing this problem until finished with the project. Looking for the easiest answer to solve.

                                      1 Reply Last reply Reply Quote 0
                                      • SignPostManundefined
                                        SignPostMan @alankilian
                                        last edited by

                                        This post is deleted!
                                        alankilianundefined 1 Reply Last reply Reply Quote 0
                                        • alankilianundefined
                                          alankilian @SignPostMan
                                          last edited by

                                          @signpostman

                                          I haven't read this entire thread so I don't know what you mean by "Is there any other way to connect my ClearPath Servos to the Duet 3 main board?"

                                          If you have specific questions, you should probably start a new thread with those questions and I'd be happy to help.

                                          SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

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