FDM simulation of an electrical transformer?

AI Thread Summary
The discussion focuses on programming a Finite Difference Method (FDM) simulation for an electrical transformer using a coupled inductor model. The user encounters issues with negative inductor values when simulating in SPICE, which prevents output signal generation. The differential equations derived from the model are correct, but solving them proves difficult due to the perfect coupling condition. Additionally, altering the coupling coefficient (k) in the SPICE transformer model significantly affects the output voltage, raising concerns about sensitivity in simulations. To improve FDM simulations, it is suggested to incorporate internal resistance to address truncation errors in current derivatives.
Will Flannery
Messages
121
Reaction score
36
My goal is to program a FDM simulation of a transformer. So, we have the coupled inductor model to start with ...
SIsGV.jpg


However, if L1 = 1, L2 = 9, and coupling is perfect then M = sqrt(1*9) = 3 and L1 - M = -2.

So, this seems problematical to me. Also, if I try to simulate this model using SPICE, just for fun you understand, my goal is to program the sim myself, SPICE chokes on the negative inductor value and no output signal is generated.

I note that the model above does produce the right differential equations, that is, v1 = L1*i1' + M*i2' v2 = L2*i2' + M*i1'

However, if you try to simulate these differential equations directly, and the coupling is perfect, the the ratio L1 / M = M / L2 = sqrt(L1) / sqrt(L2) and you cannot solve them for i1' and i2'. So, I'm stuck starting with these differential equations too.

One more thing - running the SPICE transformer model, i.e. specifying L1 = 1, L2 = 9, and k = 1, with a 1 v. 60 Hz input produces the expected 3 v. output. However, changing k to .9 reduces the output to a few mv. Even .99 and its still a few mv. That seems very peculiar to me (I'm not an EE).
 
Engineering news on Phys.org
This is not the kind of thing you want to simulate with FDM. The main drawback of FDM is the truncation error you get in the derivatives. Transformers are super-sensitive to the derivative of the currents. Where's the input coming from? If you really want to do FDM, you should add some internal resistance to mitigate the effects of truncation error.
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
Thread 'Beauty of old electrical and measuring things, etc.'
Even as a kid, I saw beauty in old devices. That made me want to understand how they worked. I had lots of old things that I keep and now reviving. Old things need to work to see the beauty. Here's what I've done so far. Two views of the gadgets shelves and my small work space: Here's a close up look at the meters, gauges and other measuring things: This is what I think of as surface-mount electrical components and wiring. The components are very old and shows how...
Back
Top