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

    Layer shift detection?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    10
    53
    2.8k
    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.
    • Edgars Batnaundefined
      Edgars Batna @NitroFreak
      last edited by Edgars Batna

      @NitroFreak said in Layer shift detection?:

      You shouldn´t forget that steppers have big torque at basically 0 Rpm, but then fall off really quickly.
      This is what a nema 17 torque curve looks like for a really beefy 63mm stepper (what e3d calls a super whopper)

      That doesn't entirely apply to integrated stepper drivers like TMC used in the Duet. They get very close to constant torque because of what I said previously.

      1 Reply Last reply Reply Quote 0
      • zaptaundefined
        zapta @NitroFreak
        last edited by

        @NitroFreak said in Layer shift detection?:

        Give me a Duet 3 without any stepper drivers that has the breakout pins right on the board, and I´d be so happy.

        It's just a matter of market demand. If there is sufficient demand, Duet will be happy to come with such a product. One thing you can do is committing for large quantities for whatever product you want.

        1 Reply Last reply Reply Quote 0
        • Danalundefined
          Danal @NitroFreak
          last edited by

          @NitroFreak said in Layer shift detection?:

          So, Price right now on Duet3d website for the Duet 3 is 185 Pounds. I´d expect a realistic price of around 125 Pounds for a Duet 3 without drivers.

          Sounds good to me. And, as I mentioned in a prior post, I'd actually like to see this as well. I support the move of the entire industry to closed loop.

          Please let me know how wrong my assumptions and calculations are.

          Perhaps my "Are you kidding?" kicked this off on the wrong foot. I apologize.

          Seriously, tone is really hard to convey when communications are entirely written, and I used a phrase that might have worked in a face-face conversation, yet that clearly caused miscommunication on a forum.

          I apologize.

          Delta / Kossel printer fanatic

          NitroFreakundefined 1 Reply Last reply Reply Quote 1
          • NitroFreakundefined
            NitroFreak @Danal
            last edited by

            @Danal said in Layer shift detection?:

            Seriously, tone is really hard to convey when communications are entirely written, and I used a phrase that might have worked in a face-face conversation, yet that clearly caused miscommunication on a forum.

            I apologize.

            No hard feelings, i understand

            @Edgars-Batna said in Layer shift detection?:

            That doesn't entirely apply to integrated stepper drivers. They get very close to constant torque because of what I said previously.

            What do you mean? Do you have a source for that claim?
            Integrated just means they are soldered on the board instead of pushed in a socket or connected externally.
            The torque drop off is largely due to the design of the stepper motor itself.
            I´m not going into detail, there´s wikipedia or books for that, but in short Inductance and lack of time for the current to build in the windings is the leading cause for step motors losing torque at high speeds.
            You can mitigate that by increasing the voltage which in turn builds current faster.

            Edgars Batnaundefined 1 Reply Last reply Reply Quote 1
            • Edgars Batnaundefined
              Edgars Batna @NitroFreak
              last edited by

              @NitroFreak said in Layer shift detection?:

              @Danal said in Layer shift detection?:

              Seriously, tone is really hard to convey when communications are entirely written, and I used a phrase that might have worked in a face-face conversation, yet that clearly caused miscommunication on a forum.

              I apologize.

              No hard feelings, i understand

              @Edgars-Batna said in Layer shift detection?:

              That doesn't entirely apply to integrated stepper drivers. They get very close to constant torque because of what I said previously.

              What do you mean? Do you have a source for that claim?
              Integrated just means they are soldered on the board instead of pushed in a socket or connected externally.

              Fixed:
              That doesn't entirely apply to integrated stepper drivers like TMC used in the Duet.

              NitroFreakundefined 1 Reply Last reply Reply Quote 0
              • NitroFreakundefined
                NitroFreak @Edgars Batna
                last edited by

                @Edgars-Batna said in Layer shift detection?:

                Fixed:
                That doesn't entirely apply to integrated stepper drivers like TMC used in the Duet.

                I just looked through the 2660 datasheet (https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC2660_datasheet.pdf)
                and couldn´t find any reference to a torque curve or generally a flat torque band thanks to the 2660.
                Could you elaborate some more?

                Edgars Batnaundefined 1 Reply Last reply Reply Quote 0
                • Edgars Batnaundefined
                  Edgars Batna @NitroFreak
                  last edited by Edgars Batna

                  @NitroFreak said in Layer shift detection?:

                  @Edgars-Batna said in Layer shift detection?:

                  Fixed:
                  That doesn't entirely apply to integrated stepper drivers like TMC used in the Duet.

                  I just looked through the 2660 datasheet (https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC2660_datasheet.pdf)
                  and couldn´t find any reference to a torque curve or generally a flat torque band thanks to the 2660.
                  Could you elaborate some more?

                  The torque curve is not flat, but it's "good enuf" and absolutely not falling rapidly. Obviously, you're better off with a servo for high speed applications, but within a 3d printer TMC manages really well. That's what I understand from reading the docs and from experience.

                  https://www.youtube.com/watch?v=Prw7wNa20Gk

                  1 Reply Last reply Reply Quote 0
                  • mrehorstdmdundefined
                    mrehorstdmd @NitroFreak
                    last edited by

                    @NitroFreak Wait just a minute... a "super whopper" stepper has stall torque of 85 oz-in? That's a medium sized NEMA-17 stepper spec, not a "super whopper". I've seen NEMA-17 motors that go up to 110 oz-in.

                    A 52W servo has torque of 17 oz-in. That's like a pancake stepper. Can you drive a 3D printer mechanism with that?

                    I'm using 64 oz-in steppers to drive X and Y in my corexy machine, and they don't seem to have any trouble throwing the 1.5 kg moving mass around, but can 17 oz-in manage that? Maintaining torque up to 3000 rpm is nice, but there's no need for 3000 rpm in a printer, unless maybe you gear the motor down to get more torque at the more typical speeds.

                    What am I missing?

                    https://drmrehorst.blogspot.com/

                    deckingmanundefined NitroFreakundefined 2 Replies Last reply Reply Quote 0
                    • deckingmanundefined
                      deckingman @mrehorstdmd
                      last edited by

                      @mrehorstdmd I think you and I are on the same page here. I was getting quite excited about these servos until I started looking at the specs and prices. The steppers I use for X and Y are 59N.cm (84 Oz.in) and they throw my 2Kgs plus around with non-print speeds of 350mm/sec by default with no probs at all and I can buy five for 33 GBP (just over £6 each) which is about 1 tenth the cost of a servo it seems. https://www.omc-stepperonline.com/nema-17-stepper-motor/5pcs-of-nema-17-bipolar-59ncm-84oz-in-2a-42x48mm-4-wires-w-1m-cable-and-connector.html

                      I did go up to slightly bigger Nema 23s for my UV because that weighs in at around 3Kgs but I only run these at 2.4Amps and they are still only about £12 each.

                      So given my non-print move speed is 350mm/sec and with a 16 tooth 2mm pitch pulley that's about 11 rev/s sec or 660 rpm. If my maths serves me correctly, 3,000 rpm is about 1,600 mm/sec and I ain't never going to use that. So personally I'll stick with the £6.00 stepper (plus say a tenner for the Duet driver) instead of the £70 servo.

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

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

                        I'm not really up on my servo motors, but aren't there different types of motor used? As in servo motor refers to a motor with positional awareness through an encoder and PID loop, whereas stepper motors all use the same phased coil setup to produce motion, but there are AC induction servo motors or brushless DC servo motors etc etc.

                        Z-Bot CoreXY Build | Thingiverse Profile

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

                          @mrehorstdmd said in Layer shift detection?:

                          @NitroFreak Wait just a minute... a "super whopper" stepper has stall torque of 85 oz-in? That's a medium sized NEMA-17 stepper spec, not a "super whopper". I've seen NEMA-17 motors that go up to 110 oz-in.

                          A 52W servo has torque of 17 oz-in. That's like a pancake stepper. Can you drive a 3D printer mechanism with that?

                          I'm using 64 oz-in steppers to drive X and Y in my corexy machine, and they don't seem to have any trouble throwing the 1.5 kg moving mass around, but can 17 oz-in manage that? Maintaining torque up to 3000 rpm is nice, but there's no need for 3000 rpm in a printer, unless maybe you gear the motor down to get more torque at the more typical speeds.

                          What am I missing?

                          I´m not specific about one stepper. I took that datasheet off of Moon´s website. They list it for 1.5A, i think e3d lists their torque at 1.8 or 2A. So there´s the difference.

                          I think you answered your own question, if the tiniest 52W servo with 0.125 Nm is not enough for you but you dont need 3000 rpm, there´s the answer for you. Also, you can´t quite say that the stepper has 64 "oz-in" because thats at literally 0 RPM. After that it falls off dramatically, just look at the curve.

                          If the nema 17 servo is not enough, get the nema 23 180w, that one has 0.57 Nm, which is the same as a nema 17 stepper but it goes right up to 3000 rpm.

                          Everybody is forgetting that for steppers you still need the stepper drivers, which come onboard the servos.
                          @deckingman sorry but that is no big feat, you use an acceleration of only 1000 mm/s².
                          If you remember from high school physics, objects in Motion stay in motion unless force is applied.
                          So just moving the axis at X velocity does not make the motors powerful.
                          The acceleration is where it´s at. (F = m*a) I want to see you accelerate your gantry at maybe 1g (10.000 mm/s²) up to 350mm/s.

                          This is why servos are great.
                          My servo has 0.57 Nm torque, with the 20/72 gearing there is 2,05 Nm which means with a tooth radius of 15.35mm a Force of 133 N which accelerates the gantry of 5 kg with 26,63 m/s² (26630 mm/s²) or ca. 2.7g
                          right up to the top speed of 1389 mm/s at 3000rpm. Yes, all that with my "puny" 0.57NM (80.7 oz in) geared down servo.
                          That is about 26x the acceleration that you are running. And that is at 100% duty cycle. You can run this motor at 300% for 10% duty cycle, amounting to 79.8 m/s² for a short period (yes, 8g!) I´ve tried it once at 5g and i literally had to tie down the printer to the wall to stop it from shaking itself to death.
                          I use two e3d super whoppers on my X axis and they can´t keep up.
                          The added cost is very much worth it for me, my next printer will definitely have servos in all axes.
                          There´s no way i´m going back. It´s like saying I´m trading my 1000hp F1 engine for a 150hp diesel because it has more torque at 900rpm. It just doesn´t make sense.

                          Honestly, you guys can do whatever you want- I´m not pressuring you into doing anything.
                          If the other 8 advantages that i listed dont offer any advantage for you, then i can´t help you.
                          There´s people that complain about skipped steps, loud noise, VFA´s which all go away by using a servo and you complain that you have to gear it differently? You want to tell me that you´d rather have skipped steps, loud noise, VFA´s and more power consumption than just gear differently one time when building the printer?

                          mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                          • sebkritikelundefined
                            sebkritikel
                            last edited by sebkritikel

                            A reminder that the actual torque a stepper motor would provide for a 3D printer is Torque * .71 * .098, with 71% coming from the torque drop when using microstepping and 9.8% coming from reducing motion lag to be less than 1/16th a microstep during acceleration. Add in another loss from multiplying by 85% if you aren't running your stepper motors at full current.

                            The NEMA23s I have provide .74Ncm at 2.8amps, but including the losses, .74Ncm * .85 * .71 * .098 = 4.4Ncm (6.23 oz*in). I then gear that down so I can get ~4000m/s^2 acceleration on my IDEX gantry (depending on how I calculate the mass 😉 ), with the gearing providing ~8.3N in the direction of travel.

                            Large(ish?) IDEX - 6HC, 1HCL
                            Stratasys Dimension 1200es to 6HC Conversion

                            1 Reply Last reply Reply Quote 0
                            • mrehorstdmdundefined
                              mrehorstdmd @NitroFreak
                              last edited by

                              @NitroFreak Whoa! No one is saying you're putting any pressure on anyone. I'm just trying to understand. I guess the numbers make sense, just hard to believe. I ordered a couple of the 0.185 N-m NEMA-17 motors to try out. By my calculations, even without gearing it down, in my printer it should be able to accelerate the X axis at 1.7 G and hit a top speed of 2000 mm/sec. All this ignores friction, etc, but it seems there's plenty of margin to allow for that.

                              Is there anything special that you have to do to drive it from the Duet board (other than grab the step/dir/enable signals)? How does the servo's internal acceleration/deceleration interact with the acceleration in the Duet?

                              Now all I have to do is wait a month for delivery if the virus situation and trade wars don't screw that up.

                              https://drmrehorst.blogspot.com/

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

                                @mrehorstdmd
                                Sorry that was mostly directed at @deckingman as it seemed he wanted to convey the message that steppers are superior.

                                If you have any chance to fit the nema 23 version , preferably the 180w get that one because it is only marginally more expensive and you´re going to have all the power you´ll ever need.

                                You need the duet breakout board to drive the servo input at 5v, as 3.3v is not sufficient.
                                There´s minimum step and setup timings that you need to account for, they are all written in the documentation and you can put them in the duet using this guide

                                https://duet3d.dozuki.com/Wiki/Using_external_stepper_motor_drivers#Section_Using_External_Drivers_for_X_Y_Z_Axis

                                You need to set the step timing, for the JMC it´s usually 2.5 microseconds, but i recommend going a bit higher, like 5 microseconds.

                                https://duet3d.dozuki.com/Wiki/Gcode#Section_M569_Set_motor_driver_direction_enable_polarity_and_step_pulse_timing

                                You also need a usb to serial adapter for programming the servos. You can use them as-is but they will be very soft and not hold any tolerances.
                                I recommend one with a genuine FTDI chip as these are the best. I use this one

                                https://www.ebay.de/itm/DE-UG394-USB-2-0-TO-DB9-RS-232-adapter-Cable-FTDI-chipset-1-Meter/283538871347?hash=item42043bd433:g:Y-4AAOSwUYpdH7au

                                But this one could work, i don´t know if it´s a genuine FTDI chip

                                cheapo chip

                                If you have any questions, you can ask me. I´m really happy when more people adapt servos, it drives the community as a whole forward i think.

                                mrehorstdmdundefined deckingmanundefined 2 Replies Last reply Reply Quote 0
                                • mrehorstdmdundefined
                                  mrehorstdmd @NitroFreak
                                  last edited by

                                  @NitroFreak Thanks for the info. I have a month to wait and plan, get a breakout board, and make cables to connect them to the Duet. I may be in touch again once the motors arrive. I'll be trying them in my printer and in the sand table. If I like how they work I'll order another set for whichever machine doesn't get the first set of motors.

                                  https://drmrehorst.blogspot.com/

                                  1 Reply Last reply Reply Quote 0
                                  • deckingmanundefined
                                    deckingman @NitroFreak
                                    last edited by deckingman

                                    @NitroFreak said in Layer shift detection?:

                                    @mrehorstdmd
                                    Sorry that was mostly directed at @deckingman as it seemed he wanted to convey the message that steppers are superior.

                                    That is absolutely not true at all. The message was that the steppers I use are more than adequate for my application and they cost less than 1 tenth of a servo motor. A servo motor might well be superior but I can't make use of it's potential on my 3D printer. The reason I use 1000 mm/sec^2 acceleration is that the total moving mass is around 5Kgs and if I accelerate and decelerate that too fast, it puts more forces into the frames than I am comfortable with.
                                    It's a bit like me buying an expensive Ferrari that's capable of 155 mph and using it exclusively for the school run in heavy traffic. It may be a superior vehicle, but what's the point of spending big bucks for something that you can't use to its potential?

                                    Edit. I've just compared prices from my normal supplier. The steppers I use cost around £7.79 bought individually with no bulk discounts applied. Ignoring specs for now, the very cheapest servo motor they supply costs £75.39. I use 13 motors on my printer. Total cost for steppers is therefore around £101.27. Total costs for servos would be £980.27. An extra £880 for superior performance but which I can't make use of for the reasons given above.

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

                                    1 Reply Last reply Reply Quote 1
                                    • zaptaundefined
                                      zapta
                                      last edited by zapta

                                      Marco Reps has an interesting video about closed loop motors. Very interesting.

                                      https://www.youtube.com/watch?v=p4ltHDpxrbI

                                      Apparently some TMC controllers do support encoders.

                                      09caf486-a215-44e4-b2dc-9b1421257e47-image.png

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