panire
panire
  • 40
  • 86 587
OpenEMS for Common Mode Current Reduction in Buck Converters: A Design Example with KiCad
Tutorial on how to install openEMS:
th-cam.com/video/VcJqhsbzR3c/w-d-xo.html
Link to the KiCad layout and FreeCAD project:
drive.google.com/drive/folders/1CjyStkD-QcgeJ_MMNXYUzqnzv4xRPv9A?usp=sharing
All tools for this video are completely free (even for commercial use): KiCad, openEMS, FreeCAD, ParaView
If you'd like to support this channel and gain something valuable in return:
This course also covers thermal simulations, which I am not currently sharing on TH-cam, also it shows how to fix many common error messages while working with openEMS: www.udemy.com/course/kicad-fem-with-free-software-tools/?couponCode=TH-cam123
coupon code: TH-cam123
My LTSpice course + how to design a 99% efficient buck converter:
www.udemy.com/course/ltspice-design-a-99-efficient-buck-converter/?couponCode=TH-cam123
coupon code (Expires 01/24/2025): TH-cam123
มุมมอง: 623

วีดีโอ

free near field emission simulation with KiCad and part 2 on how to improve magnetic field emissions
มุมมอง 954หลายเดือนก่อน
Tutorial on how to install openEMS: th-cam.com/video/VcJqhsbzR3c/w-d-xo.html Part 1: th-cam.com/video/yrl2gRjtrek/w-d-xo.html Link to the KiCad layout files: drive.google.com/drive/folders/11nf6uB_hGcfmkwtK50X9-EaJ4_Vfn2FB?usp=sharing All the tools used for this video are free (even for commercial use): KiCad, FreeCAD, Paraview, OpenEMS as well as the Macro "Freecad to OpenEMS" If you'd like to...
part 2: free filter capacitor simulation with KiCad and openEMS (decoupling capacitor placement)
มุมมอง 4Kหลายเดือนก่อน
Link to HQDFM: www.nextpcb.com/dfm Tutorial on how to install openEMS: th-cam.com/video/VcJqhsbzR3c/w-d-xo.html Link to the KiCad layout and FreeCAD project: drive.google.com/drive/folders/1GjVHOofa6pD2YG0Vt_ew7L6F4XL9j90o?usp=sharing All tools used for the simulations are completely free (even for commercial use): KiCad, openEMS, FreeCAD, ParaView If you'd like to support this channel and gain...
free filter capacitor simulation with KiCad and openEMS (decoupling capacitor placement) - part 1
มุมมอง 15K2 หลายเดือนก่อน
Tutorial on how to install openEMS: th-cam.com/video/VcJqhsbzR3c/w-d-xo.html Link to the KiCad layout and FreeCAD project: drive.google.com/drive/folders/1JbvDZPIALfWHK0YIx3jeQYNXVP76XbNZ?usp=drive_link link to the mentioned video on how to simulate the electric field around a trace: th-cam.com/video/7onf2qFLAyM/w-d-xo.html All tools for this video are completely free (even for commercial use):...
free KiCad trace impedance over frequency simulation with openEMS - part 2 S11 scattering parameters
มุมมอง 2.5K2 หลายเดือนก่อน
Tutorial on how to install openEMS: th-cam.com/video/VcJqhsbzR3c/w-d-xo.html Link to the KiCad layout and FreeCAD project: drive.google.com/drive/folders/1Mr8m9MLqud2q33zhyjh-gWSmoBitEeHl?usp=drive_link All tools for this video are completely free (even for commercial use): KiCad, openEMS, FreeCAD, ParaView If you'd like to support this channel and gain something valuable in return: This course...
How to calculate trace impedance with KiCad and openEMS
มุมมอง 3.5K2 หลายเดือนก่อน
Tutorial on how to install openEMS: th-cam.com/video/VcJqhsbzR3c/w-d-xo.html Link to the KiCad layout and FreeCAD project: drive.google.com/drive/folders/10Y-JVpxJf4EuZht1ITr8n9vRp7Yjf47V?usp=drive_link All tools for this video are completely free (even for commercial use): KiCad, openEMS, FreeCAD, ParaView If you'd like to support this channel and gain something valuable in return: This course...
free KiCad trace impedance simulation via TDR method (trace impedance over distance) using openEMS
มุมมอง 13K3 หลายเดือนก่อน
Tutorial on how to install openEMS: th-cam.com/video/VcJqhsbzR3c/w-d-xo.html Link to the KiCad layout: drive.google.com/drive/folders/179AWLWhP9IyYMtqTTF7w8thTi49mRDB4?usp=drive_link All tools for this video are completely free (even for commercial use): KiCad, openEMS, FreeCAD If you'd like to support this channel and gain something valuable in return: This course also covers thermal simulatio...
free KiCad Crosstalk Heatmap Simulation and how to improve magnetic field emissions with openEMS
มุมมอง 15K4 หลายเดือนก่อน
Tutorial on how to install openEMS: th-cam.com/video/VcJqhsbzR3c/w-d-xo.html Link to the KiCad layout files of the Arduino Pro Mini Board: drive.google.com/drive/folders/16fGUOuIOmBRuoG4TzB4AvZ iqvV6trH?usp=drive_link All the tools used for this video are free (even for commercial use): KiCad, FreeCAD, Paraview, OpenEMS as well as the Macro "Freecad to OpenEMS" If you'd like to support this cha...
free KiCad Wave Propagation Simulation with openEMS (E-Field, H-Field, HF-crosstalk and impedance)
มุมมอง 9K4 หลายเดือนก่อน
All software tools that I used for this simulation are completely free (even for commercial use): KiCad (PCB layout tool) FreeCAD (Mechanical CAD tool) OpenEMS (Electromagnetic simulation tool) Octave (programming tool that can use matlab scripts) Paraview (data visualization) Link to the files that were created in this video: drive.google.com/drive/folders/14lhucroRvFhTZuko30cLIfptwJHfbFd4?usp...
free radiated emission simulation (electric field) of a KiCad layout + PCB layout review
มุมมอง 1.9K5 หลายเดือนก่อน
I only used free tools (even for commercial use) to perform this simulation: KiCad FreeCAD Meshlab Gmsh Elmerfem Chapters: 0:00 - 1:09 - Import KiCad Layout into FreeCad 1:10 - 1:46 - Repair 3D model with Meshlab 1:47 - 5:38 - Finalize the 3D model and export it as brep file 5:39 - 7:38 - Create Mesh file with Salome 7:39 - 8:40 - Convert Mesh file to Elmer format with elmergrid 8:41 - 10:55 - ...
free Kicad 3D current density simulation, voltage drop, ground bounce, DC impedance, PCB simulation
มุมมอง 3.6K5 หลายเดือนก่อน
I only used free tools (even for commercial use) to perform this simulation: KiCad FreeCad Meshlab Gmsh Elmerfem Link to the files: drive.google.com/drive/folders/1gCE37gTaGWhWX6JAWXlaQSnzDspousGF?usp=sharing If you'd like to support this channel and gain something valuable in return: This course also covers thermal simulations, which I am not currently sharing on TH-cam: www.udemy.com/course/k...
free Multilayer PDN simulation for KiCad FEMM 4.2 Finite Element Analysis ground bounce+voltage drop
มุมมอง 2.7K5 หลายเดือนก่อน
This video should be more or less a full guide on how to perform a voltage drop and current density simulation for KiCad Layouts. I only used completely free tools: KiCad LibreCad Femm 4.2 If you'd like to support this channel and gain something valuable in return: This course also covers thermal simulations, which I am not currently sharing on TH-cam: www.udemy.com/course/kicad-fem-with-free-s...
free KiCad 3D current simulation with Gmsh Elmerfem and FreeCAD Finite Element Method
มุมมอง 6946 หลายเดือนก่อน
free KiCad 3D current simulation with Gmsh Elmerfem and FreeCAD Finite Element Method
free Arduino Buck Converter simulation using SimulIDE and two point control, LTSpice+WOKWI combined
มุมมอง 2786 หลายเดือนก่อน
free Arduino Buck Converter simulation using SimulIDE and two point control, LTSpice WOKWI combined
KiCad Electric Field Simulation with Elmerfem - Shielded Stripline Finite Element Analysis
มุมมอง 7516 หลายเดือนก่อน
KiCad Electric Field Simulation with Elmerfem - Shielded Stripline Finite Element Analysis
Coplanar Waveguide Electric Field simulation with KiCad and Elmerfem Finite Element Analysis
มุมมอง 8127 หลายเดือนก่อน
Coplanar Waveguide Electric Field simulation with KiCad and Elmerfem Finite Element Analysis
free KiCad Electric Field Simulation with FEMM 4.2 Finite Element Analysis / Finite Element Method
มุมมอง 4127 หลายเดือนก่อน
free KiCad Electric Field Simulation with FEMM 4.2 Finite Element Analysis / Finite Element Method
free KiCad PDN (power delivery network) on power line power integrity simulation in 2D, FEA / FEM
มุมมอง 6597 หลายเดือนก่อน
free KiCad PDN (power delivery network) on power line power integrity simulation in 2D, FEA / FEM
PDN simulation with KiCad and Femm 4.2 (power delivery network)
มุมมอง 9317 หลายเดือนก่อน
PDN simulation with KiCad and Femm 4.2 (power delivery network)
Boost converter with SimulIDE (LTSpice Alternative / WOKWI Alternative)
มุมมอง 2637 หลายเดือนก่อน
Boost converter with SimulIDE (LTSpice Alternative / WOKWI Alternative)
Femm 4.2 for KiCAD PDN (Power Delivery Network) via FEM (Finite Element Method) / FEA
มุมมอง 2.1K7 หลายเดือนก่อน
Femm 4.2 for KiCAD PDN (Power Delivery Network) via FEM (Finite Element Method) / FEA
Microstrip electric field simulation in 3D with Elmerfem
มุมมอง 1.1K7 หลายเดือนก่อน
Microstrip electric field simulation in 3D with Elmerfem
3D printed 20V 1A laboratory power supply based on ZK-4KX
มุมมอง 2238 หลายเดือนก่อน
3D printed 20V 1A laboratory power supply based on ZK-4KX

