WEBVTT

00:00:00.000 --> 00:00:01.640
<v Sam Aldah>This is The Amp Hour Podcast.

00:00:03.020 --> 00:00:05.460
<v Sam Aldah>Released June 3rd, 2025.

00:00:08.080 --> 00:00:09.440
<v Sam Aldah>Episode 689.

00:00:11.120 --> 00:00:14.240
<v Sam Aldah>Making the Invisible Visible with Sam Aldar.

00:00:30.000 --> 00:00:31.880
<v Chris Gammell>Welcome to the Amp Hour.

00:00:32.100 --> 00:00:33.700
<v Chris Gammell>I'm Chris Gamel of Contextual Electronics.

00:00:34.180 --> 00:00:39.060
<v Chris Gammell>Hello, and I'm Sam Aldar, and I'm a Power Electronics Engineer and a 3D graphics designer.

00:00:39.400 --> 00:00:39.940
<v Chris Gammell>Welcome, Sam.

00:00:39.980 --> 00:00:40.320
<v Chris Gammell>How are you doing?

00:00:40.600 --> 00:00:41.600
<v Sam Aldah>I'm very well, thanks.

00:00:41.960 --> 00:00:42.180
<v Sam Aldah>Chris?

00:00:42.180 --> 00:00:48.720
<v Sam Aldah>People probably know your amazing animations from LinkedIn and Twitter slash X and other places, YouTube.

00:00:49.260 --> 00:00:58.580
<v Sam Aldah>And I have been a huge fan just watching the Invisible become visible with you and Blender and the tools you're creating.

00:00:58.680 --> 00:00:59.440
<v Sam Aldah>So thank you for doing that.

00:00:59.440 --> 00:01:00.080
<v Sam Aldah>It's very, very cool.

00:01:00.380 --> 00:01:00.940
<v Sam Aldah>Thank you very much.

00:01:00.980 --> 00:01:02.400
<v Sam Aldah>It's my pleasure to be on your show today.

00:01:02.500 --> 00:01:02.800
<v Sam Aldah>Thank you.

00:01:02.920 --> 00:01:03.100
<v Sam Aldah>Yeah.

00:01:03.280 --> 00:01:04.560
<v Sam Aldah>So where should we start?

00:01:04.640 --> 00:01:06.800
<v Sam Aldah>I mean, there's so much invisible in electronics.

00:01:07.040 --> 00:01:07.240
<v Sam Aldah>Yes.

00:01:07.580 --> 00:01:10.120
<v Sam Aldah>And you are making a lot of it very visible.

00:01:10.120 --> 00:01:16.920
<v Sam Aldah>I think one thing I guess we should start with is that we are going to be trying to talk about a lot of things that Sam does make visible.

00:01:17.100 --> 00:01:19.720
<v Sam Aldah>But ultimately, people are going to have to go click on links.

00:01:19.820 --> 00:01:21.400
<v Sam Aldah>I think that's really what it comes back to, right?

00:01:22.300 --> 00:01:22.640
<v Sam Aldah>Correct.

00:01:22.840 --> 00:01:23.020
<v Sam Aldah>Yes.

00:01:23.080 --> 00:01:23.320
<v Sam Aldah>Yeah.

00:01:23.520 --> 00:01:28.560
<v Sam Aldah>If descriptions would have been enough, then none of this would have been as cool as it is.

00:01:28.560 --> 00:01:30.360
<v Sam Aldah>So we will have links for everything.

00:01:30.640 --> 00:01:32.980
<v Sam Aldah>But people should be prepared to go click on them.

00:01:33.820 --> 00:01:36.860
<v Sam Aldah>Maybe we start with how you got started doing this sort of thing.

00:01:37.160 --> 00:01:37.420
<v Chris Gammell>Yes.

00:01:37.420 --> 00:01:40.580
<v Chris Gammell>So I'm a full-time electronics engineer.

00:01:41.500 --> 00:01:44.680
<v Chris Gammell>And one thing, I also like art.

00:01:45.060 --> 00:01:48.880
<v Chris Gammell>So I always say to people, if I did not become an engineer, I would have become an artist.

00:01:49.140 --> 00:01:55.040
<v Chris Gammell>I will always enjoy drawing pictures, animations, and creating this sort of graphics.

00:01:55.040 --> 00:01:55.160
<v Chris Gammell>Thanks.

00:01:56.120 --> 00:02:00.680
<v Chris Gammell>I've realized that us engineers, we do fantastic work.

00:02:00.880 --> 00:02:04.520
<v Chris Gammell>We build amazing products, great designs.

00:02:04.740 --> 00:02:08.840
<v Chris Gammell>But I think most of us struggle with how we present our work to other people.

00:02:09.500 --> 00:02:14.580
<v Chris Gammell>I think we always assume that everybody would understand immediately what we're trying to present.

00:02:14.580 --> 00:02:23.320
<v Chris Gammell>So I figured if I could sort of, I'm working on really exciting technologies, and I'd like to present them in a way.

00:02:23.400 --> 00:02:26.260
<v Chris Gammell>I'd like other people also to be excited as I am about it.

00:02:26.260 --> 00:02:39.720
<v Chris Gammell>And I thought, if I could present it in a better way, in a more unrealistic way, that would go a long way in helping people understand my work and selling my idea.

00:02:40.060 --> 00:02:47.220
<v Chris Gammell>So I started during lockdown, basically, to learn how to create digital art, 3D graphics.

00:02:47.220 --> 00:02:58.720
<v Chris Gammell>And my favorite tool is Blender to do all of this work, simply because it's open source, available for free, and lots of resources and tutorials online.

00:02:59.980 --> 00:03:02.000
<v Chris Gammell>And so that's how I started, basically.

00:03:02.440 --> 00:03:03.780
<v Sam Aldah>Not the easiest one.

00:03:03.920 --> 00:03:06.280
<v Sam Aldah>I remember people were talking to me about it.

00:03:06.660 --> 00:03:10.020
<v Sam Aldah>I think as I was getting into 3D modeling, I was kind of asking questions online.

00:03:10.100 --> 00:03:13.360
<v Sam Aldah>People said, oh, well, Blender's another resource that's out there.

00:03:13.360 --> 00:03:17.980
<v Sam Aldah>Because I think the tool I was using at the time didn't have a great renderer, but Blender does, obviously.

00:03:18.120 --> 00:03:24.200
<v Sam Aldah>So you could export a step file, put it into Blender, make it look much, much better, much more realistic, that sort of thing.

00:03:24.240 --> 00:03:24.940
<v Sam Aldah>What was that process?

00:03:24.940 --> 00:03:25.620
<v Sam Aldah>And also...

00:03:25.620 --> 00:03:27.920
<v Sam Aldah>Picking that up and starting from...

00:03:27.920 --> 00:03:31.900
<v Sam Aldah>I guess Blender has been improving as well, like many open source programs.

00:03:32.100 --> 00:03:34.020
<v Chris Gammell>It has improved a lot over the years.

00:03:34.180 --> 00:03:36.500
<v Chris Gammell>And I've been using it for over five, six years now.

00:03:36.500 --> 00:03:43.360
<v Chris Gammell>And it was difficult at the very beginning, but I think the developers behind that, they've made enormous changes.

00:03:43.360 --> 00:03:48.080
<v Chris Gammell>And it's become very easier to learn than it was before, that's for sure.

00:03:48.300 --> 00:03:48.400
<v Sam Aldah>Yeah.

00:03:49.120 --> 00:03:52.900
<v Sam Aldah>And then what about the target audience for Blenders?

00:03:53.080 --> 00:03:56.620
<v Sam Aldah>Is still kind of the digital artist animation, things like that?

00:03:56.740 --> 00:04:00.340
<v Sam Aldah>Or does it have a technical bent kind of in the direction you've been taking it?

00:04:00.340 --> 00:04:08.340
<v Chris Gammell>So Blender, the target audience for Blender is just, yeah, gamer, game designs, animations, cartoons.

00:04:08.980 --> 00:04:10.280
<v Chris Gammell>It was never engineering.

00:04:10.600 --> 00:04:13.520
<v Chris Gammell>I don't think there was a huge engineering audience for Blender.

00:04:14.200 --> 00:04:14.280
<v Chris Gammell>Okay.

00:04:14.280 --> 00:04:17.320
<v Chris Gammell>So that's sort of where I thought, okay, well, there's a gap.

00:04:17.520 --> 00:04:17.880
<v Chris Gammell>There's...

00:04:17.880 --> 00:04:20.180
<v Chris Gammell>I could now, you know...

00:04:20.180 --> 00:04:20.820
<v Chris Gammell>Smoosh it together.

00:04:21.740 --> 00:04:22.640
<v Chris Gammell>Yes, exactly.

00:04:22.800 --> 00:04:23.160
<v Chris Gammell>Yeah, yeah.

00:04:23.240 --> 00:04:23.600
<v Sam Aldah>There you go.

00:04:23.920 --> 00:04:24.820
<v Sam Aldah>Peanut butter and jelly.

00:04:24.940 --> 00:04:25.300
<v Sam Aldah>All right.

00:04:25.640 --> 00:04:26.680
<v Sam Aldah>I guess that's the US thing more.

00:04:27.680 --> 00:04:30.060
<v Sam Aldah>In the UK, they don't do as much peanut butter, I hear.

00:04:30.340 --> 00:04:31.200
<v Sam Aldah>So I don't know why.

00:04:31.380 --> 00:04:31.840
<v Sam Aldah>Marmite.

00:04:32.080 --> 00:04:32.480
<v Sam Aldah>Marmite.

00:04:33.620 --> 00:04:36.740
<v Sam Aldah>I have tried Vegemite.

00:04:36.860 --> 00:04:41.500
<v Sam Aldah>I have not tried Marmite, but Vegemite is enough to scare me off that I'm like, I probably

00:04:41.500 --> 00:04:42.600
<v Sam Aldah>could leave Marmite behind.

00:04:43.160 --> 00:04:43.580
<v Chris Gammell>I think they're...

00:04:43.580 --> 00:04:45.980
<v Chris Gammell>Yeah, it's either you love it or you hate it.

00:04:46.060 --> 00:04:46.320
<v Chris Gammell>Yeah.

00:04:46.620 --> 00:04:46.800
<v Sam Aldah>Yeah.

00:04:47.460 --> 00:04:48.520
<v Sam Aldah>I'll probably...

00:04:48.520 --> 00:04:48.840
<v Sam Aldah>You know what?

00:04:48.860 --> 00:04:49.600
<v Sam Aldah>I'll come to the UK.

00:04:49.720 --> 00:04:50.100
<v Sam Aldah>We'll hang out.

00:04:50.140 --> 00:04:50.660
<v Sam Aldah>I'll have some Marmite.

00:04:50.740 --> 00:04:50.980
<v Sam Aldah>How about that?

00:04:52.720 --> 00:04:53.080
<v Sam Aldah>Yeah.

00:04:53.400 --> 00:04:53.600
<v Sam Aldah>Okay.

00:04:53.640 --> 00:04:55.480
<v Sam Aldah>So then what did it take to start doing this sort of thing?

00:04:55.480 --> 00:04:56.240
<v Sam Aldah>Like what is...

00:04:56.240 --> 00:05:02.540
<v Sam Aldah>Maybe for people following along and maybe thinking about doing this at home, what...

00:05:02.540 --> 00:05:02.780
<v Sam Aldah>Right.

00:05:02.780 --> 00:05:06.320
<v Sam Aldah>I guess let's start with the good now, right?

00:05:06.320 --> 00:05:07.840
<v Sam Aldah>What is the best flow method now?

00:05:07.920 --> 00:05:09.440
<v Sam Aldah>And then maybe we can talk about the...

00:05:09.440 --> 00:05:10.760
<v Sam Aldah>If it's relevant, what it was before.

00:05:11.880 --> 00:05:13.380
<v Chris Gammell>So how to use...

00:05:13.380 --> 00:05:13.880
<v Chris Gammell>How to learn it.

00:05:14.060 --> 00:05:14.100
<v Chris Gammell>So...

00:05:14.100 --> 00:05:14.260
<v Chris Gammell>Yeah.

00:05:14.260 --> 00:05:18.620
<v Sam Aldah>Like workflow of like you go from 3D CAD to there, or you start in Blender, or like

00:05:18.620 --> 00:05:19.300
<v Sam Aldah>where...

00:05:19.300 --> 00:05:20.380
<v Sam Aldah>What are the inputs and outputs?

00:05:20.380 --> 00:05:25.800
<v Chris Gammell>So I think, you know, if you're designing a circuit board, a PCB, you know, if you're

00:05:25.800 --> 00:05:29.920
<v Chris Gammell>using Altium or KeyCAD or any other tool, you're sort of...

00:05:29.920 --> 00:05:32.860
<v Chris Gammell>You already have that 3D capability there built in.

00:05:32.900 --> 00:05:34.920
<v Chris Gammell>So that's sort of where you might be able to start.

00:05:35.040 --> 00:05:35.200
<v Chris Gammell>Okay.

00:05:35.600 --> 00:05:37.760
<v Chris Gammell>You have a reference image.

00:05:37.960 --> 00:05:38.200
<v Sam Aldah>Yes.

00:05:38.360 --> 00:05:38.520
<v Chris Gammell>Okay.

00:05:38.540 --> 00:05:40.020
<v Chris Gammell>How it looks like in CAD.

00:05:40.500 --> 00:05:44.660
<v Chris Gammell>So, you know, you've got your circuit boards, you've got some cylinders, which are capacitors,

00:05:44.880 --> 00:05:47.060
<v Chris Gammell>you've got some cubes, which are resistors.

00:05:47.060 --> 00:05:52.740
<v Chris Gammell>So you have this sort of initial idea in your mind of how it might look like 3D.

00:05:53.200 --> 00:05:53.440
<v Chris Gammell>Okay.

00:05:53.980 --> 00:05:59.740
<v Chris Gammell>And then you use that as a reference to then, okay, we create that in Blender.

00:06:00.200 --> 00:06:00.660
<v Sam Aldah>Oh, really?

00:06:00.880 --> 00:06:01.120
<v Sam Aldah>Okay.

00:06:01.120 --> 00:06:03.580
<v Sam Aldah>So it's not like take a step file input.

00:06:03.780 --> 00:06:05.220
<v Sam Aldah>It's like start from scratch?

00:06:05.560 --> 00:06:05.920
<v Chris Gammell>Yes.

00:06:06.000 --> 00:06:08.900
<v Chris Gammell>So unfortunately, Blender is not a CAD tool.

00:06:09.080 --> 00:06:10.820
<v Chris Gammell>So it doesn't accept step file.

00:06:10.920 --> 00:06:12.080
<v Chris Gammell>It's a mesh tool.

00:06:12.080 --> 00:06:17.880
<v Chris Gammell>So basically, you've got points in space that you move around and you create edges and planes.

00:06:18.500 --> 00:06:24.520
<v Chris Gammell>So that's sort of the first sort of hiccup that people will encounter.

00:06:24.820 --> 00:06:25.080
<v Chris Gammell>Okay.

00:06:25.240 --> 00:06:26.160
<v Sam Aldah>How do I...

00:06:26.160 --> 00:06:26.960
<v Sam Aldah>Don't turn it off yet.

00:06:26.960 --> 00:06:28.200
<v Chris Gammell>There is hope.

