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

📄 model_in_spacestate.mdl

📁 Current controller for inverter
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	}
	Line {
	  SrcBlock		  "edq"
	  SrcPort		  1
	  DstBlock		  "Demux2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "q-axis current\ncontroller"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "d-axis current\ncontroller"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  Points		  [0, 0; 70, 0]
	  Branch {
	    DstBlock		    "d-axis current\ncontroller"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "q-axis current\ncontroller"
	    DstPort		    6
	  }
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [25, 0; 0, 30; 25, 0]
	  Branch {
	    Points		    [0, 65]
	    DstBlock		    "q-axis current\ncontroller"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "d-axis current\ncontroller"
	    DstPort		    6
	  }
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  1
	  Points		  [0, 0; 35, 0]
	  Branch {
	    Points		    [0, -35]
	    DstBlock		    "d-axis current\ncontroller"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 90]
	    DstBlock		    "q-axis current\ncontroller"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  2
	  Points		  [0, 0; 45, 0]
	  Branch {
	    Points		    [0, -45]
	    DstBlock		    "d-axis current\ncontroller"
	    DstPort		    3
	  }
	  Branch {
	    Points		    [0, 60]
	    DstBlock		    "q-axis current\ncontroller"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  2
	  DstBlock		  "q-axis current\ncontroller"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  1
	  Points		  [20, 0; 0, -95]
	  DstBlock		  "d-axis current\ncontroller"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [30, 0; 0, -55]
	  Branch {
	    Points		    [0, -115]
	    DstBlock		    "d-axis current\ncontroller"
	    DstPort		    4
	  }
	  Branch {
	    DstBlock		    "q-axis current\ncontroller"
	    DstPort		    4
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Grid"
      Ports		      [0, 1]
      Position		      [30, 277, 80, 313]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      System {
	Name			"Grid"
	Location		[26, 82, 822, 564]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [110, 19, 115, 106]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Constant
	  Name			  "ed"
	  Position		  [40, 25, 70, 55]
	  Value			  "0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "eq"
	  Position		  [40, 70, 70, 100]
	  Value			  "400"
	}
	Block {
	  BlockType		  Outport
	  Name			  "edq"
	  Position		  [145, 58, 175, 72]
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "edq"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ed"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "eq"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Grid1"
      Ports		      [0, 1]
      Position		      [35, 342, 85, 378]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      System {
	Name			"Grid1"
	Location		[26, 82, 822, 564]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [110, 19, 115, 106]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Constant
	  Name			  "ed"
	  Position		  [40, 25, 70, 55]
	  Value			  "0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "eq"
	  Position		  [40, 70, 70, 100]
	  Value			  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "edq"
	  Position		  [145, 58, 175, 72]
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "edq"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ed"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "eq"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "Idq"
      Position		      [355, 208, 395, 222]
      ShowName		      off
      VariableName	      "idq"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "Idq1"
      Position		      [135, 83, 175, 97]
      ShowName		      off
      VariableName	      "idq_c"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      Reference
      Name		      "Manual Switch"
      Ports		      [2, 1]
      Position		      [90, 200, 125, 240]
      Orientation	      "up"
      ShowName		      off
      SourceBlock	      "simulink/Signal\nRouting/Manual Switch"
      SourceType	      "Manual Switch"
      ShowPortLabels	      on
      sw		      "0"
      action		      "0"
    }
    Block {
      BlockType		      StateSpace
      Name		      "Modelo filtro L"
      Position		      [250, 198, 310, 232]
      A			      "A"
      B			      "B"
      C			      "C"
      D			      "D"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [225, 196, 230, 234]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Relojes\ndel sistema"
      Ports		      []
      Position		      [40, 33, 73, 63]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      System {
	Name			"Relojes\ndel sistema"
	Location		[42, 80, 838, 552]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  DigitalClock
	  Name			  "Digital Clock"
	  Position		  [45, 39, 75, 61]
	  SampleTime		  "Ts"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "td"
	  Position		  [100, 38, 130, 62]
	  ForegroundColor	  "lightBlue"
	  VariableName		  "td"
	  MaxDataPoints		  "inf"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Line {
	  SrcBlock		  "Digital Clock"
	  SrcPort		  1
	  DstBlock		  "td"
	  DstPort		  1
	}
	Annotation {
	  Name			  "Este reloj es para reprsentar en el tiempo "
"las variables muestreadas"
	  Position		  [324, 49]
	  UseDisplayTextAsClickCallback	off
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [345, 244, 375, 276]
      Floating		      off
      Location		      [-3, 52, 1277, 765]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "-25"
      YMax		      "125"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "udq"
      Position		      [235, 153, 275, 167]
      VariableName	      "udq"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Line {
      SrcBlock		      "Grid"
      SrcPort		      1
      Points		      [55, 0; 0, -40]
      Branch {
	Points			[0, -30]
	DstBlock		"Mux"
	DstPort			2
      }
      Branch {
	DstBlock		"Manual Switch"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Consigna"
      SrcPort		      1
      Points		      [0, 0; 35, 0]
      Branch {
	DstBlock		"Controlador\nPI"
	DstPort			1
      }
      Branch {
	Points			[0, -45]
	DstBlock		"Idq1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Modelo filtro L"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Controlador\nPI"
      SrcPort		      1
      Points		      [0, 0; 10, 0]
      Branch {
	DstBlock		"udq"
	DstPort			1
      }
      Branch {
	Points			[0, 45]
	DstBlock		"Mux"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Modelo filtro L"
      SrcPort		      1
      Points		      [0, 0; 15, 0]
      Branch {
	DstBlock		"Idq"
	DstPort			1
      }
      Branch {
	Points			[0, -105; -210, 0; 0, 50]
	DstBlock		"Controlador\nPI"
	DstPort			2
      }
      Branch {
	DstBlock		"Scope"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Manual Switch"
      SrcPort		      1
      Points		      [0, -10]
      DstBlock		      "Controlador\nPI"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Grid1"
      SrcPort		      1
      Points		      [10, 0]
      DstBlock		      "Manual Switch"
      DstPort		      1
    }
    Annotation {
      Name		      "ed=0 y eq=0. Esto sirve para probar el controla"
"dor sin feedforward"
      Position		      [195, 401]
      UseDisplayTextAsClickCallback off
    }
    Annotation {
      Name		      "NOTAS:\n-Aqu

⌨️ 快捷键说明

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