Microstepping a PCB Motor?

  Рет қаралды 149,049

Carl Bugeja

Carl Bugeja

Күн бұрын

My first attempt at making a Stepper PCB Motor!
Get a free trial of Altium Designer - carlbugeja.com/altium
My favorite PCB Manufacturer - www.pcbway.com
Help me make more projects by supporting me on Patreon - / carlbugeja
My Flexible PCB Actuators - flexar.io
Cameras/Tools I use (affiliate links):
Main Camera - amzn.to/30tRgY7
Second Camera - amzn.to/2ZLm2wy
Light Setup - amzn.to/3jtqckA
Heating Plate - amzn.to/36qYzD4
Ultrasonic Cleaner - amzn.to/3nfUGHY
Magnifying Lamp - amzn.to/3jrcaQv
Vernier Caliper - amzn.to/3eTju3I
Multi-meter - amzn.to/3hq6B2R
Digital Milligram Scale - amzn.to/30HIw1X
Digital Microscope - amzn.to/3lmVIkF
3D Printer - shop.prusa3d.com/#a_aid=0550494M
Open Source Files:
hackaday.io/project/176174-pc...
www.hackster.io/carlbugeja/pc...
Social Media:
Website - carlbugeja.com
KZfaq Channel - / carlbugeja
Twitter - / bugejacarl
Instagram - / bugeja.carl
Facebook - / bugeja.carl
Linkedin - / carl-bugeja-0b922a135
Music:
Billy Goat Stomp - KZfaq Audio Library
I Feel Like Partying Right Now - KZfaq Audio Library