00:06:28.220 --> 00:06:28.620
<v Chris Gammell>No, no, no.

00:06:30.580 --> 00:06:31.020
<v Chris Gammell>Exactly.

00:06:31.300 --> 00:06:36.120
<v Chris Gammell>And that was the first issue that I encountered because I was expecting, yeah, okay, I've got

00:06:36.120 --> 00:06:38.240
<v Chris Gammell>my step files of components here and there.

00:06:38.280 --> 00:06:39.860
<v Chris Gammell>I can just drag and drop them in Blender.

00:06:40.020 --> 00:06:41.240
<v Chris Gammell>No, we would not accept it.

00:06:41.240 --> 00:06:41.720
<v Chris Gammell>Okay.

00:06:42.000 --> 00:06:44.120
<v Chris Gammell>You have to convert it to a mesh.

00:06:44.340 --> 00:06:47.600
<v Chris Gammell>So like STL files, OBJ files.

00:06:48.020 --> 00:06:48.260
<v Chris Gammell>Okay.

00:06:48.460 --> 00:06:53.940
<v Sam Aldah>So maybe even like a key CAD to free CAD to STL.

00:06:54.140 --> 00:06:55.100
<v Sam Aldah>Would that work?

00:06:56.240 --> 00:07:02.400
<v Chris Gammell>Actually, key CAD is one of the only tools out there that would export directly to Blender

00:07:02.400 --> 00:07:03.920
<v Chris Gammell>as a mesh file.

00:07:04.180 --> 00:07:05.540
<v Chris Gammell>So key CAD is fantastic.

00:07:05.860 --> 00:07:06.280
<v Chris Gammell>All right.

00:07:06.280 --> 00:07:14.780
<v Chris Gammell>So in fact, people have actually created Blender add-ons, which allow you to directly

00:07:14.780 --> 00:07:21.500
<v Chris Gammell>import your key CAD design on your project with the 3D models and have it exactly appear

00:07:21.500 --> 00:07:23.060
<v Chris Gammell>in Blender as it is.

00:07:23.060 --> 00:07:23.500
<v Sam Aldah>Wow.

00:07:23.500 --> 00:07:24.140
<v Sam Aldah>All right.

00:07:24.140 --> 00:07:26.040
<v Sam Aldah>Oh, it's now possible to do that.

00:07:26.040 --> 00:07:26.580
<v Sam Aldah>Open source.

00:07:26.580 --> 00:07:26.660
<v Sam Aldah>Open source.

00:07:27.260 --> 00:07:28.080
<v Sam Aldah>There you go.

00:07:28.300 --> 00:07:28.580
<v Chris Gammell>Yes.

00:07:28.700 --> 00:07:28.860
<v Chris Gammell>Yeah.

00:07:28.860 --> 00:07:29.060
<v Chris Gammell>Okay.

00:07:29.060 --> 00:07:33.300
<v Chris Gammell>And then it's up for you to add the lighting effects and the materials and the shaders and

00:07:33.300 --> 00:07:34.280
<v Chris Gammell>everything else to it.

00:07:34.400 --> 00:07:34.660
<v Chris Gammell>Yes.

00:07:35.020 --> 00:07:36.440
<v Sam Aldah>So maybe we can define some terms.

00:07:36.560 --> 00:07:37.780
<v Sam Aldah>Well, actually, let's keep going with flow.

00:07:37.860 --> 00:07:39.000
<v Sam Aldah>And then I'd like to define some terms.

00:07:39.180 --> 00:07:39.380
<v Sam Aldah>Right.

00:07:40.020 --> 00:07:40.160
<v Sam Aldah>Yeah.

00:07:40.160 --> 00:07:40.560
<v Sam Aldah>Yes.

00:07:40.680 --> 00:07:40.860
<v Sam Aldah>Okay.

00:07:41.000 --> 00:07:43.340
<v Chris Gammell>So yeah, as we said, you start from a reference image.

00:07:43.600 --> 00:07:49.680
<v Chris Gammell>And yes, if you might be able to import your, let's say you import your key CAD project into

00:07:49.680 --> 00:07:51.180
<v Chris Gammell>Blender because you can do it now.

00:07:51.360 --> 00:07:53.440
<v Chris Gammell>And then from there, you can build on it.

00:07:53.460 --> 00:07:56.620
<v Chris Gammell>You can move objects, manipulate objects, add some lighting.

00:07:56.620 --> 00:07:57.800
<v Chris Gammell>It's all about the lighting.

00:07:57.940 --> 00:08:01.680
<v Chris Gammell>I've realized to make your animations and images look really good.

00:08:01.900 --> 00:08:03.620
<v Chris Gammell>It comes down to the lighting.

00:08:03.920 --> 00:08:08.680
<v Chris Gammell>And so you'll probably be spending a lot of time just getting that done right.

00:08:08.680 --> 00:08:12.060
<v Chris Gammell>I always struggled with the lighting and the shadows.

00:08:13.620 --> 00:08:15.160
<v Chris Gammell>Also, materials.

00:08:16.780 --> 00:08:21.440
<v Chris Gammell>You need to spend some time to learn how to create the materials and the shaders because

00:08:21.440 --> 00:08:26.000
<v Chris Gammell>the basic CAD materials, they're very basic, either like simple colors.

00:08:26.260 --> 00:08:26.380
<v Sam Aldah>Yeah.

00:08:26.560 --> 00:08:28.340
<v Chris Gammell>But you can take that a step further.

00:08:28.440 --> 00:08:35.560
<v Chris Gammell>You can add some roughness to it, add some shine, add some dirt, add some surface imperfections.

00:08:35.940 --> 00:08:36.300
<v Chris Gammell>Got it.

00:08:36.300 --> 00:08:40.480
<v Chris Gammell>So that's, you can then learn how to do these things.

00:08:40.800 --> 00:08:42.580
<v Sam Aldah>So I mean, there are some other capabilities.

00:08:42.780 --> 00:08:48.920
<v Sam Aldah>So like past flows that I've used was like key CAD to step, step into fusion.

00:08:49.420 --> 00:08:52.360
<v Sam Aldah>Fusion, then you could also add material types.

00:08:52.360 --> 00:08:57.520
<v Sam Aldah>And I think it would probably be approximating the same methods of adding material properties, right?

00:08:57.520 --> 00:08:58.520
<v Sam Aldah>Exactly.

00:08:58.520 --> 00:08:58.520
<v Speaker ?>

00:08:58.520 --> 00:08:59.020
<v Sam Aldah>Yeah.

00:08:59.020 --> 00:08:59.520
<v Sam Aldah>Okay.

00:08:59.520 --> 00:08:59.520
<v Speaker ?>

00:08:59.520 --> 00:09:02.520
<v Chris Gammell>So yeah, that's sort of the processes.

00:09:02.520 --> 00:09:02.520
<v Speaker ?>

00:09:02.520 --> 00:09:02.520
<v Speaker ?>

00:09:02.520 --> 00:09:07.900
<v Chris Gammell>If you start in key CAD, import, export to blender, and then you could, and it's just simple as that.

00:09:07.900 --> 00:09:10.540
<v Chris Gammell>That's just, that's, that's the whole process really straightforward.

00:09:10.540 --> 00:09:15.040
<v Sam Aldah>And, and do you, you know, so you have these libraries of, you know, I'm just looking at your YouTube channel.

00:09:15.040 --> 00:09:21.220
<v Sam Aldah>Again, we'll, we'll link all that stuff in, you have, you know, kind of these designs that you've, you've worked on over time.

00:09:21.220 --> 00:09:33.220
<v Sam Aldah>Do you kind of export just a cap and then use that cap over and over again, and then like just a, you know, QFM or do you, do you do whole designs and then apply, you know, material types to each, each surface?

00:09:33.220 --> 00:09:41.220
<v Chris Gammell>I started with sort of exporting, you know, with, with, with CAD files, you know, and then convert them to SDLs and into blender.

00:09:41.220 --> 00:09:42.220
<v Chris Gammell>So that's how I started.

00:09:42.220 --> 00:09:46.220
<v Chris Gammell>But then I've realized CAD is very perfect.

00:09:46.220 --> 00:09:47.220
<v Chris Gammell>CAD is too perfect.

00:09:47.220 --> 00:09:51.220
<v Chris Gammell>You know, it's, it's, it's, it's not, it's not really realistic.

00:09:51.220 --> 00:09:53.220
<v Chris Gammell>So then I actually, okay.

00:09:53.220 --> 00:09:55.220
<v Chris Gammell>I, I then make some changes.

00:09:55.220 --> 00:09:58.220
<v Chris Gammell>Like if I have a capacitor, I would, okay.

00:09:58.220 --> 00:10:02.220
<v Chris Gammell>Import that as it is, but I would make changes to it.

00:10:02.220 --> 00:10:06.220
<v Chris Gammell>It, such that it becomes a little bit more realistic.

00:10:06.220 --> 00:10:10.220
<v Chris Gammell>At so, but then ultimately I realized, you know what?

00:10:10.220 --> 00:10:13.220
<v Chris Gammell>I might just start from scratch and do the whole thing in blender.

00:10:13.220 --> 00:10:14.220
<v Sam Aldah>Yeah. Right.

00:10:14.220 --> 00:10:17.220
<v Sam Aldah>So that would be like the maximum control for each, each surface.

00:10:17.220 --> 00:10:18.220
<v Chris Gammell>Exactly.

00:10:18.220 --> 00:10:19.220
<v Chris Gammell>Yeah.

00:10:19.220 --> 00:10:25.220
<v Chris Gammell>So I've, I've over the years, I've built my own library of blender created models, all done in blender.

00:10:25.220 --> 00:10:26.220
<v Chris Gammell>Okay.

00:10:26.220 --> 00:10:27.220
<v Sam Aldah>Yeah.

00:10:27.220 --> 00:10:31.220
<v Sam Aldah>I think it's probably going to come down to how, how much each person listening wants to try to, you know, I, we probably should.

00:10:31.220 --> 00:10:33.220
<v Sam Aldah>We've already talked about easy path is key head to blender.

00:10:33.220 --> 00:10:34.220
<v Sam Aldah>That's great.

00:10:34.220 --> 00:10:40.220
<v Sam Aldah>So now you'd have a board that doesn't look as realistic as Sam's, but might be able to layer some of the interesting things on top of it.

00:10:40.220 --> 00:10:41.220
<v Chris Gammell>Exactly.

00:10:41.220 --> 00:10:54.220
<v Chris Gammell>And you can make some changes to it and modifications that I think that might be the, but I would expect most people would go down that route because yeah, it's a, you know, you've got something already there to work with and to make changes to.

00:10:54.220 --> 00:10:55.220
<v Chris Gammell>Yeah.

00:10:55.220 --> 00:10:55.220
<v Speaker ?>

00:10:55.220 --> 00:11:03.220
<v Sam Aldah>So then before we get back to the, some of the terminology and stuff like that, you obviously layer a lot of other interesting things on top of it as well.

00:11:03.220 --> 00:11:07.220
<v Sam Aldah>So things like magnetic fields, what is the, what's the tooling there?

00:11:07.220 --> 00:11:08.220
<v Sam Aldah>Yes.

00:11:08.220 --> 00:11:09.220
<v Sam Aldah>Right.

00:11:09.220 --> 00:11:10.220
<v Chris Gammell>Okay.

00:11:10.220 --> 00:11:14.220
<v Chris Gammell>So now we go a bit more sort of a bit more advanced, a little bit, a little bit more, we take a step further.

00:11:14.220 --> 00:11:22.220
<v Chris Gammell>So, um, part of my research, uh, it was in wireless power and wireless charging.

00:11:22.220 --> 00:11:30.220
<v Chris Gammell>And that involves a lot of magnetic fields and we, we, we don't, we can't see those magnetic fields.

00:11:30.220 --> 00:11:32.220
<v Chris Gammell>We can, we have solvers and simulation tools.

00:11:32.220 --> 00:11:33.220
<v Chris Gammell>Yeah.

00:11:33.220 --> 00:11:37.220
<v Chris Gammell>But then I thought, okay, I've, I've got my board design.

00:11:37.220 --> 00:11:39.220
<v Chris Gammell>I've got my coils in blender.

00:11:39.220 --> 00:11:43.220
<v Chris Gammell>They look great, but there's also something missing, which is the magnetic fields.

00:11:43.220 --> 00:11:45.220
<v Chris Gammell>I want to show those as well.

00:11:45.220 --> 00:11:55.220
<v Chris Gammell>So I've, I've, I first started by, okay, I've, because I use other tools in like a professional tools to solve for magnetic fields.

00:11:55.220 --> 00:12:00.220
<v Chris Gammell>Like for example, ANSYS is a famous one, CST, FEM 2D is another tool.

00:12:00.220 --> 00:12:01.220
<v Chris Gammell>So then I've, okay.

00:12:01.220 --> 00:12:14.220
<v Chris Gammell>I thought I'd like to then export my simulation results from those tools and extract the data from those tools and put them into blender and visualize them on top of my actual PCB design.

00:12:14.220 --> 00:12:28.220
<v Chris Gammell>Uh, so then the process for that actually is not straightforward, unfortunately, uh, because each, each solver has its own way of generating the data, how it stores the data and exports it.

00:12:28.220 --> 00:12:41.220
<v Chris Gammell>So for example, um, tools like I've recently used, um, open EMS as an open source tool for antenna simulations.

00:12:41.220 --> 00:12:51.220
<v Chris Gammell>And, and that, because it's open, open EMS, it uses sort of a, a, a industry standard or, uh, uh, uh, to, to, to store the results.

00:12:51.220 --> 00:12:54.220
<v Chris Gammell>And it's, it's a VTK format.

00:12:54.220 --> 00:13:04.220
<v Chris Gammell>And so then you can then import that data into, uh, blender via Python.

00:13:04.220 --> 00:13:05.220
<v Chris Gammell>Okay.

00:13:05.220 --> 00:13:06.220
<v Chris Gammell>So, so.

00:13:06.220 --> 00:13:08.220
<v Chris Gammell>A lot of, a lot of glue code involved.

00:13:08.220 --> 00:13:09.220
<v Chris Gammell>Yeah.

00:13:09.220 --> 00:13:10.220
<v Chris Gammell>A lot of code.

00:13:10.220 --> 00:13:11.220
<v Chris Gammell>Yeah.

00:13:11.220 --> 00:13:15.220
<v Chris Gammell>Nice thing about blender is cause it, it, it, it's, it's got a Python console in it.

00:13:15.220 --> 00:13:20.220
<v Chris Gammell>So then you can write, if you know how to code a little bit and so does key CAD and so does open EMS.

00:13:20.220 --> 00:13:25.220
<v Chris Gammell>So then you can essentially link all those tools together with just Python code.

00:13:25.220 --> 00:13:36.220
<v Chris Gammell>Um, and so that's, that's how, how, how then I bring that data from all these solvers into blender where I then spend a bit more time to visualize them and add effects to them.

00:13:36.220 --> 00:13:40.220
<v Chris Gammell>So that's, that's how, how I used to do things.

00:13:40.220 --> 00:13:50.220
<v Chris Gammell>And, uh, but then I realized, okay, well maybe I can simplify this if I can do the whole simulation itself and the calculations within blender.

00:13:50.220 --> 00:13:51.220
<v Chris Gammell>I can do that.

