Create Powerful PCB Coils with Automation - KiCad Plugin Secrets!

  Рет қаралды 40,227

atomic14

atomic14

Күн бұрын

Once again, PCBWay (www.PCBWay.com/?from=atomic) delivered the goods and the PCBs arrived before I finished making the video on how they were made!
I've started a new project and part of what we're doing will be to try and recreate the fantastic work that's been done by Carl Brugeja (Carl - apologies for the terrible pronunciation of your name in the video) - / carlbugeja - have a look at his videos on PCB motors.
I started looking at creating coils in KiCad and rapidly came to the conclusion that life was far too short and it was the kind of thing that should be automated.
We've ended up with some pretty good results. I've uploaded my code to GitHub - hopefully, it will help other people when it comes to writing KiCad plugins - the code is here: github.com/atomic14/kicad-coi...
0:00 Why are we here?
0:29 Sneak preview of the PCBs doing something
0:49 What are our constraints?
1:30 Making simple round coils
2:08 Making space for a via
2:26 Getting magnetic fields aligned
3:03 How does this make a motor?
4:14 Arbitrary-shaped coils - is it possible?
4:38 First attempt
4:59 Second attempt
5:25 Third attempt - Chaikin's line smoothing algorithm
5:53 Fourth attempt
6:27 Final working algorithm!
7:00 Getting it working with KiCad
9:45 PCBWay KiCad plugin
---
If you'd like to help support the channel then I have a Patreon page: / atomic14
And if you're shopping on AliExpress or Amazon then if you click on these links I will get a little bit of affiliate money:
Aliexpress - s.click.aliexpress.com/e/_Ac05mF
Amazon - www.amazon.com/?tag=atomic14-20
You can also join us on Discord here: / discord
And we've got an exciting new newsletter! makernews.substack.com/

