# Nine Phase Squirrel Cage Induction Machine

Description of the Nine Phase Squirrel Cage Induction Machine component in Schematic Editor.

Table 1. Nine Phase Squirrel Cage Induction Machine component in Typhoon HIL Toolbox
Component Component dialog window Component parameters  • Property tabs:

In this component, terminals A, B, C, D, E, F, G, H, and I are stator winding terminals. The stator winding uses the current source interface. The stator consists of nine phase windings, displaced by 40 degrees. Each phase is considered equidistant to both the previous and next phase. Using a Clarke transformation, all 9 phases map into a single αβ domain.

Note: Nine Phase Squirrel Cage Induction Machine component is not supported on HIL402 device.

## Electrical sub-system model

The electrical part of the machine is represented by the following system of equations, modeled in the stationary αβ reference frame. In this model, leakage inductances between different phases are neglected and only self-leakage inductance is included. The first two $\alpha \beta$ stator components define variables that will lead to fundamental flux and torque production. Equations for $\mathrm{\alpha _n}\mathrm{\beta _n}$ components are completely decoupled from all other $\alpha \beta$ components. These correspond to certain voltage, flux, and current harmonics and do not contribute to torque production.

$\left[\begin{array}{c}{v}_{\mathrm{\alpha }\mathrm{s}}\\ {v}_{\beta s}\\ {v}_{\alpha \mathrm{s}1}\\ {v}_{\beta s1}\\ {v}_{\alpha s2}\\ {v}_{\beta s2}\\ {v}_{\alpha s3}\\ {v}_{\beta s3}\\ {v}_{\alpha r}\\ {v}_{\beta r}\end{array}\right]=\left[\begin{array}{cccccccccc}{R}_{s}& 0& 0& 0& 0& 0& 0& 0& 0& 0\\ 0& {R}_{s}& 0& 0& 0& 0& 0& 0& 0& 0\\ 0& 0& {R}_{s}& 0& 0& 0& 0& 0& 0& 0\\ 0& 0& 0& {R}_{s}& 0& 0& 0& 0& 0& 0\\ 0& 0& 0& 0& {R}_{s}& 0& 0& 0& 0& 0\\ 0& 0& 0& 0& 0& {R}_{s}& 0& 0& 0& 0\\ 0& 0& 0& 0& 0& 0& {R}_{s}& 0& 0& 0\\ 0& 0& 0& 0& 0& 0& 0& {R}_{s}& 0& 0\\ 0& 0& 0& 0& 0& 0& 0& 0& {R}_{r}& 0\\ 0& 0& 0& 0& 0& 0& 0& 0& 0& {R}_{r}\end{array}\right]\left[\begin{array}{c}{i}_{\mathrm{\alpha }\mathrm{s}}\\ {i}_{\beta s}\\ {i}_{\alpha s1}\\ {i}_{\beta s1}\\ {i}_{\alpha s2}\\ {i}_{\beta s2}\\ {i}_{\alpha s3}\\ {i}_{\beta s3}\\ {i}_{\alpha r}\\ {i}_{\beta r}\end{array}\right]+\frac{d}{dt}\left[\begin{array}{c}{\psi }_{\mathrm{\alpha }\mathrm{s}}\\ {\psi }_{\beta s}\\ {\psi }_{\alpha s1}\\ {\psi }_{\beta s1}\\ {\psi }_{\alpha s2}\\ {\psi }_{\beta s2}\\ {\psi }_{\alpha s3}\\ {\psi }_{\beta s3}\\ {\psi }_{\alpha r}\\ {\psi }_{\beta r}\end{array}\right]+\left[\begin{array}{cccccccccc}0& 0& 0& 0& 0& 0& 0& 0& 0& 0\\ 0& 0& 0& 0& 0& 0& 0& 0& 0& 0\\ 0& 0& 0& 0& 0& 0& 0& 0& 0& 0\\ 0& 0& 0& 0& 0& 0& 0& 0& 0& 0\\ 0& 0& 0& 0& 0& 0& 0& 0& 0& 0\\ 0& 0& 0& 0& 0& 0& 0& 0& 0& 0\\ 0& 0& 0& 0& 0& 0& 0& 0& 0& 0\\ 0& 0& 0& 0& 0& 0& 0& 0& 0& 0\\ 0& 0& 0& 0& 0& 0& 0& 0& 0& {\omega }_{r}\\ 0& 0& 0& 0& 0& 0& 0& 0& -{\omega }_{r}& 0\end{array}\right]\left[\begin{array}{c}{\psi }_{\mathrm{\alpha }\mathrm{s}}\\ {\psi }_{\beta s}\\ {\psi }_{\alpha s1}\\ {\psi }_{\beta s1}\\ {\psi }_{\alpha s2}\\ {\psi }_{\beta s2}\\ {\psi }_{\alpha s3}\\ {\psi }_{\beta s3}\\ {\psi }_{\alpha r}\\ {\psi }_{\beta r}\end{array}\right]$