00:13:51.220 --> 00:13:52.220
<v Chris Gammell>What, why?

00:13:52.220 --> 00:13:53.220
<v Chris Gammell>Well, it runs Python.

00:13:53.220 --> 00:13:55.220
<v Chris Gammell>I can just run Python code for solvers.

00:13:55.220 --> 00:14:02.220
<v Chris Gammell>Um, and as you can see, and, and, uh, and then those screenshots there.

00:14:02.220 --> 00:14:03.220
<v Chris Gammell>Um, and.

00:14:03.220 --> 00:14:12.220
<v Chris Gammell>Uh, so I started to create my own solvers within blender to solve for the magnetic field.

00:14:12.220 --> 00:14:13.220
<v Chris Gammell>And it's very limited.

00:14:13.220 --> 00:14:20.220
<v Chris Gammell>Of course, it's not the same level as the professional tools, but for sort of, sort of basic simulations.

00:14:20.220 --> 00:14:32.220
<v Chris Gammell>And just to, you know, if you, if you've got a number of ideas and concepts you'd like to try, uh, for designing coils, for example, you could use, use the blender tool, uh, which I, which I released it.

00:14:32.220 --> 00:14:37.220
<v Chris Gammell>Uh, just called, um, um, um, electromagnodes.

00:14:37.220 --> 00:14:41.220
<v Chris Gammell>You can use that to visualize magnetic fields and electric fields as well.

00:14:41.220 --> 00:14:50.220
<v Chris Gammell>It has its own limitations, but then, and then once you have a design that you're happy with and you think you can take it a step further, you can perhaps then go back to your professional tool.

00:14:50.220 --> 00:14:51.220
<v Chris Gammell>Yeah.

00:14:51.220 --> 00:14:55.220
<v Sam Aldah>Well, I mean, for it, the, do you charge for electromagnet nodes or no?

00:14:55.220 --> 00:14:56.220
<v Chris Gammell>It's electromagnet nodes.

00:14:56.220 --> 00:14:59.220
<v Chris Gammell>It's, uh, actually the free it's, it's free.

00:14:59.220 --> 00:15:01.220
<v Chris Gammell>It's, uh, it's for $1.

00:15:01.220 --> 00:15:02.220
<v Chris Gammell>It's for $1.

00:15:02.220 --> 00:15:05.220
<v Chris Gammell>You can get it for $1 and you can get it for free.

00:15:05.220 --> 00:15:14.220
<v Chris Gammell>I think on gum road, the reason why it's $1, because I can't put it, I can't set the cost to zero on these, uh, on these platforms.

00:15:14.220 --> 00:15:14.220
<v Speaker ?>

00:15:14.220 --> 00:15:16.220
<v Chris Gammell>So that's why it's $1.

00:15:16.220 --> 00:15:17.220
<v Chris Gammell>Yeah.

00:15:17.220 --> 00:15:18.220
<v Sam Aldah>Yeah.

00:15:18.220 --> 00:15:23.220
<v Sam Aldah>That's, um, but I, I'm just comparing it with like HFSS and like answers and like, just like one dollar.

00:15:23.220 --> 00:15:29.220
<v Sam Aldah>So like, literally if it's a dollar, you can have a, you know, it's, it's obviously expensive for the other ones.

00:15:29.220 --> 00:15:30.220
<v Sam Aldah>Absolutely.

00:15:30.220 --> 00:15:31.220
<v Sam Aldah>Yeah.

00:15:31.220 --> 00:15:32.220
<v Chris Gammell>Yeah.

00:15:32.220 --> 00:15:39.220
<v Chris Gammell>It's, it's obviously not the same level as answers and you probably will not get, but it's just, like I said, for static magnetic field calculations, electric field calculations.

00:15:39.220 --> 00:15:43.220
<v Sam Aldah>I mean, I think right now for the listening audience, I'm thinking about myself, but let's be really honest here.

00:15:43.220 --> 00:15:48.220
<v Sam Aldah>Uh, I'm looking like, what is the lowest, like if I go to answers and I'm like, Hey, I just want to try it out.

00:15:48.220 --> 00:15:49.220
<v Sam Aldah>They're like, Oh, sure.

00:15:49.220 --> 00:15:50.220
<v Sam Aldah>Whatever, buddy.

00:15:50.220 --> 00:15:56.220
<v Sam Aldah>You know, you're like, talk to our salesperson, prove out your business case, and maybe we'll give you a 30 day license.

00:15:56.220 --> 00:15:57.220
<v Sam Aldah>And then you can figure out how answers works.

00:15:57.220 --> 00:16:00.220
<v Sam Aldah>It's like, no, I literally just want to try it.

00:16:00.220 --> 00:16:01.220
<v Sam Aldah>This is, so this is the path.

00:16:01.220 --> 00:16:02.220
<v Sam Aldah>So that's great.

00:16:02.220 --> 00:16:03.220
<v Sam Aldah>You know, that's, yeah.

00:16:03.220 --> 00:16:04.220
<v Sam Aldah>Yeah.

00:16:04.220 --> 00:16:05.220
<v Chris Gammell>Yes.

00:16:05.220 --> 00:16:12.220
<v Chris Gammell>Um, I've also recently got some interest from, uh, a university in the, in the U S, uh, where they're trying to now use electro-match.

00:16:12.220 --> 00:16:21.220
<v Chris Gammell>Note, uh, these tools to model, um, um, stellarators in for nuclear fusion.

00:16:21.220 --> 00:16:22.220
<v Chris Gammell>Wow.

00:16:22.220 --> 00:16:23.220
<v Chris Gammell>Which I found quite, wow.

00:16:23.220 --> 00:16:26.220
<v Chris Gammell>This is quite something big for, for, yeah.

00:16:26.220 --> 00:16:27.220
<v Chris Gammell>Yeah.

00:16:27.220 --> 00:16:29.220
<v Sam Aldah>Well, they have big magnetic fields too, right?

00:16:29.220 --> 00:16:30.220
<v Sam Aldah>Exactly.

00:16:30.220 --> 00:16:32.220
<v Chris Gammell>And it's all, uh, DC fields.

00:16:32.220 --> 00:16:33.220
<v Chris Gammell>So static fields.

00:16:33.220 --> 00:16:37.220
<v Chris Gammell>So, you know, the actual calculation is actually straightforward.

00:16:37.220 --> 00:16:38.220
<v Chris Gammell>Cool.

00:16:38.220 --> 00:16:39.220
<v Chris Gammell>For those.

00:16:39.220 --> 00:16:40.220
<v Sam Aldah>That is very cool.

00:16:40.220 --> 00:16:46.220
<v Sam Aldah>Well, that actually brings back one thing that you and I were talking about before the show, which is just like, so, you know, we've been talking about all this stuff.

00:16:46.220 --> 00:16:48.220
<v Sam Aldah>We're going back to the technicals of how it's done.

00:16:48.220 --> 00:16:58.220
<v Sam Aldah>But just that this is so useful, like so, so, so useful as a student, as someone who, you know, as making the visible, invisible visible.

00:16:58.220 --> 00:16:59.220
<v Sam Aldah>Like I just.

00:16:59.220 --> 00:17:00.220
<v Sam Aldah>Yes.

00:17:00.220 --> 00:17:05.220
<v Sam Aldah>And I think there's trouble in school thinking about this stuff and now being able to see it is so useful from a learning content.

00:17:05.220 --> 00:17:06.220
<v Sam Aldah>Absolutely.

00:17:06.220 --> 00:17:07.220
<v Chris Gammell>Yes.

00:17:07.220 --> 00:17:08.220
<v Chris Gammell>Yeah.

00:17:08.220 --> 00:17:14.220
<v Chris Gammell>I've heard that as well from many other people as well, you know, this, if we, we, like they, we said, we wish we've had those tools back when we were studying.

00:17:14.220 --> 00:17:15.220
<v Chris Gammell>Yeah.

00:17:15.220 --> 00:17:16.220
<v Chris Gammell>Yeah.

00:17:16.220 --> 00:17:17.220
<v Chris Gammell>Yeah.

00:17:17.220 --> 00:17:18.220
<v Chris Gammell>Yeah.

00:17:18.220 --> 00:17:19.220
<v Chris Gammell>Yeah.

00:17:19.220 --> 00:17:32.220
<v Chris Gammell>And I think that's one of the reasons why I also want to make this a bit more educational for people as well, just to get more people, you know, to, to, to, to, like I said, to see the, the, to, to make the visible, to make the invisible visible visible.

00:17:32.220 --> 00:17:39.220
<v Chris Gammell>Uh, and just to help them during their studies, you know, cause you know, I remember, I think you said for the show is that, you know, yeah.

00:17:39.220 --> 00:17:40.220
<v Chris Gammell>You're like, okay.

00:17:40.220 --> 00:17:42.220
<v Chris Gammell>Use the right hand rule to.

00:17:42.220 --> 00:17:43.220
<v Chris Gammell>Right.

00:17:43.220 --> 00:17:44.220
<v Chris Gammell>Visualize imagine the magic field.

00:17:44.220 --> 00:17:45.220
<v Chris Gammell>Yeah.

00:17:45.220 --> 00:17:46.220
<v Chris Gammell>Okay.

00:17:46.220 --> 00:17:47.220
<v Sam Aldah>Right.

00:17:47.220 --> 00:17:48.220
<v Sam Aldah>Sure, buddy.

00:17:48.220 --> 00:17:49.220
<v Sam Aldah>Right.

00:17:49.220 --> 00:17:50.220
<v Sam Aldah>Yeah.

00:17:50.220 --> 00:17:51.220
<v Sam Aldah>Yeah.

00:17:51.220 --> 00:17:52.220
<v Sam Aldah>Can you maybe show me on screen?

00:17:52.220 --> 00:17:56.220
<v Sam Aldah>And they're like, well, we can draw, you know, then they, they go on the board and they try and draw 3d, you know, 3d on the, on the chalkboard or whatever.

00:17:56.220 --> 00:17:57.220
<v Sam Aldah>And it's just like, yeah, nah.

00:17:57.220 --> 00:17:58.220
<v Sam Aldah>Yeah, exactly.

00:17:58.220 --> 00:17:59.220
<v Chris Gammell>Yeah.

00:17:59.220 --> 00:18:01.220
<v Chris Gammell>And, and, and also because now it's, it's interactive.

00:18:01.220 --> 00:18:02.220
<v Chris Gammell>So, okay.

00:18:02.220 --> 00:18:03.220
<v Chris Gammell>Right.

00:18:03.220 --> 00:18:04.220
<v Chris Gammell>What if I change my coil?

00:18:04.220 --> 00:18:09.220
<v Chris Gammell>What if the coil winding has changed a little bit or have a turn here and you can see the results straight away.

00:18:09.220 --> 00:18:10.220
<v Chris Gammell>Right.

00:18:10.220 --> 00:18:13.220
<v Chris Gammell>And, and, and that really helps you understand what's going on.

00:18:13.220 --> 00:18:14.220
<v Chris Gammell>I think.

00:18:14.220 --> 00:18:15.220
<v Chris Gammell>I think so too.

00:18:15.220 --> 00:18:16.220
<v Chris Gammell>That interaction.

00:18:16.220 --> 00:18:17.220
<v Sam Aldah>Yeah.

00:18:17.220 --> 00:18:26.220
<v Sam Aldah>I think honestly, one of the, one of the most, so I, I think I've talked about on the show before, like one of the most useful things in my learning journey was actually sitting with.

00:18:26.220 --> 00:18:31.220
<v Sam Aldah>With analog engineers at Keith Lee and just them helping me develop intuition.

00:18:31.220 --> 00:18:31.220
<v Speaker ?>

00:18:31.220 --> 00:18:39.220
<v Sam Aldah>It was like, okay, let's talk about, let's talk about some of the formulas, how they interact, how some of the, you know, D I D, you know, V equals L D I D T.

00:18:39.220 --> 00:18:40.220
<v Sam Aldah>Right.

00:18:40.220 --> 00:18:42.220
<v Sam Aldah>These kind of like mantras and like building that sort of thing.

00:18:42.220 --> 00:18:44.220
<v Sam Aldah>And just like being like, okay, well the current is changing.

00:18:44.220 --> 00:18:47.220
<v Sam Aldah>So the voltage, you know, you have inductance, you have current changing.

00:18:47.220 --> 00:18:48.220
<v Sam Aldah>What's going to happen.

00:18:48.220 --> 00:18:51.220
<v Sam Aldah>The voltage is going to change like that developing of intuition.

00:18:51.220 --> 00:18:56.220
<v Sam Aldah>This is kind of doing that same thing for RF and like short circuiting it because again, it is visible.

00:18:56.220 --> 00:18:57.220
<v Chris Gammell>Absolutely.

00:18:57.220 --> 00:18:58.220
<v Chris Gammell>You know, absolutely.

00:18:58.220 --> 00:18:59.220
<v Chris Gammell>Yes.

00:18:59.220 --> 00:19:05.220
<v Sam Aldah>Which direction, which, you know, how does it like, so one of your things here is like a human hand interacting with electromagnetic waves.

00:19:05.220 --> 00:19:07.220
<v Sam Aldah>Like ain't no, ain't no formula.

00:19:07.220 --> 00:19:08.220
<v Sam Aldah>Let's tell me how to do that.

00:19:08.220 --> 00:19:11.220
<v Sam Aldah>Like you need a simulator in that case to, to make exactly.

00:19:11.220 --> 00:19:12.220
<v Sam Aldah>Yeah.

00:19:12.220 --> 00:19:13.220
<v Chris Gammell>Yeah.

00:19:13.220 --> 00:19:14.220
<v Chris Gammell>Yeah.

00:19:14.220 --> 00:19:25.220
<v Chris Gammell>So, and that's why I love blender as a tool because it, yeah, it helps, helps you with that to, to gain that intuition, to gain that understanding and having a good visual to go with it really could goes a long way.

00:19:25.220 --> 00:19:26.220
<v Chris Gammell>Yeah.

00:19:26.220 --> 00:19:27.220
<v Chris Gammell>I think, um,

00:19:27.220 --> 00:19:28.220
<v Chris Gammell>How do you know it's right?

00:19:28.220 --> 00:19:33.220
<v Sam Aldah>Cause so like, I'm going to look at your stuff, Sam, and I'm gonna be like, yeah, this is right.

00:19:33.220 --> 00:19:34.220
<v Sam Aldah>I don't know.

00:19:34.220 --> 00:19:36.220
<v Sam Aldah>You know, like, how do you actually verify it?

00:19:36.220 --> 00:19:39.220
<v Sam Aldah>Like, how do you make sure it's actually correct?

00:19:39.220 --> 00:19:42.220
<v Chris Gammell>Um, for the, that's a good question.

00:19:42.220 --> 00:19:48.220
<v Chris Gammell>So I, I actually do a comparison with, uh, like a professional tool.

00:19:48.220 --> 00:19:57.220
<v Chris Gammell>So, um, I've been also using open source, uh, solvers, such as Elmer, uh, a fire element solver Elmer.

00:19:57.220 --> 00:20:04.220
<v Chris Gammell>And so I, I kind of do a bit of comparison between the results that I get and, and with, with Elmer and yeah.

00:20:04.220 --> 00:20:10.220
<v Chris Gammell>And then, so if there's any limitations or differences sort of, I can go back and change things.

