What Makes TMC2208 Stepper Motor Drivers Silent?

Поділитися
Вставка
  • Опубліковано 5 лют 2025

КОМЕНТАРІ • 278

  • @peacekper
    @peacekper 2 роки тому +43

    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!

  • @3ffrige
    @3ffrige 2 роки тому +177

    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 2 роки тому +4

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

  • @1kreature
    @1kreature 2 роки тому +61

    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.

  • @feryxd6457
    @feryxd6457 2 роки тому

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

  • @Viking8888
    @Viking8888 Рік тому +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!

  • @_KingRaz
    @_KingRaz Рік тому +2

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

  • @glennfeldt_74
    @glennfeldt_74 Рік тому +1

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

  • @rewolff2
    @rewolff2 2 роки тому +31

    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 2 роки тому +14

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

    • @JaroslavGrochal
      @JaroslavGrochal 2 роки тому

      @@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 2 роки тому

      Huh, I never heard about it.

    • @moretti740
      @moretti740 Рік тому +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 10 місяців тому +1

      @@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.

  • @daliasprints9798
    @daliasprints9798 2 роки тому +210

    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  2 роки тому +51

      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 2 роки тому +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 2 роки тому +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 2 роки тому +2

      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 2 роки тому +1

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

  • @jacqueslemon
    @jacqueslemon 2 роки тому +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.

  • @chrisalexthomas
    @chrisalexthomas Рік тому +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 Рік тому

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

    • @chrisalexthomas
      @chrisalexthomas Рік тому

      @@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 Рік тому

      @@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.

  • @1pcfred
    @1pcfred 2 роки тому +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 2 роки тому +1

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

    • @1pcfred
      @1pcfred 2 роки тому +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 2 роки тому

      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 2 роки тому +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 роки тому +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 Рік тому +1

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

  • @dezent
    @dezent 2 роки тому +12

    The 2208s saved many marriages.

  • @JohnDuthie
    @JohnDuthie 2 роки тому

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

  • @driversteve9345
    @driversteve9345 2 роки тому

    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!!

  • @richienorthcott
    @richienorthcott Рік тому +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.

  • @123karajan
    @123karajan Рік тому +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.!!

  • @electronics.unmessed
    @electronics.unmessed Рік тому +1

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

  • @MarcusBuer
    @MarcusBuer 2 роки тому +35

    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 2 роки тому +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 роки тому +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 2 роки тому

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

    • @TheRainHarvester
      @TheRainHarvester 2 роки тому

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

  • @Destructor111
    @Destructor111 2 роки тому

    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.

  • @zitwaar5469
    @zitwaar5469 2 роки тому +1

    I had no idea how much i needed this video!

  • @bobgeisel13
    @bobgeisel13 2 роки тому +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.

  • @micah2936
    @micah2936 Рік тому +1

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

  • @Blorkus
    @Blorkus 2 роки тому +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.

  • @SJDunker
    @SJDunker 2 роки тому

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

  • @kurtnelle
    @kurtnelle 2 роки тому +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  2 роки тому +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 2 роки тому +1

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

    • @kurtnelle
      @kurtnelle 2 роки тому +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 2 роки тому

      @@kurtnelle what use is that?

    • @kurtnelle
      @kurtnelle 2 роки тому

      @@1pcfred Accuracy over long travels.

  • @Somelucky
    @Somelucky 2 роки тому +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.

  • @vladko1060
    @vladko1060 2 місяці тому +1

    Спасибо чувак, очень подробный разбор. Помог очень сильно

  • @stefandebruijn3167
    @stefandebruijn3167 2 роки тому +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 2 роки тому +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 Рік тому +1

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

    • @stefandebruijn3167
      @stefandebruijn3167 Рік тому +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 Рік тому +1

      @@stefandebruijn3167 I was talking about ESP32

    • @rusticagenerica
      @rusticagenerica Рік тому +1

      ​@@sheshankutty8552why backdoor?

  • @TheJacklwilliams
    @TheJacklwilliams 2 роки тому +1

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

  • @philluvschips3787
    @philluvschips3787 2 роки тому +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 2 роки тому +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.

  • @Lux1431996
    @Lux1431996 2 роки тому +1

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

  • @johnpekkala6941
    @johnpekkala6941 2 роки тому +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 2 роки тому +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 2 роки тому

      @@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  2 роки тому +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.

  • @mazelme
    @mazelme Рік тому

    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.

  • @RossAWaddell
    @RossAWaddell 4 місяці тому

    Excellent video! I’m using a TMC2208 driver to spin two micro steppers at a constant speed in a plastic model, so noise and smoothness of motion are the driving factors for me. I wish there was a clear tutorial on how to calculate the Vref for a given motor - everywhere I’ve looked is quite confusing, especially as the motor specs don’t provide phase current, only resistance (do I just apply Ohms law to get the max current?)

  • @azharuddinredwan9070
    @azharuddinredwan9070 2 роки тому +2

    WOW. That was an insightful video. thanks

  • @inlywang8157
    @inlywang8157 2 роки тому +1

    Great video Michael

  • @LL-ue3ek
    @LL-ue3ek 2 роки тому +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.

  • @MikeHarris1984
    @MikeHarris1984 Рік тому

    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  Рік тому

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

  • @xntumrfo9ivrnwf
    @xntumrfo9ivrnwf 2 роки тому +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)

  • @bitsurfer0101
    @bitsurfer0101 2 роки тому +1

    I finally understand the micro-stepping of steppers.

  • @greg2sju
    @greg2sju 6 місяців тому

    Really enjoyed your video. Well done!!

  • @Scar32
    @Scar32 6 днів тому

    for the torque issue you could probably make it so that it uses fine stepping at first but as it gets faster about the limit you reduce the number of steps, kinda like shifting gears and it will currently sound like it!
    electric trains do that as well but more advanced and with AC motors

  • @Jim_One-wl4ke
    @Jim_One-wl4ke Рік тому

    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 2 роки тому +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 2 роки тому

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

  • @GnobarEl
    @GnobarEl 2 роки тому +1

    I learned something new today! Thanks!

  • @Paulilmys
    @Paulilmys 15 днів тому

    Perfect explanation

  • @SianaGearz
    @SianaGearz 2 роки тому +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 2 роки тому

      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 роки тому +2

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

  • @fahb68
    @fahb68 Рік тому

    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

  • @timberthewolf733
    @timberthewolf733 2 роки тому

    That pocket meter is dope.

  • @kmundendy660
    @kmundendy660 2 роки тому +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

  • @inventorbrothers7053
    @inventorbrothers7053 2 роки тому +1

    Awesome explanation

  • @christiaanventer8183
    @christiaanventer8183 2 роки тому

    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.

  • @user-rs8zg8ey2b
    @user-rs8zg8ey2b 2 роки тому

    And the cost difference. Thanks for the video!

  • @ipadize
    @ipadize 2 роки тому +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.

  • @rusticagenerica
    @rusticagenerica Рік тому

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

  • @geauxracerx
    @geauxracerx Рік тому +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

  • @bluustreak6578
    @bluustreak6578 Рік тому

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

  • @ProDigit80
    @ProDigit80 2 роки тому +1

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

  • @nikolatotev
    @nikolatotev Рік тому

    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?

  • @RC-1290
    @RC-1290 Рік тому

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

  • @orppranator5230
    @orppranator5230 2 роки тому +1

    Very informative video

  • @derkeksinator17
    @derkeksinator17 2 роки тому +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.

  • @Sh1neful
    @Sh1neful 2 роки тому +2

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

    • @PvtHaggard
      @PvtHaggard 2 роки тому +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 2 роки тому +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  2 роки тому +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 роки тому +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 2 роки тому +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.

  • @rickh6963
    @rickh6963 2 роки тому

    Thanks Michael, Informative video!

  • @OG_CyberShepherd
    @OG_CyberShepherd 2 роки тому +1

    Such an amazing video, subbed immediately.

  • @AzaB2C
    @AzaB2C 2 роки тому

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

    • @MichaelKlements
      @MichaelKlements  2 роки тому +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.

  • @kodizhuk
    @kodizhuk 9 місяців тому

    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.

  • @bertram-raven
    @bertram-raven 8 місяців тому

    To those considering stealth-chop, I frequently see homing fail when using stealth-chop. Further, stealth-chop frequently loses steps even at the highest current settings. Yes, it is quieter but not worth the inaccuracy.

  • @libregisin9878
    @libregisin9878 Рік тому

    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  Рік тому

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

  • @scienceraven1200
    @scienceraven1200 9 місяців тому

    a thermal comparison would be great

  • @robert36902
    @robert36902 2 роки тому +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 2 роки тому +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.

  • @DavidMulligan
    @DavidMulligan Рік тому +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.

  • @F3udF1st
    @F3udF1st 2 роки тому +1

    2:00 Nice, Autechre live set!

    • @InservioLetum
      @InservioLetum 2 роки тому +1

      Virtually nobody will get how epic this comment is xD

    • @F3udF1st
      @F3udF1st 2 роки тому

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

  • @jackevans2386
    @jackevans2386 Рік тому +1

    4:49 "Per resolution" Don't you mean 'Per revolution' ??

  • @robertmonroe9728
    @robertmonroe9728 Рік тому +1

    TMC is not only about microstepping

  • @ScottSavageTechnoScavenger
    @ScottSavageTechnoScavenger Рік тому

    Thanks for the info.

  • @kifahzaidan4505
    @kifahzaidan4505 2 роки тому

    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

  • @AClarke2007
    @AClarke2007 Рік тому

    Maybe compare audio to a standard DC Motor of the same size but geared to produce the same torque?

  • @KerbalLauncher
    @KerbalLauncher 2 роки тому

    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...

  • @xpim3d
    @xpim3d 2 роки тому

    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  2 роки тому +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 2 роки тому

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

  • @miriamramstudio3982
    @miriamramstudio3982 2 роки тому +1

    great video. thanks

  • @Mwwwwwwwwe
    @Mwwwwwwwwe 2 роки тому +1

    As a saffer in the uk its surreal hearing a SAFRICA accent on a random YT algorithim suggestion

  • @InYourDreams-Andia
    @InYourDreams-Andia Рік тому

    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.

  • @emiliaiacono8186
    @emiliaiacono8186 Рік тому

    excelent Analisis!!!!!!!!

  • @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?

  • @tareksma1
    @tareksma1 2 роки тому +1

    Thanks for sharing. I subscribed

  • @testboga5991
    @testboga5991 10 місяців тому

    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.

  • @josephcsible
    @josephcsible 2 роки тому

    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  2 роки тому

      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

  • @_skyyskater
    @_skyyskater Рік тому

    Seriously well done video. Good job!

  • @therealTOTOfan
    @therealTOTOfan 2 роки тому

    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  2 роки тому

      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

  • @tomcook5813
    @tomcook5813 2 роки тому

    Are all brushless motors steppers? My brushless motors in my RC10 models have loud whine from the brushless motors.

    • @MichaelKlements
      @MichaelKlements  2 роки тому +2

      Stepper motors are a form of brushless motor, but the ones you're talking about differ in their intended purpose. Stepper motors are designed to be driven in steps and to maximize holding torque, a brushless DC motor is typically designed to run with the rotor slightly lagging the stator to maximize output torque at speed.
      There are a few design differences made to achieve these goals, but this is generally what drives the design choices.

    • @tomcook5813
      @tomcook5813 2 роки тому

      @@MichaelKlements Well explained, thank you 😊

  • @Luftbubblan
    @Luftbubblan 2 роки тому

    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  2 роки тому +1

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

  • @stefanguiton
    @stefanguiton 2 роки тому

    Great video!

  • @kmemz
    @kmemz 2 роки тому

    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  2 роки тому

      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.

  • @TheNamelessOne12357
    @TheNamelessOne12357 Рік тому

    TMC2208 autotunes a little to a specific stepper on startup. It's a bad idea to power them up with unconnected coil.
    And there's also inductive currents that could kill your oscilloscope if you disconnect coil on the fly.

  • @masterfunkstuff
    @masterfunkstuff 2 роки тому +1

    wow so nice love it

  • @bitsurfer0101
    @bitsurfer0101 2 роки тому

    What do the TL smoother do to the signal?