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

📄 shiliang.mdl

📁 matlab仿真模型
💻 MDL
📖 第 1 页 / 共 4 页
字号:
      FontName		      "Arial"
      FontSize		      14
      TreatAsAtomicUnit	      off
      System {
	Name			"2"
	Location		[407, 340, 775, 543]
	Open			off
	ModelBrowserVisibility	on
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 33, 55, 47]
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [40, 73, 70, 87]
	  Port			  "2"
	}
	Block {
	  BlockType		  Reference
	  Name			  "PID Controller"
	  Ports			  [1, 1]
	  Position		  [135, 70, 165, 100]
	  SourceBlock		  "simulink_extras/Additional\nLinear/PID Cont"
"roller"
	  SourceType		  "PID Controller"
	  P			  "10"
	  I			  "20"
	  D			  "0"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation"
	  Position		  [195, 25, 225, 55]
	  UpperLimit		  "267.66"
	  LowerLimit		  "-277"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [80, 30, 100, 50]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [260, 33, 290, 47]
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "PID Controller"
	  SrcPort		  1
	  DstBlock		  "Saturation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "PID Controller"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Saturation"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "3"
      Ports		      [2, 1]
      Position		      [135, 250, 190, 310]
      FontName		      "Arial"
      FontSize		      14
      TreatAsAtomicUnit	      off
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"3"
	Location		[214, 82, 1278, 754]
	Open			off
	ModelBrowserVisibility	on
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 33, 55, 47]
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [40, 73, 70, 87]
	  Port			  "2"
	}
	Block {
	  BlockType		  Reference
	  Name			  "PID Controller"
	  Ports			  [1, 1]
	  Position		  [125, 25, 155, 55]
	  SourceBlock		  "simulink_extras/Additional\nLinear/PID Cont"
"roller"
	  SourceType		  "PID Controller"
	  P			  "0.0490*10"
	  I			  "0.057"
	  D			  "0"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation"
	  Position		  [205, 25, 235, 55]
	  UpperLimit		  "1400"
	  LowerLimit		  "-5.5*2.5"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [80, 30, 100, 50]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [260, 33, 290, 47]
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Saturation"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "PID Controller"
	  SrcPort		  1
	  DstBlock		  "Saturation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "PID Controller"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Demux"
      Ports		      [1, 3]
      Position		      [820, 114, 860, 226]
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib2/Machines/Machines\nMeasurement\nDemux"
      SourceType	      "Machine measurements"
      machType		      "Asynchronous"
      ssm1		      on
      ssm2		      on
      ssm3		      on
      ssm4		      on
      ssm5		      on
      ssm6		      on
      sm1		      on
      sm2		      on
      sm3		      on
      sm4		      on
      sm5		      on
      sm6		      on
      sm7		      on
      sm8		      on
      sm9		      on
      sm10		      on
      sm11		      on
      sm115		      off
      sm12		      off
      sm13		      off
      sm14		      off
      asm1		      off
      asm2		      off
      asm3		      off
      asm4		      off
      asm5		      on
      asm6		      off
      asm7		      off
      asm8		      off
      asm9		      on
      asm10		      on
      asm11		      off
      pmsm1		      on
      pmsm2		      on
      pmsm3		      on
      pmsm4		      on
      pmsm5		      on
      pmsm6		      on
      lastType		      "3"
    }
    Block {
      BlockType		      Demux
      Name		      "Demux1"
      Ports		      [1, 3]
      Position		      [895, 146, 900, 184]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "3"
    }
    Block {
      BlockType		      Demux
      Name		      "Demux2"
      Ports		      [1, 6]
      Position		      [525, 3, 535, 82]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "6"
    }
    Block {
      BlockType		      Fcn
      Name		      "Fcn"
      Position		      [560, 360, 620, 390]
      Orientation	      "left"
      NamePlacement	      "alternate"
      Expr		      "2*34.7e-3*u(1)*u(2)/0.8e-3"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [475, 480, 505, 510]
      Orientation	      "left"
      NamePlacement	      "alternate"
      Gain		      "30/(pi*2)"
    }
    Block {
      BlockType		      Reference
      Name		      "Induction Motor\n"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [4, 1]
      Position		      [715, 127, 790, 213]
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib2/Machines/Asynchronous Machine\nSI Uni"
"ts"
      SourceType	      "Asynchronous Machine"
      rotType		      "Squirrel-cage"
      ctrl		      "Stationary"
      x1		      "[ 3*746, 460, 50 ]"
      x2		      "[0.087 0.8e-3]"
      x3		      "[0.228  0.8e-3]"
      x4		      "34.7e-3"
      x5		      "[0.089  0.1 2 ]"
      x6		      "[ 1, 0 ,  0 , 0 , 0 , 0 , 0 , 0 ]"
      PSBOutputType	      "1110"
      iounits		      "1"
      LoadFlowParameters      "0"
    }
    Block {
      BlockType		      Constant
      Name		      "Load_torque "
      Position		      [640, 213, 670, 237]
      NamePlacement	      "alternate"
      Value		      "3"
    }
    Block {
      BlockType		      MATLABFcn
      Name		      "MATLAB Fcn2"
      Position		      [365, 160, 425, 190]
      MATLABFcn		      "sqrt(2/3)*[cos(u(3)),-sin(u(3));cos(u(3)-(2*pi)"
"/3),-sin(u(3)-(2*pi)/3);cos(u(3)+(2*pi)/3),-sin(u(3)+(2*pi)/3)]*[u(1),u(2)]'"
      OutputDimensions	      "3"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [675, 345, 680, 385]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [3, 1]
      Position		      [335, 144, 345, 226]
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [655, 529, 685, 561]
      Location		      [146, 526, 470, 765]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-800"
      YMax		      "-250"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [2]
      Position		      [930, 91, 960, 124]
      Location		      [6, 60, 1030, 748]
      Open		      off
      NumInputPorts	      "2"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
      }
      TimeRange		      "1"
      YMin		      "0~0"
      YMax		      "1~1"
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope10"
      Ports		      [1]
      Position		      [685, 234, 715, 266]
      Location		      [6, 60, 1030, 748]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-1"
      YMax		      "1"
      SaveName		      "ScopeData10"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [6]
      Position		      [705, 12, 740, 78]
      Location		      [6, 60, 1030, 748]
      Open		      off
      NumInputPorts	      "6"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
	axes4			"%<SignalLabel>"
	axes5			"%<SignalLabel>"
	axes6			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
	axes2			""
	axes3			""
	axes4			""
	axes5			""
	axes6			""
      }
      YMin		      "0~0~0~0~0~0"
      YMax		      "1~1~1~1~1~1"
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope3"
      Ports		      [1]
      Position		      [385, 204, 415, 236]
      Location		      [188, 365, 512, 604]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-205"
      YMax		      "-155"
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope4"
      Ports		      [1]
      Position		      [950, 194, 980, 226]
      Location		      [188, 365, 512, 604]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-125"
      YMax		      "-82.5"
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope5"
      Ports		      [1]
      Position		      [330, 59, 360, 91]
      Location		      [6, 60, 1030, 748]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "267.66"
      YMax		      "267.66"
      SaveName		      "ScopeData5"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope6"
      Ports		      [1]
      Position		      [380, 289, 410, 321]
      Location		      [6, 60, 1030, 748]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "285"
      YMax		      "315"
      SaveName		      "ScopeData6"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope7"
      Ports		      [1]
      Position		      [460, 79, 490, 111]
      Location		      [6, 60, 1030, 748]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-300"
      YMax		      "300"
      SaveName		      "ScopeData7"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope8"
      Ports		      [1]
      Position		      [935, 469, 965, 501]
      Location		      [188, 365, 512, 604]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-125"
      YMax		      "-82.5"
      SaveName		      "ScopeData8"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope9"
      Ports		      [1]
      Position		      [245, 219, 275, 251]
      Location		      [175, 527, 499, 766]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles

⌨️ 快捷键说明

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