What Makes TMC2208 Stepper Motor Drivers Silent?

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ค. 2024
  • In this video, we're going to take a look at what TMC2208 stepper motors do differently to allow them to drive stepper motors near silently. We'll use a simple oscilloscope to plot actual current measurements so that we can visualise the difference.
    ADDITIONAL INFORMATION
    ---------------------------------------------------
    Here's a link to my blog post that has more information on the test setup and the test code for the Arduino - www.the-diy-life.com/what-mak...
    PURCHASE LINKS
    ---------------------------------------------------
    TMC2208 Stepper Motor Driver - amzn.to/3ActByP
    A4988 Stepper Motor Driver - amzn.to/3OqvcWa
    Arduino Uno - amzn.to/3OutOlz
    Nema 17 Stepper Motor - amzn.to/3HX8Zg5
    Basic Breadboad Kit - amzn.to/3y60bQB
    12V 2A Power Supply - amzn.to/3QYyIZr
    Equipment Used:
    Pokit Multimeter & Oscilloscope - bit.ly/44AlCrZ
    Some of the above parts are affiliate links. By purchasing products through the above links, you’ll be supporting this channel, at no additional cost to you.
    CHAPTERS
    ---------------------------------------------------
    0:00 Intro
    1:32 Test Setup
    2:02 A4988 Driver
    5:34 TMC2208 Driver
    7:32 Final Thoughts
    If you've got any ideas for Raspberry Pi, Arduino, or other Electronics projects or tutorials you'd like to see, let me know in the comments section.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 269

  • @3ffrige
    @3ffrige ปีที่แล้ว +163

    Back in the days when I used to work for Xerox doing field service in downtown Oahu HI on Xerox’s 50xx and 53xx series low volume copy machines, it always amazed me how quiet the platen scanners were in the 5328 vs the older generation 5028 (for example).
    One day at the Xerox warehouse in downtown Honolulu, I found myself sitting in my car on my lunch break staring at the driver boards for the platen scanners, wondering what in the world made this machine so quiet. The 5328 series driver boards look damn near identical to the 5028 driver boards. You can even stick a 5328 driver board into the 5028 copier if you wanted a quieter running, older copy machine. Mind you, the entire being of the 5328 was quiet. The platen scanners, the ADF feed drive and ADF belt drive (the big ass white belt that drags your original documents onto the platen glass from the document feeder on top of the glass for your documents) ran quiet. At that time, I was amazed at every single improvement done on the 5328 from its 5028 predecessor. Every single stepper in the 5328 had this characteristic, with parts interchangeable with the 5028. Every single headache that the 5028’s gave customers were addressed in the 5328. Using almost identical electronics. WTF, right?
    The Xerox gig I had was my very first technical job out of school, so this was over 28 years ago. Watching this video, I finally know how the Xerox engineers made the next generation 53xx series covers run quiet.
    Thank you for that!

    • @TechGorilla1987
      @TechGorilla1987 ปีที่แล้ว +4

      I miss The Monkey Bar in Pearl City. That's going back a ways.

  • @daliasprints9798
    @daliasprints9798 ปีที่แล้ว +207

    The microstepping is only one ingredient in being quieter. Stealthchop (on by default and in your test I think?) is another. But even with Stealthchop off and interpolation to 256 microsteps off (real nominal microstepping) it's significantly quieter than A4988 at same (eg 16) number of microsteps. It'd be interesting to measure why.

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว +50

      Yes there are a few factors that play into silent operation, I've found that this seems to be the largest contributor.
      Here's an interesting read by TI on some other sources of noise and how some driver's work to overcome these - www.ti.com/lit/an/slvaes8/slvaes8.pdf

    • @ClosestNearUtopia
      @ClosestNearUtopia ปีที่แล้ว +5

      Maybe because of the self induction effect of the coils, at lower microsteps, the coil might no always will be saturated, while on higher it will, and thus make less microfibration in the stator plates.

    • @SianaGearz
      @SianaGearz ปีที่แล้ว +4

      As you can see the a4988 actually skips a few microsteps as it's unable to drive very small currents. You can actually tune this behaviour with a resistor but it'll run much hotter when you tune it in and can cause other issues.

    • @ChrisgammaDE
      @ChrisgammaDE ปีที่แล้ว +1

      Yes, MicroPlyer only makes it so that even a fullstep is as smooth as a 256th step.
      The true magic lies in their "StealthChop" that automatically analyzes back emf and adjusts phase currents. Make it super smooth, but also needs a ton of current to make the stepper have at least some tourque

    • @ManWithBeard1990
      @ManWithBeard1990 ปีที่แล้ว +1

      Coolstep might have something to do with it. That limits motor current when less torque is needed.

  • @peacekper
    @peacekper ปีที่แล้ว +33

    Man, you really are doing everybody a service with this video. Thank you so much for going through all this effort to educate us. This video was awesome!

  • @1kreature
    @1kreature ปีที่แล้ว +57

    I'd like this test to be done while at proper speeds, not at a constant slow speed.
    Also, while changing speed as the added interpolation will have to guess how the speed will change in the future to create a non discontinuous signal that causes noise.
    Acceleration curves should be visible if stepped pulserate is used, stepping back and forth between the rates and triggering scope on the change.

  • @rewolff2
    @rewolff2 ปีที่แล้ว +30

    The main "break" in the A4988 sinewave is the part-square-wave that you see poking through. That's because of a configuration error on the original pololu driver that everybody since then has copied. It's a whole lot better when you modify the stepper driver to change the chips configuration.

    • @josephcsible
      @josephcsible ปีที่แล้ว +14

      Can you link to a page that talks about the error and says how to fix it?

    • @JaroslavGrochal
      @JaroslavGrochal ปีที่แล้ว

      @@josephcsible ROSC pin need to be grounded, see pg. 7 and 8 here: www.pololu.com/file/0J450/a4988_DMOS_microstepping_driver_with_translator.pdf

    • @bzqp2
      @bzqp2 ปีที่แล้ว

      Huh, I never heard about it.

    • @moretti740
      @moretti740 11 หลายเดือนก่อน +1

      Similar to the drv8825 fast decay mod. It runs very smooth after that mod, but they still whine a lot (still talking about the drv8825)

    • @rewolff2
      @rewolff2 หลายเดือนก่อน

      @@josephcsible Sorry.... Own research written up here on youtube in the comment above.... I'm not much of a writer. Actually I've modified one of those A4988 boards to disable the fast decay, concluded it was working much better and then... continued using unmodified stepper driver boards. To me the problem is solved once I KNOW how to fix it. I'm the mathematician in the joke about the engineers put in a room with a garbage bin that's on fire. Math-engineer: There is a solution .... and it is not unique.

  • @feryxd6457
    @feryxd6457 ปีที่แล้ว

    I have always found your shoulder to lean on whenever I needed it. Happy Birthday to the loveliest brother!

  • @Viking8888
    @Viking8888 11 หลายเดือนก่อน +3

    That was an awesome explanation. Thanks for the demo. I had no idea how that worked at all. I was just glad my 3D Printer came with silent drivers!

  • @MarcusBuer
    @MarcusBuer ปีที่แล้ว +34

    Decrease in incremental torque doesn't mean what most people think it means. The torque overall is the same on the fullstep and half step positions, independently if you are using full step or microstepping, it only decreases the torque in the interval between the steps, because it is trying to hold in a position that is between the coils. So there is no lost torque, only incremented accuracy, with a precision still within the full step precision.

    • @pizzablender
      @pizzablender ปีที่แล้ว +4

      Indeed, microstepping does not reduce torque. But the higher accuracy expected is only available at lower torques. Just as with full steps.

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว +2

      Yes that's true, but this is plays a role if you're operating near the maximum torque that is able to be produced (i.e. a heavy 3D printer gantry etc.) as you are very often going to be operating at points between steps and any movement of the rotor when being held at one of the intermediate steps will cause unwanted artifacts on your prints.

    • @MarcusBuer
      @MarcusBuer ปีที่แล้ว

      @@MichaelKlements Microstepping will almost always result in less artifacts than full / half stepping.

    • @TheRainHarvester
      @TheRainHarvester ปีที่แล้ว

      Be sure to use magic numbers for z height tio avoid artifacts on height. Idk if they can help in x and y.

  • @_KingRaz
    @_KingRaz 5 หลายเดือนก่อน +2

    What an incredibly useful, straightforward, and informational video. Great work dude, thanks!

  • @TheJacklwilliams
    @TheJacklwilliams ปีที่แล้ว +1

    As always Michael, great stuff! Hope your fairing well! Keep up the amazing work!

  • @electronics.unmessed
    @electronics.unmessed 10 หลายเดือนก่อน +1

    Michael, kudos for that video. I need to consider this in my projects to reduce stepper motors noise.

  • @1pcfred
    @1pcfred ปีที่แล้ว +30

    You only get an increase in torque by increasing voltage at high step rates. That is due to inductive reluctance. The higher the step rate the smaller the window to dump current into the motor windings. At some high speed that short duration becomes an issue. Inductors resist changes in current. Voltage overcomes that inductive reluctance. Reluctance is like active resistance.

    • @thegame4027
      @thegame4027 ปีที่แล้ว +1

      That's why you can programm the tmc drivers to switch to full step mode at a certain speed.

    • @1pcfred
      @1pcfred ปีที่แล้ว +1

      @@thegame4027 I do not want to run in full step sequence ever. That's why I just have a controller fast enough to handle the pulse stream.

    • @fortheregm1249
      @fortheregm1249 ปีที่แล้ว

      Yes but at higher voltages the heat produced in the drivers just goes out of hand. the steppers also seem to get much louder. I think its best to figure out what MAX speeds you need on your setup and afterwards adjust the voltage to support that. Prusa says ideal seems to be 28V. I personally run the drivers at 19v

    • @1pcfred
      @1pcfred ปีที่แล้ว +1

      @@fortheregm1249 stepper drives are constant current devices. They're a bit more involved than say a resistive load is. So what your input voltage is will not affect power output linearly. If your motor is loud then that means the current isn't set properly on the drive for the motor you're using. What's going on there is all rather complicated. How a lot of driver boards say to set current really isn't. If you're not measuring then you've no idea what's really going on. You only think that you do.

    • @fortheregm1249
      @fortheregm1249 ปีที่แล้ว +2

      ​@@1pcfred for higher voltages the drivers have to PWM the MOT voltage at different frequency to get the same output. and more heat is produced in mosfets during transitions.
      regardless of load being resistive or inductive you will produce more heat in drivers when you have to step down the voltage from a higher start point.
      but what I said in my first post was just an observation, I was adjusting MOT voltage for a SPI configured 2130s and 5160s and the higher voltages was producing way too much heat and noise.
      cooling 2130s on anything above 30v seemed not worth the hassle to me.

  • @toddkerns4493
    @toddkerns4493 5 หลายเดือนก่อน +1

    Wow, that was a great video! I had no idea that the number of microsteps were so important. Thanks.

  • @Blorkus
    @Blorkus ปีที่แล้ว +2

    Excellent video! I switched everything I have over to TMC drivers, and now I know why they're so good! I'd love to see the waveform as the motor accelerates up and down, I do wonder how that sine wave ends.

  • @richienorthcott
    @richienorthcott 10 หลายเดือนก่อน +1

    Thanks for this - I have been building mechanical some clocks driven by Arduino and a small stepper motor. I had been using the A4988, but was frustrated by the noise/vibration at the low speed I'm using (1.5RPM). These are a total game changer, it runs silently now.

  • @zitwaar5469
    @zitwaar5469 ปีที่แล้ว +1

    I had no idea how much i needed this video!

  • @bobgeisel13
    @bobgeisel13 ปีที่แล้ว +4

    Excellent Video with a great explanation of silent drivers. Time to update some of my stepper motor projects. Also, I really like the Pokit tool.

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว

      They're definitely a worthwhile upgrade!

  • @Destructor111
    @Destructor111 ปีที่แล้ว

    Great video, and an unexpected bonus is that your observation about interrupting the circuit with the meter may offer a solution to a problem with my own printer! Fascinating. Well presented information, thank you. Liked and Subbed.

  • @chrisalexthomas
    @chrisalexthomas 11 หลายเดือนก่อน +7

    Apart from learning a bit about stepper motor drivers, I also discovered what POKITMETER TR is. It looks interesting for people who don't have a big desk to run all these machines from. I don't have space for a full size oscilloscope. This looks like an interesting alternative, thanks!

    • @tookitogo
      @tookitogo 4 หลายเดือนก่อน

      I’d sooner suggest a Picoscope or Analog Discovery, then. (Both connect to your computer with USB.)

    • @chrisalexthomas
      @chrisalexthomas 4 หลายเดือนก่อน

      @@tookitogo can you suggest any? I’m interested to know what others would buy, especially if you have this sort of thing in your garage already

    • @tookitogo
      @tookitogo 4 หลายเดือนก่อน

      @@chrisalexthomas It really depends on your exact needs. I’m less familiar with oscilloscopes for automotive use. For general electronics, the pico scope will get you better sample rate and bandwidth than the Analog Discovery, while the Analog Discovery is great if you need lots of channels, including outputs.

  • @glennfeldt2009
    @glennfeldt2009 6 หลายเดือนก่อน +1

    So that is why my 3D printer is so much quieter with the new main board! Great explanation👍🏻🇸🇪

  • @GnobarEl
    @GnobarEl ปีที่แล้ว +1

    I learned something new today! Thanks!

  • @123karajan
    @123karajan 5 หลายเดือนก่อน +1

    thanks for a terrific and really easy to understand view on micro stepping. Until now I didn’t really understand why micro stepping exists.!!

  • @Lux1431996
    @Lux1431996 ปีที่แล้ว +1

    Awesome. You might just have shown me a pretty solution for a private project I`m planning, Thanks a lot!

  • @azharuddinredwan9070
    @azharuddinredwan9070 ปีที่แล้ว +1

    WOW. That was an insightful video. thanks

  • @Ozzy3333333
    @Ozzy3333333 ปีที่แล้ว

    And the cost difference. Thanks for the video!

  • @driversteve9345
    @driversteve9345 ปีที่แล้ว

    I'm using a STEPPERONLINE DM542T Controller and although it cost me $40, I think it's well worth it! Very flexible and dependable controller! I've had it for a few years now and no complaints at all!!

  • @micah2936
    @micah2936 11 หลายเดือนก่อน +1

    That oscilloscope is so cool! I have got to get one

  • @rickh6963
    @rickh6963 ปีที่แล้ว

    Thanks Michael, Informative video!

  • @ScottSavageTechnoScavenger
    @ScottSavageTechnoScavenger 11 หลายเดือนก่อน

    Thanks for the info.

  • @rusticagenerica
    @rusticagenerica 9 หลายเดือนก่อน

    Fabulous video thanks !!! May I ask you with which Driver you would drive NEMA 34 or 42 motors given they already have suitable controllers?

  • @emiliaiacono8186
    @emiliaiacono8186 8 หลายเดือนก่อน

    excelent Analisis!!!!!!!!

  • @fahb68
    @fahb68 6 หลายเดือนก่อน

    Thanks, yes i learn something, great video.... Im diving in to all this of CNC shield for Arduino AND i have a lot to learn

  • @SJDunker
    @SJDunker ปีที่แล้ว

    Realy interest video. You literaly repeat advertisement of TMC2208 on their site or they TDS. Great idea!

  • @inventorbrothers7053
    @inventorbrothers7053 ปีที่แล้ว +1

    Awesome explanation

  • @jacqueslemon
    @jacqueslemon ปีที่แล้ว +1

    I stumbled on this, when I searched for silent stepper motors. Good to know that the noise is actually dependent on the driver. I guess you could make a silent stepper motor doing full steps, but it would require damping and isolating materials and bearings and whatnot. This is good to know!
    I plan to make a steam punk clockwork. Instead of a pendulum, a stepper motor would drive the fastest cog wheel. The noise should be all about the cog wheels and not the motor at all.

  • @ElemmentCG
    @ElemmentCG ปีที่แล้ว +1

    Such an amazing video, subbed immediately.

  • @Somelucky
    @Somelucky ปีที่แล้ว +3

    That reminds me of a stepper motor I played with in the late 90s. I was giving it 5V and it didn't have enough torque for the application. Without much though I just decided to increase it to 12V and was pleasantly surprised.

  • @inlywang8157
    @inlywang8157 ปีที่แล้ว +1

    Great video Michael

  • @AzaB2C
    @AzaB2C ปีที่แล้ว

    Cheers for the info. Was deliberating on doing a stepper project. Going to build you neat DIY camera track project. Cheers!

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว +1

      The camera slider project is quite a nice starter, it's not overly complex and there is room for improvements and upgrades down the line as well.

  • @orppranator5230
    @orppranator5230 ปีที่แล้ว +1

    Very informative video

  • @miriamramstudio3982
    @miriamramstudio3982 ปีที่แล้ว +1

    great video. thanks

  • @mikebrdn5719
    @mikebrdn5719 7 หลายเดือนก่อน

    excellent

  • @masterfunkstuff
    @masterfunkstuff ปีที่แล้ว +1

    wow so nice love it

  • @tareksma1
    @tareksma1 ปีที่แล้ว +1

    Thanks for sharing. I subscribed

  • @kurtnelle
    @kurtnelle ปีที่แล้ว +16

    Nice visual explanation of why they are so much quieter. Could you perhaps have done a comparison with the TMC's in full-step mode? I think the drivers do a little more to make the motor silent than the microsteps.

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว +1

      I'll look at putting together a follow-up. Yes, they do a lot more than just the microstepping, but this is the largest contributor to the reduction in noise.

    • @1pcfred
      @1pcfred ปีที่แล้ว +1

      Full step mode is not really useful in motion control applications. Read you shouldn't be using it.

    • @kurtnelle
      @kurtnelle ปีที่แล้ว +1

      @@1pcfred It has its uses. For example the dSpin stepper family from ST Micro will switch to full step mode when doing long movements even if you were in a microstepping mode when you gave the instruction.

    • @1pcfred
      @1pcfred ปีที่แล้ว

      @@kurtnelle what use is that?

    • @kurtnelle
      @kurtnelle ปีที่แล้ว

      @@1pcfred Accuracy over long travels.

  • @stefanguiton
    @stefanguiton ปีที่แล้ว

    Great video!

  • @izzalislam43
    @izzalislam43 11 หลายเดือนก่อน

    great discovery

  • @nikolatotev
    @nikolatotev 11 หลายเดือนก่อน

    Excellent explanation! I've always wondered what the difference is between the two drivers. Is there a way to overcome the challenge with the microcontroller needing to send more pulses to the motor so that the controller doesn't get bogged down with the task of driving the motors? Maybe a separate mini controller dedicated to controlling the motors and it communicated with the master MCU via some sort of serial connection?

  • @LL-ue3ek
    @LL-ue3ek ปีที่แล้ว +4

    my experience with stepper is that noise level can change significantly under load. Without load, it can be as quiet as you want it to be under microsteping.
    Also when you put motor on the table with its axle perpendicular to table surface, the rotary vibration of the rotor does not hit the table surface and it's quiet. If let the axle stay parallel to the table surface, you can hear a drastic noise increase , because the table surface can now feel any change in the rotor position.

  • @johnpekkala6941
    @johnpekkala6941 ปีที่แล้ว +1

    I have these in my Ender 3V2 and it is a common driver in general for many printers and it does the job really well. They are indeed really quiet and u hear only a soft humming during rapid moments. The increased precision is also a benefit. The really loud fans in the machine however takes the low noise benefit away somewhat. The noise level in total while printing is still comparable to a hairdryer at full blast and earplugs are definitley required if sitting near the machine while it is printing to avoid possible hearing damage (if you for example like me have the CAD computer next to the printer and work on that while its printing and keep your eye on the machine at the same time in case something goes wrong. A pair of in ear wireless headphones works perfect for this purpose and allow you to get sound and music from the computer while filtering out the machine noise). Loud stock fans are a common issue on these machines in general it seems.

    • @reverse_engineered
      @reverse_engineered ปีที่แล้ว +1

      I recommend upgrading the fans on your Ender 3 and especially the housings for the fans. For example, I found the cooling fan for the heat sink on the hot end to be very loud, even compared to what the fan itself normally sounds like. Some experimenting showed that this was a result of having the fan shroud up against the fan. I printed a small spacer (about 10mm) to separate the fan shroud from the fan and it greatly decreased the noise of the fan without replacing the fan itself. This is more difficult to do for the power supply and control board, but they both suffer the same issue. Using a larger blower motor (e.g. 5010) for part cooling and running it at lower speeds also helps significantly. Mine is now quite reasonable sitting directly next to it.

    • @johnpekkala6941
      @johnpekkala6941 ปีที่แล้ว

      @@reverse_engineered need to för that for sure and also the bearings in the heatbreak fan are of terrible quality. Other then the fans the machine works great through

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว +1

      Noctua have a few options that could be used to replace the fans on the Ender series printers. The loudest ones for me seem to be the power supply and hot end cooling fan, so they're a relatively easy replacement.
      It is a bit strange to take the time to silence the drivers and then use really loud fans on the printer, I'm not sure why they haven't done anything about them. My Ender 3V2's fans are more noisy than the original ender, particularly the power supply fan.

  • @stefandebruijn3167
    @stefandebruijn3167 ปีที่แล้ว +10

    Nice video, yes this is the main contributor to sound. Fun fact, in FluidNC, we always use the highest possible microsteps for simple A/DRV stepsticks, because otherwise it would be impossible to get the same sockets to run the TMC SPI drivers with a few jumpers. The ESP32 is fast enough for this; we can easily throw 300 kHz at 6 motors at the same time. You can't do something like this on a simple Arduino tho, the CPU just isn't fast enough.

    • @bzqp2
      @bzqp2 ปีที่แล้ว +1

      I can confirm that under load the TMC in standalone aren't THAT much quieter than A4988 set to 1/16. There is a significant reduction in noise but it still causes quite some vibrations.

    • @sheshankutty8552
      @sheshankutty8552 11 หลายเดือนก่อน +1

      Sorry, No Cheap Chinese crap though. Don't promote Chinese backdoor devices.

    • @stefandebruijn3167
      @stefandebruijn3167 10 หลายเดือนก่อน +1

      @@sheshankutty8552 What are you talking about? FluidNC boards are designed in the USA and EU. I'm sure there is no backdoor shit there, I made a large part of the firmware myself. TMC is designed in Germany. Get your facts straight please.

    • @sheshankutty8552
      @sheshankutty8552 10 หลายเดือนก่อน +1

      @@stefandebruijn3167 I was talking about ESP32

    • @rusticagenerica
      @rusticagenerica 9 หลายเดือนก่อน +1

      ​@@sheshankutty8552why backdoor?

  • @ipadize
    @ipadize ปีที่แล้ว +1

    i am going to use 2 of the 2208 for my focus stacking rig, one for the normal linear rail and the other for a rotary table.

  • @mobidick6064
    @mobidick6064 ปีที่แล้ว

    Brilliant amazing. It's good to do a test on the machine itself out of interest

  • @kmundendy660
    @kmundendy660 ปีที่แล้ว +1

    thank you Sir for the informative video. can you try Field Oriented control of Stepper using TMC or Controller or both?
    any piece of advice ? Thank you

  • @robert36902
    @robert36902 ปีที่แล้ว +4

    Nice comparison! The difference in sound level is amazing. Do you have more info on how the driver accomplishes the microstepping? If it would actually linearly regulate the current, the power dissipation in the chip would be big, does it do that or is it doing PWM/chopping?

    • @ailivac
      @ailivac ปีที่แล้ว +5

      It's PWM, essentially a current-mode buck converter. Almost all stepper drivers work this way, even in full step mode.
      Normally you need an inductor to get smooth output from a buck converter, but when driving a motor you get that for free, and there's no need for extra magnetics on the board.

  • @Bianchi77
    @Bianchi77 ปีที่แล้ว

    Nice video, thanks :)

  • @MicrobyteAlan
    @MicrobyteAlan ปีที่แล้ว

    Interesting thanks

  • @timberthewolf733
    @timberthewolf733 ปีที่แล้ว

    That pocket meter is dope.

  • @JohnDuthie
    @JohnDuthie ปีที่แล้ว

    TH-cam has been recommending I watch this video for 2 days straight. TH-cam's like "YOU WILL LIKE THIS GUY!!!!!!!".

  • @philluvschips3787
    @philluvschips3787 ปีที่แล้ว +3

    I'm working on a goto telescope project, I'm thinking of using stepper motors to control the left/right & up/down and may couple them with worm gear to increase the torque as speed is not the primary goal.

    • @1pcfred
      @1pcfred ปีที่แล้ว +1

      If you want a slow speed high torque stepper motor you want a motor with higher inductance, resistance and voltage specs as opposed to lower. How a motor will perform depends on how it was wound. Study motor specs along with their torque curve charts to get a feel for things. So you can visualize the relationships. The most popular spec, holding torque, is not particularly useful information. We care about how motors run, not how they can stand still. I will add what you want is not what is generally desirable in the market. So you should do OK purchasing it. Though a lot of sellers are cretins. You're entering an area with a lot of pitfalls. To be forewarned is to be forearmed. Shop around.

  • @Kartonoymaciligi
    @Kartonoymaciligi 11 หลายเดือนก่อน

    THANKS

  • @cjuggernaut6634
    @cjuggernaut6634 ปีที่แล้ว +1

    muy bueno!

  • @lassevantoorenburg5491
    @lassevantoorenburg5491 ปีที่แล้ว

    thank you

  • @Jim_One-wl4ke
    @Jim_One-wl4ke 3 หลายเดือนก่อน

    Thanks for doing this video. This applies to nema 17 with TMC2208/09. I don’t like the noise of Nema 23 noise too. Is there a way to silent Nema 23? Thanks again.

  • @matiasvignati5598
    @matiasvignati5598 ปีที่แล้ว +4

    it would be interesting to see the sinewave produceb by the A4988 when using TL Smoothers, in order to understand why they work

    • @MarcusBuer
      @MarcusBuer ปีที่แล้ว

      TL Smoothers make almost no difference on A4988 drivers. Their purpose is to fix a design flaw on DRV8825 drivers.

  • @kifahzaidan4505
    @kifahzaidan4505 ปีที่แล้ว

    Hi,
    Thanks a lot, its really greate effort and great knowledge.
    i need to do a project for a preset position linear actuator with a DC motor abd a stepper motor, with Arduino Mega or UNO but i am not able to write the code and the scheme, can you please help.
    Regards

  • @ProDigit80
    @ProDigit80 ปีที่แล้ว +1

    Would love to see the same video with motor controllers for ebikes or scooters.

  • @bitsurfer0101
    @bitsurfer0101 ปีที่แล้ว +1

    I finally understand the micro-stepping of steppers.

  • @gorangustafsson4481
    @gorangustafsson4481 ปีที่แล้ว

    Very descriptive and interesting video!
    Are those modules pin-compatible and directly interchangeable with each other?

    • @stickyfox
      @stickyfox ปีที่แล้ว +1

      Not always. But usually you need only to cut/bend a pin or two, and/or move jumpers on your host board.

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว

      The enable and microstepping pins may need some modifications depending on the board you're using. The supply, motor and input pins are all like for like.

  • @MikeHarris1984
    @MikeHarris1984 10 หลายเดือนก่อน

    I upgraded my Anycubic Mega X that I've had for a number of year. I put TMC2208 drivers on it (HOLY CRAP!!!) Went from very VERY noisy prints to silent... standing next to it, you can't hear it running at all!!!
    I wired in two relays and one is running between the outlet to powersupply to be able to kill printer power with relay. Wired it to NO (Normally Open) so when its plugged in, its OFF by default. Then a second one for 12v control a set of LED's I wired around the posts and a ring around the print head. I also wired this one NO as well. I then setup Octoprint on a raspberry pi laying around and put a picam on it and mounted it. Set the relays into the pi. I now have it setup where its all one unit, I have the pi powered off the printer power too. So plug in one cable, and pi boots up. Log into octoprint interface and turn on printer, turn on LED's, and setup print by sending the print file remotely. after print is done, it all shuts off and sends me an email with a picture of the print. I can view the printer in real time, turn on and off LED's and printer from anywhere. I LOVE OCTOPRINT!!!! I also have two physical momentary buttons wired up tot he pi on the outside of the case, so just incase the Octoprint doesnt connect to wifi, or i'm someplace new and not on the wifi yet, I can turn on and off the printer and lights from there. Just coded it where if gpio xx is pulled down, the toggle printer relay GPIO and same for LED relay connection.

    • @MichaelKlements
      @MichaelKlements  10 หลายเดือนก่อน

      That sounds like an awesome setup! Octoprint is amazing, defintely one of the better projects to get running on a spare Pi.

  • @christiaanventer8183
    @christiaanventer8183 ปีที่แล้ว

    now I'm curious if I'll every try and swap the stepper controller IF I get my hands on a resin printer.
    quieter motors for home use always sounds like a better option.

  • @xntumrfo9ivrnwf
    @xntumrfo9ivrnwf ปีที่แล้ว +1

    Wow youtube has been recommending this video to me NON-STOP for the past week or so - very strange. I'm not even mad though, good video + subscribed.
    (however the aggressive recommendation is still weird though)

  • @derkeksinator17
    @derkeksinator17 ปีที่แล้ว +3

    I have a motor that runs on one speed only, so I simply put a filter in the wiring as well and it smoothed out nicely.

  • @therealTOTOfan
    @therealTOTOfan ปีที่แล้ว

    great explanation! Id like to motorise my outside window shades and maybe stepper motor is good for this task, but I want it to be very quiet at the same time and not hear whining, do you think this is a good fit for that project? I also need the motor to raise and lower the blinds all the way with this, now I have a hand crank on the inside and measured 2,79Nm break away torque, and i would like it to spin the former hand crank where I will make an attachment for the motor with about 100rpm, is a stepper motor up to that task? thank you :)

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว

      Stepper motors come in a wide range of sizes to suit different applications and torque requirements, I’m sure you can find one suitable for a window shade

  • @xpim3d
    @xpim3d ปีที่แล้ว

    Very cool explanation and demo!! Slightly related..do you know if trinamics's stepper motors are much more precise than "ordinary chinese" ones?
    Tks :)

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว +1

      I don't think they're any more precise, they're probably just manufactured to better quality standards so their specifications would better match their data sheets and would likely last longer.

    • @xpim3d
      @xpim3d ปีที่แล้ว

      @@MichaelKlements well put. Thank you for taking the time to answer! :)

  • @bitsurfer0101
    @bitsurfer0101 ปีที่แล้ว

    What do the TL smoother do to the signal?

  • @SianaGearz
    @SianaGearz ปีที่แล้ว +1

    There's a strong anomaly in the sinewave of the A4988 following zero crossing. I wonder if you can tune it out with decaymode tuning through the resistors to the ROSC pin of the chip. And then how it affects the noise.

    • @bzqp2
      @bzqp2 ปีที่แล้ว

      Some guy said it's a driver configuration error made originally by Polulu that then got copied into subsequent derivatives without thought and accidentally became a "standard". Supposedly the driver can be reconfigured to fix it.

  • @brylozketrzyn
    @brylozketrzyn ปีที่แล้ว +2

    well, one thing for sure: with really high microstepping set you should never use software pulse generation. Use hardware PWM whenever possible.

  • @F3udF1st
    @F3udF1st ปีที่แล้ว +1

    2:00 Nice, Autechre live set!

    • @InservioLetum
      @InservioLetum ปีที่แล้ว +1

      Virtually nobody will get how epic this comment is xD

    • @F3udF1st
      @F3udF1st ปีที่แล้ว

      @@InservioLetum Sounds like the beginning of Tewe from Chiastic Slide.

  • @Jaun_
    @Jaun_ ปีที่แล้ว +1

    Lekker channel

  • @Luftbubblan
    @Luftbubblan ปีที่แล้ว

    I know nothing about motors but i was initially thinking this would affect torque. As you also said in the video later on. Is there a way to calculate how big the torque drop would be?

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว +1

      It varies depending on the microstepping location, torque is lowest midway between two poles and is unchanged at the poles.

  • @geauxracerx
    @geauxracerx 11 หลายเดือนก่อน +1

    Well that explains why all 8 bit boards with 2208/2209’s quickly get overwhelmed, and the need for 32/64 bit boards grew so fast

  • @burhanhasan3204
    @burhanhasan3204 11 หลายเดือนก่อน

    do you know CNC wegstr, their stepper motor can move 0.01 mm, it's really amazing, my question is what is the best motor driver so I can do the same thing with cnc wegstr?

  • @Spark-Hole
    @Spark-Hole ปีที่แล้ว

    Good job Mr. teacher
    What is your phone Android or IOS , what hardware do I need if I want to make a scope out of my phone.
    What about torque at higher step(16th step) compare between A4988 and TMC2208

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว

      It's iOS and its running the Pokit app that is designed for use with the multimeter I'm using. You can get 3rd party apps to build your own oscilloscope on Android using Raspberry Pi Pico's etc.

  • @hamentaschen
    @hamentaschen 11 หลายเดือนก่อน

    Dude. Like, what on earth did I just watch? I mean, like,... I understood some of the words. Well, kudos to you for knowing this stuff. I think youtube's algorithm is broken.

  • @bluustreak6578
    @bluustreak6578 11 หลายเดือนก่อน

    Does the TMC2208 require a lot more from the microcontroller since it does 256 microsteps rather than 16?

  • @_skyyskater
    @_skyyskater 11 หลายเดือนก่อน

    Seriously well done video. Good job!

  • @RC-1290
    @RC-1290 11 หลายเดือนก่อน

    Is it too expensive to just filter the signal? Or to use a DAC?

  • @Sh1neful
    @Sh1neful ปีที่แล้ว +2

    8:33 Increasing voltage results in incresing motor speed limit. To inctrease motor torque you need to increase current.

    • @PvtHaggard
      @PvtHaggard ปีที่แล้ว +3

      The stepper motor coils are a set resistance, if you increase the voltage the current will also go up. Unless you are using a current limiting stepper driver.

    • @Sh1neful
      @Sh1neful ปีที่แล้ว +1

      @@PvtHaggard Every stepper motor driver limits current. Otherwise motors will be dead in holding mode. This is stepper motor control basics. Stepper motors have near-constant torque curve at nominal motor current unless motor b-emf reaches driver supply voltage at some rotation speed.

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว +3

      Yes, primarily an increase in voltage allows for an increase in motor speed but a byproduct of this is an increase in operating torque. Using a higher supply voltage allows the driver to improve the current rise time, which in turn improves torque output.

    • @PvtHaggard
      @PvtHaggard ปีที่แล้ว +2

      @@Sh1neful No they don't. You can control a stepper motor with a basic h-bridge and the current draw will be determined by the input voltage and the coil resistance. As long as the current doesn't exceed the rated current for the stepper there is no problem. Current limiting is obviously better because you can run much higher voltages without exceeding current limits, so of course it is going to be more common.

    • @1pcfred
      @1pcfred ปีที่แล้ว +1

      You cannot increase current. In fact a great way to make stepper motors run like crap is to run them over current. When they're rough, growly and heat up too fast they're running over current. You're actually better off under as opposed to over current. Although you are best off at precisely your motor's rated current. How to set that up can be somewhat tricky. The switches on drives are never accurate. I prefer drives with potentiometers.

  • @prod_by_stefan
    @prod_by_stefan ปีที่แล้ว

    Can one of the Nema 17 motors drive a pair of wheels for a 10kg car?
    High speeds are not necessary!
    Thanks.

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว

      Nema 17 motors come in a range of sizes and torques, you can probably find one to suite a 10kg car.

    • @prod_by_stefan
      @prod_by_stefan ปีที่แล้ว

      @@MichaelKlements Thank you!
      Which specs should I watch for?

  • @KerbalLauncher
    @KerbalLauncher ปีที่แล้ว

    I've come to realize that stepper motors and BLDC motors are actually quite similar. The only difference is one needs the clarke transform and the other doesn't! Maximum performance (and low noise) ideally can be achieved by actually running FOC and skipping the clarke transform and SVM.
    If you want closed-loop sensorless at zero speed, you'll have to do saliency tracking which may not be silent...

  • @kodizhuk
    @kodizhuk 18 วันที่ผ่านมา

    I have run stspin220 which also have 256 microstep mode, and has more noise than tms. So it is not about microstep mode and current waveform only. tms has voltage sine waveform also.

  • @libregisin9878
    @libregisin9878 11 หลายเดือนก่อน

    Thank you for the explanations, it was not clear for me that more pulses have to be generated to operate the stepper motor at a given speed. I will try to use a TMC2209 chip soon with an arduino, to reduce the noise produced by the stepper motor. Using a brushless motor could also reduce the noise, so why using a stepper motor instead of a brushless motor ?

    • @MichaelKlements
      @MichaelKlements  11 หลายเดือนก่อน

      Stepper motors are usually used for applications where position control is necessary, brushless motors are used for higher speed/torque applications.

  • @testboga5991
    @testboga5991 หลายเดือนก่อน

    The main reason they manage to do it *silently*, is because they do the switching in the ultrasound range. If we could hear higher frequencies, we'd hear the whining of the coils from being switched.

  • @kmemz
    @kmemz ปีที่แล้ว

    I am curious, what if you made a controller that uses a small brushed DC motor, like the tiny motors used in old smartphones for vibration before solid state haptics improved, to slowly drive a wiper over a set of four potentiometer slides? You could produce a true analog output with only a variable DC input. I'm curious how these steppers would handle being run on a controller like that; would the DC motor add enough noise to make up for the stepper being quiet with its infinite (analog) steps, would the stepper motor not be any quieter compared to ultra high microstep controllers, or will it be better overall in terms of being quiet?
    The biggest downsides I can see to the idea, are friction losses from the DC motor and potentiometer setup, and a need for external position sensors so the controller can retain fine control.

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว

      I think in theory it sounds like a good idea, but potentiometer outputs are quite noisy so this would carry through to the motor control and they're not designed to carry much current (1-2A is quite a lot of current) so a resistive device.
      There are also some other things that the TMC drivers do to achieve silent operation, the sine wave component is just one of the most significant.

  • @MrEdrum
    @MrEdrum ปีที่แล้ว

    can you just replace one with the other in your printer, or will the microstepping influence the size/ quality of the print?

    • @Youwotm8Tk
      @Youwotm8Tk ปีที่แล้ว

      not sure if you can just replace them, but for the size of the print you could always adjust the steps/mm

    • @reverse_engineered
      @reverse_engineered ปีที่แล้ว

      You would need to modify some settings in the firmware to tell it that you are using a different driver and how many microsteps it uses.

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว

      You'd probably need to re-flash the firmware on your printer (or modify the firmware settings as others have said)

  • @DavidMulligan
    @DavidMulligan 10 หลายเดือนก่อน +1

    You could have used double click to reverse the direction of the motor. Of course that also means you would need to implement button debounce.

  • @InYourDreams-Andia
    @InYourDreams-Andia 11 หลายเดือนก่อน

    For an automated camera dolly running on a track, I 1st tried stepper motors, but they were too loud. I found synchronous AC motors (microwave platter motor) are SILENT. Perfect, and huge torque. Problem is control.. Not so easy. To get the dolly to hit a stop at both ends of the track, I found the way is to force stop it.. The mag field flips and it moves the other way.

  • @josephcsible
    @josephcsible ปีที่แล้ว

    Can't you use the hardware timers (TCNT0, etc.) to run the motor as fast as you want, without taking up any processor cycles at all?

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว

      You could probably set something like that up for regular movements. That doesn’t really work for things like CNC machines as the motor speeds, directions and travels are continuously changing

  • @JoshuaJapitan
    @JoshuaJapitan ปีที่แล้ว

    Where to find that bigass blue heatsink?

    • @MichaelKlements
      @MichaelKlements  ปีที่แล้ว

      They come with the TMC2208 drives, you could probably find them online on Aliexpress etc.