Académique Documents
Professionnel Documents
Culture Documents
01
M01
Co-simulation with Maxwell
The goal of this Lab is to realize the inverter and the motor
cosimulation, using a Transient-Transient link
The Motor is a 3 phase Synchronous machine with permanent
magnets. The inverter is a basic one level inverter
Technical Background
The co-simulation is the most accurate way of coupling the drive and the motor
model. The advantage of this method is the high accuraty, having the real
inverter currents as source in Maxwell, and the back-emf of the motor on the
inverter side.
The transient-transient link enables the use to pass data between Simplorer and
Maxwell during the simulation:
Maxwell2D and Maxwell3D can be used
Simplorer and Maxwell will run altogether
Simplorer is the Master, Maxwell is the slave
At a given time step, the Winding currents and the Rotor angle are passed
from Simplorer to Maxwell, the Back EMF and the Torque are passed from
Maxwell to Simplorer
The complexity of the drive system and of the mechanical system is not
limited
Simplorer Schematic
Select, from the Basic Elements > Circuit > Semiconductors System Level library
the diode model and the IGBT model. Please make a note of the numbering of
IGBTs as rest of exercise depends on this.
Add two voltage sources (E1, E2), one Voltmeter (VM1) and 3 resistances
(RphaseA, RphaseB, RphaseC) as shown below
Simplorer Schematic
The reference waveforms are implemented using time functions: pick the Sine
Wave in the Basic Elements > Tools > Time Functions library.
Put 3 Sine Wave blocks on the schematic, with the parameters as above
Add a Triangular wave time function block
The switching of the IGBTs is done through a state graph that will compare the
reference wave forms and the chopper signal
Simplorer Schematic
We will specify the signal from state graphs as a control signal for IGBT1 .
Double click on IGBT1 and specify igbt1 as control signal (you need to uncheck
the use Pin button). Name the control signals of IGBT2 as igbt2
Specify the the second State graphs to control IGBT3 and IGBT4. Use third state
graph to control IGBT5 and IGBT6. Name the control signal for rest of the
IGBTs accordingly. The final circuit should look like as below.
Mawell Project
Open the Maxwell project PM_SyncMotor.mxwl
This is a 3 phase synchronous motor. The excitation is defined with current
sources.
Run the Maxwell simulation: right mouse click on Setup1, and select Analyse
The post processing is the same as Simplorer, The Winding currents and the
Torque displays are already defined
The Maxwell excitation is basic and does not represent real life system
Maxwell in Simplorer
In order to use a Maxwell model in co-simulation with Simplorer, the user just
needs to do a couple of modifications on the Maxwell side.
Right mouse click on the Maxwelldesign name and select copy
Right mouse click on the Project name and select paste
Maxwell in Simplorer
Go to the winding definition under the Excitation tab, double click on PhaseA, to
open its definition
For each winding, you need to enter that you want the current information to be
read in Simplorer.
Select External in the ‘Type’ pull down menu
Make sure that the initial current is 0
Simplorer Schematic
Go to Simplorer Circuit > Subcircuit > Maxwell Component > Add Transient
Cosimulation
In the Transient-Transient coupling window, open the link File area, and select
the Maxwell project
Maxwell is opened and loads the project
On the Transient-Transient link Simplorer window, the project information are
loaded
Simplorer Schematic
Select 2D for the Design type, and choose the design 2_Maxwell_Simplorer
In the Options tab, select Pin Description and click OK.
The component has 8 pins : 2 pins for each phase and 2 mechanical pins for the
rotor
Simplorer Schematic
We need to increase the symbol size of the added component. Right click on the
added component and select Edit Symbol
Simplorer Schematic
Simplorer Schematic
Update the project, using the icon,just above the project name
Once the project is updated, double click on the schematic name, then wire the
motor to the phase resistances. PhaseA_out, PhaseB_out and PhaseC_out
pinsare linked together in this example
Simplorer Schematic
A constant speed is used. Go to the Component tab, in the Basic Elements >
Physical Domains > Mechanical > Displacement – Force – Representation >
Rotational_V folder, choose the V_ROTB: Angular Velocity Source
Enter 4500 rpm and link this component to the MotionSetup1_out pin
Link the MotionSetup1 pin to the (mechanical) ground
Note: Simplorer allows you to have much more complicated mechanical systems
Simplorer Simulation
Simplorer Simulation
Before simulating, the outputs data that will be available in Simplorer need to be
defined. Open the Output Dialog
By default, most of the common outps are saved by default. Browse to the FEA1
folder, then select the desired outps from Maxwell2D that you want to keep, then
click on OK
Simulation Results
Simulation Results
End