00:20:10.220 --> 00:20:14.220
<v Chris Gammell>So, um, yeah, I think I asked the same question to Katarina when she was on the show.

00:20:14.220 --> 00:20:16.220
<v Sam Aldah>So she was on the show six, seven, eight.

00:20:16.220 --> 00:20:19.220
<v Sam Aldah>And we choose, she also does simulations of antennas and stuff like that.

00:20:19.220 --> 00:20:21.220
<v Sam Aldah>And, and, uh, a lot of the same kind of stuff.

00:20:21.220 --> 00:20:26.220
<v Sam Aldah>And it's just like, I don't, you know, it's because it's invisible, you know, I, right.

00:20:26.220 --> 00:20:27.220
<v Sam Aldah>Yes.

00:20:27.220 --> 00:20:28.220
<v Sam Aldah>You have to do it empirically.

00:20:28.220 --> 00:20:31.220
<v Sam Aldah>Basically at some point, you know, you have to have some real world feedback.

00:20:31.220 --> 00:20:32.220
<v Chris Gammell>Absolutely.

00:20:32.220 --> 00:20:43.220
<v Chris Gammell>The, the, uh, uh, also I've been sort of relying on, um, instead of my videos that I've been doing about calculating inductance of, uh, wire bonds and semiconductor packages.

00:20:43.220 --> 00:20:54.220
<v Chris Gammell>So I've been sort of looking at what's being published online on papers and journals, because they've done the measurements for their, uh, for, for their sort of package and their device.

00:20:54.220 --> 00:20:56.220
<v Chris Gammell>And they give you a number for inductance.

00:20:56.220 --> 00:20:57.220
<v Chris Gammell>Uh, and so, okay.

00:20:57.220 --> 00:21:03.220
<v Chris Gammell>I go back to my tool, uh, like for example, the blender, the fast Henry tool that I've been working on.

00:21:03.220 --> 00:21:04.220
<v Chris Gammell>Oh yeah.

00:21:04.220 --> 00:21:06.220
<v Chris Gammell>I go to, I use that tool and then, okay.

00:21:06.220 --> 00:21:12.220
<v Chris Gammell>I get a result assuming I've managed to replicate the geometry, you know.

00:21:12.220 --> 00:21:13.220
<v Chris Gammell>Yeah.

00:21:13.220 --> 00:21:13.220
<v Speaker ?>

00:21:13.220 --> 00:21:15.220
<v Chris Gammell>Approximated close enough sort of thing.

00:21:15.220 --> 00:21:16.220
<v Chris Gammell>Exactly.

00:21:16.220 --> 00:21:17.220
<v Chris Gammell>Yeah.

00:21:17.220 --> 00:21:19.220
<v Chris Gammell>And then I, if the, if my numbers are within the same ballpark.

00:21:19.220 --> 00:21:20.220
<v Chris Gammell>Yeah.

00:21:20.220 --> 00:21:22.220
<v Sam Aldah>And so, so fast Henry is another tool that you have.

00:21:22.220 --> 00:21:24.220
<v Sam Aldah>So there's electromagnet nodes and fast Henry.

00:21:24.220 --> 00:21:25.220
<v Sam Aldah>So, so fast.

00:21:25.220 --> 00:21:26.220
<v Chris Gammell>Yes.

00:21:26.220 --> 00:21:35.220
<v Chris Gammell>So fast Henry actually is a tool that was developed in the perhaps late eighties, early nineties, uh, from MIT, an open source tool.

00:21:35.220 --> 00:21:50.220
<v Chris Gammell>And it's, it, I think it, back then or the nineties, it used to be the, the industry sort of gold standard for, for simulating semiconductor packages, uh, bar bonds, uh, lead frames, inductors, coils, all of that.

00:21:50.220 --> 00:21:56.220
<v Chris Gammell>Um, it's sort of now less, you know, uh, over the past year.

00:21:56.220 --> 00:22:02.220
<v Chris Gammell>It hasn't been used a lot because simply it all comes down to how do you create the geometry to start with.

00:22:02.220 --> 00:22:04.220
<v Chris Gammell>That's what it comes down to with all these tools.

00:22:04.220 --> 00:22:05.220
<v Chris Gammell>It's just creating the geometry.

00:22:05.220 --> 00:22:14.220
<v Chris Gammell>And then, uh, the, the, the, the, the math behind all these solvers is all the same.

00:22:14.220 --> 00:22:15.220
<v Chris Gammell>Right.

00:22:15.220 --> 00:22:16.220
<v Chris Gammell>Right.

00:22:16.220 --> 00:22:17.220
<v Chris Gammell>Right.

00:22:17.220 --> 00:22:18.220
<v Chris Gammell>Right.

00:22:18.220 --> 00:22:19.220
<v Sam Aldah>Right.

00:22:19.220 --> 00:22:20.220
<v Sam Aldah>Right.

00:22:20.220 --> 00:22:50.220
<v Sam Aldah>Uh, in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn in turn turn in turn turn in turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn turn

00:22:50.220 --> 00:22:56.140
<v Sam Aldah>back to education again one more time right yes like when man if a teacher could have been like

00:22:56.140 --> 00:23:00.980
<v Sam Aldah>hey we're going to talk about the geometric equations here that drive some of this stuff

00:23:00.980 --> 00:23:05.360
<v Sam Aldah>down the line and then they could have shown me this and been like sam does this sam does this

00:23:05.360 --> 00:23:08.940
<v Sam Aldah>in his program right you might want to do the same thing too look at all these things sam has done

00:23:08.940 --> 00:23:13.680
<v Sam Aldah>and all the things you can do with it like just being able to draw that line back to it man i

00:23:13.680 --> 00:23:20.600
<v Chris Gammell>would have paid so much more attention you know oh yeah yeah yeah yeah yeah no it's actually quite

00:23:20.600 --> 00:23:25.340
<v Chris Gammell>quite cool you know i i also get some messages from you know back in my videos oh you know like

00:23:25.340 --> 00:23:30.180
<v Chris Gammell>your videos have you know inspired us to do this and to do that and it's it's it's really really

00:23:30.180 --> 00:23:35.100
<v Sam Aldah>nice to hear that yeah great great well hopefully more after this after this recording i think that's

00:23:35.100 --> 00:23:37.680
<v Sam Aldah>the other thing too is like people are going to keep finding this over time you know it's like

00:23:37.680 --> 00:23:42.760
<v Sam Aldah>it's this cache of of interesting things and i mean hopefully people are going to find it and be like

00:23:42.760 --> 00:23:47.340
<v Sam Aldah>oh wow sam's even further along and now i you know like the fast henry tool is available the

00:23:47.340 --> 00:23:54.560
<v Sam Aldah>the the the electromagnodes is available that sort of thing so yes so then fast henry is another

00:23:54.560 --> 00:24:01.520
<v Chris Gammell>blender plugin or how does that work it's it's a yeah it's a it's a blender plugin and um it's

00:24:01.520 --> 00:24:08.660
<v Chris Gammell>so basically if a fast henry the the tool exists as a solver but what i'm doing is integrating it

00:24:08.660 --> 00:24:16.340
<v Chris Gammell>within blender because i want to use blender's powerful capability to create geometry and so i've

00:24:16.340 --> 00:24:22.100
<v Chris Gammell>realized okay i can create geometry blender but then i have to export it and to a text file and

00:24:22.100 --> 00:24:27.380
<v Chris Gammell>then call fast henry how about i just use well python again back to python i've got python blender

00:24:27.380 --> 00:24:34.460
<v Chris Gammell>i might just run everything within blender so what happens is i you create your geometry in blender

00:24:34.460 --> 00:24:41.140
<v Chris Gammell>you run fast henry within blender so it calls fast henry in the background for you yeah and then

00:24:41.140 --> 00:24:50.540
<v Chris Gammell>the results are then displayed back within blender so it's a one single button solution got it one push

00:24:50.540 --> 00:24:57.820
<v Sam Aldah>so fast henry is like uh so like much like spice by itself was like a berkeley command line tool that

00:24:57.820 --> 00:25:01.900
<v Sam Aldah>like you had to put in all your names and stuff like that but for me it was useful when someone's like

00:25:01.900 --> 00:25:06.540
<v Sam Aldah>layering visual on top of it and yeah or and actually another thing i was thinking about with

00:25:06.540 --> 00:25:13.260
<v Sam Aldah>your um the uh electromagnodes you know you said it's simple but like i still choose like false dad

00:25:13.260 --> 00:25:18.620
<v Sam Aldah>simulator which is like this you know javascript applet right i don't need anything fancy because of the

00:25:18.620 --> 00:25:25.900
<v Sam Aldah>visualization like that's the part that's actually useful to me you know intuitive context the also the

00:25:25.900 --> 00:25:30.540
<v Chris Gammell>other reason why i i sort of i wanted to integrate all of this business because i'm now actually using

00:25:30.540 --> 00:25:39.260
<v Chris Gammell>these tools in my full-time job to design coils design packages and i i want speed i want to be able

00:25:39.260 --> 00:25:44.300
<v Chris Gammell>if i've got a number of ideas a number of concepts so uh it's becoming blender like it's basically

00:25:44.300 --> 00:25:52.140
<v Chris Gammell>it's a 3d whiteboard where you you sketch your geometry okay okay okay okay and then you can run a

00:25:52.140 --> 00:25:58.460
<v Chris Gammell>simulation quickly to to see what the inductance is and the impedance look like okay it's not quite what

00:25:58.460 --> 00:26:03.660
<v Chris Gammell>it's not quite what i want it to be and then you make changes to geometry very quickly you run that

00:26:03.660 --> 00:26:10.540
<v Chris Gammell>again so it just speeds up that design workflow very very quickly and then of course once you've

00:26:10.540 --> 00:26:15.980
<v Chris Gammell>got a design that you're happy with you might say okay then i can take this to a different tool

00:26:15.980 --> 00:26:21.340
<v Sam Aldah>more professional tool to got it okay yeah so this is like the this is the clay molding this is the

00:26:21.340 --> 00:26:26.940
<v Sam Aldah>the prototyping that sort of thing interesting yes exactly yeah yeah and then what are some of the

00:26:26.940 --> 00:26:33.740
<v Sam Aldah>tools that you will like so upon the you know finding the 80 you know the pareto 80 good enough

00:26:33.740 --> 00:26:38.300
<v Sam Aldah>kind of solution then where do you take it to refine it just in in your professional context

00:26:38.780 --> 00:26:46.540
<v Chris Gammell>and uh yeah so i'm trying to uh move away from commercial tools and again back to open source tools and i

00:26:46.540 --> 00:26:51.980
<v Chris Gammell>think they're becoming more powerful so i'm now sort of experimenting with elmer a little bit more

00:26:51.980 --> 00:27:00.780
<v Chris Gammell>it's also an open source um uh it's an open source fire to animate solver um and so i'm trying to

00:27:00.780 --> 00:27:08.060
<v Chris Gammell>spend a bit more time experimenting with that and my plan in the future is to also integrate elmer within

00:27:08.060 --> 00:27:15.100
<v Chris Gammell>blender as well so wow i think that's that's sort of my next big project i'll be working on but sort of

00:27:15.100 --> 00:27:21.500
<v Chris Gammell>that's sort of how my workflow is is to then take it to another tool like elmer in some cases cst

00:27:22.300 --> 00:27:28.540
<v Chris Gammell>um in other cases ansys for a bit of thermal simulation so as much as i am a big fan of open

00:27:28.540 --> 00:27:32.940
<v Sam Aldah>source like i get it that like a lot of the you know like someone's like comes to me and they're

00:27:32.940 --> 00:27:38.380
<v Sam Aldah>saying oh i want to use keycad but you know my company uses altium i you know we use whatever the

00:27:38.380 --> 00:27:42.860
<v Sam Aldah>other ones that are out there and it's just like but sometimes the other offerings that are part of it or

00:27:42.860 --> 00:27:49.100
<v Sam Aldah>like you said the you know just the the professional proven nature of it is that's what you're often

00:27:49.100 --> 00:27:52.860
<v Sam Aldah>paying for it's like no this is like there are scientists they're proving proving this physics

00:27:52.860 --> 00:27:58.380
<v Sam Aldah>over and over and over again and that yes and you know open source tools have caught up which is great

00:27:58.380 --> 00:28:03.500
<v Sam Aldah>but being able to go external is is very useful and it might be faster and a better solution despite the

00:28:03.500 --> 00:28:10.220
<v Chris Gammell>cause it is yes despite the cause and because it kind of i think people would trust them a bit more i think

00:28:10.220 --> 00:28:15.740
<v Chris Gammell>yeah trust it would trust the results a bit more from these professional tools and obviously they

00:28:15.740 --> 00:28:20.540
<v Chris Gammell>spend you know these companies spend a long a lot a lot of time investment and money to make their tools

00:28:20.540 --> 00:28:28.380
<v Chris Gammell>sort of you know not is it perhaps is to use but if you if you to minimize the mistakes and errors that a

00:28:28.380 --> 00:28:34.540
<v Chris Gammell>user could could do when inputting the simulation data yeah and i think at the end of the day we're

00:28:34.540 --> 00:28:39.580
<v Sam Aldah>really we're really replacing the the true physical prototyping process because you know like you're

00:28:39.580 --> 00:28:42.540
<v Sam Aldah>going to prove it in a real world environment you're going to build a prototype you're going to

00:28:42.540 --> 00:28:46.700
<v Sam Aldah>put it put it into a chamber you're going to do all this testing on it and it's like you know even a

00:28:46.700 --> 00:28:51.660
<v Sam Aldah>fifty thousand dollar tool is cheaper than that right and so you're trying to like just shortening that

00:28:51.660 --> 00:28:56.940
<v Sam Aldah>cycle over and over again yes yeah and then so when you're doing these coils and stuff like that

00:28:56.940 --> 00:29:03.420
<v Sam Aldah>you're also validating validating going through you know kind of increasingly complex tools but then you are

00:29:03.420 --> 00:29:08.220
<v Sam Aldah>also then also building physical prototypes and validating those on the bench absolutely yes so

00:29:09.260 --> 00:29:17.500
<v Chris Gammell>yeah we i built we built the coils uh and we test them uh we you know we use the impedance analyzers vnas

00:29:17.500 --> 00:29:23.340
<v Chris Gammell>and and see how close our results we interestingly we always find like if we're building the coil

00:29:24.780 --> 00:29:32.540
<v Chris Gammell>for a a wireless charging application we always find that the inductance is pretty much correct to what

00:29:32.540 --> 00:29:40.700
<v Chris Gammell>we get in simulation okay but the resistance of that coil is always off by factor of two or three tons

00:29:40.700 --> 00:29:48.220
<v Chris Gammell>sometimes really and yes it's it turns out well it's actually a very good because um simulating and and

00:29:48.220 --> 00:29:58.380
<v Chris Gammell>and measuring um power loss is actually very difficult and getting that getting that accurately calculated is very

00:29:58.380 --> 00:30:05.740
<v Chris Gammell>difficult it comes down to the mesh how fine your mesh is and there's only a number of subdivisions you

00:30:05.740 --> 00:30:13.740
<v Chris Gammell>can make on the mesh uh before you um your laptop or your computer says i've had enough starts on fire

00:30:14.700 --> 00:30:20.220
<v Sam Aldah>yes yeah or you go to like some super cluster and the cost isn't worth it right yes yeah exactly yeah

