Create Powerful PCB Coils with Automation - KiCad Plugin Secrets!

Поделиться
HTML-код
  • Опубликовано: 29 июн 2024
  • 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 Год назад +4

    Love the details of your script for different shapes! and thanks for the shout out!

    • @atomic14
      @atomic14  Год назад +2

      Thanks Carl! We wouldn't even have started the project without your videos.

    • @TobiasKornmayer
      @TobiasKornmayer Год назад

      Also have a look at this video: ruclips.net/video/zSdetJsSeNw/видео.html

  • @chopper3lw
    @chopper3lw Год назад +1

    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 Год назад +7

    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  Год назад +3

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

  • @achimbuchweisel2736
    @achimbuchweisel2736 Год назад

    Very pleasing presentation :) Great Job!

  • @alexanderkbailey
    @alexanderkbailey Год назад

    Awesome video! Love how you visualised everything

  • @pigi_experiment
    @pigi_experiment Год назад +1

    Beautiful work. I'm really interesting of what sort of torque you can have from this sort of motor. Please keep update.

    • @atomic14
      @atomic14  Год назад +1

      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 Год назад +1

    Thank you, though-provoking and inspiring, as usual!

    • @atomic14
      @atomic14  Год назад

      Thanks - I'm glad you liked it.

  • @yanhuang4911
    @yanhuang4911 Год назад +2

    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

  • @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  Год назад +1

      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!

  • @Bianchi77
    @Bianchi77 9 месяцев назад

    Good knowledge, well done, thanks for sharing with us :)

  • @Jandodev
    @Jandodev Год назад

    Love carls video this is really cool!

    • @atomic14
      @atomic14  Год назад +1

      Thanks - his videos were very inspiring.

  • @HariWiguna
    @HariWiguna Год назад +2

    I've been trying to learn how to use KiCad's Python "API". Your code is very helpful! Thank you for sharing!

    • @atomic14
      @atomic14  Год назад +1

      You're very welcome!

  • @sublucid
    @sublucid Год назад +2

    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  Год назад +2

      Interesting idea - I’ll give that a go and see what happens.

  • @fredflintstone1
    @fredflintstone1 Год назад

    great informative and interesting Video 🙂

  • @piconano
    @piconano Год назад +2

    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  Год назад +3

      Very interesting - found a video that explains the patent - ruclips.net/video/JyDEJgrr6P0/видео.html

  • @alihho
    @alihho Год назад

    Pure engineering

  • @samj1012
    @samj1012 Месяц назад

    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.

  • @SanjaySharma-ov1kf
    @SanjaySharma-ov1kf 5 месяцев назад +2

    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?

  • @StepDub
    @StepDub Год назад +1

    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?

  • @AzaB2C
    @AzaB2C Год назад +1

    Love the topic and your content. Using 3b1b /anim for the animations? Cheers Chris and Friend(s) for this one!

    • @atomic14
      @atomic14  Год назад +1

      Thanks - yes 3b1b - I’m using the community edition as the docs are a bit better. Still quite a learning curve though!

  • @nikthefix8918
    @nikthefix8918 Год назад +1

    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.

  • @THE_ONLY_GOD
    @THE_ONLY_GOD Год назад

    Any video showing it hooked up with proper 3 phase switching?

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

  • @ozgur280
    @ozgur280 7 месяцев назад

    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

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

  • @joshuaplank883
    @joshuaplank883 Месяц назад

    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.

  • @jedclampett3725
    @jedclampett3725 Год назад +1

    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 Год назад +1

    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.

  • @LaOwlett
    @LaOwlett Год назад +1

    Would like to see one used in low rpm power generation.

  • @fenderrexfender
    @fenderrexfender Год назад

    Knowing M0 AND G CODE would help

  • @OMNI_INFINITY
    @OMNI_INFINITY Год назад

    Couldn't get that script to function in jupyter, so I drew the coil "by hand".

  • @cinobro6393
    @cinobro6393 Год назад +2

    Have a look at the NodoWheels (Stay with me) They use a Stacked PCB motor to control angular resistance and inertia!

    • @atomic14
      @atomic14  Год назад +1

      Interesting! I’ll take a look.

  • @captaindavejseddon8788
    @captaindavejseddon8788 Месяц назад

    Just draw it, old school way.. :)

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

  • @Rob_III
    @Rob_III Год назад

    @2:50 This has some strong Megademo vibes from the 90's 😆 ruclips.net/video/01y9RfGw8LU/видео.html

    • @atomic14
      @atomic14  Год назад

      That brings back some memories!

    • @Rob_III
      @Rob_III Год назад

      @@atomic14 Just remembered that this was also in Spaceballs: ruclips.net/video/89wq5EoXy-0/видео.html

  • @kayakMike1000
    @kayakMike1000 Год назад

    Why does it have to be on a pcb?

    • @AlexFoster2291
      @AlexFoster2291 Год назад +2

      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.

  • @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 26 дней назад +1

      Could you explain what exactly you mean?
      For an IM motor the stator would still need coils?