Power Transformer calculation
A power transformer takes input AC voltage U1 and current I1, and outputs another AC voltage U2 and current I2. It has at least two windings, which are inductively connected (winded around a common core). The relation between the input and output currents could be difficult in general, but in case of Power Transformer, the source voltage (and primary winding current) are sinusoidal, and the output voltage and current are sinusoidal as well. The output frequency is the the same as input.
How Transformer works?
The AC voltage U1 is plugged to the primary winding. The current I1 flows there and generates a magnetic flux inside the core, which is also sinusoidal. The flux is inducing the Voltage in the secondary winding coils, since it is winded on the same core. Then a consumer with resistance Rload is connected to the secondary winding. The electromotive force, induced in the secondary winding coils, becomes a voltage source for the consumer. Current I2 flows in the secondary circuit, and it also produces its magnetic flux, which increases the total magnetic flux in the core. As a result, the primary current I1 increases.
Since the single coil induced Voltage is the same for every coil, the number of coils ratio for both windings defines the Voltage ratio. We consider the ideal Transformer, without any looses, therefore the input power (consumed from the input Voltage source) equals to the output power (taken by consumer). Then the transformation coefficient:
Transformer simple mathematical model
Consider the general case transformer, when we don't know the purposes it will be used for. Consider the given input voltage, frequency, and desired output voltage.
Consider the core, made of ferromagnetic material, having a rectangle a x b cross-section. The winding span length is lw. Consider the number of coils for the primary winding and the wire diameters for both windings, dw1 and dw2 accordingly.
Core cross-section perimeter is 2(a + b), primary winding total length: l1 = W1·2(a + b). Wire cross-section area is S1 = π·dw12/4. Then the primary winding active resistance is:
The same is actual for the secondary winding
Primary winding inductance:
where A = a·b (core cross-section Area)
Primary winding inductive resistance:
Primary winding total resistance (impedance):
The open circuit primary winding current (when no load is connected to the secondary winding):
Secondary winding voltage:
Then after the consumer is connected to the secondary winding, the secondary current:
That current is contributing the total magnetic flux in the core, thus the primary current increases as well in order to sustain the balance between the source voltage and the induced electromotive force. Then resulting current in the primary winding is:
The power consumed from electrical network:
The power taken by consumer:
The model described above is implemented in the document "power_transformer". The are also the variables named with postfix "margin", which are intended to show the margin for such parameters as winding wire diameters, core size, number of coils. The margins are obtained by comparing the actual values to those ones obtained from the empirical formulas, which are described below. If the margin happens to be "too negative", one should increase the according parameter value.
That model could be used for preliminary calculation of already given transformer, but what if we have to design the transformer for very specific needs (for the given consumer)? Let's take a look at the very common transformer calculation method
Power Transformer Calculation
A set of empirical formulas is used for that purpose. Let's find out first what output current and voltage are required by the consumer. Then knowing the power P2 will take into account the real transformer internal looses with some coefficient:
The core cross-section area (in square centimeters) can be evaluated as:
The number of coils per single Volt:
Knowing this, we can now obtain the number of coils for primary and secondary windings:
Primary and secondary winding currents:
The wire diameter for every winding is evaluated according to: