Six Phase Permanent Magnet Synchronous Machine with Neutral Connection
Description of the Six Phase Permanent Magnet Synchronous Machine with Neutral Connection component in Schematic Editor
A1, B1, C1, A2, B2, C2 are stator terminals and N is the neutral point terminal. Stator windings use the current source interface. Windings are grouped into A1 B1 C1 group and A2 B2 C2 group which can be displaced by 30 degrees or 60 degrees.
Electrical sub-system model
The electrical part of the machine is represented by the following system of equations which are derived by applying the decoupling VSD transformation to the initial machine model. VSD transformation transforms the space into three orthogonal subspaces representing the direct, inverse and zero order component. Only the direct order component takes part in electromechanical conversion.
If the linear model is chosen on the component's mask, the d-axis is aligned with the rotor magnets and q-axis permanent magnet flux is not considered ( ). Transformation matrix used to convert the model to a stationary αβ reference frame depends on the displacement angle chosen on the component mask. For 30 degree displacement transformation is given by:
For 60 degree displacement the transformation is given by:
In both cases k = 1/3 is used in order to get an amplitude invariant transformation.
| Symbol | Description |
|---|---|
| ψds | Direct axis component of stator winding flux [Wb] |
| ψqs | Quadrature axis component of stator winding flux [Wb] |
| ψz1 | Z1 axis component of stator winding flux [Wb] |
| ψz2 | Z2 axis component of stator winding flux [Wb] |
| ψo1 | O1 axis component of stator winding flux [Wb] |
| ψo2 | O2 axis component of stator winding flux [Wb] |
| ψPM | Flux amplitude established in stator phases by rotor permanent magnets [Wb] |
| ids | Direct axis component of stator winding current [A] |
| iqs | Quadrature axis component of stator winding current [A] |
| iz1 | Z1 component of stator winding current [A] |
| iz2 | Z2 component of stator winding current [A] |
| io1 | O1 component of stator winding current [A] |
| io2 | O2 component of stator winding current [A] |
| vds | Direct axis component of stator winding voltage [V] |
| vqs | Quadrature axis component of stator winding voltage [V] |
| vz1 | Z1 axis component of stator winding voltage [V] |
| vz2 | Z2 axis component of stator winding voltage [V] |
| vo1 | O1 axis component of stator winding voltage [V] |
| vo2 | O2 axis component of stator winding voltage [V] |
| Rs | Stator phase resistance [Ω] |
| Ld | Stator phase inductance in direct axis [H] |
| Lq | Stator phase inductance in quadrature axis [H] |
| Lls | Stator phase leakage inductance [H] |
| ωr | Rotor electrical speed [rad/s] ( ) |
| p | Machine number of pole pairs |
| Te | Machine developed electromagnetic torque [Nm] |
Mechanical sub-system model
Motion equation:
| Symbol | Description |
|---|---|
| ωm | Rotor mechanical speed [rad/s] |
| 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] |
| θm | Rotor mechanical angle [rad] |
Ports
- A1 (electrical)
- Stator winding phase A1 port.
- B1 (electrical)
- Stator winding phase B1 port.
- C1 (electrical)
- Stator winding phase C1 port.
- A2 (electrical)
- Stator winding phase A2 port.
- B2 (electrical)
- Stator winding phase B2 port.
- C2 (electrical)
- Stator winding phase C2 port.
- N (electrical)
- Stator winding phase N port.
- in
- Available if Model Load source is selected.
General (Tab)
- Rs
- Stator phase resistance [Ω]
- Lls
- Stator winding leakage inductance [H]
- Ld
- Stator phase inductance in direct axis [H]
- Lq
- Stator phase inductance in quadrature axis [H]
- Psi_pm
- Flux amplitude established in stator phases by rotor permanent magnets [Wb]
- Displacement
- Displacement between A1 B1 C1 and A2 B2 C2 winding groups [∘]
Mechanical (Tab)
- 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π
Load (Tab)
- Load source
- Load source can be set from SCADA/external or from model (in model case, one signal processing input will appear).
- In TyphoonSim, if SCADA/external is chosen as Load source, analog signals are read from the internal virtual IO bus. Hence, if some signal is sent to analog ouput 1, it will appear on analog input 1.
- External/Model load type
- Load type: torque or speed
- Load ai pin
- Load ai pin for external torque/speed command.
- In real-time/VHIL simulation, Load ai pin represent HIL analog input address for external torque command.
- In TyphoonSim, analog signals are read from the internal virtual IO bus. Hence, if some signal is sent to analog ouput 1, it will appear on analog input 1.
- Available only if SCADA/external is set as Load source.
- Load ai offset
- Assigned offset value to the input signal representing external torque command.
- Available only if SCADA/external is set as Load source.
- Load ai gain
- Assigned gain value to the input signal representing external torque command.
- Available only if SCADA/external is set as Load source.
External load enables you to use an analog input signal from a HIL/TyphoonSim (internal virtual IO bus in TyphoonSim) 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:
Feedback (Tab)
- Encoder ppr
- Incremental encoder number of pulses per revolution
- Encoder Z pulse length
- Z digital signal pulse length in periods. Can be Quarter length or Full period (default)
- Resolver pole pairs
- Resolver number of pole pairs
- Resolver carrier source
- Resolver carrier signal source selection (internal or external)
- Resolver carrier frequency
- Resolver carrier signal frequency (internal carrier) [Hz]
- Available only if the Resolver carrier source property is set to internal
- 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 ai pin 1
- Resolver carrier input channel 1 address (external carrier)
- Available only if the Resolver carrier source property is set to external
- In TyphoonSim, analog signals are read from the internal virtual IO bus. Hence, if some signal is sent to analog ouput 1, it will appear on analog input 1.
- Resolver ai pin 2
- Resolver carrier input channel 2 address (external carrier)
- Available only if the Resolver carrier source property is set to externaland External resolver carrier source type property is set to differential
- In TyphoonSim, analog signals are read from the internal virtual IO bus. Hence, if some signal is sent to analog ouput 1, it will appear on analog input 1.
- Resolver ai offset
- Resolver carrier input channel offset (external carrier)
- Available only if the Resolver carrier source property is set to external
- In TyphoonSim, analog signals are read from the internal virtual IO bus. Hence, if some signal is sent to analog ouput 1, it will appear on analog input 1.
- Resolver ai gain
- Resolver carrier input channel gain (external carrier)
- Available only if the Resolver carrier source property is set to external
- In TyphoonSim, analog signals are read from the internal virtual IO bus. Hence, if some signal is sent to analog ouput 1, it will appear on analog input 1.
- Absolute encoder protocol
- Standardized protocol providing the absolute machine encoder position.
Absolute encoder protocol is ignored in TyphoonSim. Changing its value will not affect TyphoonSim simulation at all.
- Singleturn bits
- Number of machine absolute encoder singleturn bits.
- Available only if Absolute encoder protocol is not None.
Absolute encoder protocol is ignored in TyphoonSim. Changing its value will not affect TyphoonSim simulation at all.
- Enable multiturn
- Enables multiturn absolute encoder support.
- Available only if Absolute encoder protocol is not None.
Absolute encoder protocol is ignored in TyphoonSim. Changing its value will not affect TyphoonSim simulation at all.
- Multiturn bits
- Number of machine absolute encoder multiturn bits.
- Available only if Enable multiturn is checked.
Absolute encoder protocol is ignored in TyphoonSim. Changing its value will not affect TyphoonSim simulation at all.
- EnDat/SSI/BiSS clock DI pin
- Clock digital input pin for the chosen absolute encoder protocol type.
- Available only if Absolute encoder protocol is not None.
Absolute encoder protocol is ignored in TyphoonSim. Changing its value will not affect TyphoonSim simulation at all.
- Clock DI logic
- Clock DI pin logic: active high/active low.
- Available only if Absolute encoder protocol is not None.
Absolute encoder protocol is ignored in TyphoonSim. Changing its value will not affect TyphoonSim simulation at all.
- EnDat data DI pin
- EnDat data digital input pin.
- Available only if Absolute encoder protocol is EnDat.
Absolute encoder protocol is ignored in TyphoonSim. Changing its value will not affect TyphoonSim simulation at all.
- Data DI logic
- EnDat data DI pin logic: active high/active low.
- Available only if Absolute encoder protocol is EnDat.
Absolute encoder protocol is ignored in TyphoonSim. Changing its value will not affect TyphoonSim simulation at all.
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/TyphoonSim (internal virtual IO bus in TyphoonSim) 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:
The differential external resolver carrier source type enables use of two analog input signals from the HIL/TyphoonSim (internal virtual IO bus in TyphoonSim) analog channels with the res_ai_pin_1 and the res_ai_pin_2 addresses. Analog signals from these HIL/TyphoonSim (internal virtual IO bus in TyphoonSim) 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:
The following expression must hold in order to properly generate the encoder signals:
| symbol | description |
|---|---|
| enc_ppr | Encoder number of pulses per revolution |
| fm | Rotor mechanical frequency [Hz] |
| Ts | Simulation time step [s] |
Snubber (Tab)
- Rsnb stator
- Stator snubber resistance value [Ω]
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 5 and Figure 6 respectively. Snubbers are connected across the current sources.
Output (Tab)
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.
- 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 d-axis current
- Direct axis component of the stator current [A]
- Stator q-axis current
- Quadrature axis component of the stator current [A]
- Stator d-axis flux
- Direct axis component of the stator flux [Wb]
- Stator q-axis flux
- Quadrature axis component of the stator flux [Wb]
- Stator z1-axis flux
- Z1 axis component of the stator flux [Wb]
- Stator z2-axis flux
- Z2 axis component of the stator flux [Wb]
- Stator o1-axis flux
- O1 axis component of the stator flux [Wb]
- Stator o2-axis flux
- O2 axis component of the stator flux [Wb]
Extras (Tab)
The Extras tab gives you the opportunity to set Signal Access Management for the component.
- Public - Components marked as public expose their signals on all levels.
- Protected - Components marked as protected will hide their signals to components outside of their first locked parent component.
- Inherit - Components marked as inherit will take the nearest parent 'signal_access' property value that is set to a value other than inherit.