${T}_{e}=\frac{9p}{2}\left({\psi }_{\alpha s}{i}_{\beta s}-{\psi }_{\beta s}{i}_{\alpha s}\right)$
Table 2. Nine Phase Squirrel Cage Induction Machine electrical subsystem model variables
Symbol Description
ψαs Alpha axis component of the stator flux [Wb]
ψβs Beta axis component of the stator flux [Wb]
ψαs1 Alpha 1 axis component of the stator flux [Wb]
ψβs1 Beta 1 axis component of the stator flux [Wb]
ψαs2 Alpha 2 axis component of the stator flux [Wb]
ψβs2 Beta 2 axis component of the stator flux [Wb]
ψαs3 Alpha 3 axis component of the stator flux [Wb]
ψβs3 Beta 3 axis component of the stator flux [Wb]
ψαr Alpha axis component of the rotor flux, referred to the stator [Wb]
ψβr Beta axis component of the rotor flux, referred to the stator [Wb]
iαs Alpha axis component of the stator current [A]
iβs Beta axis component of the stator current [A]
iαs1 Alpha 1 axis component of the stator current [A]
iβs1 Beta 1 axis component of the stator current [A]
iαs2 Alpha 2 axis component of the stator current [A]
iβs2 Beta 2 axis component of the stator current [A]
iαs3 Alpha 3 axis component of the stator current [A]
iβs3 Beta 3 axis component of the stator current [A]
iαr Alpha axis component of the rotor current, referred to the stator [A]
iβr Beta axis component of the rotor current, referred to the stator [A]
vαs Alpha axis component of the stator voltage [V]
vβs Beta axis component of the stator voltage [V]
vαs1 Alpha 1 axis component of the stator voltage [V]
vβs1 Beta 1 axis component of the stator voltage [V]
vαs2 Alpha 2 axis component of the stator voltage [V]
vβs2 Beta 2 axis component of the stator voltage [V]
vαs3 Alpha 3 axis component of the stator voltage [V]
vβs3 Beta 3 axis component of the stator voltage [V]
vαr Alpha axis component of the rotor voltage, referred to the stator [V]
vβr Beta axis component of the rotor voltage, referred to the stator [V]
Rs Stator phase resistance [Ω]
Rr Rotor phase resistance, referred to the stator [Ω]
Lm Magnetizing (mutual, main) inductance [H]
Ls Stator phase inductance [H] ( $={L}_{ls}+{L}_{m}$ )
Lr Rotor phase inductance, referred to the stator [H] ( $={L}_{lr}+{L}_{m}$ )
p Machine number of pole pairs
Te Machine developed electromagnetic torque [Nm]

## Mechanical sub-system model

Motion equation:

Table 3. Mechanical sub-system model variables
symbol description
Jm Combined rotor and load moment of inertia [kgm2]
Te Machine developed electromagnetic torque [Nm]
Tl Shaft mechanical load torque [Nm]
b Machine viscous friction coefficient [Nms]
Note: Motion equation is the same for all of the rotating machine models.

## Electrical

Table 4. Electrical parameters
Symbol Description
Rs Stator phase resistance [Ω]
Rr Rotor phase resistance, referred to the stator [Ω]
${Lls}_{}$ Stator leakage inductance [H]
${Llr}_{}$ Rotor leakage inductance, referred to the stator [H]
${Lm}_{}$ Magnetizing (mutual, main) inductance [H]

## Mechanical

Table 5. Mechanical parameters
symbol description
pms Machine number of pole pairs
Jm Combined rotor and load moment of inertia [kgm2]
Friction coefficient Machine viscous friction coefficient [Nms]
Unconstrained mechanical angle Limiting mechanical angle between 0 and 2π

symbol description
Load source Load can be set from SCADA/external or from model (in model case, one signal processing input will appear)
Load ai offset Assigned offset value to the input signal representing external torque command
Load ai gain Assigned gain value to the input signal representing external torque command

External load enables you to use an analog input signal from a HIL analog channel with the load_ai_pin address as an external torque/speed load, and to assign offset (V) and gain (Nm/V) to the input signal, according to the formula:

${T}_{l}=load_ai_gain·\left(AI\left(load_ai_pin\right)+load_ai_offset\right)$

Note: An analog input pin may be overwritten if another component uses the same analog input pin. If another property (from the same or a different component) uses the same analog input pin, the input signal value will be applied to only one of those properties. For instance, if both the load and the resolver carrier signal use the same analog input pin, the signal value will only be applied only to one of these.

## Feedback