00:30:20.860 --> 00:30:25.420
<v Sam Aldah>two to two x though that's really that's higher than i would but is it because it's a much lower

00:30:25.420 --> 00:30:30.140
<v Sam Aldah>resistance overall like i in my mind i'm like oh like one kilo ohm versus two kilo ohms but maybe it's

00:30:30.140 --> 00:30:36.300
<v Sam Aldah>0.1 ohm versus 0.2 ohms yes and so it's not that different in the physical sense it comes down to

00:30:37.100 --> 00:30:44.460
<v Chris Gammell>the difference between the how how big is your inductance compared to the resistance so uh it comes

00:30:44.460 --> 00:30:54.140
<v Chris Gammell>down to the quality factor uh so the quality factor is uh frequency uh omega times inductance over r if if

00:30:54.140 --> 00:31:00.860
<v Chris Gammell>that number of frequency times inductance is very high compared to the resistance it's it's actually

00:31:00.860 --> 00:31:10.060
<v Chris Gammell>very difficult than to to calculate the resistance accurately um because yeah it's because essentially

00:31:10.060 --> 00:31:18.460
<v Chris Gammell>it comes down to a numerical um rounding error i think um times all the mesh points as well and like

00:31:18.460 --> 00:31:23.020
<v Sam Aldah>how that kind of exactly gets through the system well that is really i mean it's fascinating that you're

00:31:23.020 --> 00:31:27.500
<v Sam Aldah>able to you know feed this stuff back and like you're building your own tooling which is incredibly

00:31:27.500 --> 00:31:33.260
<v Sam Aldah>cool uh and uh yeah and i think we're all we're all benefiting so that's really cool how much does

00:31:33.900 --> 00:31:38.940
<v Sam Aldah>does the rf stuff kind of play into it so you mentioned the inductance stuff all this stuff you're

00:31:38.940 --> 00:31:43.500
<v Sam Aldah>also doing the open ems and the you know some some of the things i'm looking at on your youtube channel

00:31:43.500 --> 00:31:49.740
<v Sam Aldah>are also like you know we're up in the giga 60 70 gigahertz like wow yes that's yeah yeah that's

00:31:49.740 --> 00:31:55.900
<v Chris Gammell>opening yes at that point that is open still open ems yeah so with this 60 and 70 gigahertz that's just

00:31:57.100 --> 00:32:03.900
<v Chris Gammell>me pushing my sort of uh because i i work in the low megahertz region in the hundreds of kilohertz

00:32:03.900 --> 00:32:09.260
<v Chris Gammell>and i've always wanted to kind of explore i understand a bit more about 60 gigahertz or as

00:32:09.260 --> 00:32:15.580
<v Chris Gammell>you go to rf and high frequencies and just understand that a bit more so i wanted to see how high i can push

00:32:15.580 --> 00:32:21.100
<v Chris Gammell>it and yeah i can go to 70 gigahertz even more yeah well given fourier stuff i guess even your you

00:32:21.100 --> 00:32:28.060
<v Sam Aldah>know 13.56 megahertz is probably has some gigahertz component it's just very very very small yeah yeah

00:32:28.060 --> 00:32:33.260
<v Sam Aldah>yeah the way it goes okay so we were talking about you know to get back to the the blender stuff so now

00:32:33.260 --> 00:32:37.500
<v Sam Aldah>we kind of talked about the different plugins you use how you how you tie all this stuff together

00:32:37.500 --> 00:32:42.940
<v Sam Aldah>now let's if we could get back to the the shading and some of the the um right some of the technical

00:32:42.940 --> 00:32:47.420
<v Sam Aldah>know-how within blender as well again people probably have to try it out to really dig into it

00:32:47.420 --> 00:32:55.660
<v Chris Gammell>but i i i uh as mentioned is i think cad is too perfect okay uh it's very clean uh but that's not

00:32:55.660 --> 00:33:01.500
<v Chris Gammell>how the real world is and so i always like to add something what i call surface imperfections like if

00:33:01.500 --> 00:33:06.540
<v Chris Gammell>you if you have a if you have your pcb you know if you just built the pcb yes and come out come out of

00:33:06.540 --> 00:33:12.060
<v Chris Gammell>the assembly line and maybe you've you've held it in your hand over time it starts to build up smudges

00:33:12.060 --> 00:33:18.940
<v Chris Gammell>and dust collects on it so i also wanted to capture that detail as well wow really just to make it look

00:33:18.940 --> 00:33:26.540
<v Chris Gammell>you know absolutely realistic in some way so it was i did that in my very early work i was just putting

00:33:26.540 --> 00:33:35.500
<v Chris Gammell>scratches and dust and even in the air as well uh floating particles and i don't know of that stuff but

00:33:35.500 --> 00:33:45.260
<v Chris Gammell>um uh yes um creating the materials will will will it's not um easy at the start and you'll have to

00:33:45.260 --> 00:33:52.780
<v Chris Gammell>spend a bit of time experimenting with blender's massive node system so blender uses nodes okay um to

00:33:52.780 --> 00:34:01.340
<v Chris Gammell>create um uh to create the material so you can add uh uh lighting effects you can add displacement you can add

00:34:01.340 --> 00:34:10.780
<v Chris Gammell>you can add bumps um so many things it's it's massive um if if you've ever used simulink in matlab

00:34:11.420 --> 00:34:17.340
<v Chris Gammell>yeah simulink was quite popular too so blend is that kind of kind of a similar setup to that if you

00:34:17.340 --> 00:34:23.500
<v Chris Gammell>think of it's a similar setup where you have these sort of blocks of um either like you have an amplifier

00:34:23.500 --> 00:34:30.060
<v Chris Gammell>block or a transfer function block and you sort of link all of these blocks together so blender is

00:34:30.060 --> 00:34:34.940
<v Chris Gammell>quite similar to that with this material system where you have all of these individual nodes that's

00:34:34.940 --> 00:34:40.220
<v Chris Gammell>what it's called and they all have certain different functions and sort of then you could link them all

00:34:40.220 --> 00:34:47.260
<v Chris Gammell>together and create your the effect that you want for the for for the materials um yeah da vinci resolve

00:34:47.260 --> 00:34:52.860
<v Chris Gammell>kind of has that for their effect system yes exactly yeah very similar to that to that concept in da

00:34:52.860 --> 00:34:58.140
<v Chris Gammell>vinci resolve so that's for the materials and yes you'll spend a lot of time trying to get the materials

00:34:58.140 --> 00:35:03.500
<v Chris Gammell>done right um as i mentioned then it comes to the lighting i think the lighting is really important

00:35:03.500 --> 00:35:11.900
<v Chris Gammell>and that's where because if you have a if you have a dark scene no matter how much how much realistic

00:35:11.900 --> 00:35:17.420
<v Chris Gammell>your material is it won't show up because there's no light on it so you need to spend a bit of time on

00:35:17.420 --> 00:35:23.180
<v Chris Gammell>on the lighting as well uh for it and with blender there's different ways of doing the lighting you

00:35:23.180 --> 00:35:30.140
<v Chris Gammell>you can either insert like a point lamp or you can insert a sun in your scene oh really yeah yeah

00:35:30.140 --> 00:35:37.420
<v Sam Aldah>i have very crude controls of that in the the keycat simulator but i really don't play with it i just

00:35:37.420 --> 00:35:42.140
<v Sam Aldah>kind of like all right well click on the you know the more realistic thing and that's the best i can do

00:35:43.100 --> 00:35:49.100
<v Chris Gammell>yes so yeah i think keycat has sort of like it's on default setup of lighting yeah okay this how

00:35:49.100 --> 00:35:55.580
<v Sam Aldah>is it like 60 degrees above the plane that sort of thing exactly yeah standard stuff it's um problematic

00:35:55.580 --> 00:35:59.900
<v Sam Aldah>sometimes because you it doesn't like the back of the board sometimes it's like okay that's yeah

00:36:01.100 --> 00:36:07.100
<v Chris Gammell>yeah uh one thing i've struggled with blender is if you have objects that are sort of color is a bit dark

00:36:07.100 --> 00:36:12.940
<v Chris Gammell>and black it's kind of difficult to make it appear okay look good uh that's what i've struggled with

00:36:12.940 --> 00:36:18.780
<v Chris Gammell>sort of the very dark colors um so what i've actually did the update i've made my my backgrounds dark

00:36:18.780 --> 00:36:26.140
<v Chris Gammell>and so that all my pc are bright and i'm sort of you see all of my images i only only on my uh

00:36:26.140 --> 00:36:33.340
<v Chris Gammell>videos and images you see all the uh the background is usually dark and the actual peat boards you know

00:36:33.340 --> 00:36:38.380
<v Chris Gammell>because that makes the the your board stand out which is i stand up yeah and then you don't have to

00:36:38.380 --> 00:36:42.700
<v Sam Aldah>render the far field either right you don't have to like have exactly you know full desk set up it's

00:36:42.700 --> 00:36:48.220
<v Sam Aldah>like no no no this is in the foreground that sort of thing okay how would you recommend people learn

00:36:48.220 --> 00:36:53.500
<v Sam Aldah>learn the lighting piece of it is it like uh tutorials or do you have any tutorials or anything

00:36:53.500 --> 00:36:58.380
<v Chris Gammell>yes so so actually uh you know i've always been asked if you could make a tutorial but then i would say

00:36:58.940 --> 00:37:06.060
<v Chris Gammell>there's a huge number of tutorials on on the web but and they do a far far better job than me in

00:37:06.060 --> 00:37:16.860
<v Chris Gammell>explaining it well my favorite tutorial is uh from a guy called blender guru he if he guru yeah he

00:37:16.860 --> 00:37:24.620
<v Chris Gammell>does the famous blender donut tutorial basically how to make a realistic donut donuts how to make a

00:37:24.620 --> 00:37:32.220
<v Chris Gammell>realistic donut in blender and he goes through all the basic tools and functionality and how to and the

00:37:32.220 --> 00:37:37.420
<v Chris Gammell>lighting and the materials and the nodes to do that so that's what i would recommend for people to

00:37:38.860 --> 00:37:44.620
<v Chris Gammell>to to watch those videos yeah okay and i'm i'm looking through your yours here and it looks like

00:37:44.620 --> 00:37:49.740
<v Sam Aldah>you have some about the you know the stuff we talked about earlier drawing components on pcbs

00:37:49.740 --> 00:37:54.620
<v Sam Aldah>putting geometry nodes that sort of thing so you have you have some tutorials in that space it seems like

00:37:54.620 --> 00:38:01.340
<v Chris Gammell>i've got some sort of just simple demonstrator videos uh on it they don't go into the details of how i do it

00:38:01.340 --> 00:38:09.660
<v Chris Gammell>i've i've it's just a matter of finding the time really to to do that yeah um but one thing blender has

00:38:09.660 --> 00:38:16.460
<v Chris Gammell>got a very powerful system called geometry nodes um and that is i think one of the greatest additions

00:38:16.460 --> 00:38:26.460
<v Chris Gammell>to blender it's a allows you to create procedural objects and and and because blender before that was

00:38:26.460 --> 00:38:33.980
<v Chris Gammell>a destructive uh design process where where you would okay if you if you add in a a cube in your

00:38:33.980 --> 00:38:40.380
<v Chris Gammell>scene and you change that cube size that's it you can't really go back to the original size got it and

00:38:41.100 --> 00:38:47.180
<v Chris Gammell>but now with geometry nodes you can make things procedurally so it's becoming a little bit like cad you

00:38:47.180 --> 00:38:53.660
<v Chris Gammell>could say but it's not really cad but it's procedural uh and the lovely thing about procedural is that then you could

00:38:53.660 --> 00:39:03.980
<v Chris Gammell>create um create uh design groups uh where then you could perform bigger functions because it's all

00:39:03.980 --> 00:39:11.100
<v Chris Gammell>procedural and you just type in a number okay i want to change the dimension of the of the the the ic's

00:39:11.100 --> 00:39:17.260
<v Chris Gammell>pin length but i want you to change them for all pins not just one pin but at the same time if i change

00:39:17.260 --> 00:39:24.700
<v Chris Gammell>the pin length also make the ic body a bit bigger as well and so you can sort of cascade all of these

00:39:24.700 --> 00:39:32.540
<v Chris Gammell>things if you make one change it cascades to the to bigger bigger bigger changes um it sounds like that

00:39:32.540 --> 00:39:38.940
<v Chris Gammell>also makes it more scriptable as well so when you're more scriptable and again if you include python with

00:39:38.940 --> 00:39:47.100
<v Chris Gammell>it with the mix you just have a very powerful modeling capability um you know when i hear python

00:39:47.100 --> 00:39:52.380
<v Sam Aldah>these days too you know with all apologies uh i i hear um hey you know who's really good at python

00:39:52.380 --> 00:39:58.300
<v Sam Aldah>not me uh the llms are and so like it feels like that you know being able to lean on that sort of stuff

00:39:58.300 --> 00:40:02.940
<v Sam Aldah>too for when i when i get stuck in a corner instead of like yeah you're like oh i wonder if sam's available

00:40:02.940 --> 00:40:09.100
<v Chris Gammell>it's like no no i can ask a yeah and and i've i've actually because you know i've i've never really

00:40:09.900 --> 00:40:16.940
<v Chris Gammell>uh you know i've just recently started to learn how to how to code and write python and other nc and c

00:40:16.940 --> 00:40:22.380
<v Chris Gammell>plus plus i didn't know any of that so you know i actually find like these tools chat gpt they helped

00:40:22.380 --> 00:40:28.300
<v Chris Gammell>me help me a lot to learn i had to make changes to like i would not just take the code as it is and

00:40:28.780 --> 00:40:32.300
<v Chris Gammell>run it yes although it would work but i still want to make changes to it

00:40:32.940 --> 00:40:37.500
<v Chris Gammell>um i actually find yeah find i found those tools very very helpful in creating all my

00:40:38.300 --> 00:40:44.380
<v Sam Aldah>my my projects awesome what about uh so we talked a little bit on the some of the the lighting

00:40:44.380 --> 00:40:50.700
<v Sam Aldah>terminology you had mentioned as well so like shader like what is the shader uh the shader is

00:40:51.260 --> 00:40:57.180
<v Chris Gammell>uh how it is the part in blender where it creates the material oh okay so that's actually referring not

00:40:57.180 --> 00:41:02.700
<v Sam Aldah>shade not just how it creates shade it's like it's just how it renders a surface the material

00:41:02.700 --> 00:41:10.300
<v Chris Gammell>yeah exactly how it how it how it how it visualizes the surface the colors how it how the light

00:41:10.300 --> 00:41:17.260
<v Chris Gammell>reflects on it uh if it's a metallic surface or not so that's that's what it's called the

00:41:17.260 --> 00:41:23.660
<v Chris Gammell>the shader part of blender yes yeah it might be a bit confusing because you might oh shade shadows yeah

00:41:23.660 --> 00:41:27.500
<v Sam Aldah>i was thinking shadows and we're talking about lighting that sort of thing okay no yeah because

00:41:27.500 --> 00:41:31.980
<v Sam Aldah>well and also like a casting of light around objects too right so like you might have one

00:41:32.540 --> 00:41:37.020
<v Sam Aldah>smaller object in the in the shadow of another object so then there but maybe i don't have to