ความคิดเห็น

  • @EEInternship
    @EEInternship วันที่ผ่านมา

    At 17.39 minute, I attempted to run the code as demonstrated in the video. However, I am unsure which buttons to click to display the code and run it. Could you please indicate which buttons to click to achieve that specific display?

  • @KostantisX
    @KostantisX วันที่ผ่านมา

    Thank for the video. You can simulate high-speed connections using S-parameters, generated from EM simulations that include frequency-dependent Dk and Df S-parameters that you can import into circuit simulators or SI libraries for time-domain analysis. There are some commercial tools like HFSS and CST (ADS also, I believe) that also do this. I know you can also use Python libraries like PySpice, scikit-rf, or PySI for signal integrity analysis, to simulate circuit behavior using frequency-dependent models. These libraries can analyze signal integrity with S-parameters (reflection, crosstalk, loss etc), taking into account the frequency dependence of dielectric material. But for a layman using free tools is better.

  • @wisnueepis3593
    @wisnueepis3593 2 วันที่ผ่านมา

    Can you make a comparison with real measurement eg. 4WKelvin, I got 30 mV different from simulation to measurements

    • @panire3
      @panire3 2 วันที่ผ่านมา

      Hi there, Some initial questions: Is the absolute difference between measured and simulated voltage drop less than 10%? Do you measure more or less voltage drop compared to the simulation result? If you have different measurement values, it can be due to the following reasons: * The copper thickness of most manufacturers has a tolerance of +-10%, this can vary from batch to batch. * This 2D simulation does not include the vias. If you have a lot of vias in your design there might be some differences due to that as well.

    • @wisnueepis3593
      @wisnueepis3593 วันที่ผ่านมา

      @panire3 it's more than 10%. My measurement took around 50 mV and my simulation 17 mV like seems like a bit off. I watched another video PDN they are using a Elmer and have less than 10% error. I followed it but got stuck on mesh parameter always error. Sorry out of topic. If you have sometime try to consider making a video of 3D simulation for PDN.

  • @AlbertRei3424
    @AlbertRei3424 3 วันที่ผ่านมา

    Wouldn't it be better to pull back the copper on Layer 1 to control the return path by confining it to layer 2?

    • @panire3
      @panire3 3 วันที่ผ่านมา

      Many DDR layouts have the GND pulled back, so in a way I agree that its kind of the industry standard for routing in multi-layer PCBs. If thats the "best" way I am not sure. In fact via stitching every signal could cause less emissions (see here: th-cam.com/video/jYVD-8Wgdq8/w-d-xo.html), however vias take up much space, so removing GND from the top layer is often done due to limited board space.

  • @maykol161
    @maykol161 3 วันที่ผ่านมา

    me estoy tomando el tiempo para ver todos tus videos.. no dejes de publicar por favor!!

  • @nurhaida1983
    @nurhaida1983 3 วันที่ผ่านมา

    Great video again! 👍👍 I'm just curious, if I want to simulate the effects of the components on the board, such as common mode choke, lc filter, etc., does that mean I have to model the choke as a lumped model? Also, how do you determine the simulation timestep and min decrement to ensure that openems does not crash for a sized grid? From my previous runs with openems, the crashes were influenced by the grid size, the timestep and the min decrement. Is there a formula to determine/calculate the appropriate values for the timestep and min decrement for a given grid size? Looking forward for your far-field sim soon 😊👍

    • @panire3
      @panire3 3 วันที่ผ่านมา

      Far Field: I will upload the far field simulation process on udemy this week and will re-comment here once done. Determination of required timesteps: Yes, for many problem types there is a formula for the required timesteps, will upload it on udemy those next days and keep you updated. Min decrement: I sadly dont know a formula for that one, I typically use a very low value and limit the simulation time by the number of timesteps. Inductors / chokes: As of now the lumped inductor models seem not to work. So a choke still need to be modeled by via the 3D geometry. Thats kind of hard to do especially if you want to simulate a specific partnumber of a given manufacturer. I am working on a video for that, but this one is going to take a while.

    • @nurhaida1983
      @nurhaida1983 3 วันที่ผ่านมา

      ​@@panire3thank you for your hard work to share your knowledge on this. Looking forward on your udemy course update soon👍

    • @panire3
      @panire3 3 วันที่ผ่านมา

      Hi again :) on udemy now are following updates: Lecture 20: I added an Excel sheet on how to calculate the required timesteps when injecting a step signal. Lecture 19: check this one out regarding crashes. PS: what exactly do you mean with crashes. you mean that you get error messages or do you refer to very long loading times? If its mainly about loading times, then the new lectures 16 and 17 might also be very useful. I will text again once the far field tutorial is uploaded.

    • @nurhaida1983
      @nurhaida1983 วันที่ผ่านมา

      @panire3 thanks! Just checked it out yesterday. Haven't gone through but thank you very much for the udemy updates. Regarding the crash, it was not related to the long loading issue. It was more on that, openems immediately terminates the session and an error message code that I have shared with you in previous lectures. It goes something like this: error: openEMS binary exited with error-code -1073740791 However, after playing around with the timesteps and min decrement and maintaining a fine mesh grid, i think i did around 0.05, the error message disappears. When I increase the grid to 0.1, same issue occurs but after playing around with the timestep and min decrement, it disappears. Probably it might have something to do that openems breaks itself due to the fine mesh with to big of a timestep but with small min decrement. So, i came to the conclusion that it has to correlate with the mesh size, timestep and min decrement. So far, that was the issue that i had last year and i think my current workflow was to use a smaller timestep like in your previous video, maintaining default min decrement, grid size of 0.5. The lowest i could try was at 0.3 before the same error code message occurred again. Looking forward on your far field video this week. Need to learn how to use for my current project actually😂.

  • @fhdb-electronics-fm6yn
    @fhdb-electronics-fm6yn 5 วันที่ผ่านมา

    At 11:22 when you select the trace, KICAD gives you the routed length of the trace in the bottom section of the window as 147.1437mm. Using this length instead of the estimated 90mm yields almost exactly the simulated voltage drop.

    • @panire3
      @panire3 4 วันที่ผ่านมา

      Thank you for that input. :)

  • @cantfindagoodchannelname7359
    @cantfindagoodchannelname7359 6 วันที่ผ่านมา

    You are a life saver 🛟🛟🛟🛟

    • @panire3
      @panire3 6 วันที่ผ่านมา

      Hopefully, that was just a rhetorical comment. 😄 Welcome aboard this little open-source adventure!

  • @wisnueepis3593
    @wisnueepis3593 7 วันที่ผ่านมา

    you are a generous and genius man! I'll follow you up on this channel.

    • @panire3
      @panire3 6 วันที่ผ่านมา

      Thank you for the kind words! 😊 I’m glad to have you here + enjoy the learning journey!

  • @smunaut
    @smunaut 10 วันที่ผ่านมา

    Heh, for me the "Import button" is always grayed out, even after restarting the macro so can't do anything with it :/

    • @panire3
      @panire3 10 วันที่ผ่านมา

      Your problem description makes me think you are not using freecad 0.19.4. Please use exactly this version, else you might have problems with the import button. Also please use exactly kicad 6.0.11 Even the slightest change to the versions will likely cause problems.

    • @panire3
      @panire3 9 วันที่ผ่านมา

      if this change does not help, dont be shy to ask for help instead of giving up due to frustration

    • @smunaut
      @smunaut 9 วันที่ผ่านมา

      @ I did get the import to work now, had to patch a few things, but the imported geometry isn't correct. It seems the importer doesn't process correctly vias where there is only an annular ring on connected layers and not all layers. It's a recent-ish kicad addition so I'm guessing it was never updated to support that.

    • @panire3
      @panire3 9 วันที่ผ่านมา

      @@smunaut I was able to also work with only an annular ring when changing the grid size in x and y direction to 0.05mm instead of 0.1mm as shown in the video. Here are some screenshots on how to review the generated PEC dump, hope they help: drive.google.com/drive/folders/1BWAzePieKENgAA3u-ROWe8_CsoqpEZNL?usp=drive_link

  • @zachbrown7272
    @zachbrown7272 13 วันที่ผ่านมา

    I don't believe that simulation and the real world are going to align particularly well. The main issue is you aren't modeling any losses in your copper or your FR4, which creates those reflections. I bet as soon as you introduce some dielectric losses and make your copper an imperfect conductor then you'll see more accurate results.

    • @panire3
      @panire3 13 วันที่ผ่านมา

      Absolutely, there will be some differences. Later this year, I plan to make comparison measurements with real PCBs, which will provide an opportunity for us to refine the model.

  • @hightechsystem_
    @hightechsystem_ 16 วันที่ผ่านมา

    These shorts are priceless. They really help me visualize the effect of design decisions. Please make as many of these types of shorts covering noise, thermals, shielding, etc.

  • @hightechsystem_
    @hightechsystem_ 16 วันที่ผ่านมา

    These short videos are exactly what I’m looking for to guide design decisions🎉

  • @hightechsystem_
    @hightechsystem_ 17 วันที่ผ่านมา

    These length matching … adjustments … seem like a really bad idea… anything more than a small wire length adjustment and your impedance gets damaged… again, really appreciating your videos. Thank you.

  • @Blankblankblankblank
    @Blankblankblankblank 19 วันที่ผ่านมา

    If doing this for simple PCB, when using the import macro you selected the fuse copper option. If you have a 4, 6, or 8 layer PCB where not all of the copper layers are ground planes would you still select this option? For example I have an 8 layer board with 3 ground planes, if I fuse the copper will it combine those nets? Appreciate the videos these are awesome!

    • @panire3
      @panire3 17 วันที่ผ่านมา

      The fuse copper does combine all nets in a single object, but this doesnt mean there is a short circuit somewhere if thats what you mean. So with "fuse" you still end up having multiple nets and multiple ground planes as defined in your kicad layout. If you encounter issues importing a large file, it’s helpful to break the process down-import one trace at a time until you identify the problematic part. Attention: The process here does not work for "microvias and burried vias (or the so called HDI PCB production process)". If you dont want to bother to figure out your own process on how to import microvias, I show how to do it in my udemy course.

  • @salovamrani2084
    @salovamrani2084 20 วันที่ผ่านมา

    Is there a way to simulate smps?

    • @panire3
      @panire3 20 วันที่ผ่านมา

      Sadly not a full SMPS, because: openEMS as of now does not support diodes and mosfets. What you can do is to simulate the input and output filter of a SMPS.

    • @salovamrani2084
      @salovamrani2084 11 วันที่ผ่านมา

      ​@@panire3 thanks for a detailed answer. I have another question, is this maybe possible to do a thermal simulation. For example a cree xp e2 led 4x4 mm with a ground plane, what temperature the ground plane would be and crystal of the led?

    • @panire3
      @panire3 11 วันที่ผ่านมา

      ​@@salovamrani2084 The only free tool I sucessfully used so far for thermal simulations is Elmerfem. But I only managed to simulate single materials (e.g. only the heatsink only or asuming the leds are mounted on a pure aluminium PCB) with airflow - see my udemy course. If you want an exact simulation that includes the PCB layout, I havent figured out this yet.

  • @hightechsystem_
    @hightechsystem_ 20 วันที่ผ่านมา

    Every single one of your videos is an education. I really appreciate them. Thank you.

    • @panire3
      @panire3 19 วันที่ผ่านมา

      Nice to hear that :) and I hope you will enjoy using the tools for your own projects.

  • @hightechsystem_
    @hightechsystem_ 20 วันที่ผ่านมา

    This is exactly what people need to see. “But But But, if i just do this step, i can save my 2 layer board, and cut costs”… As Australians would say: “Yeah… Nah…. Won’t work”. I really hope you can get a lot more views on these types of PCB layout design fundamental videos.

  • @hightechsystem_
    @hightechsystem_ 20 วันที่ผ่านมา

    These videos of your work is really helpful. If possible, consider making “docker” scripts using Linux operating system. This way the setup is reproducible (e.g. specific known working versions of Python and various tools are selected in the docker image”. Otherwise these videos become unreproducible over time as version conflicts arise. -> I hope you and others like you find funding to upgrade the open source tools to integrate these complex workflows similar to the commercial tools. -- Oh Oh.. after you put all the work in setting and a simulation, can you please include video footage of the full simulation at the end (you don’t need to speak to it).. This way people can start to learn by just watching the video of the simulation.

    • @panire3
      @panire3 19 วันที่ผ่านมา

      I think the docker script idea of you is great, I will have a look into it, thanks for the suggestion. +Sure, i can add the full simulations to the end of the videos.

  • @SpaceTime-q8o
    @SpaceTime-q8o 20 วันที่ผ่านมา

    Hi Panire, Thanks so much for doing work! Thus far, I'm able to get things to work on Python 3.11 & FreeCad1.0 (which is the latest stable version at the time of this comment). However, inside the FreeCad-OpenEMS Export Macro, the "KiCAD PCB Import Tool" is greyed out no matter what I do (including restarting the macro many times). I tried to look at the .py codes but still cannot find a solution. Wonder if you can help to shed light on this... Thanks v much!!

    • @panire3
      @panire3 20 วันที่ผ่านมา

      Hi there :) Sadly I also didnt yet manage to make the import tool work yet with FreeCAD 1. Change to FreeCad 0.19.4 or 0.21 and the import button should work.

  • @bee_kind
    @bee_kind 20 วันที่ผ่านมา

    This is awesome. but... this process is a definite candidate for automation. :)

    • @panire3
      @panire3 20 วันที่ผ่านมา

      Youre correct :) check out this newer video, it shows a much more automated approach using the 3D model of the PCB: th-cam.com/video/trNCL96CELo/w-d-xo.html

  • @silvanochialina9857
    @silvanochialina9857 22 วันที่ผ่านมา

    Thank you very much for this video. In the past, I used openEMS with Octave, but I didn’t know it was possible to interface with FreeCAD. It’s a very useful tool, especially for importing PCBs and setting up the simulation. I was used to doing everything with command lines, so this is much faster

    • @panire3
      @panire3 21 วันที่ผ่านมา

      glad to hear that it helped you to speed up the process. :)

  • @questy44
    @questy44 24 วันที่ผ่านมา

    with the parallels caps and butterfly you can make the trace wider which might cancel any advantage of the other topology's

    • @panire3
      @panire3 21 วันที่ผ่านมา

      This might be the case, have fun testing it out with your own simulation! 😊 My concern with using thicker traces is that more of the signal might bypass the capacitor. If the traces are only as wide as the capacitor pads, the signal is more likely to flow through the capacitor.

  • @nurhaida1983
    @nurhaida1983 29 วันที่ผ่านมา

    I kept having this 'unused primitive' error for port_excite. Have you ever e countered this problem before on other pcbs, especially the ones imported from altium to kicad6 or kicad8?

    • @panire3
      @panire3 26 วันที่ผ่านมา

      Hi again :), hmm i know this error but i cannot recall in which exact scenario it happens. feel free to send me an example openems code via email and i can very likely tell you where the error comes from.

    • @nurhaida1983
      @nurhaida1983 21 วันที่ผ่านมา

      @panire3 hey panire! Sorry for the late reply. Finally got it working. The rootcause was due to the geometry. Had to fix the geometry and give it a try again, and the warnings were finally resolved🫠. It was frustrating and rewarding at the same time. I guess you faced more frustrating times on the tool too, i guess😄😄

    • @panire3
      @panire3 21 วันที่ผ่านมา

      ​@@nurhaida1983 Glad to hear you got it working! 😊 yeah, I can feel your frustration 😅 and also I can feel your joyful moment after finally figuring it out. 🎉 ⚡

    • @nurhaida1983
      @nurhaida1983 18 วันที่ผ่านมา

      ​​​@@panire3 i'm looking forward onto your next video. 😁😁👍. I know you mention that it'll be in a future video, but if I want to simulate far field, is the sine excitation given the same way as in your previous video?

    • @panire3
      @panire3 17 วันที่ผ่านมา

      @@nurhaida1983 the excitation method is the same, the only thing to worry is the grid size once the simulation gets bigger to keep simulation times at a reasonable level. I will show how to work with a variable grid size for the far field simulation

  • @panire3
    @panire3 หลายเดือนก่อน

    Hi and thx for messaging again :-), What still holds me back so far is that i didnt find a way to reduce the RAM usage with any of the KiCad 8 versions. If this little board took 64GB, a 8 layer PCB with 100x100mm would take hundreds of GB of RAM with the shown KiCad 8 approach. I fear that this would lead to some frustration which would be reflected in the course ratings. 🤔

    • @saviouremmanuel3608
      @saviouremmanuel3608 หลายเดือนก่อน

      @@panire3 Oh wow when I saw that you mentioned 64GB of RAM It didn't catch my attention so much so but now that you've highlighted it again, that's a scary lot. I have a 32GB RAM workstation laptop which means I'd have serious difficulties. But what is responsible for demanding such RAM demand? Okay is there a way we can raise this issue with the KiCAD community?

    • @IBasilisvirus
      @IBasilisvirus หลายเดือนก่อน

      @@saviouremmanuel3608 Yes, if we try to push the issue to KiCad, FreeCad or openEMS community, we might find out whats going on with such a high ram usage. After all, these three software people dont ever try to communicate with each other. we might be able to bring them together to talk about this and make an impact! @panire3 let me know if you want to make an issue on KiCad gitlab and share the link so we can support this, or I could do it instead :) (for me, I could not run the far field simulation of the board, my ram hangs up, I only have 16GB)

    • @panire3
      @panire3 หลายเดือนก่อน

      responsible is that the outter ring of the vias ia just 25 micrometers and FDTD is not good with moving from very fine meshes to rougher meshes (adaptive meshing).

  • @saviouremmanuel3608
    @saviouremmanuel3608 หลายเดือนก่อน

    This is an amazing simulation. The processes involved seem quite a lot and so I already asked once when you plan on making a Udemy course on using KiCAD 8 to run these simulations. I prefer that as I believe it will be more holistic and guided and I would better understand why you did some things as you did unlike TH-cam. So is there a time you are looking at running this simulation for KiCAD 8 on Udemy? I eagerly await.

  • @IBasilisvirus
    @IBasilisvirus หลายเดือนก่อน

    1. What (exact) versions of Kicad run well with all of that? 2. FreeCad version is still 0.19.4 ? 3. How did you manage to find out what versions of KiCad and FreeCad fun well with each other for these simulations on openEMS?

    • @panire3
      @panire3 หลายเดือนก่อน

      Hi :) 1) KiCad 6.0.11 2) FreeCAD 0.19.4 3) Sadly just by trial and error and a lot of patiente Apologies, I realize now that it's not clear which version was used. I should have included this information from the start, as it's crucial for anyone looking to replicate the simulation.

  • @naveenscube-iv2pu
    @naveenscube-iv2pu หลายเดือนก่อน

    Excellent! Your tutorial is easy to follow. Great job, keep up the great work.

  • @kagu
    @kagu หลายเดือนก่อน

    Maybe you already found out, but in Freecad, when you go to the Openscad bench. There is a "remove objects and their children" option that makes cleaning much easier.

  • @canetisfluctus
    @canetisfluctus หลายเดือนก่อน

    Why do we need to export each object as .step file? What difference does it make than converting the objects to solid directly in Part workbench? (FreeCAD noob here)

    • @panire3
      @panire3 หลายเดือนก่อน

      If it is not done, FreeCAD gives me an error when trying to cut out the copper from the airbox, so its just a workaround. I dont know the exact reason for the error, it might be an intersection problem.

  • @SiddharthaSuyal-t5p
    @SiddharthaSuyal-t5p หลายเดือนก่อน

    Great video as always. Is it possible to find the parasitic inductances (Common source inductance, gate loop inductance, and main loop inductance) of the PCB using FreeCad and OpenEMS? If so, can you please make a video on it? I think it'll be highly useful to electrical engineers.

    • @panire3
      @panire3 หลายเดือนก่อน

      Hi there, interresting request, after 35 years in this world i never heard about common source, gate/main loop inductance). 😅 I will have a read to see what it is about somewhen those next days.

  • @flamebull5
    @flamebull5 หลายเดือนก่อน

    Hi, are you planning on releasing your part 2 soon? I would love to see how you mitigate these issues as a beginner to PCB design!

    • @panire3
      @panire3 หลายเดือนก่อน

      Hi! Yes, I’m working on it, but haven’t gathered enough material yet to make a full video. 😊

    • @flamebull5
      @flamebull5 หลายเดือนก่อน

      @@panire3 Aw I see, I am planning on ordering my first proper PCB soon, so I would have loved to see that video. Would you mind stating what the technique is? Is it do with stitching capacitors?

    • @panire3
      @panire3 หลายเดือนก่อน

      ​@@flamebull5 yes, layout-wise stitching is for sure one of the biggest improvements that i dont see on many boards.

  • @wallieeverest7695
    @wallieeverest7695 หลายเดือนก่อน

    Great series of tutorials. Thank you for posting. Simulations for lumped resistors and capacitors work, but inductors produce bad results. Would you demonstrate an inductor too? My attempt at an inductor always produces an open circuit. The resultant Python code looks correct, but openEMS produces nonsense. (I tried adding parallel leakage as a sanity check). Is there some other secret adjustment needed for inductors? lumpedPart = CSX.AddLumpedElement('Part1', ny='z', R=1.0*1000.0, L=1.0*1e-09, caps=True);

    • @panire3
      @panire3 หลายเดือนก่อน

      Hi there, the lumped inductor model does not work yet and based on the github discussions group of openEMS it wont be implemented anytime soon. Simulating inductors as of now just works by defining them via their shape. I will make a video on that once for sure.

  • @seanscon
    @seanscon หลายเดือนก่อน

    What is the theoritical basis of the performance improvement antiparallel?

    • @panire3
      @panire3 หลายเดือนก่อน

      Hi there! I touched on this topic a bit in my last video. At some point, I'll likely need to make another video about it since I don't fully understand it yet. theoretical basis: The antiparallel layout style forces currents in opposing direction for each capacitor. The opposing currents reduce common mode current around the capacitors, but I’m still unsure how exactly this improves the S21 performance.

    • @seanscon
      @seanscon หลายเดือนก่อน

      @@panire3 thanks. i am subbing you

  • @krysieks
    @krysieks หลายเดือนก่อน

    Anyone successfully run macro on Freecad 1.0.0 ? For me the "KICAD PCB Import Tool" does not work

    • @patryksikora5262
      @patryksikora5262 หลายเดือนก่อน

      Same problem here even on version 0.21 is not running

    • @panire3
      @panire3 หลายเดือนก่อน

      I face the same issue, which is why I always stick to version 0.19.4. The same applies to KiCad - even the slightest change leads to major problems. 😊 For anyone using openEMS for the first time, I strongly recommend using my exact setup without any modifications to avoid unnecessary frustration.

    • @krysieks
      @krysieks หลายเดือนก่อน

      It looks like "import WebGui" has issue

    • @krysieks
      @krysieks หลายเดือนก่อน

      if you comment above line out the button will appear enabled

  • @k1ngjulien_
    @k1ngjulien_ หลายเดือนก่อน

    imagine showing this to an electrical engineer from the 60s. the fact that these simulations are possible would impress them, telling them all the software is free and open source would make them explode 😂 thanks so much for sharing!

    • @panire3
      @panire3 หลายเดือนก่อน

      You're welcome! Thanks so much for watching and even taking the time to leave a comment :D

  • @alioth7677
    @alioth7677 หลายเดือนก่อน

    Nice to see new video dropped on channel! Got a question - why it has to be kicad6 in course? Just wanted to see how recently developed board in Kicad8 behaves and i dont know whether downgrade is possible without issues. Just took a quick view at thermals - did you concidered maybe adding a section which could help with simulating heat sink with or without forced air flow? Would be nice to see it! Keep up the good work!

    • @panire3
      @panire3 หลายเดือนก่อน

      Ah thats quite a bummer to hear - I think downgrading is not possible in KiCad. Alright promise, my next youtube video will be with KiCad 8. Reason why i used KiCad 6 so far: I started with it and once i tried to move overe to KiCad 8 nothing worked anymore, so I thought why not wait for KiCad 9 to make a transition as KiCad 8 is soon to be phased out anyway. Thermals: Sure I can add a heatsink example with and without airflow. What I am still strugggling even after months of failurees is to make a thermal simulation with multiple materials, so combining heatsink+PCB in one simulation still doesnt work with any free tool that i tried.

  • @thee2pishow158
    @thee2pishow158 หลายเดือนก่อน

    Happy to see getting sponsored. Keep sharing ❤

  • @hardwareful
    @hardwareful หลายเดือนก่อน

    4:21 "switch to full copper vias" Do sitching vias bounded by two copper planes exhibit current crowding on the outer surface? 4:55 "mark the copper structure and the four pads and create a union of them" That's not strictly necessary as far as I'm aware - one just needs to assign more parts to PEC. I'd go so far as to suggest putting SMD constituent shapes into a part container such that it can be duplicated more easily, as once we're past a few components, it gets old pretty quickly.

    • @panire3
      @panire3 หลายเดือนก่อน

      regarding 4:21: I didnt check this one yet. But will do it now and give you feedback. As the material of the ground layer and traces is set to PEC (perfect electric conductor) it will for sure behave differently than copper which has limited conductivity. 4:55 yes its not strictly necessary to make a union. And you are right that with a complex board this is quite a hazzle.

    • @panire3
      @panire3 หลายเดือนก่อน

      4:21 here is the current distribution inside the via. so even though its a full copper via, the current is mainly concentrated at the surface: drive.google.com/file/d/1sNpWKgx8_lCW1eQKQSZFhLtPzLg_GMwm/view?usp=drive_link

    • @hardwareful
      @hardwareful หลายเดือนก่อน

      @@panire3 Excellent - thanks for checking it out. So this means the filled via approximation does not impact the RF performance. Solid PEC would also translate to an inner domain boundary (as long as we're not including finite conductivity in the material parameters). Next, it would probably be interesting whether a 3x3, 5x5 cell or other very small cube is sufficiently representative of a via barrel that may not be well-resolved spatially - or whether there are magic number / cylinder-to-cube conversions that produce close matches for the inductance to de-feature the round shape of a via.

    • @panire3
      @panire3 หลายเดือนก่อน

      ​@@hardwareful The cube approach is used in some 3D export tools (unfortunately, I can't recall which tool was exporting cubes), so that's definitely an option, and I have seen it being used. For rough estimations with fast simulation times, I am certain this would work.👍

  • @abdelazeemhassan3701
    @abdelazeemhassan3701 หลายเดือนก่อน

    Thanks for sharing

    • @panire3
      @panire3 หลายเดือนก่อน

      And thanks for watching :)

  • @gsuberland
    @gsuberland หลายเดือนก่อน

    Would it make sense to also include a lumped inductor to the model, matching the ESL of the part? In my experience with ceramic capacitors the package inductance is one of the biggest contributors to the layout-sensitive phenomena. Or is there a sufficient degree of package inductance modelling occurring already as part of the geometry in the sim?

    • @panire3
      @panire3 หลายเดือนก่อน

      The inductance is quite accurately represented through the geometry. To my understanding (based on what I have read on the Github discussions group), the option to select inductors in the FreeCAD to openEMS macro is just a placeholder for future functionality. The lumped inductor model does not work currently, and based on discussions on GitHub, it may not be implemented anytime soon.

  • @docdav05
    @docdav05 หลายเดือนก่อน

    drive not accessable

    • @panire3
      @panire3 หลายเดือนก่อน

      Access has been updated, sorry for the mishap

  • @georgy_tel
    @georgy_tel หลายเดือนก่อน

    Thank you for yet another great video! This kind of educational content is very useful and very rare ❤

    • @panire3
      @panire3 หลายเดือนก่อน

      Thank you and glad you think so :)

  • @superskrub4209
    @superskrub4209 หลายเดือนก่อน

    how did the antiparallel arrangement perform?

    • @panire3
      @panire3 หลายเดือนก่อน

      it performed slightly better than the others if used as combination of 0402 packages. But I am not 100% sure yet, the new video will be published today, hope it will be interesting.

  • @gpetrowitsch
    @gpetrowitsch หลายเดือนก่อน

    Thanks for your great and concise videos! I tried the FreeCad OpenEMS Export macro on the latest version of FreeCAD (1.0). Unfortunately the KiCAD import button stays disabled even after multiple restarts of the macro. Do I really have to use FreeCAD 0.19 in order to be able to use that macro?

    • @panire3
      @panire3 หลายเดือนก่อน

      Yes i strongly recommend using the exact same version FreeCAD 0.19.4 and also exactly KiCAD 6.0.11. I had big problems with even the slightest changes.

    • @gpetrowitsch
      @gpetrowitsch หลายเดือนก่อน

      @@panire3 Hi, I bravely took the challenge and tried it with KiCAD 8 and FreeCAD 1.0. Actually it is very easy, although the import button of the macro doesn't get activated in FreeCAD 1.0 at all. But KiCad 8 allows for a STEP export of the board. You can easily import this step file into an empty FreeCAD document. It contains the board as one item and the copper including vias etc. as a bunch of other items. These can easily be combined in a Fusion and a simple copy created from them. Then I could proceed as you show in your video, i.e. delete all intermediate items, create air box, field probe layers and input port and assign the properties in the tabs of the macro.

    • @panire3
      @panire3 หลายเดือนก่อน

      @@gpetrowitsch Wonderful to hear it worked. This comment will help and encourage a bunch of people including me. 🤗

  • @gustavohernandez2713
    @gustavohernandez2713 หลายเดือนก่อน

    My 3d preview un CSXCAD shows all the objects spread out in space, as if they were referenced to different origins. I cannot make the simulation work because of this. Any ideas?

    • @panire3
      @panire3 หลายเดือนก่อน

      I had the same problem with another laptop using "Intel® HD Graphics 3000" but did not manage to fix it. It most likely has something to do with opengl support of your graphics driver i believe. -> Maybe a graphics driver update helps. With other laptops I had it working on specific windows versions only, for example it worked on windows 11 and 7 but not on windows 10 and 8.

  • @paulov9626
    @paulov9626 หลายเดือนก่อน

    So much work and cryptic commands and procedures...simply not worth it, time is money and it's cheaper just to buy proper software that makes things easier. Free is not always free, in this case it's very much the case.

    • @panire3
      @panire3 หลายเดือนก่อน

      Hi there! Whether it's worth it depends on your current monthly income. This video provides an additional option for you to consider. The main reason I started this channel was that a commercial license cost over $10,000 per month-several times my net salary. That left me with two choices: either go with free tools or forego the ability to simulate my circuits before production.

    • @paulov9626
      @paulov9626 หลายเดือนก่อน

      @@panire3 I understand, $10K is waaaaaay over my budget too, however, there has to be some kind of "middle ground" between those exorbitant packages and doing it "bare bones" like you are. Of course it's nice to be able to do simulations, plenty of good free software exists for that, what I think you are referring to is EM simulation and the status quo is either slaving away at the keyboard for ages or being a slave to those corporations. If you have the time, great, many like me simply can't afford the time spent on learning a whole bunch of new stuff just so I can see how to improve impedance bumps. Not that I wouldn't like to, but until it's more user friendly (OpenEMS or others) I will forego. I am an RF engineer, not a software engineer. An analogy, imagine having to build your car each time you want to drive it, I just want to get to work and do my job.

    • @panire3
      @panire3 หลายเดือนก่อน

      ​@@paulov9626 Yes, I was referring to 3D EM simulation. And I agree-it’s quite challenging to get started with openEMS and also all the other tools on the channel. There could be a middle ground, although I personally had difficulty finding one. If anyone following this discussion knows of a good alternative and can share pricing details with everyone, that would be amazing. 🙂

    • @paulov9626
      @paulov9626 หลายเดือนก่อน

      @@panire3 Or maybe even scripts, pre-made libs and functions and also even macros to automate things and minimise all the typing, or at least reduce it. Since OpenEMS is open, is there not some scripting ability to enable the above? Then some clever souls could help out a whole bunch of people by writing them.

    • @panire3
      @panire3 หลายเดือนก่อน

      @@paulov9626 Yes scripting the most common usecases will be the way to go. Hopefully a clever soul, or even better, a group of clever souls will be sucessfull with it one day 😊

  • @BatchDrake
    @BatchDrake 2 หลายเดือนก่อน

    It would be awesome if SPICE models could be integrated in the simulation. I know you can define shunt capacitors / inductors / resistors, but for diodes and transistors things are not trivial.

    • @panire3
      @panire3 2 หลายเดือนก่อน

      Yes, would be nice to have more things. For sure one day we can have an Arduino running in the simulation that drives some kind of motor. Multiphysics simulation would be also a nice thing to have, lets seee how far we will be in a few years.

  • @__-um1ix
    @__-um1ix 2 หลายเดือนก่อน

    Impressive video using all opensource tools. I am not user of any of these tools, but did you tried using a larger port? Wouldn't the field of the excited mode exceed the boundary of the port?

    • @panire3
      @panire3 2 หลายเดือนก่อน

      Hi there, with boundary do you mean the physical simulation boundary? If thats what you meant, then yes, all fields in general extend to infinity (at least until they hit GND potential somewhere). I handle this by using a PML boundary all around the simulated components. PML means "perfectly matched layer" and it kind of works like an extension to infinity. This would also work well with a bigger port, also its important to keep some distance between port and the PML boundary

  • @JackSpiggle0
    @JackSpiggle0 2 หลายเดือนก่อน

    When is part 2!??! 🤤

    • @panire3
      @panire3 2 หลายเดือนก่อน

      Hopefully next weeek 🙂🙃

    • @carsonau116
      @carsonau116 2 หลายเดือนก่อน

      @@panire3 im going to stay up all week next week refreshing

    • @panire3
      @panire3 2 หลายเดือนก่อน

      @@carsonau116 haha, to not take away your weeks sleep: it will be friday