T1T2T3T4Co-simulation with Maxwell Technical BackgroundThe co-simulation is the most accurate way of coupling the drive and the motormodel. The advantage of this method is the high accuraty, having the realinverter currents as source in Maxwell and the back emf of the motor on theinverter currents as source in Maxwell, and the back-emf of the motor on theinverter side.The transient-transient link enables the use to pass data between Simplorer andMaxwell during the simulation:Maxwell2D and Maxwell3D can be usedSimplorer and Maxwell will run altogetherSimplorer is the Master, Maxwell is the slaveAt a given time step, the Winding currents and the Rotor angle are passedfrom Simplorer to Maxwell, the Back EMF and the Torque are passed fromMaxwell to SimplorerThe complexity of the drive system and of the mechanical system is notThe complexity of the drive system and of the mechanical system is notlimitedInsights on the coupling MethodThe Simplorer time steps and the Maxwell time steps don’t have to be thesame. Usually, Simplorer requires much more time steps than Maxwell.Assume the current simulation time is tSimplorer, based on the previous time steps, gives a forward meeting timet1to Maxwell where both simulators will exchange data. Between t0and t1,both code run by themselves.At t1, both codes exchange data. If during the t0-t1period, some eventappears on Simplorer side (state graph transition, large change of thepp p(g p,g gdynamic of the circuit), Simplorer will roll back to t0and set a new forward meeting time t1’, t1’< t1.the Basic Elements > Circuit > Semiconductors System Level libraryCo-simulation with Maxwell Simplorer SchematicWe use a control signal for each igbt. IGBT1has the igbt1control signal (youneed to uncheck the use Pin button). Name the control signals of IGBT2toIGBT6 accordingly.Follow the naming as belowCo-simulation with Maxwell Simplorer SchematicThe reference waveforms are implemented using time functions: pick the SineWave in the Basic Elements > Tools > Time Functions library.Put 3 Sine Wave blocks on the schematic, with the parameters as aboveAdd a Triangular wave time function blockThe switching of the IGBTs is done through a state graph that will compare thereference wave forms and the chopper signalCo-simulation with Maxwell Simplorer SchematicSimplorer SchematicIn the Basic Elements > States library, pick up two STATE_11, two TRANSBuild the graph below then make two additional copies to have 3 circuits, one foreach phaseFor the first state graph, we will monitor IGBT1and IGBT2Co-simulation with Maxwell Maxwell in SimplorerIn order to use a Maxwell model in co-simulation with Simplorer, the user justneeds to do a couple of modifications on the Maxwell side.Right mouse click on the Maxwelldesign name and select copyRight mouse click on the Project name and select pasteRename the copied design name in 2_Maxwell_SimplorerCo-simulation with Maxwell Maxwell in SimplorerRight mouse click on Model, and select Symmetry MultiplierGo to the Advanced Product Coupling tab and enable transient-transient link withSimplorer. That will let Maxwell know that everything linked to rotor position and winding information are to be taken from SimplorerGo to the winding definition under the Excitation tab, Right mouse click onPhaseA, then select PropertiesCo-simulation with Maxwell Maxwell in SimplorerFor each winding, you need to enter that you want the current information to beread in Simplorer.Select External in the ‘Type’ pull down menuMake sure that the initial current is 0Make sure that the initial current is0Repeat the same operation for PhaseB and PhaseC.That’s all for the Maxwell part.Save and close the Maxwell project.Make sure to know where the project is saved on the diskMake sure to know where the project is saved on the diskCo-simulation with Maxwell Simplorer SchematicGo to Simplorer Circuit > Subcircuit > Maxwell Component > Add TransientCosimulationIn the Transient-Transient coupling window, open the link File aera, and selectthe Maxwell projectCo-simulation with Maxwell Simplorer SchematicMaxwell is opened and loads the projectOn the Transient-Transient link Simplorer window, the project information areloadedSelect 2D for the Design type, and choose the design 2_Maxwell_SimplorerIn the Options tab, select Pin Description and click OK.Co-simulation with Maxwell Simplorer SchematicPlace the Component on the schematic, nearby the phase resistancesThe component has 8 pins : 2 pins for each phase and 2 mechanical pins for therotorWe need to increase the symbol size. In the Definitions> Components tab of theSimplorer project window, rigth mouse click on MxTranTranData2 (thecomponent name) and select Edit SymbolCo-simulation with MaxwellSimplorer SchematicThe Symbol Editor window pops upClick on the motor image, and move the image away in order to have access to g g ythe symbol footprintCo-simulation with Maxwell Simplorer SchematicEnlarge the footprint to the desired size.The Pins should also be moved, as well as the pin description text zonesThe motor image needs to be resized and re centeredThe motor image needs to be resized and re centeredCo-simulation with Maxwell Simplorer SchematicUpdate the project, using the icon,just above the project nameOnce the project is updated, double click on the schematic name, then wire themotor to the phase resistances. PhaseA_out, PhaseB_out and PhaseC_outpinsare linked together in this exampleCo-simulation with Maxwell Simplorer SchematicA constant speed is used. Go to the Component tab, in the Basic Elements >Physical Domains > Mechanical > Velocity –Force –Representation >Rotational_V folder, choose the V_ROT: Angular Velocity SourceRotational V folder choose the V ROT:Angular Velocity SourceEnter 4500rpm and link this component to the MotionSetup1_out pinLink the MotionSetup1pin to the (mechanical) groundNote: Simplorer allows you to have much more complicated mechanical systemsCo-simulation with Maxwell Simplorer SimulationBefore simulating, the outputs data that will be available in Simplorer need to bedefined. Open the Output DialogBy default, most of the common outps are saved by default. Browse to the FEA1folder, then select the desired outps from Maxwell2D that you want to keep, then click on OK。