Simplorer7教程.ppt
Simplorer_Day 1,pg.16/28/2005,Ansoft C,Simplorer V7Basic Training 1st Day,Simplorer_Day 1,pg.26/28/2005,1st Day Content,System structure and backgroundCircuit Simulation Examples#1,#2Block Diagram Simulation Example#3State Machine Simulation Example#4,4a,5,6,7Overview of Additional LibrariesAutomotive,Mechsim,Power,IST-LibraryAdditional Information-AC-Analysis-VHDL-AMS-C-Interface-Matlab-Simulink-Interface,Simplorer_Day 1,pg.36/28/2005,Power&Drives,Transportation,Applications/Markets,Power Conversion/Quality,Drives,Power Supplies,Aerospace,Rail,Automotive,Simplorer_Day 1,pg.46/28/2005,EM System Design,System,Simplorer_Day 1,pg.56/28/2005,Electrical,Mechanical,Thermal,Magnetic,Logic,Hydraulic,Block Diagrams/State Machines,FEA,Disconnected Technologies,Simplorer_Day 1,pg.66/28/2005,Ansofts Integrated Design Flow,Analytical DesignXprtsElectrical MachinesTransformers,Sensors,Physics Based FEA MaxwellStatic,Harmonic,Transient,Motion Circuits,Model GenerationMaxwell,System DesignSIMPLORERCircuits,Blocks,State Machines,VHDL.AMS,Model Generation,Model Generation,Model Generation,Parametric Solution,Transient Link,Simplorer_Day 1,pg.76/28/2005,Section 1System structure and background,Simplorer_Day 1,pg.86/28/2005,SIMPLORER Multi Domain Simulation,Simplorer_Day 1,pg.96/28/2005,Example Drive System,.,PowerSupply,Converter/Inverter,ElectricalMachine,Load,AnalogControl,DigitalControl,Automotive systems,electrical drives and other systems consist of a variety of components and the components have interactions,Simplorer_Day 1,pg.106/28/2005,Domains a Drive System,Power Source,Power Converter,Actuator,Mechanical Load,Digital Control,Analog Control,Electronics,Electromagnetics,Mechanics,Control,Simplorer can group these components together into different domains and link them,Simplorer_Day 1,pg.116/28/2005,Multi Domain Systems,Power Supply,Inverter,Actuator,Mechanic Load,Analog Control,Digital Control,Automotive and railway systems,electric drives,home appliances and other systems consist of a variety of components.Each component may influence the behavior of another component.,Simplorer_Day 1,pg.126/28/2005,Conventional Modeling Method,ElectronicCircuits,Controls,Mechanics,Magnetic,transformation of all model components intoone description language(e.g.differentialequations,frequently electric circuits),SML Script Language,VHD VHDL-AMS Language,Simplorer_Day 1,pg.136/28/2005,SIMPLORER Methodology,Electrical/Electronics(analog and digital circuits),Digital Control Systems(state machine),Analog Control,Mechanics(block diagram),C1,4.7m,MS,3,B,A,C,IGBT1,IGBT2,IGBT3,IGBT4,IGBT5,IGBT6,C,B,XOR,XOR2_DEL1,XOR,XOR2_DEL2,AND,AND2_DEL1,AND,AND2_DEL2,OR,OR2_DEL1,A,SUM,Carry,Each part of a complex technical system is represented by the most appropriate modeling language,Simplorer_Day 1,pg.146/28/2005,Mixed Language Simulation,ElectronicCircuits,ControlSystem/Mechanics,DiscontinuousProcesses,BlockDiagramSimulator,Non-SPICECircuitsimulator,State MachineSimulator,SIMPLORERCoupled SimulatorsMulti Language Concept,Based on:,Based on:,Based on:,Each Physical Domain has its Solver and Modeling LanguageSeparate simulators,but coupled together,Simplorer_Day 1,pg.156/28/2005,Simulator Coupling Technology,SIMPLORER Simulation Data BusSimulator Coupling Technology,Maxwell2D/3DElectromagnetismElectro mechanics,Model DatabaseElectrical,Blocks,States,Machines,Automotive,Hydraulic,Mechanics,Power,Semiconductors,Simplorer_Day 1,pg.166/28/2005,Analysis Types for Simulation,Time Domain(transient analysis or TR simulation)Example:Determine losses for buck converter power supplyFrequency Domain(harmonic analysis or AC simulation)Example:Design control loop for buck converter Quiescent Domain(DC operating point analysis or DC simulation)Example:Determine initial conditions of transistors and semiconductors for an AC analysis,Simplorer_Day 1,pg.176/28/2005,TR Simulation,Transient Domain,Select here,Simplorer_Day 1,pg.186/28/2005,AC Simulation,Frequency Domain,Select here,Note:elements not supported in frequency domain simulation,Simplorer_Day 1,pg.196/28/2005,DC Simulation,Quiescent Domain,Select here,Note:elements not supported in DC simulation,Simplorer_Day 1,pg.206/28/2005,C/C+-Software Structure,StateMachines,SIMPLORER,C/C+Programming Interface,BlocksControllerCharacteristicsData Processing,MechanicsComponentsElectrical MachinesSolver Matrix Access,Includes C-interface WizardUsed to define new components for:1)Users C-models such as control algorithms or behavior component models2)Creating call functions for users external.dll such as a Matlab simulation,Simplorer_Day 1,pg.216/28/2005,Data Exchange Concept,R1.R=10 AND,SUM.VAL=1000,SET:AS1:=1,SET:RefVal:=100;,R1,TR1,cs:=AS1,Gain,Gain,NEG,NEG1,SUM,TR1.I,RefVal,Different way for data to flow in Simplorer,Schematic,State Machine,Block Diagram,Resistance,Control signal,Current,Simplorer_Day 1,pg.226/28/2005,Naming Conventions,Circuit Simulator-Passive Components,Read Only,Read and Write,Symbol,Component Name,R_SHUNT.I,current of the component,R_SHUNT.dI,1st derivative of of the current,R_SHUNT.V,voltage of the component,R_SHUNT.dV,1st derivative of of the voltage,C_LINK.C,value of the component,C_LINK.VO,initial voltage value,C_LINK.Q,charge of a capacitance,L_LOAD.PSI,flux linkage of inductor,R_SHUNT.R,resistance,Simplorer_Day 1,pg.236/28/2005,Component Specific Parameter Dialogs,Blue color for outputRed color for parametersBrown for bi-directional,Voltage Source,Simplorer_Day 1,pg.246/28/2005,Naming Conventions-Blocks,Integ.VALValue of the Block Output SignalInteg.KIIntegral GainInteg.Y0Initial Output ValueInteg.ULUpper Limit(0=no limit)Integ.LLLower Limit(0=no limit)Integ.TSSampling Time,I,Integ,Block Name,Simplorer_Day 1,pg.256/28/2005,Naming Conventions State Machine,State Machine Simulator/Expression Evaluator,OFF,State name,RefVal,Name of a variable,carries a quantity,executed when state is active depending on type of action(STEP,SET,.),Activity situation of a stateDelivers 0,if the state is inactiveDelivers 1,if the state is active,RefVal:=A*sin(2*PI*freq*t),OFF.ST,Simplorer_Day 1,pg.266/28/2005,Reserved Internal Variables,TEND,HMIN,HMAX,THETA,FSTART,FEND,F,T,H,PI,TRUE,FALSE,SECM.ITERAT,FSTEP,SimulationEnd Time,Minimum Time Step,Maximum Time Step,Ambient Temperature,Start Frequency,End Frequency,Current Frequency,Current Time Step,Mathematical,Logical,Current#of Iterations,FrequencyStep Size,Current Time,Simplorer_Day 1,pg.276/28/2005,User Management,User Name,Load the lastopened project,Start new Projector Schematic,All settings for the given user are restored,when SIMPLORER is re-started,if the user does not exist,create a new one,Simplorer_Day 1,pg.286/28/2005,Welcome Screen,Create/Open a simulation model/project,Simplorer_Day 1,pg.296/28/2005,Project Management,Project Name,Project Description,Project location,CLICK,A project containsall files belonging to a simulation task,such as schematics,results,experiments,etc.,When“Project/New is selected:,Simplorer_Day 1,pg.306/28/2005,SSC Commander Project Management,ApplicationLauncher,Tool Bar,SimulationQueue,List of files associated with theselected application,.ssh.sml.vhd.day.smd.sml.idl.ssh,Simplorer_Day 1,pg.316/28/2005,Project Copy,Multiple sheets at different locations could be included in one project.Can copy all files of a project into one directory by:Open the project.Click on project/copy.Browse into the new location and assign a project name.Project will be copied with all of its files into the same directory.,Simplorer_Day 1,pg.326/28/2005,Install/remove Libraries,To add one or more libraries,select them in the upper window.,Options-,.and add the selection or all of the libraries in the directory,Dont forget to save your installation!,Libraries can also be inserted or removed in the schematicLibraries can be saved in a common location and shared over a network,Simplorer_Day 1,pg.336/28/2005,Install/remove Libraries,Libraries can also be inserted or removed in the schematic.Right mouse click in the library area.Select insert,new,or remove.,Simplorer_Day 1,pg.346/28/2005,Symbols in the Model Agent(library),Results on sheet,Basic components,C-models,Macros,Subsheets,Simplorer_Day 1,pg.356/28/2005,Simulator Options/Commander,Compiler or simulator will stop,when a warning occurs,Number of time steps,before active elements or the ViewTool is updated.Increase to save simulation time,Options for storage of the simulator state and usage of saved states,Save the states of all components contained in a simulation model.Can continue the simulation later from the last state.,Load and use an existing state file automatically at the start of the simulation.,Save the values of energy storage contained in a simulation model.These values could also be used as an initial values for a simulation.,Simplorer_Day 1,pg.366/28/2005,Simulator Options/Sheet,When simulation data is not available.,When simulation data is available.,Files below are created if above options selected:.KRN generated at the end of the simulation with automaticallysave state option.AWSinitial value file,contains the values of energy storing components,Simplorer_Day 1,pg.376/28/2005,Numerical Data Conventions,Simplorer_Day 1,pg.386/28/2005,Formulas and Expressions,Formulas consist of operands and operators.Operands can be any numerals or names.Operators compare or assign a value.X:=Y+Z;X,Y,and Z are the operands and:=and+are the operators.,Simplorer_Day 1,pg.396/28/2005,Integration Parameters,Minimum and maximum step size settings,Solver,Itermax is the maximum number of iterations for one simulation step.,IEMAX/VEMAX is the maximum current/voltage error,Advanced step mode,Simplorer_Day 1,pg.406/28/2005,Basic Rules for Choice of Time Step,Proper choice of minimum and maximum integration step size is very important for correct simulation results.,Simplorer_Day 1,pg.416/28/2005,Advanced Step Mode,1.Check“Advanced Step Mode“2.Number of Equal StepsIf 0:Maximal acceleration of the simulation.3.Step Acceleration Damping%If 0:No damping,maximal acceleration of the simulationFor cases of an instable behavior the parameters under 2.and 3.can be increased.,Simplorer_Day 1,pg.426/28/2005,Section 2 Circuit Simulation,Simplorer_Day 1,pg.436/28/2005,SIMPLORER Schematic,Tool Bars,Libraries,Drawing Area,Warnings,Errors and Messages Area,Library Components,Simplorer_Day 1,pg.446/28/2005,Circuit Simulator-Algorithms,Modified Nodal Approach:potential at every node,conduction between nodesEuler implicit(slower)and trapezoid integration(faster)algorithmsLinear and nonlinear,expression and externally controlled passive components and sourcesLinear and nonlinear internally controlled sourcesVariable time step determination with user defined upper(hmax)and lower(hmin)limit,Simplorer_Day 1,pg.456/28/2005,Direction Conventions,Note:The red dot characterizes the pin,where the current is considered being positive entering the component.,passive element such as resistance,voltage source,R.V=V(a)-V(b),a,b,a,b,E1.EMF=V(b)-V(a),E1.V=V(a)-V(b),E1.EMF=V(a)-V(b)Spice convention,R,E1,(voltage),(voltage)(EMF),(current),(current),Simplorer_Day 1,pg.466/28/2005,Ground Node,Note:Do not forget the ground node for each separate circuit!,1.Right Mouse Click on the sheet,2.Connect Toolbar,3.Connect Menu,Three ways to add a ground node:,Simplorer_Day 1,pg.476/28/2005,Electrical Components,Component Symbol,Component Properties,Component Name,Component Parameters&Settings,Electrical Components have ideal connectivity,line resistances,inductance etc.have to be added separately,Simplorer_Day 1,pg.486/28/2005,Nonlinear Resistance,The voltage-current relation is defined by a nonlinear characteristic,Drag the resistor into the sheet,Select Nonlinear I=f(v)And click the Characteristic button,Select Reference or Look-up Table,Double click on the resistor to get the property window,Enter the values here,Simplorer_Day 1,pg.496/28/2005,Nonlinear Components,The voltage-current relation is defined by an equation,Drag the resistor into the sheet,Double click on the resistor to get the property window,Define the variable that specifies the resistor value.value*10value is defined elsewhere in the sheet,Change the name of the resistor,Simplorer_Day 1,pg.506/28/2005,Output and Display Definition,Right mouse click on component and select Properties,Output/DisplayShow and hide parameters on the component,define outputs,Note:Enable Viewtool under Sheet Properties,To DAY postprocessor,Display Options,To Viewtool,Simplorer_Day 1,pg.516/28/2005,How to Define an Output,Right mouse click,The default output quantities already predefined here,Online analog output,displayed in ViewTool or QuickView automatically,File(database)output,Simplorer_Day 1,pg.526/28/2005,Voltage Source,Can be a constant,equation,or externally controlledThe value of an equation controlled component is determined from the result of the equation,Simplorer_Day 1,pg.536/28/2005,Controlled Voltage Source,Linear or nonlinearControlled by measured quantity:either voltage or current,Simplorer_Day 1,pg.546/28/2005,Switches and Semiconductors,Simplorer_Day 1,pg.556/28/2005,Switches and Semiconductors,Ideal switches and semiconductor-system level,Semiconductor-device level,Spice compatible models,Simplorer_Day 1,pg.566/28/2005,Other Components/Basic Library,DC motor,3ph motor,1ph transformer,3ph transformer,Simplorer_Day 1,pg.576/28/2005,Other Components/Basic Library,Measurement(Electrical),Measurement(Fluid),Measurement(Magnetic),Measurement(Mechanical),Measurement(Thermal),Simplorer_Day 1,pg.586/28/2005,Other Components/Basic Library,Signal Characteristics,Simplorer_Day 1,pg.596/28/2005,Nonlinear Components X-Y-Relation,Simplorer_Day 1,pg.606/28/2005,Useful Things Right Mouse Click,Right Mouse Click on an element opens the object menu with most common functions,Right Mouse Clickon an area of thetool bar opens the object menu to turn ON or OFF tool bars,Right Mouse Click on an empty area of the sheet opens the sheet object menu with general setting,wiring,etc,Sheet,Toolbar,Component,Folder,Element,Simplorer_Day 1,pg.616/28/2005,Data Reduction,Right mouse click in the sheet,In Result Database tab,Select data reduction,Tool to reduce the size of the output file by reducingthe frequency of saving simulation steps Does not impact previously solved projects,Simplorer_Day 1,pg.626/28/2005,Graphics and Display Settings,Right mouse click in the sheet and select Outputs/Viewtool to limit data displayed in Viewtool,Set Y-Axis Limits For Display,Display Selected Period Only,Simplorer_Day 1,pg.636/28/2005,Page Setup and System Settings,Select Sheet/Properties/Page Size,Select Sheet/Properties/System,For automatic start of Viewtool,check here.,Simplorer_Day 1,pg.646/28/2005,Integration Formula,Ideal Oscillator,Euler,Trapezoidal,Select integration method using:Simulation/Parameters The integration formula influences the result:Trapezoidal is fast but may be instable(default)Euler(basic with stiffness method)is fast and