Пікірлер: 63
@CarlBugeja
@CarlBugeja Жыл бұрын
Love the details of your script for different shapes! and thanks for the shout out!
@atomic14
@atomic14 Жыл бұрын
Thanks Carl! We wouldn't even have started the project without your videos.
@TobiasKornmayer
@TobiasKornmayer Жыл бұрын
Also have a look at this video: kzfaq.info/get/bejne/sLmUmNd72LnJfqs.html
@chopper3lw
@chopper3lw Жыл бұрын
Hurry up and publish the next video! I've been noodling over this idea for a while and you've completely outdone my aspirations. Nice job!
@frollard
@frollard Жыл бұрын
Would be nice to see if stacking flex pcb coils is economically feasible compared to having the multi-layer pcb manufactured. More coil more gooder.
@atomic14
@atomic14 Жыл бұрын
Yeah, that's a really interesting question, the other thing to think about is the cost difference becomes much less significant for multilayer boards once you start going for larger quantities - ordering 500 8 layer boards works out at about $1.40 each. If you only want 10 then it's $28 each...
@alexanderkbailey
@alexanderkbailey Жыл бұрын
Awesome video! Love how you visualised everything
@atomic14
@atomic14 Жыл бұрын
Glad you liked it!
@achimbuchweisel2736
@achimbuchweisel2736 Жыл бұрын
Very pleasing presentation :) Great Job!
@pigi_experiment
@pigi_experiment Жыл бұрын
Beautiful work. I'm really interesting of what sort of torque you can have from this sort of motor. Please keep update.
@atomic14
@atomic14 Жыл бұрын
That's the big question at the moment. Shifting a small magnet around is pretty easy, but we're going to need to actually make something move.
@ed.puckett
@ed.puckett Жыл бұрын
Thank you, though-provoking and inspiring, as usual!
@atomic14
@atomic14 Жыл бұрын
Thanks - I'm glad you liked it.
@Sovvyy
@Sovvyy Жыл бұрын
I never know what to write in comments....but, I found the video facinating; very much looking forward to the next installment!
@atomic14
@atomic14 Жыл бұрын
I'm the same, but I also know what a boost it gives people - especially when a video is first released - to know that someone has watched and was interested enough to write a comment. So thank you :)
@Sovvyy
@Sovvyy Жыл бұрын
@@atomic14 Well, I'm always happy to see a new video and try to convey it somehow... it's gratifying to think my awkward comments could have a positive effect!
@yanhuang4911
@yanhuang4911 Жыл бұрын
This is a great idea for building small robot with facial expression whose eyelids or mouth is too small to be controlled by normal servos. Only 2 coils can change the position of a eyelid with a magnetic
@HariWiguna
@HariWiguna Жыл бұрын
I've been trying to learn how to use KiCad's Python "API". Your code is very helpful! Thank you for sharing!
@atomic14
@atomic14 Жыл бұрын
You're very welcome!
@sublucid
@sublucid Жыл бұрын
An easy way to fillet the sharp corners is to cast two rays with a small angular offset, and then average their hit points.
@atomic14
@atomic14 Жыл бұрын
Interesting idea - I’ll give that a go and see what happens.
@Bianchi77
@Bianchi77 9 ай бұрын
Good knowledge, well done, thanks for sharing with us :)
@Jandodev
@Jandodev Жыл бұрын
Love carls video this is really cool!
@atomic14
@atomic14 Жыл бұрын
Thanks - his videos were very inspiring.
@StepDub
@StepDub Жыл бұрын
How about getting multiple thin boards with an optimal number of layers (say 4) and mounting them on top of one another? Would offsetting such multiple boards improve or decrease overall performance?
@samj1012
@samj1012 2 ай бұрын
Thumbs up to you, very useful video...Can you please teach us how to make a triangle shape bifilar which is two triangle coils inside each other and they connect together in the cnter and the two outer nodes are the coil pins.....tried to make 2 triangles and place them within each other but then things went messed up.
@OMNI_INFINITY
@OMNI_INFINITY Жыл бұрын
Thanks for posting that! I have the plugin installed and jupyter loaded to make a json, but how to get jupyter to output a json? Thanks in advance to any that posts a good answer!
@THE_ONLY_GOD
@THE_ONLY_GOD Жыл бұрын
Any video showing it hooked up with proper 3 phase switching?
@ozgur280
@ozgur280 8 ай бұрын
thank you so much it is so good to understand. However I am new bee on scripting. I cannot get how could we put json file in to kicad program. May you explain little
@SanjaySharma-ov1kf
@SanjaySharma-ov1kf 6 ай бұрын
Thank you @Atomic14 for sharing the PCB coil design. Have anyone tried designing a Axial flux Generator using the PCB coils? The sample provided by @Atomic14 is bit small, and I am not familiar with using KiCAD software. Can someone help to scale the size for the wegde coil PCB to be 200mm diameter instead of 46 mm diameter?
@OMNI_INFINITY
@OMNI_INFINITY Жыл бұрын
How to make the via in the center of the coil in Kicad? Been trying much of tonight to do that.
@fredflintstone1
@fredflintstone1 Жыл бұрын
great informative and interesting Video 🙂
@atomic14
@atomic14 Жыл бұрын
Glad you liked it!
@joshuaplank883
@joshuaplank883 2 ай бұрын
Any chance you could explain how to use the plugin? I'm not sure why its not working for me, or if I set it up right.
@piconano
@piconano Жыл бұрын
Read; "Nikola Tesla U.S. Patent 512,340 - Coil for Electro-Magnets" What you have is in Fig 1. What you want is in Fig 2. Tesla found round magnets and round coils produced clean sine waves, as the magnet gradually came to register with the coil. I played with all sorts of pulse motors 1998-2000. Learned a ton that I didn't really understand in college.
@atomic14
@atomic14 Жыл бұрын
Very interesting - found a video that explains the patent - kzfaq.info/get/bejne/gN90eK2Y19iagGQ.html
@nikthefix8918
@nikthefix8918 Жыл бұрын
Hi Atomic14, here's an idea if not a request: Perhaps at some point you might look at the similar idea of making a capacitive quadrature encoder using nothing but pcb tracks and timers - similar to the digital calipers we use. I've been experimenting with this using 2 pcb's, one rotating over another but so far my results have been terrible and too easily affected by finger proximity. I need some sort of physical common-mode rejection built in to the geometry if not in code.
@AzaB2C
@AzaB2C Жыл бұрын
Love the topic and your content. Using 3b1b /anim for the animations? Cheers Chris and Friend(s) for this one!
@atomic14
@atomic14 Жыл бұрын
Thanks - yes 3b1b - I’m using the community edition as the docs are a bit better. Still quite a learning curve though!
@alihho
@alihho Жыл бұрын
Pure engineering
@LaOwlett
@LaOwlett Жыл бұрын
Would like to see one used in low rpm power generation.
@dubbylabby6068
@dubbylabby6068 Жыл бұрын
+1 at 33/45 RPM...
@jedclampett3725
@jedclampett3725 Жыл бұрын
Have you given any thought to making the coils conform to the specs of Nikola Tesla's "coil for electromagnets" patent? It's two coils arranged in parallel connected in series. Generally described as a pancake coil but the concept also works for cylinders. My testing of them has given some nice results.
@OMNI_INFINITY
@OMNI_INFINITY Жыл бұрын
Saw now. Thanks for mentioning. Think I looked at that a while ago.
@prometheus4130
@prometheus4130 Жыл бұрын
I suppose there’s a reason why you can’t stack multiple pcbs to increase the coil density? I haven’t thought this through 👀
@atomic14
@atomic14 Жыл бұрын
I think you definitely can. But then it might be better to go for more layers on the board instead. To be honest my knowledge of electro magnetism is pretty low so I’m not sure what would be best.
@kishore4274
@kishore4274 Жыл бұрын
Yes, ofcourse considered the flow of current in both coils are along the same direction. Stacking several pcb coils along the z axis, essentially can be modelled as solenoid.
@OMNI_INFINITY
@OMNI_INFINITY Жыл бұрын
Couldn't get that script to function in jupyter, so I drew the coil "by hand".
@dubbylabby6068
@dubbylabby6068 Жыл бұрын
This is the nearest to my request in the other video I suppose... It could be possible someone taking request for custom size motor? I need someone to help me for a project and by the end of the summer I expect to have some money to hire that person... maybe I'm asking too much too little? S.O.S...
@fenderrexfender
@fenderrexfender Жыл бұрын
Knowing M0 AND G CODE would help
@captaindavejseddon8788
@captaindavejseddon8788 2 ай бұрын
Just draw it, old school way.. :)
@kayakMike1000
@kayakMike1000 Жыл бұрын
Why does it have to be on a pcb?
@AlexFoster2291
@AlexFoster2291 Жыл бұрын
simplicity breh. Other components along with motors can be made on the same substrate
@nottelling6598
@nottelling6598 Жыл бұрын
You can order them made cheaply, and it's thin. It's much cheaper than trying to get wound coils.
@Rob_III
@Rob_III Жыл бұрын
@2:50 This has some strong Megademo vibes from the 90's 😆 kzfaq.info/get/bejne/ZpepbLWXrN2cfIk.html
@atomic14
@atomic14 Жыл бұрын
That brings back some memories!
@Rob_III
@Rob_III Жыл бұрын
@@atomic14 Just remembered that this was also in Spaceballs: kzfaq.info/get/bejne/bp-npJh21L7dXWQ.html
@fglatzel
@fglatzel Ай бұрын
Incredible how people keep on copying their backwards design. What are these magnets for? Have you ever seen an induction motor? ...and do they perhaps have magnets? When will people start using their brain? It's free!
@Paul-cg5cl
@Paul-cg5cl Ай бұрын
Could you explain what exactly you mean? For an IM motor the stator would still need coils?
@cinobro6393
@cinobro6393 Жыл бұрын
Have a look at the NodoWheels (Stay with me) They use a Stacked PCB motor to control angular resistance and inertia!
@atomic14
@atomic14 Жыл бұрын
Interesting! I’ll take a look.
PCB Motor - Why Are Wedge Coils Better Than Round Coils?
7:01
How to design a PCB Motor?
9:21
Carl Bugeja
Рет қаралды 129 М.
🤔Какой Орган самый длинный ? #shorts
00:42
New model rc bird unboxing and testing
00:10
Ruhul Shorts
Рет қаралды 23 МЛН
Most Interesting Addressable LEDs that I've Ever Seen
10:50
atomic14
Рет қаралды 12 М.
2022 -  The tooling ecosystem that adds joy to KiCad
28:43
MCH2022
Рет қаралды 9 М.
Designing Billions of Circuits with Code
12:11
Asianometry
Рет қаралды 584 М.
Making PCB Motor v4
10:29
Carl Bugeja
Рет қаралды 560 М.
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 138 М.
The U-Net (actually) explained in 10 minutes
10:31
rupert ai
Рет қаралды 90 М.
AES: How to Design Secure Encryption
15:37
Spanning Tree
Рет қаралды 153 М.
Axial Flux Synchronous Motor Prototype
16:33
Birdbrain
Рет қаралды 272 М.
68% Smaller PCB Coil - Is it Better?
7:45
Carl Bugeja
Рет қаралды 36 М.
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 15 МЛН
S24 Ultra and IPhone 14 Pro Max telephoto shooting comparison #shorts
0:15
Photographer Army
Рет қаралды 9 МЛН
Cheapest gaming phone? 🤭 #miniphone #smartphone #iphone #fy
0:19
Pockify™
Рет қаралды 4,2 МЛН