Table 7. Feedback parameters
symbol description
Encoder ppr Incremental encoder number of pulses per revolution
Resolver pole pairs Resolver number of pole pairs
Resolver carrier source Resolver carrier signal source selection (internal or external)
External resolver carrier source type External resolver carrier signal source type selection (single ended or differential); available only if the Resolver carrier source property is set to external
Resolver carrier frequency Resolver carrier signal frequency (internal carrier) [Hz]
Resolver ai pin 1 Resolver carrier input channel 1 address (external carrier)
Resolver ai pin 2 Resolver carrier input channel 2 address (external carrier); available only if the External resolver carrier source type property is set to differential
Resolver ai offset Resolver carrier input channel offset (external carrier)
Resolver ai gain Resolver carrier input channel gain (external carrier)
Absolute encoder protocol Standardized protocol providing the absolute machine encoder position

If an external resolver carrier source is selected, the source signal type can be set as either single ended or differential. The single ended external resolver carrier source type enables use of an analog input signal from the HIL analog channel with the res_ai_pin_1 address as the external carrier source. Additionally, offset (V) and gain (V/V) values can be assigned to the input signal, according to the formula:

$res_carr_src=res_ai_gain·\left(AI\left(res_ai_pin_1\right)+res_ai_offset\right)$

The differential external resolver carrier source type enables use of two analog input signals from the HIL analog channels with the res_ai_pin_1 and the res_ai_pin_2 addresses. Analog signals from these HIL analog inputs are subtracted, and the resulting signal is used as the external differential carrier source. Additionally, offset (V) and gain (V/V) values can be assigned to the input signal (similarly to the single ended case), according to the formula:

$res_carr_src=res_ai_gain·\left(\left(AI\left(res_ai_pin_1\right)-AI\left(res_ai_pin_2\right)\right)+res_ai_offset\right)$
Note: Differential external resolver signal support is available from the 2023.1 software version. Only the single ended external resolver option was available in previous software versions.
Note: In order to get a resolver signal with an amplitude of 1 when using an external carrier signal, the offset and the gain should be chosen in such a way that the resolver carrier signal has an amplitude of 1 after the adjustment. As shown in Figure 1, the sinusoidal signal used to generate external resolver carrier source is fed to HIL analog input 1. The analog input signal is scaled in order to get the resolver signals with an amplitude of 1.
Note: An analog input pin may be overwritten if another component uses the same analog input pin. If another property (from the same or a different component) uses the same analog input pin, the input signal value will be applied to only one of those properties. E.g. if both the load and the resolver carrier signal use the same analog input pin, the signal value will be applied only to one of these.

The following expression must hold in order to properly generate the encoder signals:

$4·enc_ppr·{f}_{m}{·T}_{s}\le 1$
Table 8. Variables in the encoder limitation expression
symbol description
enc_ppr Encoder number of pulses per revolution
fm Rotor mechanical frequency [Hz]
Ts Simulation time step [s]
Note: While the machine speed is positive, the encoder channel B signal leads the encoder channel A signal.
Note: Absolute encoder protocol is not supported on HIL402 (configurations: 1, 2, 3, and 4).

## Snubber

All machines with current source based circuit interfaces have the Snubber tab in the properties window where the value of snubber resistance can be set. Snubbers are necessary in the cases when an inverter or a contactor is directly connected to the machine terminals. This value can be set to infinite (inf), but it is not recommended when a machine is directly connected to the inverter since there will be a current source directly connected to an open switch. In this case, one of each switch pairs S1 and S2, S3 and S4, and S5 and S6 will be forced closed by the circuit solver in order to avoid the topological conflicts. On the other hand, with finite snubber values, there's always a path for the currents Ia and Ib, so all inverter switches can be open in this case. Circuit representations of this circuit without and with snubber resistors are shown in Figure 3 and Figure 4 respectively. Snubbers are connected across the current sources. Figure 3. Circuit representation of machine and inverter when all the switches are open without resistors (not recommended) Figure 4. Circuit representation of machine and inverter when all the switches are open with resistors (recommended)
Note: Snubbers exist only in the machine components that have the current source based circuit interface.
Note: Snubbers are dynamic, which means that the snubber is dynamically added to circuit modes where topological conflicts are detected.
Table 9. Snubber parameters
symbol description
Rsnb stator Stator snubber resistance value [Ω]

## Output

This block tab enables a single, vectorized signal output from the machine. The output vector contains selected machine mechanical and/or electrical variables in the same order as listed in this tab.

Note: All machine components have the Execution rate, Electrical torque, Mechanical speed, and Mechanical angle, but the rest of the signals differ from component to component.
Table 10. Output parameters
symbol description
Execution rate Signal processing output execution rate [s]
Electrical torque Machine electrical torque [Nm]
Mechanical speed Machine mechanical angular speed [rad/s]
Mechanical angle Machine mechanical angle [rad]
Stator alpha axis flux Alpha axis component of the stator flux [Wb]
Stator beta axis flux Beta axis component of the stator flux [Wb]
Rotor alpha axis flux Alpha axis component of the rotor flux, referred to the stator [Wb]
Rotor beta axis flux Beta axis component of the rotor flux, referred to the stator [Wb]
Rotor alpha axis current Alpha axis component of the rotor current, referred to the stator [A]
Rotor beta axis current Beta axis component of the rotor current, referred to the stator [A]