Using SPICE with FEMM (Finite Element Method Magnetics)

Click For Summary
FEMM, a freeware program for simulating 2D electromagnetic geometries, is being used to model a custom generator's output voltage, current, and power. The user seeks to integrate SPICE to simulate circuit components, focusing on the load voltage and current from a coil with non-sinusoidal output. The challenge lies in the changing source inductance with generator loading, prompting the need for SPICE integration. Other users have successfully combined LTspice with FEMM for similar applications, referencing specific examples. The discussion highlights the potential for further exploration and collaboration on this topic.
Jdo300
Messages
548
Reaction score
5
Hello All,

Some of you may have heard of the freeware FEA program called FEMM written by David Meeker. It is used to simulate 2D electromagnetic geometries and also has an integrated LUA scripting host which allows script files to be written to automate the process.

I'm currently using FEMM to model and calculate the output voltage, current, and power of a custom generator model but I'm wondering if it is possible to use SPICE to simulate the circuit components of my model.

Basically, I'm starting with a very simple setup with a spinning magnet and a coil. The goal is that I want to simulate the load voltage and current from this coil, taking into account it's reactance and presumably non-sinusoidal output waveform. Right now, I can calculate the inductance of the coil, the output current, and induced voltage straight from the simulator outputs, but I would like to somehow input these values into the SPICE simulator to determine the load voltage, current, and phase shift. I'm modeling the output circuit of the generator as a voltage source with a series resistance, and inductance to represent the generator, and a resistive load for the output load.

The tricky part is that the source inductance also changes with the loading of the generator (which is why I'm considering using spice somehow). Has anyone ever worked with a situation like this before?

Thanks,
Jason O
 
Engineering news on Phys.org
Yes, we use LTspice + FEMM (LookUp Table). Modeling Back EMF From Solenoid Valve.Ustroystvo as a black box. Examples http://www.magneticdon.narod.ru/Batishchev.pdf and http://www.magneticdon.narod.ru/Article_Batishchev_Pavlenko.pdf
 
Last edited by a moderator:
kasandranas said:
Yes, we use LTspice + FEMM (LookUp Table). Modeling Back EMF From Solenoid Valve.Ustroystvo as a black box. Examples http://www.magneticdon.narod.ru/Batishchev.pdf and http://www.magneticdon.narod.ru/Article_Batishchev_Pavlenko.pdf

Welcome to the PF.

Are there any English language translations available of this work? It's probably of fairly limited usefulness in its current language/format.
 
Last edited by a moderator:
Planned to write an article in English in the near future.
 
Thanks kasandranas,

When you do, please let me know, I would be very interested to see how you approached the problem.

- Jason O
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

Replies
5
Views
4K
Replies
1
Views
3K
Replies
12
Views
3K
  • · Replies 10 ·
Replies
10
Views
1K
Replies
9
Views
7K
Replies
64
Views
7K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
8
Views
2K
Replies
2
Views
3K