⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svpwm20101105.mdl

📁 三相异步电机矢量控制仿真模型
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      InitialConditions	      "[1,0,0,0,0,0,0,0]"
      Units		      "SI"
      LoadFlowParameters      "1492000"
      SimulateSaturation      off
      Saturation	      "[14.03593122, 27.81365428, 53.79336849, 72.68890987, 97.98006896, 148.6815601, 215.7428561, 30"
      "2.9841135, 428.7778367 ; 230, 322, 414, 460, 506, 552, 598, 644, 690]"
      TsPowergui	      "0"
      TsBlock		      "-1"
      IterativeModel	      "Forward Euler"
    }
    Block {
      BlockType		      BusSelector
      Name		      "Bus\nSelector"
      Ports		      [1, 6]
      Position		      [910, 448, 915, 547]
      ShowName		      off
      OutputSignals	      "signal5,signal1,signal3,signal2,signal4,signal6"
      Port {
	PortNumber		1
	Name			"<signal5>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		2
	Name			"<signal1>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		3
	Name			"<signal3>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		4
	Name			"<signal2>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		5
	Name			"<signal4>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		6
	Name			"<signal6>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "DC510v"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [725, 655, 745, 690]
      BlockRotation	      270
      DialogController	      "POWERSYS.PowerSysDialog"
      FontName		      "Verdana"
      FontSize		      11
      SourceBlock	      "powerlib/Electrical\nSources/DC Voltage Source"
      SourceType	      "DC Voltage Source"
      ShowPortLabels	      "FromPortIcon"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      Amplitude		      "510"
      Measurements	      "None"
    }
    Block {
      BlockType		      Demux
      Name		      "Demux1"
      Ports		      [1, 3]
      Position		      [960, 879, 965, 951]
      ShowName		      off
      Outputs		      "3"
      DisplayOption	      "bar"
      Port {
	PortNumber		1
	PropagatedSignals	"Stator current is_a (A)"
	ShowPropagatedSignals	"on"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		2
	PropagatedSignals	"Stator current is_b (A)"
	ShowPropagatedSignals	"on"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		3
	PropagatedSignals	"Stator current is_c (A)"
	ShowPropagatedSignals	"on"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Demux
      Name		      "Demux2"
      Ports		      [1, 2]
      Position		      [1140, 521, 1145, 594]
      ShowName		      off
      Outputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Demux
      Name		      "Demux3"
      Ports		      [1, 2]
      Position		      [1130, 596, 1135, 669]
      ShowName		      off
      Outputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain3"
      Position		      [1140, 685, 1165, 715]
      Gain		      "9.55"
      ParameterDataTypeMode   "Inherit via internal rule"
      ParameterDataType	      "fixdt(1, 16)"
      ParameterScaling	      "2^0"
      ParamDataTypeStr	      "Inherit: Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      OutDataType	      "fixdt(1, 16)"
      OutScaling	      "2^0"
      OutDataTypeStr	      "Inherit: Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Scope
      Name		      "LineU"
      Ports		      [3]
      Position		      [735, 742, 760, 808]
      BlockMirror	      on
      NamePlacement	      "alternate"
      Floating		      off
      Location		      [5, 52, 1371, 737]
      Open		      off
      NumInputPorts	      "3"
      TickLabels	      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
      }
      YMin		      "-700~-700~-700"
      YMax		      "700~700~700"
      SaveName		      "ScopeData32"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Machines\nMeasurement\nDemux1"
      Ports		      [1, 5]
      Position		      [1025, 591, 1075, 729]
      ForegroundColor	      "gray"
      ShowName		      off
      DialogController	      "POWERSYS.PowerSysDialog"
      SourceBlock	      "powerlib/Machines/Machines\nMeasurement\nDemux"
      SourceType	      "Machine measurements"
      ShowPortLabels	      "FromPortIcon"
      SystemSampleTime	      "-1"
      FunctionWithSeparateData off
      RTWMemSecFuncInitTerm   "Inherit from model"
      RTWMemSecFuncExecute    "Inherit from model"
      RTWMemSecDataConstants  "Inherit from model"
      RTWMemSecDataInternal   "Inherit from model"
      RTWMemSecDataParameters "Inherit from model"
      machType		      "Asynchronous"
      ssm1		      on
      ssm2		      on
      ssm3		      on
      ssm4		      on
      ssm5		      on
      ssm6		      on
      sm1		      on
      sm2		      off
      sm3		      on
      sm4		      off
      sm5		      off
      sm6		      off
      sm7		      off
      sm8		      on
      sm9		      off
      sm10		      off
      sm11		      off
      sm115		      on
      sm12		      off
      sm13		      off
      sm14		      off
      asm1		      off
      asm2		      off
      asm3		      on
      asm4		      off
      asm5		      on
      asm6		      off
      asm7		      on
      asm8		      off
      asm9		      on
      asm10		      on
      asm11		      off
      pmsm1		      on
      pmsm2		      on
      pmsm3		      on
      pmsm4		      off
      pmsm5		      on
      pmsm6		      on
      pmsm7		      on
      lastType		      "1"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Measures1"
      Ports		      [0, 1, 0, 0, 0, 2]
      Position		      [595, 653, 655, 682]
      BlockMirror	      on
      FontSize		      12
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      System {
	Name			"Measures1"
	Location		[581, 265, 865, 358]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[1.270000, 1.270000, 1.270000, 1.270000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Voltage Measurement3"
	  Tag			  "PoWeRsYsTeMmEaSuReMeNt"
	  Ports			  [0, 1, 0, 0, 0, 2]
	  Position		  [115, 16, 145, 74]
	  ShowName		  off
	  AttributesFormatString  "\\n"
	  DialogController	  "POWERSYS.PowerSysDialog"
	  SourceBlock		  "powerlib/Measurements/Voltage Measurement"
	  SourceType		  "Voltage Measurement"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  PhasorSimulation	  off
	  OutputType		  "Complex"
	  PSBequivalent		  "0"
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "V+"
	  Position		  [30, 23, 60, 37]
	  Port			  "1"
	  Side			  "Left"
	}
	Block {
	  BlockType		  PMIOPort
	  Name			  "V-"
	  Position		  [30, 53, 60, 67]
	  Port			  "2"
	  Side			  "Left"
	}
	Block {
	  BlockType		  Outport
	  Name			  "V bus"
	  Position		  [185, 38, 215, 52]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "Voltage Measurement3"
	  SrcPort		  1
	  DstBlock		  "V bus"
	  DstPort		  1
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "V-"
	  SrcPort		  RConn1
	  DstBlock		  "Voltage Measurement3"
	  DstPort		  LConn2
	}
	Line {
	  LineType		  "Connection"
	  SrcBlock		  "V+"
	  SrcPort		  RConn1
	  DstBlock		  "Voltage Measurement3"
	  DstPort		  LConn1
	}
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux2"
      Ports		      [3, 1]
      Position		      [430, 445, 435, 495]
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      SubSystem
      Name		      "PhPI"
      Ports		      [2, 1]
      Position		      [335, 640, 375, 700]
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      MaskPromptString	      "Torque limit|Kp|Ki"
      MaskStyleString	      "edit,edit,edit"
      MaskTunableValueString  "on,on,on"
      MaskCallbackString      "||"
      MaskEnableString	      "on,on,on"
      MaskVisibilityString    "on,on,on"
      MaskToolTipString	      "on,on,on"
      MaskVarAliasString      ",,"
      MaskVariables	      "Tlim=@1;Kp=@2;Ki=@3;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskPortRotate	      "default"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "300|3|0.24"
      MaskTabNameString	      ",,"
      System {
	Name			"PhPI"
	Location		[216, 204, 1086, 418]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[1.270000, 1.270000, 1.270000, 1.270000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "d*"
	  Position		  [25, 63, 55, 77]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "d"
	  Position		  [25, 93, 55, 107]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  DiscreteIntegrator
	  Name			  "Discrete-Time\nIntegrator"
	  Ports			  [1, 1]
	  Position		  [530, 87, 595, 133]
	  ShowName		  off
	  IntegratorMethod	  "Integration: Trapezoidal"
	  ExternalReset		  "none"
	  InitialConditionSource  "internal"
	  SampleTime		  "Ts"
	  LimitOutput		  on
	  UpperSaturationLimit	  "Tlim"
	  LowerSaturationLimit	  "-Tlim"
	  ICPrevOutput		  "DiscIntNeverNeededParam"
	  ICPrevScaledInput	  "DiscIntNeverNeededParam"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [435, 96, 460, 124]
	  ShowName		  off
	  Gain			  "Ki"
	  ParameterDataType	  "sfix(16)"
	  ParameterScaling	  "2^0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [435, 41, 465, 69]
	  ShowName		  off
	  Gain			  "Kp"
	  ParameterDataType	  "sfix(16)"
	  ParameterScaling	  "2^0"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [230, 150, 260, 180]
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation"
	  Position		  [720, 80, 740, 100]
	  ShowName		  off
	  UpperLimit		  "Tlim"
	  LowerLimit		  "-Tlim"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [285, 53, 295, 117]
	  ShowName		  off
	  Inputs		  "+-"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [640, 29, 665, 136]
	  ShowName		  off
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "v*"
	  Position		  [785, 83, 815, 97]
	  IconDisplay		  "Port number"
	  InitialOutput		  "0"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -