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

    Stall detection with 2 motors

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    25
    859
    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.
    • noisettetbouundefined
      noisettetbou @Phaedrux
      last edited by noisettetbou

      @Phaedrux
      And I'm not sure of my calculation of the H parameter and speed. This is my Y motors (2 in series) of my Y axis specifications :
      Spécification électrique
      Numéro de pièce du fabricant: 17HS24-2104D
      Type de moteur: Bipolar Stepper
      Angle de pas: 1.8 deg
      Couple de maintien: 65Ncm(92.3oz.in)
      Courant/phase: 2.10A
      Tension: 3.360V
      Résistance/phase: 1.60ohms
      Inductance: 3.00mH ± 20%(1KHz)

      I've found more than 1000 mm/s. It's crazy !

      Phaedruxundefined 1 Reply Last reply Reply Quote 0
      • noisettetbouundefined
        noisettetbou @Phaedrux
        last edited by

        @Phaedrux said in Stall detection with 2 motors:

        Well what behaviour do you want when a stall is detected? stop both motors or stop each individually?

        I want to stop both motors. No choice, they're in series on the same driver.
        This is the results of my M98 P"config.g" :
        09/09/2020 à 22:16:49 M98 P"config.g"
        HTTP is enabled on port 80
        FTP is disabled
        TELNET is disabled
        Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C
        Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 269C

        Note my My PID aren't done for heaters errors.

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator @noisettetbou
          last edited by Phaedrux

          @noisettetbou said in Stall detection with 2 motors:

          I've found more than 1000 mm/s. It's crazy !

          That seems wrong based on your motor specs. My calculation gives 145mm/s

          b06c2710-6e30-4399-b172-89ab830a5ef1-image.png

          Stall detection H value			
          Hmin = full_steps_per_rev * rated_current * actual_current/(sqrt(2) * pi * rated_holding_torque)			
          Full_steps_per_rev	200		
          Rated_current (A)	2.100		
          Actual_Current (A)	1.000		
          Rated_holding_torque (Nm)	0.650		
          Squareroot(2)	1.414		
          Pi	3.142		
          Hmin	145.436
          

          You may be able to reduce that speed further if you reduce the motor current further. You should try reducing it as much as possible such that you still have reliable movement. Right now you're using 50%, try 30%.

          Z-Bot CoreXY Build | Thingiverse Profile

          noisettetbouundefined 1 Reply Last reply Reply Quote 0
          • noisettetbouundefined
            noisettetbou @Phaedrux
            last edited by

            @Phaedrux
            Thanks for the calculation. I've confused the units of torque.

            I've tried speeds up to 300 mm/s and differents current between 20 and 100% but nothing.

            1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by

              When you say the motors rotate in opposite directions, what do you mean?

              Can you post a photo of the printer?

              Z-Bot CoreXY Build | Thingiverse Profile

              noisettetbouundefined 1 Reply Last reply Reply Quote 0
              • noisettetbouundefined
                noisettetbou @Phaedrux
                last edited by noisettetbou

                @Phaedrux
                That's a link to a photo of Y axis :
                https://photos.app.goo.gl/oeFLBnE1iaKtcJMNA
                The motors are biaxials and synchonysed by a shaft

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

                  @noisettetbou possibly crazy talk but could you disable one stepper for homing only? As they're synchronized by a shaft you should be able to live with that.

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

                  noisettetbouundefined 1 Reply Last reply Reply Quote 0
                  • noisettetbouundefined
                    noisettetbou @oliof
                    last edited by

                    @oliof
                    It's a good idea. I've tried and it is the same problem.
                    So 2 motors on same driver and the series wiring aren't the source of the problem.
                    I'm trying to invert drivers.

                    noisettetbouundefined 1 Reply Last reply Reply Quote 0
                    • noisettetbouundefined
                      noisettetbou @noisettetbou
                      last edited by

                      I've tried to invert driver with X and always the problem. As if my Y motors aren't compatibles with the stall detection.
                      Is it possible ? Crazy, no ?

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

                        Oh two steppers on a single driver? I can see how that will be bothersome/impossible. Maybe if you drive each motor independently ...

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

                        noisettetbouundefined 1 Reply Last reply Reply Quote 0
                        • noisettetbouundefined
                          noisettetbou @oliof
                          last edited by

                          @oliof
                          It's no a problem if current is respected. I use two motors on same driver in X axis and no problem. And I done as you said for trying, so there is only one motor right now, and no good stall detection...

                          1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator
                            last edited by

                            I think an endstop switch might be in your future.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            noisettetbouundefined 1 Reply Last reply Reply Quote 0
                            • noisettetbouundefined
                              noisettetbou @Phaedrux
                              last edited by

                              @Phaedrux
                              I think too... 😢 but I would like to understand

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

                                Have you used the motor EMF calculator at reprapfirmware.org to verify that you have enough VIN voltage to drive 2 motors in series without loss of torque?

                                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

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

                                  Difference between X and Y is often that Y moves more mass and there for needs better tuning. But I agree that an endstop likely will give you reliable results faster.

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

                                  1 Reply Last reply Reply Quote 0
                                  • noisettetbouundefined
                                    noisettetbou @dc42
                                    last edited by

                                    @dc42 @Phaedrux @oliof
                                    dc42 has reason. My voltage is enough for each axis but limit for all axis in the same time.
                                    So i've decided to installing a Duex5.

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