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

📄 mrasnn730.mdl

📁 三相异步电机无速度传感器的matlab实现
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	Name			"<Position>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
      Port {
	PortNumber		5
	Name			"<wm>"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Changer2"
      Ports		      [1, 1]
      Position		      [285, 426, 355, 474]
      Orientation	      "left"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Array {
	Type			"Handle"
	Dimension		0
	PropName		"AvailSigsLoadSave"
      }
      MaskHideContents	      off
      MaskType		      "Stateflow"
      MaskDescription	      "Embedded MATLAB block"
      MaskDisplay	      "disp('fcn');"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Changer2"
	Location		[257, 457, 812, 717]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "in"
	  Position		  [20, 101, 40, 119]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Demux
	  Name			  " Demux "
	  Ports			  [1, 1]
	  Position		  [270, 160, 320, 200]
	  Outputs		  "1"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  " SFunction "
	  Tag			  "Stateflow S-Function MRASNN730 7"
	  Ports			  [1, 2]
	  Position		  [180, 100, 230, 160]
	  FunctionName		  "sf_sfun"
	  PortCounts		  "[1 2]"
	  Port {
	    PortNumber		    2
	    Name		    "output"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  Terminator
	  Name			  " Terminator "
	  Position		  [460, 171, 480, 189]
	}
	Block {
	  BlockType		  Outport
	  Name			  "output"
	  Position		  [460, 101, 480, 119]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  " SFunction "
	  SrcPort		  1
	  Points		  [0, 65]
	  DstBlock		  " Demux "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  " Demux "
	  SrcPort		  1
	  DstBlock		  " Terminator "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "in"
	  SrcPort		  1
	  DstBlock		  " SFunction "
	  DstPort		  1
	}
	Line {
	  Name			  "output"
	  Labels		  [0, 0]
	  SrcBlock		  " SFunction "
	  SrcPort		  2
	  DstBlock		  "output"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Constant
      Name		      "Constant2"
      Position		      [210, 165, 240, 195]
      Value		      "0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant3"
      Position		      [585, 420, 615, 450]
      Orientation	      "left"
      Value		      "0.5*pi"
    }
    Block {
      BlockType		      Scope
      Name		      "DeltaRotor1"
      Ports		      [1]
      Position		      [160, 647, 190, 683]
      Orientation	      "left"
      Floating		      off
      Location		      [10, 61, 1034, 747]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "0.12"
      YMin		      "-6.5"
      YMax		      "0.5"
      SaveToWorkspace	      on
      SaveName		      "deltatheta2"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "10000000000000000000"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "DeltaWm"
      Ports		      [1]
      Position		      [500, 602, 530, 638]
      Orientation	      "left"
      Floating		      off
      Location		      [1, 52, 1025, 737]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "1"
      YMin		      "-200"
      YMax		      "200"
      SaveToWorkspace	      on
      SaveName		      "deltawm2"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "10000000000000000000"
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Embedded\nMATLAB Function1"
      Ports		      [3, 2]
      Position		      [470, 286, 540, 334]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Array {
	Type			"Handle"
	Dimension		0
	PropName		"AvailSigsLoadSave"
      }
      MaskHideContents	      off
      MaskType		      "Stateflow"
      MaskDescription	      "Embedded MATLAB block"
      MaskDisplay	      "disp('fcn');"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Embedded\nMATLAB Function1"
	Location		[257, 457, 812, 717]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Uq"
	  Position		  [20, 101, 40, 119]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Ud"
	  Position		  [20, 136, 40, 154]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "theta"
	  Position		  [20, 171, 40, 189]
	  Port			  "3"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Demux
	  Name			  " Demux "
	  Ports			  [1, 1]
	  Position		  [270, 180, 320, 220]
	  Outputs		  "1"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  " SFunction "
	  Tag			  "Stateflow S-Function MRASNN730 1"
	  Ports			  [3, 3]
	  Position		  [180, 100, 230, 180]
	  FunctionName		  "sf_sfun"
	  PortCounts		  "[3 3]"
	  Port {
	    PortNumber		    2
	    Name		    "Ua"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  Port {
	    PortNumber		    3
	    Name		    "Ub"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  Terminator
	  Name			  " Terminator "
	  Position		  [460, 191, 480, 209]
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ua"
	  Position		  [460, 101, 480, 119]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ub"
	  Position		  [460, 136, 480, 154]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  " SFunction "
	  SrcPort		  1
	  Points		  [20, 0]
	  DstBlock		  " Demux "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  " Demux "
	  SrcPort		  1
	  DstBlock		  " Terminator "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Uq"
	  SrcPort		  1
	  DstBlock		  " SFunction "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Ud"
	  SrcPort		  1
	  Points		  [120, 0]
	  DstBlock		  " SFunction "
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "theta"
	  SrcPort		  1
	  DstBlock		  " SFunction "
	  DstPort		  3
	}
	Line {
	  Name			  "Ua"
	  Labels		  [0, 0]
	  SrcBlock		  " SFunction "
	  SrcPort		  2
	  DstBlock		  "Ua"
	  DstPort		  1
	}
	Line {
	  Name			  "Ub"
	  Labels		  [0, 0]
	  SrcBlock		  " SFunction "
	  SrcPort		  3
	  DstBlock		  "Ub"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Gain
      Name		      "Gain2"
      Position		      [1020, 185, 1090, 215]
      NamePlacement	      "alternate"
      Gain		      "30/pi"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [2, 1]
      Position		      [1190, 175, 1195, 275]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux2"
      Ports		      [2, 1]
      Position		      [230, 514, 235, 616]
      Orientation	      "left"
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux3"
      Ports		      [2, 1]
      Position		      [1005, 465, 1010, 565]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Permanent Magnet\nSynchronous Machine1"
      Ports		      [1, 2, 0, 0, 0, 3]
      Position		      [710, 107, 810, 218]
      AncestorBlock	      "powerlib/Machines/Permanent Magnet\nSynchronous"
" Machine"
      CopyFcn		      "powericon('psbloadfunction',gcb,'gotofrom','Upd"
"ateGotoTag');"
      OpenFcn		      "power_openblockproxy();"
      FontSize		      11
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskType		      "Permanent Magnet Synchronous Machine"
      MaskDescription	      "Implements a 3-phase permanent magnet synchrono"
"us machine with sinusoidal, or trapezoidal flux distribution. The sinusoidal "
"machine is modelled in the dq rotor reference frame and the trapezoidal machi"
"ne is modelled in the abc reference frame. Stator windings are connected in w"
"ye to an internal neutral point.\n\nTm:  Mechanical torque, in N.m. Tm > 0 fo"
"r motor mode, Tm < 0 for generator mode.\n\nThe preset models are listed by :"
" Rated torque (Nm) @ rated speed (RPM) and maximum bus voltage (Vdc), continu"
"ous stall torque (Nm)"
      MaskHelp		      "web(psbhelp);"
      MaskPromptString	      "Flux distribution:|Mechanical input:|Preset mod"
"el:|-----------------  Show detailed parameters ----------------- |Stator res"
"istance Rs (ohm):|Stator inductance Ls (H)|Inductances [ Ld(H) Lq(H) ]:|Flux "
"induced by magnets (Wb):|Back EMF flat area (degrees)|Inertia, friction facto"
"r and pairs of poles [ J(kg.m^2)  F(N.m.s)  p() ]:"
      MaskStyleString	      "popup(Sinusoidal|Trapezoidal),popup(Torque Tm|S"
"peed w),popup(No|01:  0.8 Nm 300 Vdc 3000 RPM - 0.8 Nm|02:  1.7 Nm 300 Vdc 37"
"50 RPM - 1.7 Nm|03:  2.8 Nm 300 Vdc 4250 RPM - 3.2 Nm|04:  6 Nm 300 Vdc 4500 "
"RPM - 6 Nm|05:  8 Nm 300 Vdc 2000 RPM - 10 Nm|06:  10 Nm 300 Vdc 2300 RPM - 1"
"4.2 Nm|07:  20 Nm 300 Vdc 2200 RPM - 33.9 Nm|08:  24 Nm 300 Vdc 2300 RPM - 41"
".4 Nm|09:  7.14 Nm 560 Vdc 5000 RPM - 8.3 Nm|10:  7.71 Nm 560 Vdc 5000 RPM - "
"10.2 Nm|11:  26.13 Nm 560 Vdc 3000 RPM - 27.3 Nm|12:  35.17 Nm 560 Vdc 3000 R"
"PM - 37.4 Nm|13:  42.09 Nm 560 Vdc 3000 RPM - 45.6 Nm|14:  67.27 Nm 560 Vdc 1"
"700 RPM - 70.2 Nm|15:  87.75 Nm 560 Vdc 3000 RPM - 97.96 Nm|16:  111 Nm 560 V"
"dc 3000 RPM - 126 Nm),checkbox,edit,edit,edit,edit,edit,edit"
      MaskTunableValueString  "off,on,off,off,off,off,off,off,off,off"
      MaskCallbackString      "powericon('PMSynchronousMachineCback',gcb);|pow"
"ericon('PMSynchronousMachineCback',gcb);|powericon('PMSynchronousMachineCback"
"',gcb);|powericon('PMSynchronousMachineCback',gcb);||||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,off,on,on,off,on"
      MaskToolTipString	      "on,on,on,on,on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,,,,,"
      MaskVariables	      "FluxDistribution=@1;MechanicalLoad=@2;PresetMod"
"el=@3;ShowDetailedParameters=@4;Resistance=@5;Inductance=@6;dqInductances=@7;"
"Flux=@8;Flat=@9;Mechanical=@10;"
      MaskInitialization      "block = gcb;\n[circl1,circl2,a1,a2,b1,b2,c1,c2,"
"d1,d2,n1,n2,s1,s2] = powericon('PMSynchronousMachineIcon');\nTs = powericon('"
"PMSynchronousMachineInit',block);\npowericon('psbloadfunction',block,'gotofro"
"m','Initialize');\nLd=dqInductances(1);\nLq=dqInductances(2);\nJ=Mechanical(1"
");\nF=Mechanical(2);\np=Mechanical(3);\nR=Resistance;\nL=Inductance;\ntrap=si"
"n((pi-Flat/180*pi)/2);\nsqrt3=sqrt(3);\none_third=1/3;\npower_initmask();"
      MaskDisplay	      "plot(-70,-20,55,80,circl1,circl2,a1,a2,b1,b2,c1"
",c2,d1,d2,n1,n2,s1,s2);\ncolor('blue')\nplot([-40,0,0],[70,70,52])\n"
      MaskSelfModifiable      on
      MaskIconFrame	      off
      MaskIconOpaque	      off
      MaskIconRotate	      "port"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "Sinusoidal|Torque Tm|03:  2.8 Nm 300 Vdc 4250 R"
"PM - 3.2 Nm|on|1.6|8.5e-3|[0.006365 0.006365]|0.1852|120|[0.0001854 5.396e-00"
"5 2]"
      MaskTabNameString	      ",,,,,,,,,"
      System {
	Name			"Permanent Magnet\nSynchronous Machine1"
	Location		[7, 75, 1017, 711]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Tm"
	  Position		  [550, 440, 570, 460]
	  Orientation		  "left"
	  ForegroundColor	  "blue"
	  BackgroundColor	  "cyan"
	  NamePlacement		  "alternate"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  PMComponent
	  Name			  "ASM"
	  Ports			  [0, 0, 0, 0, 0, 2, 1]
	  Position		  [110, 21, 200, 134]
	  BackgroundColor	  "yellow"
	  NamePlacement		  "alternate"
	  PhysicalDomain	  "powersysdomain"
	  LeftPortType		  "p1"
	  RightPortType		  "p1"
	  LConnTagsString	  "A|B"

⌨️ 快捷键说明

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