Two AC Sources with One Transformer

AI Thread Summary
The discussion centers on the challenges of simulating a power grid game involving two AC sources connected via transformers. Key equations for calculating voltages across inductors and currents through resistors are provided, emphasizing the role of mutual inductance in the system. The user encounters instability in their simulation when both sides are active, suggesting that the differential equations become complex and difficult to manage. Recommendations include using complex arithmetic for calculations and controlling phase angles, as these factors significantly influence power flow between the sources. The conversation highlights the importance of understanding transformer behavior and phase relationships in AC circuits for accurate modeling.
Danksa
Messages
2
Reaction score
0
I want to program a little power grid game and have the problem of connecting things via transformers. Imagine the following setup:

ZugDVa2.png


You can see the AC voltage sources as generators (or together with the resistor as a "consumer", if the amplitude is 0).

What I need to figure out are the Voltages across the inductors L1 and L2 and the currents which flow through the resistors R1 and R2. So the only things given are U1(t), R1, L1, U2(t), R2 and L2. What I already know is that the voltage across resistor R1 is:
U_{R1} = U_{L1} - U_1
the same thing goes for the voltage across R2:
U_{R2}=U_{L2}-U_2

Through some research I also found that the voltage across an inductor is given by:
U_{L1}=L_1 \cdot \frac{dI_1}{dt}+ M \cdot \frac{dI_2}{dt}

From that we can conclude that:
U_{R1}=L_1 \cdot \frac{dI_1}{dt} + M \cdot \frac{dI_2}{dt} - U_1
which is equavilent to:
I_1 = \frac{L_1}{R_1} \cdot \frac{dI_1}{dt} + \frac{M}{R_1} \cdot \frac{dI_2}{dt} - \frac{U_1}{R_1}
and for the other side:
I_2 = \frac{L_2}{R_2} \cdot \frac{dI_2}{dt} + \frac{M}{R_2} \cdot \frac{dI_1}{dt} - \frac{U_2}{R_2}

Where M = \sqrt{L_1 \cdot L_2} is the mutual inductance.

The problem is, that this differntial equation seems to be highly unstable in a simulation (using numerical differentiation). Is there any solution to that? Just having one side without the other, so setting M=0 works just fine, but with both sides everything just "explodes".

Hopefully someone can help me :D
 

Attachments

  • ZugDVa2.png
    ZugDVa2.png
    2.6 KB · Views: 958
Last edited by a moderator:
Engineering news on Phys.org
You can find what you need here https://en.wikipedia.org/wiki/Transformer#Ideal_transformer
The trick is this

the apparent load impedance referred to the primary circuit is derived in eq. (7) to be equal to the turns ratio squared times the secondary circuit load impedance.

Then you put the referred impecance in series with R1, completely removing the transformer from the circuit.

Be sure that you can control the phase angles of the two AC sources. Also do all your calculations in complex arithmetic, because you need to calculate real and imaginary voltages, currents and power (P=watts Q=VARS)

Good luck, what you're doing is good self-education.
 
Whoops. I forgot to mention that you should not think of that transformer as two inductors. Again, that Wikipedia article explains more.
 
  • Like
Likes scottdave
Hmm, I'll try this and see if it works, but I have a concern: if U1 is larger than U2 and both are in phase, then wouldn't power from the left side be transferred to the right? If R1 = R2? This can't be modeled with additional impedance, can it? I thought of replacing the inductor with impedance and an additional AC source, but I can't work that out either.

I guess I have to first look into the complex arithmetic stuff. I'm familar with complex numbers, but not too much with electronics (yet).
 
I used to be an HVAC technician. One time I had a service call in which there was no power to the thermostat. The thermostat did not have power because the fuse in the air handler was blown. The fuse in the air handler was blown because there was a low voltage short. The rubber coating on one of the thermostat wires was chewed off by a rodent. The exposed metal in the thermostat wire was touching the metal cabinet of the air handler. This was a low voltage short. This low voltage...
Hey guys. I have a question related to electricity and alternating current. Say an alien fictional society developed electricity, and settled on a standard like 73V AC current at 46 Hz. How would appliances be designed, and what impact would the lower frequency and voltage have on transformers, wiring, TVs, computers, LEDs, motors, and heating, assuming the laws of physics and technology are the same as on Earth?
Thread 'How Does Jaguar's 1980s V12 Dual Coil Ignition System Enhance Spark Strength?'
I have come across a dual coil ignition system as used by Jaguar on their V12 in the 1980's. It uses two ignition coils with their primary windings wired in parallel. The primary coil has its secondary winding wired to the distributor and then to the spark plugs as is standard practice. However, the auxiliary coil has it secondary winding output sealed off. The purpose of the system was to provide a stronger spark to the plugs, always a difficult task with the very short dwell time of a...

Similar threads

Back
Top