Main Content

Ideal Transformer

Ideal transformer in electrical systems

  • Ideal Transformer block

Libraries:
Simscape / Foundation Library / Electrical / Electrical Elements

Description

The Ideal Transformer block models an ideal power-conserving transformer, described with the following equations:

V1=N·V2

I2=N·I1

where:

  • V1 is the primary voltage.

  • V2 is the secondary voltage.

  • I1 is the current flowing into the primary + terminal.

  • I2 is the current flowing out of the secondary + terminal.

  • N is the winding ratio.

Use this block to represent either an AC transformer or a solid-state DC to DC converter. To model a transformer with inductance and mutual inductance terms, use the Mutual Inductor block.

The two electrical networks connected to the primary and secondary windings must each have their own Electrical Reference block.

Variables

To set the priority and initial target values for the block variables prior to simulation, use the Initial Targets section in the block dialog box or Property Inspector. For more information, see Set Priority and Initial Target for Block Variables.

Nominal values provide a way to specify the expected magnitude of a variable in a model. Using system scaling based on nominal values increases the simulation robustness. Nominal values can come from different sources, one of which is the Nominal Values section in the block dialog box or Property Inspector. For more information, see Modify Nominal Values for a Block Variable.

Examples

Ports

Conserving

expand all

Electrical conserving port associated with the positive terminal of the primary winding.

Electrical conserving port associated with the negative terminal of the primary winding.

Electrical conserving port associated with the positive terminal of the secondary winding.

Electrical conserving port associated with the negative terminal of the secondary winding.

Parameters

expand all

Winding ratio of the transformer, which is the ratio of primary coil turns to secondary coil turns.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2007a