00:41:37.020 --> 00:41:43.740
<v Sam Aldah>think about that which would be the best case scenario for me yeah yeah it's it's uh sometimes but the the

00:41:43.740 --> 00:41:48.940
<v Chris Gammell>the challenge i had because with pcbs are very small and especially with pcbs if you've got like a big

00:41:48.940 --> 00:41:55.500
<v Chris Gammell>capacitor and you've got a tiny surface mount capacitor next to it or an ic the shadow of that capacitor

00:41:55.500 --> 00:42:01.580
<v Chris Gammell>will not make those small components visible so you might then have to add a second light source on the

00:42:01.580 --> 00:42:07.660
<v Chris Gammell>back to kind of put some light on these components but if you put too much light it starts to become

00:42:07.660 --> 00:42:14.700
<v Sam Aldah>too bright and too shiny oh it's it's yeah yeah it's a lot of uh tweaking it sounds like a lot of tweaking and

00:42:14.700 --> 00:42:23.020
<v Chris Gammell>yeah i've i've found um some some some some uh tools out there you could you could purchase um one of my

00:42:23.020 --> 00:42:35.020
<v Chris Gammell>favorite tools to speed up this workflow is hard ops uh hard hard ops um ops it's uh uh yeah ops hard ops um

00:42:35.980 --> 00:42:42.300
<v Chris Gammell>because with blender i think most people will find it hard to learn shortcuts and go through the menus and

00:42:42.300 --> 00:42:47.820
<v Chris Gammell>all of that yeah but there's some add-ons out there that try to streamline this process a bit more and

00:42:47.820 --> 00:42:53.820
<v Chris Gammell>just simplify it for you so for example instead of having to put many light sources in your scene

00:42:53.820 --> 00:43:03.180
<v Chris Gammell>manually you could just use hard ops as a tool and say please add five random light sources to my scene

00:43:03.180 --> 00:43:09.340
<v Chris Gammell>okay it does it for you okay if you don't like it can you just randomly change that again so you

00:43:09.340 --> 00:43:14.860
<v Chris Gammell>you can use a shuffle button uh shuffle exactly it's a shuffle button absolutely it's a shuffle button

00:43:15.660 --> 00:43:21.820
<v Chris Gammell>so there are tools out there to kind of speed up that workflow a little bit uh make it less frustrating

00:43:21.820 --> 00:43:27.100
<v Sam Aldah>yes yeah yeah it does seem like uh it's you know blender seems like a tool that like oh you can build

00:43:27.100 --> 00:43:37.340
<v Sam Aldah>anything and whoa i want to do like one thing i want like the fastest path uh yeah yeah so that's great that sounds like a really a useful tool

00:43:37.340 --> 00:43:42.060
<v Sam Aldah>what about in the um you know so in a lot of these contexts i'm just pulling up one of the ones that

00:43:42.060 --> 00:43:47.980
<v Sam Aldah>you have a meandered inverted f antenna for far field right so you've you've simulated this it's

00:43:47.980 --> 00:43:53.820
<v Sam Aldah>awesome i think this is one of the first ones i saw from you um what so now when we start thinking

00:43:53.820 --> 00:44:00.540
<v Sam Aldah>about like what's uh happening in in over time so now there's a time aspect as well so how does that

00:44:00.540 --> 00:44:06.300
<v Chris Gammell>start working in here uh so that's where then uh okay i i have my board in my scene and i've got the

00:44:06.300 --> 00:44:15.820
<v Chris Gammell>camera and i also you also have to um decide at which point you want to move your camera close to the pcb

00:44:16.460 --> 00:44:24.220
<v Chris Gammell>to then start the animation of the mat of the electric field so first of all i wanted to show the entire

00:44:24.220 --> 00:44:30.940
<v Chris Gammell>board as it is from from a distance okay and then i say to blender move in time two seconds forward

00:44:31.500 --> 00:44:38.060
<v Chris Gammell>and then in the in those two and then after those two seconds move the camera close to the to the to

00:44:38.060 --> 00:44:49.340
<v Chris Gammell>the pcb and close closer to the uh actual um uh antenna okay so um i then tell blender okay move two seconds

00:44:49.340 --> 00:44:55.500
<v Chris Gammell>in time forward and then move the camera close to the to the board and then get and then i move the

00:44:55.500 --> 00:45:03.260
<v Chris Gammell>camera closer to the antenna itself where i then start the animation for the uh for the wave so i've

00:45:03.260 --> 00:45:10.300
<v Chris Gammell>already have the data in blender but then i i say i then i say okay once i get the camera close to the

00:45:10.300 --> 00:45:19.260
<v Chris Gammell>antenna start playing that simulation data so then and then i show a little bit more and then i

00:45:19.260 --> 00:45:26.140
<v Chris Gammell>i sort of zoom back a little bit to show them the entire simulation result got it so i'm going to

00:45:26.140 --> 00:45:30.220
<v Sam Aldah>say something that's very stupid now that should be obvious to people but since i i get to play the

00:45:30.220 --> 00:45:37.580
<v Sam Aldah>foil here on the amp hour uh yes often when i am rendering video for my own uses i am reminded

00:45:38.380 --> 00:45:45.660
<v Sam Aldah>that a computer or that a video is simply 30 frames of still images per second and yes i think that

00:45:45.660 --> 00:45:50.460
<v Sam Aldah>actually really helps to helps me to kind of like then think about like oh well we're moving through

00:45:50.460 --> 00:45:54.300
<v Sam Aldah>this video in time i have it like playing in super slow-mo here as sam and i are watching a screen

00:45:54.300 --> 00:46:00.700
<v Sam Aldah>share but like literally it's just slices of time and then it's like oh yeah like the the rendered

00:46:01.500 --> 00:46:08.700
<v Sam Aldah>you know visualization of an rf field is just you taking the slices of data like the the rf data that's

00:46:08.700 --> 00:46:14.380
<v Sam Aldah>overlaid on top of this in addition to the the 3d model and then just taking pictures in time like

00:46:14.380 --> 00:46:20.700
<v Chris Gammell>that makes a lot of sense of course right yeah yeah of course you know the the the waves the

00:46:20.700 --> 00:46:25.020
<v Chris Gammell>dramatic waves they're much faster than what the video shows you know because the video shows the

00:46:25.020 --> 00:46:31.420
<v Chris Gammell>the waves going you know as they change within you know with time but that obviously the waves are much

00:46:31.420 --> 00:46:37.660
<v Chris Gammell>faster than this so yeah as you said as i said it's basically snapshots in time essentially yeah right and

00:46:37.660 --> 00:46:41.500
<v Sam Aldah>and then so then again we're just going to describe the what we're what we're looking at here obviously

00:46:41.500 --> 00:46:46.620
<v Sam Aldah>an inverted f antenna is a pcb trace the rest of the board x is kind of the other half of the dipole

00:46:46.620 --> 00:46:51.580
<v Sam Aldah>right but the yes we're looking then at kind of reds and blues and kind of these gradients that are

00:46:51.580 --> 00:46:57.980
<v Sam Aldah>there yes that's the open ems data like what is the what is the reds and blues and rf kind of rendering

00:46:57.980 --> 00:47:06.540
<v Chris Gammell>right yes so so this video shows two sets of two sets of uh simulation data superimposed on

00:47:07.180 --> 00:47:13.180
<v Chris Gammell>the first simulation result is the you see how the and the meandered antenna lights up in different

00:47:13.180 --> 00:47:18.700
<v Sam Aldah>areas yeah it almost looks a little like uh blue dots almost and like as it yes changes there so these

00:47:18.700 --> 00:47:25.660
<v Chris Gammell>are the actual electric fields that is propagating along the antenna itself

00:47:27.820 --> 00:47:36.060
<v Chris Gammell>and then those sort of gradients in space these are then the radiated electric fields and so

00:47:37.260 --> 00:47:43.340
<v Chris Gammell>the way i've done the color grading is that the the closer you are the antenna that's where you have

00:47:43.340 --> 00:47:50.620
<v Chris Gammell>the strongest electric field so it's dark and red and then becomes super really dark so it's very strong

00:47:51.260 --> 00:47:57.260
<v Chris Gammell>and then as you move away from it over distance it decays and becomes lighter blue lighter blue

00:47:57.260 --> 00:48:01.820
<v Sam Aldah>got it yes and that and that is the output of open ems in this case or is that something else that is the

00:48:01.820 --> 00:48:08.460
<v Chris Gammell>output of open yes it's actually the the data size is massive i bet yeah yeah you're probably rendering

00:48:08.460 --> 00:48:14.620
<v Chris Gammell>all the data that's in there right like yeah okay it is actually gigabytes of data uh you know being

00:48:14.620 --> 00:48:21.740
<v Chris Gammell>being visualized here uh of course the way blender does it is that you know every every frame it then

00:48:21.740 --> 00:48:28.860
<v Chris Gammell>reads the the simulation data for that specific frame imports it into blender processes it and then renders the

00:48:28.860 --> 00:48:35.340
<v Chris Gammell>result and then as it does that it moves to the next frame imports the data renders it and does the result

00:48:35.340 --> 00:48:43.420
<v Sam Aldah>and the visualization so then do you have to like centralize so like uh open ems i imagine doesn't

00:48:43.420 --> 00:48:48.700
<v Sam Aldah>care where it is kind of in space and time so do you have to say like oh no it's it's centered on this

00:48:48.700 --> 00:48:54.540
<v Sam Aldah>antenna here like how do you how does it actually kind of physically correlate then ah so so and that's

00:48:54.540 --> 00:49:02.460
<v Chris Gammell>where i actually use blender again to start with so i start i actually create the this antenna and this pcb

00:49:02.460 --> 00:49:10.700
<v Chris Gammell>geometry was actually designed in blender so then i i then export the i export blender to open ems so

00:49:10.700 --> 00:49:16.620
<v Chris Gammell>then i've got okay yeah and then that means when i then read the results back it's already sort of

00:49:16.620 --> 00:49:23.100
<v Sam Aldah>in the right position let's say uh-huh yeah that makes sense then yeah that okay yeah yeah huh yeah

00:49:24.540 --> 00:49:29.500
<v Sam Aldah>because you know you'd mentioned on the kind of the prototyping element of the inductive side of

00:49:29.500 --> 00:49:35.820
<v Sam Aldah>things with your power work i would love to have you know i've often thought about putting you know

00:49:35.820 --> 00:49:40.060
<v Sam Aldah>these kind of antennas on boards like inverted f whatever they're they're in keycat at least and i

00:49:40.060 --> 00:49:44.060
<v Sam Aldah>do 2.4 gigahertz stuff sometimes but i'm always just like i don't know what it's going to do but i'd

00:49:44.060 --> 00:49:48.700
<v Sam Aldah>love to you know like if there was some like fast and natural way to do this and be like oh look i'm

00:49:48.700 --> 00:49:53.660
<v Sam Aldah>radiating from the wrong part of the board now because i you know that if that workflow is there i might feel

00:49:53.660 --> 00:49:59.740
<v Sam Aldah>more confident i probably still wouldn't do it but like you know like that the lack of of the you know

00:49:59.740 --> 00:50:06.060
<v Sam Aldah>it's all rules of thumb for me and i'm just like okay well i'm gonna do the my best shot and then

00:50:06.060 --> 00:50:11.740
<v Sam Aldah>hope hope for the best but mostly because it's not going through production if it was that that sort of

00:50:11.740 --> 00:50:17.580
<v Sam Aldah>thing where it was destined for production and and and i had these kind of tools available it's like oh

00:50:17.580 --> 00:50:24.140
<v Sam Aldah>maybe maybe there's more that i would be willing to do you know okay this is yeah this is very very

00:50:24.140 --> 00:50:30.620
<v Chris Gammell>very cool yeah it was a very fun project i worked on yeah because like i said i've i've been doing power

00:50:30.620 --> 00:50:37.260
<v Chris Gammell>electronics for most of my my career and just now getting into the rf world and being able to visualize

00:50:37.260 --> 00:50:42.860
<v Chris Gammell>it all of these results really help helps a lot helps me and i was saying about the surface

00:50:42.860 --> 00:50:47.660
<v Chris Gammell>imperfections so if you if you if you're viewing the video you can see just next to the antenna there's

00:50:47.660 --> 00:50:52.940
<v Chris Gammell>some smudges on the board yeah it looks like uh there you go yeah like flux flux stains yeah stuff

00:50:52.940 --> 00:51:01.100
<v Chris Gammell>like it yeah like stains yeah which always is the case yeah yeah yeah that's great wow that is so

00:51:01.100 --> 00:51:05.660
<v Sam Aldah>cool yeah i know i didn't notice when i was uh going through here as well like i saw some of the dots

00:51:05.660 --> 00:51:12.380
<v Chris Gammell>that you had kind of have like the these little dots yes um i'm not sure about those i was trying to

00:51:12.380 --> 00:51:18.380
<v Chris Gammell>to kind of chat is sometimes you know if you're if you're in a room and you got a light source coming

00:51:18.380 --> 00:51:23.420
<v Chris Gammell>in you see dust particles floating in space yeah yeah yeah i was trying to replicate that but i don't

00:51:23.420 --> 00:51:29.980
<v Sam Aldah>think it it looks too shiny and too sparkly but it looks like the the circuit is celebrating being being

00:51:29.980 --> 00:51:35.100
<v Chris Gammell>yeah yeah that that i think if i would do that if i were to do this again i would definitely make some

00:51:35.100 --> 00:51:39.420
<v Sam Aldah>changes i mean artists always always think they would change their past work but you know this is part of

00:51:39.420 --> 00:51:44.060
<v Sam Aldah>this is what two two years ago i mean think about how far you've come in just in two years so like

00:51:44.060 --> 00:51:50.700
<v Sam Aldah>yeah yeah yeah that's wild huh wow that is really really cool i mean uh so what about so just to just

00:51:50.700 --> 00:51:56.380
<v Sam Aldah>to stick on this example so you have an inverted f antenna here so that has uh you know an actual like

00:51:56.380 --> 00:52:02.780
<v Sam Aldah>copper element at the end how does how does that actually go into opening ms again like i i'm having

00:52:02.780 --> 00:52:06.700
<v Sam Aldah>never used it i don't actually get right how this would kind of interact like if that was a ceramic

00:52:06.700 --> 00:52:12.940
<v Sam Aldah>antenna instead what would have changed going into opening ms um what so so for this particular

00:52:12.940 --> 00:52:18.700
<v Chris Gammell>design basically you have the layout and you've got the the geometry of the board so you export that as

00:52:18.700 --> 00:52:26.300
<v Chris Gammell>a stl file with the copper layout everything so you export all of that into open ems and with open

00:52:26.300 --> 00:52:37.020
<v Chris Gammell>e-s open e-m-s you say okay here is my stl file okay and then you have to define it with open ems the

00:52:37.020 --> 00:52:44.780
<v Chris Gammell>difficulty with it is doing the meshing you have to say okay please make my mesh dense in this location

00:52:44.780 --> 00:52:50.940
<v Chris Gammell>because that's where my antenna is so you need to spend a bit of time doing that but but yeah it's it's

00:52:50.940 --> 00:52:57.020
<v Chris Gammell>very it's it's it's and that's all there is to it you know you just have to tell open ems here's my stl

00:52:57.020 --> 00:53:03.820
<v Chris Gammell>file and here's where how the meshing i want it to be got it uh in this location probably if my my