Пікірлер: 394
@AgentDexter47
@AgentDexter47 3 жыл бұрын
popping is probably due to moisture, usually it is released in the pre-heat phase of the reflow
@Nitrous105
@Nitrous105 3 жыл бұрын
You are right and Carl also. The reflow profile is very important and he should use the recomended one in the solder paste datasheet. The components poping can be eliminated by drying them. Recommended temperatures and times are 40-45°C/192 hours or 125°C/24 hours. Basicly enought is to store the components with some silicon moisture absorber.
@neur303
@neur303 3 жыл бұрын
Friends of mine use a modified pizza oven with a customized controller. Infrared might also work better than direct contact. But do whatever you need to get the job done. Apparently it worked for the most part :)
@ProtonOne11
@ProtonOne11 3 жыл бұрын
Might not even be moisture in the sense of water, it might just have been the flux in the paste that was instantly getting turned into vapor causing the popping. I guess putting the spatula with the PCB on top of the plate for a little bit, to preheat everything a bit slower would make it work with that hot plate. But for roughly 200$ you can get a pretty decent IR reflow oven from china that is okay for prototyping and small batch productions. (Just have to open some of them up before using them, and take out the cheap masking tape inside and replace it with kapton tape...)
@xfactor529
@xfactor529 3 жыл бұрын
Replying to boost this comment
@oraszuletik
@oraszuletik 3 жыл бұрын
In industry it is called popcorn effect. Moisture or contamination
@nochan99
@nochan99 3 жыл бұрын
I would love to see how that looks with magnetic film on top!
@CharlesJrPike
@CharlesJrPike 3 жыл бұрын
Actually, that might be a really great way to debug this. I suspect that the irregularities with stepping may be due to the shape of the magnetic field-- a lot of commercially produced brushless motors and generators go great lengths to ensure good shaping of the magnetic field to ensure smooth rotation and to cancel harmonics.
@MatheusFP104
@MatheusFP104 3 жыл бұрын
"In theory should work", I say this all the time when not is working properly haha
@KamranQasimovDeirvlon
@KamranQasimovDeirvlon 3 жыл бұрын
İ think, you have to increase the count of coils if you want more precise steper motor. Not 4 coils but 8 or more)
@martinfyhn1976
@martinfyhn1976 3 жыл бұрын
Yeah, generally there are many more N/S "pairs" generated by the coils, and more permanent magnets. I would think that you can get a much better result with your current design, if you use more permanent magnets. Try using 8 of the small ones you have, in "series" in the same orientation as your last attempt.
@PhdHung
@PhdHung 3 жыл бұрын
The problem here is that there isn't a lot of space to squeeze more coils.
@martinfyhn1976
@martinfyhn1976 3 жыл бұрын
@@PhdHung But there's room for more magnets. I initially suggested using 8 small magnets, but it might actually work better if you use a number that isn't divisible by the amount of coils you have, so e.g. 5, 6, or 7.
@martinvizar6430
@martinvizar6430 3 жыл бұрын
Correct me if my claims are wrong.. ..but shouldn't the number of Magnets be always divisible by 2 and the number of Poles always divisible by 3..?
@KamranQasimovDeirvlon
@KamranQasimovDeirvlon 3 жыл бұрын
@Martin Vizar Actually no, because 6 coils can be, it is divisible by 3. The main purpose of us to make a loop out of poles for example: 4 coils N S N S - N S N S - N S N S and so on.
@Leonelf0
@Leonelf0 3 жыл бұрын
I would be interested in oscilloscope traces of the phase current. Due to the low phase inductance (air core...) I imagine the current ripple to be huge, making microstepping very hard to impossible
@ikocheratcr
@ikocheratcr 3 жыл бұрын
Maybe the driver is not designed for the low inductance this PCB has, not sure I have not checked datasheet, but I guess there is an spec for min inductance. Maybe the chopping frequency can be adjusted.
@ka0ticstyle1
@ka0ticstyle1 3 жыл бұрын
Hey man, I like your videos. Love how you show your R&D steps and how you go about trying to solve issues you run in to. Keep it up!
@richardhead8264
@richardhead8264 3 жыл бұрын
_Hi Carl! When spreading solder paste, instead of using flimsy business cards, pick up a few blank RFID cards from Ebay._ 👍
@excitedbox5705
@excitedbox5705 3 жыл бұрын
or old gift cards
@NightMind0
@NightMind0 3 жыл бұрын
@@excitedbox5705 Or new loyalty program cards lol
@4.0.4
@4.0.4 3 жыл бұрын
Or brand new non-activated credit cards that you did not order (banks send them to encourage you to open an account where I live).
@WladimirWostok
@WladimirWostok 3 жыл бұрын
The best choice is an old stencil mask(size must fit the respective PCB size) 🤗 This also allows to remove excess paste after printing.
@EwanWills
@EwanWills 3 жыл бұрын
Or 3d print one 😏
@Xaerorazor0
@Xaerorazor0 3 жыл бұрын
We use 7 pole (14 total lobes) steppers with 1/256 micro stepping as our tracking motor for one of our telescopes. Pole geometry is important as all poles need to be wired the same way, so as the have the same entry and exit point on all phases to have consistent magnetic fields.
@orestdubay6508
@orestdubay6508 3 жыл бұрын
Very nice! I believe the big issue is the dead zone between the coils. You may be able to fix it by stacking two layes of (shifted by 45 degres) coils on top of each other - either by multi-layer pcbs or by putting two PCBs on top of each other. In such a way the magnet will always be under the influence of some coil - and you could have twice as many steps per rotation.
@neur303
@neur303 3 жыл бұрын
I am also not 100% familiar with steppers, but things I would look at first: *) Geometry of the magnetic fields is important, Normal steppers have shaped soft iron cores, the air gap between coil/core is very important due to magnetic reluctance. Making it more reliable was a good first step, but I can imagine that the fields you generate are a bit too "disjoint". Increasing the number of poles, like suggested in another comment, might make it a bit better. The strongest force are at the points with least gap. This also means that you don't get a lot of force between steps. Maybe disassemble a bipolar stepper motor to look how you could apply similar principles :) The shape of your magnets is very likely relevant too. *) I am pretty sure you did that, but the drivers you use have a lot of features, that improve current usage and noise. These are designed using real stepper motors in mind and the algorithms they use might get "confused". I think they might use back-emf to measure some parameters. So disable all those features during debugging and maybe use 1/4 and 1/8th microsteps. Edit: Thanks for these very cool projects and sharing them online! There's so much we can learn from it!
@platin2148
@platin2148 3 жыл бұрын
Beginners will also see the horrendous price tag Altium has and that’s probably also the reason why a lot of hobby and later job people will not use it i guess.
@johnuferbach9166
@johnuferbach9166 3 жыл бұрын
Its free for students tho^^
@Tutoelectro1
@Tutoelectro1 3 жыл бұрын
Yes, just use KiCad
@poptartmcjelly7054
@poptartmcjelly7054 3 жыл бұрын
I've personally tried Altium, Eagle, Solidworks PCB and easyEDA but KiCAD is still my favorite.
@Ender_Wiggin
@Ender_Wiggin 3 жыл бұрын
Lol you think altium is expensive! Look at mentor pads
@pentachronic
@pentachronic 3 жыл бұрын
Altium is a professional grade software. I use it for business and for the price I think it is very reasonable. It's not really meant for hobbyists but I gather they are trying a different business model to address that market too.
@WarmPudgy
@WarmPudgy 3 жыл бұрын
the answer to your problem is shown at :15 seconds. you need more "teeth", four poles, 2 phase is not enough. have you tried stepping a 3 phase brushless?
@OtherDalfite
@OtherDalfite 3 жыл бұрын
This. Stepper motors work off of having many different "channels" or field locations to move between. Narrowing yourself down to only 4 field coils makes controlling something very difficult. Unfortunately with only a single layer PCB, there's not really a whole lot of space to squeeze more coils in without sacrificing strength.
@xfactor529
@xfactor529 3 жыл бұрын
Could you phase shift the bottom layer coils by 45 degrees so there would be 2 phases on bottom, 2 phases on top?
@stefankachaunov396
@stefankachaunov396 3 жыл бұрын
I second this answer, that's what the teeth on a stepper are for :)
@excitedbox5705
@excitedbox5705 3 жыл бұрын
Yup I replied the same thing. you can also solve the problem by varying the strengths of your magnetic field. The field is stronger/weaker depending on how close to the center of the coil the magnet is so by ramping the power of the magnets depending on the position will help. He may still have a problem while the magnet is over those wide coils though because it will be hard to get an even step while the rotor is over the traces.
@nathaniellangston5130
@nathaniellangston5130 3 жыл бұрын
That was incredible!! I would love to see more videos on this!!!
@VishalRaveendranathan
@VishalRaveendranathan 3 жыл бұрын
brilliant work! You are such an inspiration. Thank you for making such videos.
@AdityaPrakash-kt3rf
@AdityaPrakash-kt3rf 3 жыл бұрын
Seems like you had a great learning experience. The work u did seemed quite challenging to me. Good luck with the next iteration!
@scottwilliams895
@scottwilliams895 3 жыл бұрын
First video of yours I've watched, and I really enjoyed it! + Subscribed!
@padmalayarawal3091
@padmalayarawal3091 3 жыл бұрын
Your videos are so interesting and when so ever I see them in my feed I can't stop myself to watch it again and again. Watching this video 6th or 7th time.🤩😍
@Apple-Bay
@Apple-Bay 3 жыл бұрын
I think it because is a small amount of moisture and when you heat it slow it has time to evaporate but when you rapid heat it is like exploded also it happens to some chips if you don't put on an oven at 100degrees for at least 2 hrs, it is called popcorn effect
@yaseenrehman6751
@yaseenrehman6751 Жыл бұрын
The reason you are getting the jumping effect is caused by a high transient response (overshoot) per step angle. The way modern stepper motors mitigate this is by increasing the number of phases and poles to decrease the step angle for more precise steps. That's why in the hybrid motors you were talking about in the beginning, by using teeth those types of stepper motors are able to decrease their step size to fractions of an angle compared to the permanent magnet one you built. Lowering the speed and adding a type of dampener will also help prevent the high overshoot! Using an H-bridge motor driver is also usually the best option for stepper motors.
@AlleyBeachElectric
@AlleyBeachElectric 3 жыл бұрын
You can just septate the flex PCB from the stepper board and use fingers to attach solder the coil flex PCB to main pcb (similar to LCD Cables). You can also try 1.6mm @2oz copper, and 0.4mm @ 1oz and play around with that. Your issue with components is you did not let the pcb soak and the flux in the paste popped your components. This is an awesome project non the less!! Super awesome work :)
@StreuPfeffer
@StreuPfeffer 3 жыл бұрын
can you "reflow" some butter and kernels to a Aluminuim sheet to see if the popping still occurs?
@vaseemmehrancp9372
@vaseemmehrancp9372 3 жыл бұрын
Awesome work man
@rickseiden1
@rickseiden1 3 жыл бұрын
What solder paste are you using. The stuff I bought isn't any good, and I'm looking to replace it.
@tangomonky7
@tangomonky7 Жыл бұрын
I know this is 2 years later, but did you ever get the communcation with the single wire uart working? I ran into a very similar issue and after much headache, I discovered that trinamic used a different wiring convention for tx/rx then I was used to. Essentially, instead of commecting the uC rx to the trinamic tx, (and tx to rx), you have to connect the uC tx to the trinamic tx (and rx to rx).
@simonrichter3950
@simonrichter3950 3 жыл бұрын
Hey, looks great so far :D Have you thought about putting some iron core into your four pcb coils? Should be very beneficial for the inductance and fore of the coils :)
@victortitov1740
@victortitov1740 3 жыл бұрын
+1. Stepper drivers are designed with high inductance of motor windings in mind, here the inductance is probably 10 or 100 times lower. This means their current regulation circuitry is probably not functioning. Adding external inductors in series to the windings may another solution.
@eswar4834
@eswar4834 3 жыл бұрын
Amazing this video 👍 l hope created more PCB design project with you...
@augurelite
@augurelite 3 жыл бұрын
keep at it my friend!!
@Anthocyanina
@Anthocyanina 3 жыл бұрын
someone else mentioned this already, but they jumped likely because of moisture and yes, the rapid temperature change. many parts mention in their datasheet that you need to bake them before soldering
@positivePulse835
@positivePulse835 3 жыл бұрын
Amazing job ! can you share with me the name of that software?
@richardhead8264
@richardhead8264 3 жыл бұрын
_Hi Carl, the rotor is responding erratically because the magnetic flux distribution contains regions of varying density._ _To be more precise, the flux is strongest at the axis of each coil. And it is weakest where two adjacent coils abut together._ _Try laminating two flexible coil circuits with a 45° offset. Then write new code that energizes the coils in 45° increments, rather than 90°._
@PRROBOTICS
@PRROBOTICS 3 жыл бұрын
Truly innovative and knowledgeable video🤩😍
@prashanthkunati6418
@prashanthkunati6418 2 жыл бұрын
How those pcb traces are laid in altium, is there is any function to use
@apachebcn
@apachebcn 2 жыл бұрын
i need to make a mini magnet piston to move one axis about 1cm. Do you know any similar project?
@mystamo
@mystamo 3 жыл бұрын
With lots and lots of experience with PCB making.. I can say that Stencils and Solder paste is sometimes worth more trouble than it is worth. I generally hand solder everything and use a hot air reflow for SM components with pins under the IC. I think the poping could have been caused due to moisture in your components as well as the ramp up in temp.
@DaleMitchell1367
@DaleMitchell1367 3 жыл бұрын
The components jumping has happened to me before! It's due to moisture in the solder paste... after it happened to me, I checked the expiration date on the paste, it expired three years ago, lol. The issue is not from the hot plate, I also use a hot plate and it works fine, mind you I use leaded solder and have the temperature set to 200 C. Use fresh solder paste! I highly recommend the thermally stable solder paste from Chipquik, it does not require refrigeration for storage (it can be stored at room temperature): TS391AX
@Nono-hk3is
@Nono-hk3is 3 жыл бұрын
I love this application
@-robo-
@-robo- 3 жыл бұрын
Have you (would you) consider using nitinol memory wire in a small robot project?
@har2191
@har2191 3 жыл бұрын
Creo que tus inventos tendrían una gran aplicación en medicina Biomecánica, increíble lo que haces, eres un loco con buenas ideas!!!
@chillydickie
@chillydickie 2 жыл бұрын
Just found this channel. Suprr awesome. Would be interested to find out how the pcb coils do for power generation. Definitely strong use case for the form factor
@alecdvor
@alecdvor 3 жыл бұрын
Love this project. Im happy you shared this even though it wasnt as successful as you probably wouldve liked.
@steve_jabz
@steve_jabz 3 жыл бұрын
In 3D printing there have been problems with unofficial TMC driver modules not working with UART because some pins needed to be set to switch it from SPI to UART. I remember having to get my soldering iron to short some pins on my boards but I can't remember what they were. Maybe it's a similar problem?
@johndoe528
@johndoe528 3 жыл бұрын
Very cool! I think the other direction you could go with this is field oriented control, which may be more natural to implement with the pcbmotor designs
@AiOinc1
@AiOinc1 3 жыл бұрын
Very interesting project! I hope to see more of it. Maybe more phases would help with your skipping problem? Either that or more turns per phase.
@Derlaft
@Derlaft 3 жыл бұрын
Is it somehow possible to use this as a rotational sensor? Would be super-useful.
@TrollingAround
@TrollingAround 3 жыл бұрын
How do the coils perform as alternators?
@lazer1036
@lazer1036 3 жыл бұрын
Your one of my new favorite youtubers
@TheMechatronicEngineer
@TheMechatronicEngineer 3 жыл бұрын
Which solder paste do you use?
@Krunalbhongade
@Krunalbhongade 3 жыл бұрын
We use normal 30$ otg oven and control its temperature using provided knob. Also, while soldering we need to heat from both sides of the pcb, which is only possible in otg oven. It works great and we have probably soldered more than 100 pcbs within 1 year.
@embracethesuck1041
@embracethesuck1041 Жыл бұрын
Oh man, this looks like an amazing application for watch complications.
@sachideshmane5088
@sachideshmane5088 3 жыл бұрын
Would using an odd number of poles on the stator and an even number on the rotor help? (Or vice-versa?)
@quinnfoster4671
@quinnfoster4671 3 жыл бұрын
I would love to if you could get a cheap absolute encoder onboard and try closed loop control.
@therealjammit
@therealjammit 3 жыл бұрын
I was thinking of adding intentional magnetic "cogging". Basically it's a bunch of iron "spokes". The spokes concentrate the magnetic field in specific areas and "lock" the magnetic rotor.
@ericblenner-hassett3945
@ericblenner-hassett3945 3 жыл бұрын
The reason stepper motor stators and rotors have ' ribbing " is to force the magnetic force lines between them. If you have any magnetic/conductive fillaments, try making what would look like a 3mm set of line li,e a clock face for the stator side and similar for the rotor. You missed the why of the stepper motor manufacturing and an accident on a stepper had me tear it open several times to find the lack of fins on my rotor meant it skipped. Good work so far, keep going!
@gloomiehoodie
@gloomiehoodie 3 жыл бұрын
Great video Carl. Wondering if you would see resolution improvement using 4 magnetics. Subscribed!
@AboubakrA
@AboubakrA 3 жыл бұрын
I think because the coils have very wide wire bundle it makes the area between two adjacent coils have no magnetic field and so the rotor become "loose" in those areas and is not stepping anymore until it's caught above the next coil
@Minifig666
@Minifig666 3 жыл бұрын
I wonder if the reason for the jerky motion is because the field from the coils is not uniform? Perhaps the phase difference between the coils needs to vary over a full cycle?
@lahcenasbayou9028
@lahcenasbayou9028 3 жыл бұрын
@Carl Bugeja you have to add more coils to the flexible pcb if you want to have precise and more steps
@nashaut7635
@nashaut7635 3 жыл бұрын
How about stacking two flex PCB's but 45° apart so their coil overlap?
@MikePryadko
@MikePryadko Жыл бұрын
Please, give link to the video about micro stepper motor you mentioned (“from 2016”) on 0:58
@ESCcrasci
@ESCcrasci 3 жыл бұрын
Amazing video as always!!! I feel that the skipping issue may have occured due to the number of coils on the PCB. This may change with the addition of coils. Great video as always!!
@CarlBugeja
@CarlBugeja 3 жыл бұрын
Thanks! I agree having 8poles or more will be much better
@hitarthbulsara9649
@hitarthbulsara9649 3 жыл бұрын
Great work. I think it was skipping because the magnetic flux wasnt strong enough to get into a steady motion. Higher coil winding or increased current could generate more flux. Try increasing current, it might work more smoothly.
@pentachronic
@pentachronic 3 жыл бұрын
At the top of the coils the H field lines will be going horizontal. Have you tried turning the magnets on the rotor to be horizontal vs the up/down ? Ie N/S in the fixed magnets will be coplanar to the PCB.
@EEBBSamarJain
@EEBBSamarJain Жыл бұрын
Can you also comment about the torque characteristics of the pcb stepper motor.
@FC-sk2ud
@FC-sk2ud 3 жыл бұрын
What's the scope output?
@joshuadelutis7170
@joshuadelutis7170 3 жыл бұрын
Have you tried pulling the mode pin (pin 9) of the TMC chip to ground? That should change it to UART mode
@eatonkuntz
@eatonkuntz 11 ай бұрын
If you look at the timing of the skipped steps it's consistently at the center of coils. You need an offset, either an extra magnet or extra coils.
@cubedude76
@cubedude76 3 жыл бұрын
cool project! Try cooling it on a peltier plate so you can pump more current through the coils without overheating. also try visualizing the magnetic field with magnetic field paper while the motor is running. i bet that would look super cool to see the magnetic field.
@terok85
@terok85 3 жыл бұрын
There needs to be more poles on both rotor and stator in such way that when coil is activated there is always rotor magnet "close" ... so basically there needs to be magnet between poles in every position. That way the motor steps forward all the time. Also suggestion is to add hall-sensor so you know what position the rotor is so you can control more accurately the motor.
@regispaulo
@regispaulo 3 жыл бұрын
I think if add more coils, you can manage better the magnetic fields. I love your projects btw
@krammehl
@krammehl 3 жыл бұрын
Maybe your PCB motors are more suited for low-load / high-speed applications like an ultra thin fan that cools down a PCB. Keep it up!
@andymuzzo8568
@andymuzzo8568 3 жыл бұрын
Awesome. Keep it up
@polkijain97
@polkijain97 3 жыл бұрын
The problem is the wide variation in magnetic field across the poles. Either make the poles smaller or the magnets larger so that the varying magnetic flux is evenly distributed when interacting with the permanent magnet. You can use the magnetic field simulator software to get the flux map of your design. Increasing number of poles will certainly improve things. Commercial stepper motors have much larger number of pole pairs and equally large number of alternating permanent magnets in the rotor.
@Schwuuuuup
@Schwuuuuup 3 жыл бұрын
I wonder if the orientation of the coils cause the problem. As I see it the magnetic field goes up / down perpendicular to the pcb. Wouldn't it be better to have a long rectangular pcb with several coils side by side and roll it up to a loop. So the magnetic field would point inwards to the axle? But I'm just guessing
@illygah
@illygah 3 жыл бұрын
moisture in the components is why they 'popcorned'. usually smd parts have a moisture ingress rating and if the parts are exposed to atmosphere beyond a set period of days (or hours even) they need to be tossed in an oven for a bit.
@muraligsn
@muraligsn 3 жыл бұрын
Congrats on moving to New lab.
@gblargg
@gblargg 3 жыл бұрын
It's refreshing to see one not cluttered with junk everywhere.
@ecslaboratory9604
@ecslaboratory9604 3 жыл бұрын
Hii, Could you tell me Which software you use to code these Circuits?
@CarlBugeja
@CarlBugeja 3 жыл бұрын
I'm using the mplab ide
@ecslaboratory9604
@ecslaboratory9604 3 жыл бұрын
@@CarlBugeja Thanks...
@andreipadureanu5523
@andreipadureanu5523 3 жыл бұрын
The problem of popping the chips out of the PCB is because of the moisture forming in between the legs of the chips and the PCB. Some distributors that deliver this kind of integrated chips put the chips in antistatic bags and after that they put also bags with silica gel to prevent moisture to build up inside the package, my distributor put also a sensitive paper in the package in order to see if the chips are contaminated with moisture. The theory behind is very simple, because of the temperature that rises quickly the small particles of moisture expands very quick and pressure builds up resulting a small thermal explosion that pop’s your bits of solder away an the small components also. I hope I was useful enough.
@gladiusilluminatus3720
@gladiusilluminatus3720 3 жыл бұрын
I think this would be a great opportunity to get some magnetic viewing film to try and observe the actual magnetic fields produced. Also about the flexible PCB dilemma. Would it be possible to have some standard ones made with one coil and the connectors and so on and then get one of the "coil pads" from one of these prototypes and glue it on top of the coil on the hard pcb? this way you could get the stability of a hard PCB but also the stronger magnetic field from the flexible ones? and use the one coil on the hard PCB to augment that further?
@myrmidon0
@myrmidon0 3 жыл бұрын
Nice work !, i think u should use a regular pcb for better performance
@ClaytonDarwin
@ClaytonDarwin 3 жыл бұрын
Carl, check the datasheet for the driver and you will probably see that the microstepping amperage change follows (mimics) a sinusoidal wave. This helps fast turning motors run smoothly. HOWEVER ... if you are doing single steps, you will get almost no step change near the peaks and valleys because the amperage isn't changing much, and then big changes in between when it is. So, it always looks like it is skipping, even when it is not. The only way I can get equal steps is by using a dual h-bridge and full or half stepping manually (with my own code). Hope this helps. It really frustrated me until I realized what was happening. Those drivers just aren't really designed for single steps. Or at least not equal single steps.
@CarlBugeja
@CarlBugeja 3 жыл бұрын
Thanks for the tip! I think driving it manually with a custom driver would be better.. And this is probably how I would start if I design a second version
@kwakeham
@kwakeham 3 жыл бұрын
Dealing with tiny tiny steppers now (20 step/rev 8mmx8mm) and trying to microstep. Scope your voltage lines to the motor. What you might see if it's the same problem is that the current saturates really easily and instead of a sinewave looking waveform you end up with a few steps and then saturation. I've been fighting to get this down, but most drivers have potentiometers to set current and setting to things like 0.03v is hard with these parts to set things like 70ma current which is also out of spec for the the drivers. I've confirmed this behaviour at microstepping on 8825, a4988, stspin220 and trinamic 2209. Doesn't matter which, if current setting is too high it'll saturate quickly, so you need it very very very low and then limiting microstepping.
@jonaskoepcke8941
@jonaskoepcke8941 3 жыл бұрын
While using bigger stepps, it looked like the problem comes from I think has the name Oversteering. that means when it starts moving it accelerates to a speed, where the magnetic field isnt strong enough to hold it in the next position and the inertia brings it to the position after his designation. to test if it is the problem increase the amps or make the spinner as light aus you can.
@luclu7_
@luclu7_ 3 жыл бұрын
This is definitively the best "sponsor integration" I ever saw o/
@albertfenil37
@albertfenil37 3 жыл бұрын
Not sure, when the sponsor makes him say something precise it's oftenly not good...
@kindaFunkyNGL
@kindaFunkyNGL 3 жыл бұрын
thought a bit more disclosure would be nice
@JohnDoe-ce2wl
@JohnDoe-ce2wl 3 жыл бұрын
Thanks. I hate it.
@katjastrand3955
@katjastrand3955 3 жыл бұрын
I wouldnt know, I use SponsorBlock
@luclu7_
@luclu7_ 3 жыл бұрын
@@katjastrand3955 I watched the video before it was addedd to the sponsorblock database :P
@MostafaAhmed-kn4yy
@MostafaAhmed-kn4yy 3 жыл бұрын
This is a wonderful project, I suggest you another amendment to make the rotor steps more accurate, which is to design small copper coils on the perimeter of the circle so that each coil acts as a magnet that attracts the rotor I apologize for the linguistic mistakes.
@barmetler
@barmetler 2 жыл бұрын
I guess you want to store your solder paste in a box with some silica thingies to keep the moisture down, just like you would with filament Or ramp the temperature to release the moisture, but I think avoiding humidity in the first place sounds like a good idea too
@antadefector
@antadefector 3 жыл бұрын
Please check if phase coils should overlap for proper operation of motor (say one phase coils meet at the middle of second phase coil). Best Regards
@nfast3960
@nfast3960 3 жыл бұрын
where can i get one of these tiny stepper motors?
@CarlBugeja
@CarlBugeja 3 жыл бұрын
The design files are available for download and i will also be having a pcb giveway next week on my patreon
@nfast3960
@nfast3960 3 жыл бұрын
@@CarlBugeja I mean one of these really tiny ones you showed at the beginning
@scottwilliams895
@scottwilliams895 3 жыл бұрын
What's that LED green pcb star on your wall?
@CarlBugeja
@CarlBugeja 3 жыл бұрын
pcbway christmas merch from last year :) www.pcbway.com/Project/gifts?toolboxid=10&itemsboxid=0&sortid=0&stock=0&ipuSearch=&isoffset=1
@scottwilliams895
@scottwilliams895 3 жыл бұрын
@@CarlBugeja Brilliant, thank you! I'll check it out :-)
@robk5969
@robk5969 3 жыл бұрын
your reason for using a flex pcb is to get the 2 layers of coils closer together, this would be more expensive, but maybe you could try using a multi layer pcb, if sticking with 2 layers of coils, get a 4 layer pcb and the coil is on layer 1 and 2 (or design it with 4 layers of coils) (idk if this would work, still very new to this stuff, never designed a multilayer pcb, so idk what other considerations you would need)
@sevilnatas
@sevilnatas 3 жыл бұрын
In commercial environments, solder paste is flowed using IR being directed towards the board as opposed to conducting the heat through the board. This method would reduce the amount of heat load you'd be introducing into the substrate. It seems like direct heat from a heat gun, IR panel, or an oven situation, might be a better solution. Just my 2 cents
@aeshalo
@aeshalo 3 жыл бұрын
I've had issues trying to talk to TMC drivers too (TMC2209). I might be wrong, but I think you have to start with a disable pdn_uart command to shut down the other mode of the UART pins. You might also want to make sure that all your message bytes are individually reversed for the crc, so when adreasing register 1, you actually feed 0b10000000 into the CRC.
@codebeat4192
@codebeat4192 3 жыл бұрын
3:05 Jummy, fresh baked chips on slice of copper haha. Like you said at the end of your video, you need more coils. I have never seen a stepper motor with only 4 coils. Nice detailed video, greetz.
@electronash
@electronash 3 жыл бұрын
Did you try inverting the UART output? Some datasheets have a habit of showing the data as active-high (logically), but the signal is really active-low. Worth a shot. Is it also possible that because of the design of the flex PCB, the Trinamic driver isn't seen the same amount of back-EMF from the rotor, so it can't get proper feedback from it? On normal steppers, the rotor is quite solidly "captured" in the magnetic field.
@electronash
@electronash 3 жыл бұрын
As it's a one-wire UART, I figured it might use an open-drain driver, at least on one side. And yep, the diagram on the Trinamic site seems to suggest that. Those drivers are probably on their eval board. i.imgur.com/ynofGK8.png ie. when the TX on the Bus Master (Arduino) is enabled, it uses a push-pull driver, but it's also an inverting type. And when the device (stepper driver) wants to transmit, it only has an open-drain driver, so can only pull the line down to Ground to transmit. That also has the effect of inverting the transmitted data, though. The datasheets might just be showing the logical-high UART data, but really that normally gets inverted on the eval board. (I haven't actually read the datasheet, btw, this is just a hunch, as it might be quick to try. lol)
@Gabriel965519437
@Gabriel965519437 3 жыл бұрын
Is this a full flex pcb or a rigid-flex pcb?
@konstantinchizhov1419
@konstantinchizhov1419 3 жыл бұрын
The rings inside motor coils are looking like metallization. If it so, it can act as a short circuit turn in the coil and would strongly affect driver in micro stepping mode.
@jackFPV442
@jackFPV442 3 жыл бұрын
What would be the torque output
@konstantinchizhov1419
@konstantinchizhov1419 3 жыл бұрын
Also neodymium magnets has metallic conductive coating. Alternating magnetic field is inducing eddy currents in this coating which reduces motor efficiency. Try using magnets without metallic coating. Coating can be acid etched from available magnets.
@cobralyoner
@cobralyoner 3 жыл бұрын
so interesting!
@labiadh_chokri
@labiadh_chokri 3 жыл бұрын
When you put that pcb on the hot plate I thought about Italian pizza :-)
@groggynod
@groggynod 3 жыл бұрын
I like the concept, I've never seen a pcb motor before. You should check the magnetic fields generated with a magnetic viewing film. I think you may be getting some back EMF and eddy currents.
Making PCB Motor v4
10:29
Carl Bugeja
Рет қаралды 560 М.
Making a PCB Motor spin 30,000 RPM FASTER
13:41
Carl Bugeja
Рет қаралды 1,8 МЛН
ТАМАЕВ УНИЧТОЖИЛ CLS ВЕНГАЛБИ! Конфликт с Ахмедом?!
25:37
PCB Motor - Why Are Wedge Coils Better Than Round Coils?
7:01
Designing UniStep - an open source UNIPOLAR stepper motor driver!
30:43
Chronic Mechatronic
Рет қаралды 10 М.
How this Actuator Survived 100,000,000 FLAPS
9:22
Carl Bugeja
Рет қаралды 1,3 МЛН
ROCKET that LITERALLY BURNS WATER as FUEL
19:00
Integza
Рет қаралды 1,4 МЛН
Closed loop stepper motors -- very impressive
10:46
Matthias random stuff
Рет қаралды 120 М.
The world's worst video card?
32:47
Ben Eater
Рет қаралды 6 МЛН
The holy grail of ferrofluid displays (Carl Bugeja Collab!)
9:01
Applied Procrastination
Рет қаралды 60 М.
Planar Speaker PCB - Homemade HiFi Headphones
11:37
Electronoobs
Рет қаралды 465 М.
Making a Jumping PCB Robot
12:18
Carl Bugeja
Рет қаралды 230 М.
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 8 МЛН
Что не так с раскладушками? #samsung #fold
0:42
Не шарю!
Рет қаралды 215 М.
Cheapest gaming phone? 🤭 #miniphone #smartphone #iphone #fy
0:19
Pockify™
Рет қаралды 4,2 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,8 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 1,1 МЛН