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

Motor Currents

Scheduled Pinned Locked Moved
Duet Hardware and wiring
8
20
5.6k
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.
  • undefined
    Samuel235
    last edited by 2 Nov 2016, 06:48

    Hi guys,

    I'm using motors linked here, they have a rated current of 1.7A - https://www.aliexpress.com/item/Free-shipping-5pcs-4-lead-Nema17-Stepper-Motor-42-motor-Nema-17-motor-42BYGH-1-7A/32224502677.html?spm=2114.13010608.0.0.OH30Dk

    My question is, does the number you enter into the config.g file mean that the motors will run at that rating constantly or is that you saying that is the max they should run at? Do i put 1700 in the config.g section for the motor currents or do i bring this figure down a little?

    Thanks,
    Sam.

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 2 Nov 2016, 07:07

      I recommend you run the motors at between 50 and 85% of their rated current. At 100% they will get rather hot.

      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
      • undefined
        Samuel235
        last edited by 2 Nov 2016, 07:21

        Yeah, i'm aware of the consequences of motors running full 100%, its just that i didn't know what this figure in the config.g is taken for. Obviously, as you have replied in the manor you have, i can safely assume that these figures are the constant current they are ran at. So i should change my current in the config.g to around 1-1.2A. Would you say that is a pretty safe figure then?

        1 Reply Last reply Reply Quote 0
        • undefined
          T3P3Tony administrators
          last edited by 2 Nov 2016, 10:46

          I would set the current as low as possible without you experiencing issues with motor stalling. 1A to 1.2A is a good start point. As an example the Y motor on my BigBox runs happily at 800mA, other designs with heavier axis or faster acceleration would require a higher setting.

          Once you are up and running it's quick to test motor current and acceleration to find the best compromise between motor temperature and torque required for your specific setup.

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • undefined
            Samuel235
            last edited by 2 Nov 2016, 14:55

            Okay, awesome! I will put it down to 1.2 and see how that runs, if there is no issues, i could bring it down a little more. Thank you!

            1 Reply Last reply Reply Quote 0
            • undefined
              terabyte
              last edited by 3 Nov 2016, 03:19

              From a practical stand point, set it lower, as have been suggested by David and Tony. I have used just 500ma with good results until I have started printing faster, then I have bumped it up to 1A. My drivers stay cool, and steppers (2A rating) are just a little warm when printing. You can also play with the idle current. I think that default is 60%, but in some cases, it could be lowered to 30%.

              To know for sure what 1.7A is, you would have to read some fine print in the instructions manual or the manufacturer website, but usually, it is the effective current (which is usually stated as RMS or root mean square for a sin wave AC current). I assume that we are setting the effective current in the config.

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 3 Nov 2016, 07:57

                The figure you put in config.g is the peak current per phase that the drivers will deliver to the motors.

                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
                • undefined
                  terabyte
                  last edited by 4 Nov 2016, 01:06

                  @dc42:

                  The figure you put in config.g is the peak current per phase that the drivers will deliver to the motors.

                  Thanks for the clarification. That removes any doubts.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    Samuel235
                    last edited by 4 Nov 2016, 06:14

                    Awesome, thank you guys. I will be sure to get that set to the lowest i can possibly go.

                    I'm pretty sure i could go quite low as i'm looking for speed out of this printer right now, quality is much more worthwhile for me on this machine. I might build a separate machine running another duet simply for speed to save me keep switch up settings and config.

                    Thank you!

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      dc42 administrators
                      last edited by 4 Nov 2016, 08:00

                      A risk of going too low is that if you get a blob or curl up on your print and the head hits it, at lower currents the motor is more likely to skip steps. Also at very low currents, the microsteps are less uniform because the detent torque becomes significant in comparison to the torque due to current. That's why I suggested a minimum of 50% of rated current.

                      The motors on my delta are rated at 1.68A and I run them at 1.0A which is about 60%. The heat generation increases with the square of the current, so at 1A they only generate 35% as much heat as they would at full current.

                      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
                      • undefined
                        deckingman
                        last edited by 4 Nov 2016, 08:15

                        @Samuel235:

                        I might build a separate machine running another duet simply for speed to save me keep switch up settings and config.

                        Thank you!

                        That sounds a bit extreme. Don't forget that just about anything that goes in you config.g can be overridden. So, for example if you wanted to increase the motor currents in order to be able to print a particular item faster, you can change them in the start g-code of you slicer (and put them back to "normal" in the end g-code). I do a similar thing with my homing files but in this case I lower them at the start in order to limit potential damage in the (unlikely) event of an end stop not triggering, then put them back up at the end of the homing file. Be aware also that you can use the "I" parameter in your M906 command to set the motor idle factor. I run my 2.0 Amp steppers at 1.8 amps for printing (because I have a big heavy hot end to throw around) but lower this to 20% when the motors are idle which is more than sufficient for my machine.

                        HTH

                        Ian
                        https://somei3deas.wordpress.com/
                        https://www.youtube.com/@deckingman

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Dougal1957
                          last edited by 4 Nov 2016, 08:31

                          Better may be to have a pair of macros a high speed one and a low speed one rather than mess with the Slicer settings each time mind having said that you'd need to anyway to tell the slicer to speed up.

                          Beauty of S3D is that you can set up different profiles/processes for just this?

                          Doug

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            deckingman
                            last edited by 4 Nov 2016, 09:10

                            Hi Doug,

                            You could do it all with a macro - just add an M220 command to increase the overall speed. That's a bit crude though as you'd probably want to keep things like bridge speed, small perimeters and gap fill quite low. In this respect, Slic3R will do the same as S3D. You'd just put the motor currents in the Start and End gcode section of your printer then click Save As and call it "MyPrinterHighCurrent" or some such. Then in "Print settings" change the speeds but selectively rather than globally the do a save as "Fast" or some such. So, you can easily toggle between standard and high current printer versions and also standard and fast speed.

                            Ian

                            Ian
                            https://somei3deas.wordpress.com/
                            https://www.youtube.com/@deckingman

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              Dougal1957
                              last edited by 4 Nov 2016, 09:21

                              There is always more than one way to skin a cat as they say lol

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                deckingman
                                last edited by 4 Nov 2016, 10:02

                                @Dougal1957:

                                There is always more than one way to skin a cat as they say lol

                                Totally agree, and the best way to skin a cat varies from individual to individual depending on what tools they have available and how familiar they are with those tools.

                                Ian
                                https://somei3deas.wordpress.com/
                                https://www.youtube.com/@deckingman

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  Dougal1957
                                  last edited by 4 Nov 2016, 10:09

                                  Exactly?

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    Kenya
                                    last edited by 4 Nov 2016, 15:53

                                    Hi everyone,

                                    In the recommendations they say we should use motors with rated current of at least 1.2A. Why ? What if I use a motor with lower rated current ?
                                    And what change when I run the motor with lower or higher current ?
                                    Thanks

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      dc42 administrators
                                      last edited by 4 Nov 2016, 16:34

                                      If you use a motor with a lower rated current, then unless it is a very short motor it will have high inductance, and that will limit the maximum available movement speed.

                                      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
                                      • kenblu24undefined
                                        kenblu24
                                        last edited by 8 Nov 2016, 21:38

                                        What about stallguard on the duet wifi? If M906 sets the maximum allowed current, then what determines the normal operating current?

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          dc42 administrators
                                          last edited by 8 Nov 2016, 22:01

                                          M906 does set the normal operating current.

                                          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
                                          4 out of 20
                                          • First post
                                            4/20
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA