No video

Introduction to Stepper Motors for 3D Printing - The Basics you probably need to know - Episode 1

  Рет қаралды 49,157

Lost In Tech

Lost In Tech

Күн бұрын

Part 2 is here: • Let me explain microst...
Stepper motors! Pretty important for 3d printers, right? But does anyone understand how they work?
Me neither, but armed with a little knowledge and a lot of Wikipedia, and maybe some long nose pliers - we'll get to the bottom of this.
Join me on a 3 part voyage of discovery into what's inside them, what makes them tick (hah), how you drive them, and eventually we'll get on to how you shut them up!
Part one (this part) is about what they are, why they are, and taking them to bits and watching them move. Fascinating.
Any comments please let me know, I'm sure I've missed points, made mistakes on this one, corrections will go here or be picked up in the next episode.
Join us on Discord! There are many of us now! Hundreds! (okay, one hundreds but that's still a quantity of hundreds!) / discord
Waste: None. Nothing.
No steppers..okay maybe one stepper was harmed in the making of this video. For science.
www.lostintech...
*** Please consider supporting the channel to allow me to do more, and better stuff! ***
/ lostintech

Пікірлер: 127
@Dystrackshun
@Dystrackshun 2 жыл бұрын
What about microste.....oh, ok
@LostInTech3D
@LostInTech3D 2 жыл бұрын
😛😂
@moccaloto
@moccaloto 2 жыл бұрын
what about backlash in the cheapo steppers?
@jonmorelli
@jonmorelli 2 жыл бұрын
I believe the cheap steppers are readily available and... dirt cheap because their intended application is driving the fins/blades on air-conditioning units. I imagine their backlash will be terrible as they don't have to be great for this purpose.
@stefanguiton
@stefanguiton 2 жыл бұрын
excellent explanation, those close up shots were great
@LostInTech3D
@LostInTech3D 2 жыл бұрын
More to come, most of the macro shots were of microstepping 👍😉
@Jessterrr
@Jessterrr 2 жыл бұрын
I was a bit surprised to learn a few things from this video. I thought that I knew a lot about motors since I used to repair AC and DC drives. TIL that I didn't know much at all about stepper motors and found the presentation interesting. Excellent job keeping it interesting and approachable.
@stevenmcculloch5727
@stevenmcculloch5727 2 жыл бұрын
Somewhere in this series, can you mention that stepper motors almost never "break"? If it isn't working properly, it is almost always a broken wire, or sometimes a fried driver. I see all the time on reddit people said "my motor wasn't turning properly so I got a new one, but it still isn't working"
@SianaGearz
@SianaGearz 2 жыл бұрын
Eventually, the bearing in the motor is actually shot if you have it under too much lateral load. But you can just rebuild them. Also it can sometimes very rarely happen that there's a latent defect in the terminal PCB assembly, so connections can break internally. Shouldn't really happen. But normally yes you should always suspect the wiring first, it can be moving and breaking internally and garbage crimping quality is not out of the ordinary either.
@johnpekkala6941
@johnpekkala6941 2 жыл бұрын
@@SianaGearz Especially regarding their very slow speed compared to say a 2 pole AC motor spinning att 3000 rpm and those motors also last forever if their bearings are properly loaded and lubricated. So unless u tension the belts like crazy the bearings are unlikley to ever fail in these motors.
@blaarkies
@blaarkies 2 жыл бұрын
8:18 The printer knows where it is at all times. It knows this because it knows where it isn't. By subtracting where it is from where it isn't, or where it isn't from where it is (whichever is greater), it obtains a difference, or a deviation...
@frankhovis
@frankhovis 2 жыл бұрын
But if you don't know where you're not, your not going to not know where you aren't, so even if you subtract the difference from where you are not, to where you know you're not, then you only know were you are (not) if you knew where you are (not) before you knew were you are not now.
@AlienRelics
@AlienRelics 2 жыл бұрын
Hm. Rentaspoon said exactly the same thing. That is incorrect. The driver counts pulses, but it has no idea if the stepper slipped or if it isn't told where it is at the start. A stepper motor is a relative motion. You must have it find a stop switch to find the home position.
@marsgizmo
@marsgizmo 2 жыл бұрын
excellent explanation!
@NOOTSMAZDAS
@NOOTSMAZDAS 2 жыл бұрын
hello familiar face
@Reikles09
@Reikles09 2 жыл бұрын
Such a nice video, i was currently deep diving into the tech of my motors etc. so you helped me out a lot.
@dtaggartofRTD
@dtaggartofRTD 2 жыл бұрын
It would be a bit more accurate to say the printer has an unreasonable level of confidence that it knows where the print head is regardless of reality. There is no feedback in the act of driving the motor so, if something prevents the motor from stepping, you'll get a layer shift. Great explanation of how they work.
@Mwwwwwwwwe
@Mwwwwwwwwe 2 жыл бұрын
Unrelated -new lifehack! my all metal hotend got badly jammed and I was too lazy to strip it so I turned off the heatsink cooling fan for 2 minutes which softened the filiment in the heatbreak(via heat creep) enough for me to push it through with a piece of wire
@LostInTech3D
@LostInTech3D 2 жыл бұрын
Yeah that's definitely a good time saver! 👍
@richardhaas39
@richardhaas39 Жыл бұрын
I installed a lot of stepper motor assemblies back in the early '80's. This technology replaced magnetic particle clutches in highspeed impact printers. Impact printers were replaced by laser printers. The stepper motors were for paper feed. The iron powder in the particle clutches would not always demagnetize, for some reason, and the clutch would seize.
@brunobecher9156
@brunobecher9156 2 жыл бұрын
Hey this is such a cool and entertaining video. I’m a student working on a stepper/laser project and algorithm gifted me this gem. Excited for next vid!
@LostInTech3D
@LostInTech3D 2 жыл бұрын
A stepper and laser project sounds really interesting 👍
@richardhaas39
@richardhaas39 Жыл бұрын
A motor with brushes will self destruct if it spins too fast. Robert Bosch dealt with this by having two shoes on a shaft that went through the rotor shaft. The faster the rotor spun the greater the centrifugal force on the shoes against cylindrical case which in turn limited the RPM's of the starter motor. Cf, the Bosch logo. Another way is to have a switch in series with the brush circuitry. Centrifugal force will cause the switch to open. This is how a Teletype motor RPM is regulated on board ship where power is unreliable. Calibration was originally done by looking through a slit on a piece of sheet metal welded to a tuning fork at a dot on the motors fan. Later the tuning fork was replaced by a Strobotac from General Radio.
@theoneohmresistor
@theoneohmresistor 2 жыл бұрын
youtube recommended me this video, and i must say that you are great
@LostInTech3D
@LostInTech3D 2 жыл бұрын
Thanks, and welcome 👍
@TheDarvec1
@TheDarvec1 2 жыл бұрын
Looking forward to the next video. Great stuff, I'd like to hear your take on voltages to the steppers and why they are different for x,y,z and e. \o
@Mexgadget
@Mexgadget 2 жыл бұрын
Yes! Magic ✨
@victortitov1740
@victortitov1740 2 жыл бұрын
2:52 "the spinning speed [of brushed motors] reaches a natural equilibrium of voltage vs friction i guess" - it's a bit more interesting and determined. With no friction, the motor spins up to the speed where the voltage it generates equals the supplied voltage. If there is friction, it will slow down, that is mostly because the effective voltage reaching the coils is reduced because now some of it is lost to the resistance of the windings, because now there is current. This is an oversimplification of course, but by compensating that voltage drop, the speed of brushed motors can be fairly accurately controlled. This is how it's done in most cheap audio-cassette decks.
@3sotErik
@3sotErik 2 жыл бұрын
Again, great vid.
@pizzablender
@pizzablender 2 жыл бұрын
"It's all in the nex stepisode"
@LostInTech3D
@LostInTech3D 2 жыл бұрын
brb editing subtitles 😂
@Liquid_Mike
@Liquid_Mike Жыл бұрын
damn dude, this is an extremely good video!
@LostInTech3D
@LostInTech3D Жыл бұрын
Thanks!
@jose_vera
@jose_vera 2 жыл бұрын
Hello. Nice Easter egg. Still watching the video...
@aware2action
@aware2action 10 ай бұрын
Trinamic druvers can do a dual sensorless endstop detection🤔
@thomasstaubo3115
@thomasstaubo3115 2 жыл бұрын
For those wanting to disassemble your own stepper motor because you are curious; do NOT do it, unles it's a junk motor. The magnetism in the rotor will be drastically reduced when you pull it out of the stator.
@LostInTech3D
@LostInTech3D 2 жыл бұрын
Interesting! Well, anyway nobody should want to open theirs, now they've seen inside one.
@William_ar98
@William_ar98 2 жыл бұрын
That makes no sense, why would magnetism be reduced? You are just making this up arent you?
@LostInTech3D
@LostInTech3D 2 жыл бұрын
I thought that, so I googled it, and I did get some mixed results. The theory, I think, is that removing it pulls it against induced magnetic from the coils (ie why it's hard). This would be pulling it through a field. But as to whether there's any truth behind it, I have literally no idea. I could test for it, I guess. Hold torque before/after. But that motor has no before and was already a bit dodgy.
@octothorpian_nightmare
@octothorpian_nightmare 2 жыл бұрын
It for sure does. I pulled a spare one apart and when I put it back together it was almost free spinning, I could just barely feel the steps. Very weird!
@thomasstaubo3115
@thomasstaubo3115 2 жыл бұрын
@@William_ar98 I'm afraid not 😕
@333donutboy
@333donutboy 2 жыл бұрын
Good info. Looking forward to more.
@nubletten
@nubletten 2 жыл бұрын
After watching this video I knew I had to use the sub button.
@alexlux147
@alexlux147 2 жыл бұрын
i'm curious why the NEMA has 4 cables while the cheap has 5?
@LostInTech3D
@LostInTech3D 2 жыл бұрын
Ah, I didn't want to go into that, but the answer isn't too complicated, the cheaper one is unipolar, it has a middle wire between the coils (it's 6 wires internally, but middle is ground), so it doesn't reverse the voltage, it just switches one side to the other. I could cover it in episode 2 if enough people ask :)
@muffty1337
@muffty1337 2 жыл бұрын
@@LostInTech3D i second that
@pizzablender
@pizzablender 2 жыл бұрын
@@muffty1337 The NEMA has 2 separate coils. Each coil is wired separately, it can be powered normally or in reverse. The cheapie has each coil wound twice, wound in opposite direction. So one coil powered gives the opposite magnetism of powering the other coil. Now one side of all those coils goes to a separate wire, the common. Which means that 4 transistor can step this thing. No H-bridges needed.
@FreeOfFantasy
@FreeOfFantasy 2 жыл бұрын
@@LostInTech3D Fun fact: these tiny cheep ones have a tiny pcb under the blue hood on the side. There you can scratch away one of the traces and then use it as a four wire stepper.
@yuchending4977
@yuchending4977 Жыл бұрын
Hi, if I use M82 command to use the absolute mode for the extruder, how the E number relates to the steps or the rotation angle of the stepper motor? I'm thinking mod the extruder motor to let it drive a rotary stage. Thank you!
@Leviathan3DPrinting
@Leviathan3DPrinting 2 жыл бұрын
Brushless motors can have magnets on the outside or inside. Just depends on what’s the rotor and what’s the stator typically.
@Leviathan3DPrinting
@Leviathan3DPrinting 2 жыл бұрын
For example brushless drill motors typically the rotor and permanent magnets are in the middle and the stator and coils surround it. More torque less speed is typically the trade off I think but I could be wrong in that last part.
@LostInTech3D
@LostInTech3D 2 жыл бұрын
I think you're right, the torque is higher, not sure about the speed either.
@flickmew99
@flickmew99 2 жыл бұрын
I'm doing a project basically to run a floor wiper that is connected to a motor, so the movement of the motor would just to forward-reverse for like 7 times. Am I doing it right by choosing stepper motor over any other motor like servo or even an AC motor ?
@LostInTech3D
@LostInTech3D 2 жыл бұрын
Good question, I don't know, but it probably also depends on your budget!
@moonswhite1409
@moonswhite1409 Жыл бұрын
You are Genius
@LostInTech3D
@LostInTech3D Жыл бұрын
haha thanks
@OrlanDave
@OrlanDave 2 жыл бұрын
But what about micro stepping, etc? Whatever that means. Seriously though, you understand this way more than I do at least!
@LostInTech3D
@LostInTech3D 2 жыл бұрын
It's just more time spent on Wikipedia 😂👍
@TechieSewing
@TechieSewing 2 жыл бұрын
Hmm, I guess it's the next episode for magic numbers? Or maybe the third one ;)
@LostInTech3D
@LostInTech3D 2 жыл бұрын
😒 maybe
@CycloidalHeadache
@CycloidalHeadache 2 жыл бұрын
Am I the only one who was looking all over for episode 2 before realizing this was released a day ago? 😂
@LostInTech3D
@LostInTech3D 2 жыл бұрын
Haha you never know, I could have released them in star wars order
@User-nc2lf
@User-nc2lf 2 жыл бұрын
woopi woop di doot stepper time
@Doug_in_NC
@Doug_in_NC 2 жыл бұрын
Nice explanation. Not so sure about your comment that the larger stepper motor controller is much more basic than the ones on a 3d printer board. They are certainly more powerful, but why do you think they are less sophisticated? As far as I know, they can do just the same thing as any single axis controller on a printer board, but driving a much bigger motor.
@LostInTech3D
@LostInTech3D 2 жыл бұрын
I took it apart, it was just a bunch of optoisolators and random other stuff, including the 555 timer. It is way less sophisticated than printer drivers, yes. Not least because it only throws out dirty square waves, so dirty in fact I didn't even show them on the scope. All will be revealed later though.
@Mwwwwwwwwe
@Mwwwwwwwwe 2 жыл бұрын
These box drivers are fully analog as far as i know- I think Even the cheapest basic allegro drivers are digital- have negitive feedback loops for monitoring and have thermal cutout and I think over current protection too
@LostInTech3D
@LostInTech3D 2 жыл бұрын
Yep I looked for a driver chip and either it was hiding, or absent! 🤣
@Doug_in_NC
@Doug_in_NC 2 жыл бұрын
@@LostInTech3D the stepper motor controller boxes are basically just the part that handles the high current to actually drives the motor, the control electronics is separate. Think of them as being analogous to an amplifier, which doesn’t generate the music but idrives the loud speakers.
@Mwwwwwwwwe
@Mwwwwwwwwe 2 жыл бұрын
@@LostInTech3D I think you were careless with the disassembly of the box driver and let the microhamster escape😜🤣🤣
@filanfyretracker
@filanfyretracker 2 жыл бұрын
now I wonder how does my Prusa know where it is since they do not have limit switches, X and Y just go to the end of their travels and tap against the stop. Is the board just reading the change in current load on the motor or something to know its stopped?
@LostInTech3D
@LostInTech3D 2 жыл бұрын
Next episode 😉 but yes you are correct.
@iAmTheSquidThing
@iAmTheSquidThing 2 жыл бұрын
As I understand it: Yes. It sets the motor to a low current, drives it until it hits one end of the axis, detects the change in load, and then does that a few more times to check.
@vernonleeper
@vernonleeper 2 жыл бұрын
Attached an encoder on the end and you get a servo
@LostInTech3D
@LostInTech3D 2 жыл бұрын
watch this space (assuming it arrives in time)
@charlesurrea1451
@charlesurrea1451 2 жыл бұрын
I should get a square wave from my driver then? I have one that seems to grind, but doesn't. I can push it either way under power.
@LostInTech3D
@LostInTech3D 2 жыл бұрын
not necessarily a square wave, no, that part is coming! seems to grind but doesnt? what do you mean? Being able to push it under power isn't a good sign unless you're using a lever of some sort.
@charlesurrea1451
@charlesurrea1451 2 жыл бұрын
@@LostInTech3D It has this awful chatter at random times. It shakes violently back and forth and makes an almost grinding like noise. At 1st I thought it was stripping the belt, but no.
@LostInTech3D
@LostInTech3D 2 жыл бұрын
Seems like you need a new stepper, I'm sorry to say. There seem to be some dodgy ones out there at the moment.
@SianaGearz
@SianaGearz 2 жыл бұрын
@@charlesurrea1451 that sounds like a bad cable really or your driver going into reduced current emergency mode due to overheating.
@MrBlackFiction
@MrBlackFiction 2 жыл бұрын
i kinda want to write my own marlin at that point :P
@LostInTech3D
@LostInTech3D 2 жыл бұрын
Haha, I mean it's not impossible...but it's beyond my skill level, especially getting everything to work at the same time in real time!
@MrBlackFiction
@MrBlackFiction 2 жыл бұрын
@@LostInTech3D I already changed a FAN pin on marlin, how hard could it be :P
@TheAnoniemo
@TheAnoniemo 2 жыл бұрын
I mean, the basis is very simple: move stepper x steps for each axis with information from gcode. The difficulty comes from supporting a lot of hardware configurations and fancy stuff like interpolation, pressure advance and other extra features.
@LostInTech3D
@LostInTech3D 2 жыл бұрын
while simultaneously PIDing the hotend and bed. It boggles my mind how an atmega can do all this.
@TheAnoniemo
@TheAnoniemo 2 жыл бұрын
@@LostInTech3D it is running at 16 MILLION operations per second, so I think a lot of people underestimate how many calculations these tiny things can do. Where they break down is when dealing with bigger numbers, e.g. an 8 bit chip calculating 32 bit floats will tank performance. But just adding, subtracting and multiplying is pretty zippy.
@dwsharp
@dwsharp 2 жыл бұрын
Which nerf blaster did you sacrifice for the 130 motor?
@LostInTech3D
@LostInTech3D 2 жыл бұрын
haha, I actually bought these off ebay! Not for this purpose though.
@bobbyharris946
@bobbyharris946 2 жыл бұрын
Loved the content of this video but there is something wrong the for focus at many points in the video, I am not smart enough to know what it is but sometimes i found it uncomfortable to watch.
@LostInTech3D
@LostInTech3D 2 жыл бұрын
I guess it's the narrow depth of field with the macro lens, a trade off, if you want to be super close, you have a real hard time getting everything in focus and keeping everything in focus.
@user-il8gt2ev9d
@user-il8gt2ev9d 2 жыл бұрын
Hope you eventually cover vfa artifacts, it’s the only thing I have left quality wise that I cannot fix even with 0.9 steppers and info online is almost non existent/not helpful.
@LostInTech3D
@LostInTech3D 2 жыл бұрын
from what I gather, most people just seem to think they're resonance artifacts and changing print speed fixes them. I take it you've tried that though?
@user-il8gt2ev9d
@user-il8gt2ev9d 2 жыл бұрын
@@LostInTech3D yes a few times and also with acceleration. I don’t have much ringing but the vfa continue along the whole print evenly at around 2mm which makes me think it’s the belts but there’s 0 results when I try to search online with “2mm belt artifacts” and the few forums on vfa only mention steppers as the issue. Tried smooth and teethed pulleys and different belt tension to see if that helps but same result. Not an issue for functional parts but unless I print very low temp so the plastic is not glossy I can’t get quality objects without vfa. I will be trying klipper with input shaping when I get the time, maybe might help with vfa.
@pizzablender
@pizzablender 2 жыл бұрын
@@user-il8gt2ev9d I heard of extruder gears causing patterning. See kzbin.info/www/bejne/i4jYhKaPgK5gj68 and kzbin.info/www/bejne/aWPHhX-Ig66Mo9k
@LostInTech3D
@LostInTech3D 2 жыл бұрын
hop into discord if you want to bounce some ideas around, I imagine we won't have anything you don't already know but we have a lot of knowledgeable people in there.
@Kalvinjj
@Kalvinjj 2 жыл бұрын
@@user-il8gt2ev9d Do you have toothed or smooth idlers in contact with the belt teeth?? Smooth idlers would cause uneven curves when the belt teeth run over it, albeit I would consider this insignificant, it still _is_ something that might give very fine artifacts in the end.
@Mwwwwwwwwe
@Mwwwwwwwwe 2 жыл бұрын
555 timer!!🤣 what?they couldn't find a tiny hamster+ cammed hamster wheel to generate questionable clock/ timing pulses
@dhruvbose8294
@dhruvbose8294 2 жыл бұрын
Part 2 when?
@LostInTech3D
@LostInTech3D 2 жыл бұрын
I have a TPU vid to do, and a pi screen vid to do, then part 2 👍 Hopefully < 2 weeks, if I actually put some work in 😂
@dhruvbose8294
@dhruvbose8294 2 жыл бұрын
@@LostInTech3D aah cool
@rentaspoon219
@rentaspoon219 2 жыл бұрын
The stepper motor knows where it is at all times. It knows this because it know where it isn't. By subtracting where it is from where it isn't, or where it isn't from where it is, whichever is greater, it obtains a difference, or deviation
@User-nc2lf
@User-nc2lf 2 жыл бұрын
wow
@AlienRelics
@AlienRelics 2 жыл бұрын
That is incorrect. The driver counts pulses, but it has no idea if the stepper slipped or if it isn't told where it is at the start. A stepper motor is a relative motion. You must have it find a stop switch to find the home position.
@LostInTech3D
@LostInTech3D 2 жыл бұрын
It's a copypasta, it's something from a video about a missile 😉
@AlienRelics
@AlienRelics 2 жыл бұрын
@@LostInTech3D Oh. Well, it is wrong, but getting upvotes.
@LostInTech3D
@LostInTech3D 2 жыл бұрын
I think most people recognise it as a meme, I'm not too worried
@devolve1987
@devolve1987 2 жыл бұрын
Anyone else find the Easter egg?
@LostInTech3D
@LostInTech3D 2 жыл бұрын
That didn't take long did it, I'll have to hide them better in future :) (or....are there more?)
@wbeel
@wbeel 2 жыл бұрын
@@LostInTech3D I did notice it as well! Huge thanks for the extra effort! I'm really dependent on subtitles since English is not my native language and I've hearing aids...
@DouglasFish
@DouglasFish 2 жыл бұрын
0b1111001 is the only hint I'll give
@LostInTech3D
@LostInTech3D 2 жыл бұрын
what? 😂
@LostInTech3D
@LostInTech3D 2 жыл бұрын
you are welcome, I always make sure subtitles are on the vids and will carry on doing so! 👍
哈莉奎因以为小丑不爱她了#joker #cosplay #Harriet Quinn
00:22
佐助与鸣人
Рет қаралды 10 МЛН
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 2,9 МЛН
No empty
00:35
Mamasoboliha
Рет қаралды 12 МЛН
LDO Super Power Stepper Motors - First impression
29:06
Vez3D
Рет қаралды 57 М.
Someone threw this 3D printer in the garbage...
24:45
Maker's Muse
Рет қаралды 340 М.
How to Choose the Fastest Motors for your 3D Printer
12:36
Matt The Printing Nerd
Рет қаралды 22 М.
Fun with Transistors
24:33
HackMakeMod
Рет қаралды 145 М.
3D Printing Gears - The Ultimate Guide
24:43
How To Mechatronics
Рет қаралды 54 М.
The Print Tests: Cheap 3D Printer Nozzles. Can *YOU* tell?
25:47
Lost In Tech
Рет қаралды 29 М.
S42B closed loop stepper motors - No more layer shifts!
14:46
Teaching Tech
Рет қаралды 261 М.
High precision speed reducer using rope
20:19
Aaed Musa
Рет қаралды 1,5 МЛН
Beginners Guide To Using Large Stepper Motors: #087
19:49
Jeremy Fielding
Рет қаралды 287 М.