00:53:03.820 --> 00:53:08.380
<v Sam Aldah>my questions will be truly answered by going and trying it myself so it's probably the best the best

00:53:08.380 --> 00:53:13.420
<v Sam Aldah>advice but yeah this is very very cool uh let's let's look at some other ones so you've also kind

00:53:13.420 --> 00:53:18.940
<v Sam Aldah>of gotten like we mentioned the up into the um you know the gigahertz range does that yes

00:53:18.940 --> 00:53:25.740
<v Sam Aldah>appreciably change in terms of uh you know the frequency that you are doing when this happens like

00:53:25.740 --> 00:53:31.100
<v Sam Aldah>does does that matter much or or is it again just another open ems capability it doesn't really matter

00:53:31.100 --> 00:53:36.940
<v Chris Gammell>i think you can go as high as you want but always comes down to uh obviously if you if you go up in

00:53:36.940 --> 00:53:43.820
<v Chris Gammell>the frequencies then that means you kind of need to make your geometry smaller and smaller and you need

00:53:43.820 --> 00:53:50.780
<v Chris Gammell>to kind of have better control on the meshing that you do uh for for for as you go up in frequencies

00:53:50.780 --> 00:53:56.940
<v Chris Gammell>because you know as you go up in frequency the wavelength is is very small talking about millimeters

00:53:56.940 --> 00:54:06.060
<v Chris Gammell>and so then you have to sort of define your meshing within a millimeter or less of a resolution uh you

00:54:06.060 --> 00:54:11.820
<v Chris Gammell>know like to get these sample points to be very very close to each other and so uh that's that's sort of

00:54:11.820 --> 00:54:16.780
<v Sam Aldah>the meshing a little bit better i guess i don't quite understand the meshing aspect again it probably

00:54:16.780 --> 00:54:23.500
<v Chris Gammell>takes it for me to go and do it but yeah meshing is basically uh so how these solvers work is that

00:54:23.500 --> 00:54:32.860
<v Chris Gammell>okay we have a geometry but we need to put in sample points so uh sample points in space so if i if i

00:54:32.860 --> 00:54:41.260
<v Chris Gammell>have for example a layout okay uh it's like a a to d converter okay i'm a digital converter yeah okay

00:54:41.260 --> 00:54:47.020
<v Chris Gammell>if you've got a sine wave yeah you know if you put more sample points on it then you can sort of almost

00:54:47.020 --> 00:54:54.540
<v Chris Gammell>get almost replicate that sine wave right okay yeah so but if you have less number of sample points you

00:54:54.540 --> 00:55:00.540
<v Chris Gammell>might end up with a square wave or something else yeah right right right yeah make question all that yeah

00:55:00.540 --> 00:55:06.060
<v Chris Gammell>exactly so it's a kind of a similar concept with meshing is that okay you have to define

00:55:06.060 --> 00:55:12.380
<v Chris Gammell>the number of sample points in space now in the example number of spots number of sample points in

00:55:12.380 --> 00:55:19.900
<v Chris Gammell>space to be able to kind of capture all the electric field everywhere and of course the more number of

00:55:19.900 --> 00:55:24.700
<v Chris Gammell>sample points you have the more processing you need to do and the more memory you need to do and

00:55:25.420 --> 00:55:32.300
<v Chris Gammell>at some point yeah you let your machine would just say no pass yeah okay yeah that's interesting yeah

00:55:32.300 --> 00:55:36.860
<v Sam Aldah>i you know just as another call back to the episode with katarina too i remember when she was talking

00:55:36.860 --> 00:55:41.100
<v Sam Aldah>about like i i was confused about when she said talking about going into like an actual rf chamber

00:55:41.660 --> 00:55:45.340
<v Sam Aldah>and i was like well how do you how do you measure all this stuff in the real world then and she's like

00:55:45.340 --> 00:55:50.140
<v Sam Aldah>well no you're measuring it at single points in time because that's all we can actually measure is like

00:55:50.140 --> 00:55:55.020
<v Sam Aldah>what is the reading at a single point in time in terms of power or frequency or whatever or at a

00:55:55.020 --> 00:55:59.580
<v Sam Aldah>certain frequency what is the power so it sounds like maybe this is the similar way of you you have

00:56:00.860 --> 00:56:06.220
<v Sam Aldah>many many many many many many many many points in time and at different frequencies and so you're

00:56:06.220 --> 00:56:11.580
<v Sam Aldah>saying simulated here simulated here simulated here and then kind of stick it all together yes and then

00:56:11.580 --> 00:56:17.900
<v Chris Gammell>we can yes exactly yeah so in this in these videos it's actually two separate simulations were done

00:56:17.900 --> 00:56:24.380
<v Chris Gammell>okay separately from independent from each other one one simulation was just simulating the the actual

00:56:24.380 --> 00:56:33.820
<v Chris Gammell>pcb layout and then the other simulation is okay um measuring and calculating the electric field that's

00:56:33.820 --> 00:56:39.420
<v Chris Gammell>been radiated in space so the two two separate simulations but yeah i just put them all together for

00:56:39.420 --> 00:56:47.740
<v Sam Aldah>one full visualization very cool yeah i mean even just uh how you have the you know the sample uh 60 gigahertz

00:56:48.620 --> 00:56:56.060
<v Sam Aldah>yes like i know that those are like filters and that they have some impact on black magic yeah exactly

00:56:56.060 --> 00:57:00.540
<v Sam Aldah>it's just like i know there's physics in there somewhere what i really think about that was like

00:57:00.540 --> 00:57:06.380
<v Sam Aldah>okay what but if i actually wanted to implement this myself there's there is zero intuition on my part you

00:57:06.380 --> 00:57:11.580
<v Sam Aldah>know it's just it just squares on a page you know and it has some impact but i i don't know i don't get it

00:57:11.580 --> 00:57:17.820
<v Chris Gammell>yeah yeah yeah yeah so yeah you definitely need a tool like this to actually you understand okay the

00:57:17.820 --> 00:57:22.780
<v Chris Gammell>waves are are being generated from the from the circuit from the integrated circuit okay and then

00:57:22.780 --> 00:57:27.980
<v Chris Gammell>they're traveling along the this transmission line but then they're they're they're hitting a stub along the

00:57:27.980 --> 00:57:34.300
<v Chris Gammell>way and then what happens is that okay when one wave reflects back some continue some reflect back and

00:57:34.300 --> 00:57:40.700
<v Chris Gammell>yeah it's just being able to visualize that and seeing it it just goes along it just helps you so

00:57:40.700 --> 00:57:46.220
<v Chris Gammell>much you know it's otherwise you're just relying on equations and graphs and charts and okay yeah

00:57:46.940 --> 00:57:51.500
<v Sam Aldah>yeah exactly well and you also so you also have one where you you put a hand in there too

00:57:52.140 --> 00:57:56.140
<v Chris Gammell>that's my favorite that's one of my favorite one and if you notice in the video at the beginning

00:57:56.140 --> 00:58:06.140
<v Chris Gammell>the tattoos i put on the hand let's see tattoos on the hand or the vault so this is something in in

00:58:06.140 --> 00:58:11.980
<v Chris Gammell>blender you can actually sculpt so imagine like in real world you've got a sculpture made of clay or

00:58:11.980 --> 00:58:17.420
<v Chris Gammell>stone and you can sort of move massager and move things and you can draw on it you can paint on it so

00:58:17.420 --> 00:58:23.580
<v Chris Gammell>same thing with blender it's actually a hand that i got i just got this model from somewhere on the web

00:58:23.580 --> 00:58:28.620
<v Chris Gammell>and i've sort of had to change the fingers and point them down so i wanted you know your index

00:58:28.620 --> 00:58:34.700
<v Chris Gammell>finger to be straight up and all the other fingers go down and i said okay i'm going to put a bit of

00:58:34.700 --> 00:58:39.820
<v Chris Gammell>something interesting because i i was listening to black sabbath ozzy osborne and i remembered he's

00:58:39.820 --> 00:58:46.620
<v Sam Aldah>got tattoos on his knuckles so i thought i did the same thing nice i like it yeah that's great and i also

00:58:46.620 --> 00:58:53.340
<v Chris Gammell>put because i put a bit of hair as well yeah i was looking at my hand okay i've got

00:58:53.340 --> 00:58:57.260
<v Chris Gammell>some hair on my fingers so i might just put that as well make it more real yeah and actually what

00:58:57.260 --> 00:59:01.980
<v Sam Aldah>i'm really noticing about this is you also added surface textures to make it like more shiny like

00:59:01.980 --> 00:59:08.700
<v Chris Gammell>a human skin it seems like exactly yes yeah perhaps i need to do a bit more more work on that to make

00:59:08.700 --> 00:59:14.780
<v Chris Gammell>it a bit more realistic because it's still it's still very it's still a bit a bit too shiny but yeah

00:59:14.780 --> 00:59:18.940
<v Sam Aldah>i don't know it's like someone had just gone to the salon they had some skin yeah that sort of thing

00:59:18.940 --> 00:59:25.180
<v Chris Gammell>yeah exactly at least the fingernails are you know good and yeah exactly yeah the manicure was done

00:59:25.180 --> 00:59:31.420
<v Chris Gammell>yeah yeah so there then in this one actually yeah okay so there's two simulations and you see you can

00:59:31.420 --> 00:59:37.900
<v Chris Gammell>see at some point in the video where i switch to the simulation of the field that's been generated and

00:59:37.900 --> 00:59:44.300
<v Chris Gammell>then that goes up to uh you know how the waves interact with a human hand and a finger for example

00:59:44.300 --> 00:59:50.620
<v Chris Gammell>and see some waves bouncing off and some waves traveling along the surface uh-huh and yeah it's

00:59:50.620 --> 00:59:56.380
<v Sam Aldah>showing like the like the almost like a waterfall plot in 3d space to show the interactivity yeah

00:59:56.380 --> 01:00:01.340
<v Sam Aldah>because i mean that's another thing where i i have a i think a 26 gigahertz or like one of the the low

01:00:01.340 --> 01:00:06.060
<v Sam Aldah>cost sensors that's out there and it's like oh yeah we can read your heartbeat from across the room now

01:00:06.060 --> 01:00:14.620
<v Sam Aldah>yeah yeah excuse me like what but i guess it's just uh but detecting little vibrations in space and

01:00:14.620 --> 01:00:20.300
<v Chris Gammell>then back calculating yeah exactly because yeah because you know you're working you know your your

01:00:20.300 --> 01:00:27.180
<v Chris Gammell>wavelength is in the millimeter range so you can now detect all of these small very very small changes

01:00:27.180 --> 01:00:33.100
<v Sam Aldah>in the surface uh it's just amazing to me that how does anything work sam that's what i'm really gonna

01:00:33.100 --> 01:00:43.500
<v Sam Aldah>do you do this similar kind of work then for so like your your magnetic sorry your power charging

01:00:43.500 --> 01:00:48.380
<v Sam Aldah>stuff do you also simulate you know humans kind of in the loop as well because of how it might impact

01:00:49.340 --> 01:00:55.100
<v Chris Gammell>yes so for for sort of um wireless charging and wireless power it's a low it's a much lower

01:00:55.100 --> 01:01:01.820
<v Chris Gammell>frequency now we're talking about anywhere between 100 200 kilohertz to a few megahertz megahertz region

01:01:01.820 --> 01:01:07.420
<v Chris Gammell>and so obviously in that scenario the wavelength is very very big and so it's because it's more of an

01:01:07.420 --> 01:01:14.540
<v Chris Gammell>of a near field sort of simulations you do um but then what's what's important is to do SAR simulation

01:01:14.540 --> 01:01:21.820
<v Chris Gammell>specific absorption rate uh you basically want to show if actually if you if a human gets too close

01:01:22.380 --> 01:01:30.060
<v Chris Gammell>to your wireless power coils how much heat do you generate in in human tissue oh and there's

01:01:30.060 --> 01:01:36.060
<v Chris Gammell>certain limitations and guidance about how much energy you can deposit in in a human

01:01:37.820 --> 01:01:42.540
<v Chris Gammell>limb or body and do do you deposit heat into humans that would be a bad thing right

01:01:43.660 --> 01:01:49.180
<v Chris Gammell>it would be it would be a bad thing actually as a matter of fact you know in force like your your

01:01:49.180 --> 01:01:54.940
<v Chris Gammell>your smartphone when you put it close to your ear so companies they do SAR simulations and they measure how

01:01:54.940 --> 01:02:01.740
<v Chris Gammell>much energy they're depositing in your head in your ear um and sort of this is what these professional

01:02:01.740 --> 01:02:08.540
<v Chris Gammell>tools allow you to do very very very good is that you can you can insert a human limb or head or hand

01:02:09.180 --> 01:02:16.300
<v Chris Gammell>and you can put your phone or your your your energy your source generator close to that and measure how

01:02:16.300 --> 01:02:23.260
<v Chris Gammell>much energy you're depositing so i think you're allowed to deposit two watts per cubic per cubic centimeter i

01:02:23.260 --> 01:02:29.420
<v Chris Gammell>believe no more than that over a six minute period that there are there are complicated regulations and

01:02:29.420 --> 01:02:34.620
<v Sam Aldah>centers around that yeah yeah yeah and that's where all the the crazies think that we're you know being

01:02:34.620 --> 01:02:39.820
<v Sam Aldah>impacted by our phones but it's not an ionizing radiation yes exactly that's that's the thing folks

01:02:41.260 --> 01:02:47.180
<v Sam Aldah>yeah well just going up your uh other stuff here as well you have some pcb motors that's super cool as well

01:02:47.180 --> 01:02:55.420
<v Chris Gammell>yes so this is a collaboration with carl uh carl he does um that's guest of the show carl bagager yeah

01:02:55.420 --> 01:03:04.540
<v Chris Gammell>yes yeah he was on the show uh and he he designs he he designs these uh pcb motors uh uh with pcb coils

01:03:05.260 --> 01:03:10.940
<v Chris Gammell>uh which uh which was really really really cool stuff he does i'm a big fan of him and i thought okay this

01:03:10.940 --> 01:03:19.180
<v Chris Gammell>is a perfect application for my so from my for my tools so okay he you know he's got his designs available on on

01:03:19.180 --> 01:03:25.020
<v Chris Gammell>github open so i you know i can i can download them and i can put them in blender i can do my surface

01:03:25.020 --> 01:03:32.460
<v Chris Gammell>imperfections and all of that lighting and um add other objects to the scene and then okay i can show the

01:03:32.460 --> 01:03:40.700
<v Chris Gammell>motor spinning and i can show also the magnetic field that has been generated by the pcb coils that he has in there yeah

01:03:40.940 --> 01:03:47.180
<v Chris Gammell>and vision and make all of that as a one visualization so okay first of all i'm showcasing the board

01:03:47.180 --> 01:03:53.020
<v Chris Gammell>and then i get close to the actual you know point of interest which is the motor okay the motor is

01:03:53.020 --> 01:04:01.820
<v Chris Gammell>spinning um and then okay the motor then you can see the screws come apart and it it leaves the scene

01:04:01.820 --> 01:04:09.820
<v Chris Gammell>exits the scene at some point and then that then shows the pcb coils which he's designed and then i use my

01:04:09.820 --> 01:04:16.300
<v Chris Gammell>electro mag tools to uh in blender to actually visualize the magnetic field lines that are being

01:04:16.300 --> 01:04:20.860
<v Sam Aldah>generated by one coil yeah this is now switching to the magnetic domain obviously lower frequency that

01:04:20.860 --> 01:04:27.340
<v Sam Aldah>sort of thing yes how much when i guess when do you switch over from from the the power mag sorry the one

01:04:27.340 --> 01:04:33.740
<v Chris Gammell>to the other i forget the name of them sorry oh yeah switch from electro mag nodes or from a a a near

01:04:33.740 --> 01:04:41.660
<v Chris Gammell>field sort of simulation to a far field simulation um it depends on who you ask everybody has different

01:04:41.660 --> 01:04:49.580
<v Chris Gammell>i would have a different answer i would say but in my case it would be um anywhere above 100 megahertz

01:04:49.580 --> 01:04:53.980
<v Sam Aldah>i would say okay that's yeah that's a that's a good good general guidance i guess it's also what you

01:04:53.980 --> 01:05:00.140
<v Sam Aldah>care about too right if you care about like the actual like magnetic attraction of a coil might be

01:05:00.140 --> 01:05:05.740
<v Sam Aldah>different than or like power delivery from a coil which is probably in this similar sphere versus the

01:05:05.740 --> 01:05:09.900
<v Sam Aldah>interference effect you could probably still use it to see how this might interfere with your

01:05:09.900 --> 01:05:14.460
<v Chris Gammell>you know if you had a radio nearby but blender sort of is this the hub it's a central hub you know for

01:05:15.100 --> 01:05:22.460
<v Chris Gammell>creating geometry for visualizing results trying quick concepts and just tying everything together

01:05:22.460 --> 01:05:27.340
<v Sam Aldah>totally say yeah i'd say uh just to back to the education sphere as well like just the interaction you

01:05:27.340 --> 01:05:31.820
<v Sam Aldah>know like oh okay your perpendicular fields electric and magnetic fields are perpendicular blah blah blah

01:05:31.820 --> 01:05:37.500
<v Sam Aldah>it's just like what what do you mean like and then and then they go up to the board and they start

01:05:37.500 --> 01:05:42.620
<v Sam Aldah>holding their hands up again and they you know drawing x's and the o's into the board but man just

01:05:42.620 --> 01:05:48.700
<v Sam Aldah>this like i mean first off this is just cool by itself like seeing you know this is like uh you know

01:05:48.700 --> 01:05:55.100
<v Sam Aldah>watching how hollywood you know yeah renders this stuff as well that might be my go-to but this is an

01:05:55.100 --> 01:06:00.780
<v Sam Aldah>actual like modifiable and you know demonstrable thing that i could do potentially as well like

01:06:00.780 --> 01:06:05.580
<v Chris Gammell>that's yeah that's where it really starts to come together exactly yeah you can modify it it's it's

01:06:05.580 --> 01:06:11.420
<v Chris Gammell>it's interactive as i said so if you make a quick change you see the result immediately change and and

01:06:11.420 --> 01:06:15.740
<v Chris Gammell>yeah i mean it's just all because you know we've got powerful computers these days and very fast

01:06:15.740 --> 01:06:23.500
<v Sam Aldah>processing processors gpu so yeah you know um yeah and you have pretty much units on here as well so like

01:06:23.500 --> 01:06:28.620
<v Sam Aldah>just to to take it back to the the electronic sorry the the inductance stuff how does that tie back in

01:06:28.620 --> 01:06:34.860
<v Chris Gammell>where you actually are calculating values that's where i'm now using blender's geometry node system

01:06:34.860 --> 01:06:40.380
<v Chris Gammell>so like i said it's like almost like simulink where i've actually done my own inductance calculator

01:06:40.380 --> 01:06:47.340
<v Chris Gammell>so it's so uh it it's blender is calculating the inductance of this coil within blender itself it's not

01:06:47.340 --> 01:06:54.140
<v Chris Gammell>using any external tools it the calculation is done internally um and like if you know the math behind

01:06:54.140 --> 01:06:59.740
<v Chris Gammell>it you know and be a savar's law and all of that you could sort of program all of those equations

01:07:00.620 --> 01:07:06.540
<v Chris Gammell>um in blender and and you could just do a quick calculation of the inductance and i've i've verified

01:07:06.540 --> 01:07:10.940
<v Chris Gammell>it's actually correct yeah yeah yeah yeah wow that is and that's that's the kind of stuff you said you

01:07:10.940 --> 01:07:16.060
<v Sam Aldah>are you're doing professionally every day anyway so like it makes sense that you would yeah does it change

01:07:16.060 --> 01:07:22.060
<v Sam Aldah>with with like imposed voltages and stuff like that like it's showing it ticking up here but yeah

01:07:22.620 --> 01:07:28.700
<v Chris Gammell>because the way it's calculating it is actually it's it scans the electric the magnetic field over

01:07:28.700 --> 01:07:34.380
<v Chris Gammell>over a certain area so it's scanning it and it's going to go up and up until but at some point it will

01:07:35.260 --> 01:07:45.740
<v Chris Gammell>stop um like that increase will then stop increasing anymore or so um it uh because sort of um i'm using

01:07:45.740 --> 01:07:52.620
<v Chris Gammell>air core coils so i'm not using ferrite material or other non-linear material so you could say it's

01:07:52.620 --> 01:07:58.380
<v Chris Gammell>the inductance is almost linear with voltage and current and pretty much stays constant if i were

01:07:58.380 --> 01:08:05.020
<v Chris Gammell>to have ferrite material then yeah it's it becomes a more complicated calculation got it okay oh and you

01:08:05.020 --> 01:08:10.460
<v Sam Aldah>have a whole video on inductance calculator we'll put that into it okay great great i'm just dropping links

01:08:10.460 --> 01:08:15.980
<v Sam Aldah>in my notes here as we go along so this is good yeah okay wow that is and actually this is nice too i

01:08:15.980 --> 01:08:20.540
<v Sam Aldah>the thing that i like about this is that uh you know this calculating inductance it's actually showing

01:08:20.540 --> 01:08:25.260
<v Sam Aldah>your whole screen so as it's actually showing you working in blender which is really cool yes because

01:08:25.260 --> 01:08:30.140
<v Sam Aldah>that uh because i haven't tried it yet it's still kind of uh unknown to me but that's that's really

01:08:30.140 --> 01:08:36.540
<v Chris Gammell>really important yeah i've realized that it's uh i get more interest in you know in me actually

01:08:36.540 --> 01:08:43.580
<v Chris Gammell>uh showing how i use blender and how i'm navigating around it instead of just showing the actual result

01:08:43.580 --> 01:08:51.500
<v Chris Gammell>itself so i i think i found that people like that more just showing how showing your your workflow and

01:08:51.500 --> 01:08:56.220
<v Sam Aldah>what is it you're doing with blender yes yeah i mean because you know i can go to your github page and

01:08:56.220 --> 01:09:02.300
<v Sam Aldah>we'll put in the the very all there yeah the fast henry tools the electromagnet tools all those but it's

01:09:02.300 --> 01:09:06.540
<v Sam Aldah>different than actually seeing it happen right that yes the ability to be like oh i could go pause it if

01:09:06.540 --> 01:09:11.340
<v Sam Aldah>i need to and see what sam's doing on his screen like the the where do i click kind of piece of it

01:09:11.340 --> 01:09:16.780
<v Sam Aldah>all is also very yes exactly yeah so yeah that's that's really we will link in your youtube channel

01:09:16.780 --> 01:09:20.380
<v Sam Aldah>we will link in your art station channel which is another place you kind of highlight the

01:09:21.260 --> 01:09:25.180
<v Sam Aldah>yes the videos and the gifs of this sort of stuff that ends up on social what else should people check

01:09:25.180 --> 01:09:31.980
<v Chris Gammell>out from your work i mean where um uh i think just uh showcasing products so recently the last one is i

01:09:31.980 --> 01:09:39.100
<v Chris Gammell>did this uh smart watch if you the first video on arts yeah that one there's zs watch open source

01:09:39.100 --> 01:09:46.140
<v Chris Gammell>smart watch so um this is an open source project and uh people they're doing you know they're doing your

01:09:46.140 --> 01:09:53.740
<v Chris Gammell>own smart watch uh it's a key cad project and i thought okay well i could experiment with that because i was

01:09:53.740 --> 01:10:00.620
<v Chris Gammell>uh and because i was trying to experiment with creating animations of how components of of fall on

01:10:00.620 --> 01:10:06.460
<v Chris Gammell>a pcb like sometimes you see these uh product demonstrations from apple samsung nvidia where

01:10:06.460 --> 01:10:13.260
<v Chris Gammell>they show how the components fall on a pcb and how everything is assembled and how all comes together

01:10:13.260 --> 01:10:19.100
<v Chris Gammell>so i was trying to kind of experiment with that a bit more and because all these animations of all these

01:10:19.100 --> 01:10:25.740
<v Chris Gammell>objects coming together is all actually programmable and scripted and so it's not me moving things

01:10:25.740 --> 01:10:31.820
<v Chris Gammell>manually with my with my mouse cursor i'm actually programming it all oh interesting yeah i mean that's

01:10:31.820 --> 01:10:35.340
<v Sam Aldah>very useful i mean i can imagine every kickstarter campaign in the world wants this sort of with

01:10:35.340 --> 01:10:40.140
<v Sam Aldah>electronics going on this sort of thing yeah yeah yeah yeah yeah i mean exploded views are always fun and

01:10:40.140 --> 01:10:45.740
<v Sam Aldah>now this is like a it's like an inverse exploded view which is it's great yeah i shouldn't dig through

01:10:45.740 --> 01:10:50.380
<v Sam Aldah>every single video that's here that's that is for the audience to do but man i i want to uh that's

01:10:50.380 --> 01:10:56.620
<v Sam Aldah>very very cool one last thing i wanted to um to if we if a person listening wanted to fast track their

01:10:56.620 --> 01:11:00.780
<v Sam Aldah>learning what is your recommendation for the fastest way to get started doing this sort of thing

01:11:00.780 --> 01:11:07.660
<v Chris Gammell>fast way is to start to learn to get to know how to use blender uh to get to understand how to

01:11:09.100 --> 01:11:14.460
<v Chris Gammell>work within blender how to move objects how to manipulate things i think and the best way to do that

01:11:14.460 --> 01:11:21.340
<v Chris Gammell>is just to uh go watch a youtube tutorial from blender guru i think that's the quickest and

01:11:21.340 --> 01:11:27.820
<v Chris Gammell>fastest way it's probably spend about three hours on it you'll be able to know how to get around blender

01:11:27.820 --> 01:11:33.740
<v Chris Gammell>how to do basic effects shading effects and all of that so oh that's the first thing i would

01:11:33.740 --> 01:11:39.180
<v Chris Gammell>step one is build a donut it sounds like build a donut yeah absolutely build your blender donut you

01:11:39.180 --> 01:11:44.860
<v Chris Gammell>know you could spend a day on it but that just covers everything and then after that okay like

01:11:44.860 --> 01:11:52.700
<v Chris Gammell>i said start from a reference design so perhaps if you're into electronics you're done a pcb get your

01:11:52.700 --> 01:11:59.260
<v Chris Gammell>key cad project your 3d board into blender straight away do that okay and then that at least that gives

01:11:59.260 --> 01:12:03.580
<v Sam Aldah>you something to work with so find a key cad design on if you don't have one your own go find one start

01:12:03.580 --> 01:12:09.340
<v Sam Aldah>and then use the blender importer sounds like blender yeah you can export it blender blender

01:12:10.060 --> 01:12:17.580
<v Chris Gammell>as a blender key cad add-on uh you can download it it's free and you can just get your project into

01:12:17.580 --> 01:12:21.260
<v Chris Gammell>blender and from there at least you've got something you can work with you can manipulate you can make

01:12:21.260 --> 01:12:29.100
<v Chris Gammell>changes and lighting material and i think that is the best way just to to to able to use blender and

01:12:29.100 --> 01:12:35.020
<v Chris Gammell>then then then you can take it a step further by going into geometry nodes into procedural modeling

01:12:35.020 --> 01:12:42.380
<v Chris Gammell>into then a bit of coding and then sort of getting actual simulation data into blender and all of that

01:12:42.380 --> 01:12:50.860
<v Chris Gammell>so three three three steps yeah i would say donut reference design and then go take it the next step with

01:12:50.860 --> 01:12:59.260
<v Sam Aldah>geometry nodes okay what about when should people pull fast henry and uh the electromagnet nodes in

01:12:59.260 --> 01:13:06.620
<v Sam Aldah>like should they is that a a suitable third step or should they do the the geometries first i would say

01:13:06.620 --> 01:13:13.660
<v Chris Gammell>that would be uh uh as a as a third step definitely i think that's a third step because yeah the those

01:13:13.660 --> 01:13:20.220
<v Chris Gammell>tools uh electromagnetic nodes and blender fast henry are you know you i'm assuming that the user already knows

01:13:20.220 --> 01:13:27.100
<v Chris Gammell>their way around blender knows the knows how to access things knows how to edit things um so yeah

01:13:27.100 --> 01:13:32.140
<v Sam Aldah>i would i would recommend in sort of step number three i'm really asking for myself if it wasn't

01:13:32.140 --> 01:13:37.580
<v Sam Aldah>clear i am very selfish and i already have i don't know how to use blender yet so that's definitely the

01:13:37.580 --> 01:13:42.540
<v Sam Aldah>first step i have a keypad design i could pull that in i can share mine if people don't have one i have

01:13:42.540 --> 01:13:46.380
<v Sam Aldah>some open source hardware but there's lots of open source hardware in key cad which is great and if

01:13:46.380 --> 01:13:51.660
<v Chris Gammell>people have any questions or any comments you can find me on social and just send me and send a

01:13:51.660 --> 01:13:57.020
<v Chris Gammell>message and and post a message somewhere and i'll try to help us as much as i can okay great that's a

01:13:57.020 --> 01:14:03.420
<v Sam Aldah>that's how we always end so uh linkedin twitter slash x where should people find you everywhere um

01:14:03.420 --> 01:14:10.140
<v Chris Gammell>if you search my name you can find me um i think my two most active places are recently i've been linked

01:14:10.140 --> 01:14:18.620
<v Chris Gammell>in and x you can find me on those two platforms um you can find me on youtube as well um so yeah just

01:14:18.620 --> 01:14:26.220
<v Chris Gammell>those three three sort of platforms that i'm currently very active on also you can post on the eev blog

01:14:26.220 --> 01:14:32.700
<v Chris Gammell>forum as well i've got a few posts on there okay great yeah well sam it has been an absolute pleasure

01:14:32.700 --> 01:14:38.780
<v Sam Aldah>talking to you i am likewise i really enjoyed just i mean up until this point i've just loved looking

01:14:38.780 --> 01:14:43.740
<v Sam Aldah>at this stuff on on uh different different platforms but now you know you opening up you

01:14:43.740 --> 01:14:48.220
<v Sam Aldah>opening up the educational aspect of it too is going to be really enabling i think for a lot of folks so

01:14:48.220 --> 01:14:51.820
<v Sam Aldah>thank you thank you for being here thanks for your tools thank you very much my pleasure to be on the

01:14:51.820 --> 01:15:14.860
<v Sam Aldah>show thank you very much
