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

📄 masvect.mdl

📁 vector controle of the induction machine
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      SrcBlock		      "in_4"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "in_3"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      DstBlock		      "out_2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "in_2"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "in_1"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "out_1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		DstBlock		"Fcn2"
		DstPort			1
	      }
	      Branch {
		Points			[0, 45]
		DstBlock		"Fcn3"
		DstPort			1
	      }
	      Branch {
		Points			[0, -40]
		DstBlock		"Fcn"
		DstPort			1
	      }
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Vds\n"
	  Position		  [130, 40, 150, 60]
	  Orientation		  "left"
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Vqs"
	  Position		  [220, 40, 240, 60]
	  Port			  "2"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Fdr"
	  Position		  [275, 30, 295, 50]
	  Orientation		  "up"
	  Port			  "3"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Fqr"
	  Position		  [300, 95, 320, 115]
	  Orientation		  "up"
	  Port			  "4"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "wr"
	  Position		  [325, 155, 345, 175]
	  Port			  "5"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ce"
	  Position		  [300, 200, 320, 220]
	  Orientation		  "down"
	  Port			  "6"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "W"
	  Position		  [275, 245, 295, 265]
	  Orientation		  "down"
	  Port			  "7"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ia"
	  Position		  [445, 60, 465, 80]
	  Orientation		  "up"
	  Port			  "8"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ib"
	  Position		  [475, 145, 495, 165]
	  Port			  "9"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ic"
	  Position		  [445, 235, 465, 255]
	  Orientation		  "down"
	  Port			  "10"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Ids"
	  Position		  [330, 30, 350, 50]
	  Orientation		  "up"
	  Port			  "11"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Iqs"
	  Position		  [385, 30, 405, 50]
	  Orientation		  "up"
	  Port			  "12"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "M A S\n"
	  SrcPort		  4
	  Points		  [80, 0]
	  Branch {
	    Points		    [0, -80; 30, 0]
	    DstBlock		    "Iqs"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "INV PARK"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "PARK"
	  SrcPort		  2
	  Points		  [15, 0]
	  Branch {
	    Points		    [0, -115]
	    DstBlock		    "Vqs"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "M A S\n"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "PARK"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [0, -95]
	    DstBlock		    "Vds\n"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "M A S\n"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "M A S\n"
	  SrcPort		  3
	  Points		  [55, 0]
	  Branch {
	    DstBlock		    "Ids"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "INV PARK"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "INV PARK"
	  SrcPort		  3
	  Points		  [25, 0]
	  DstBlock		  "Ic"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "INV PARK"
	  SrcPort		  2
	  DstBlock		  "Ib"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "INV PARK"
	  SrcPort		  1
	  Points		  [25, 0]
	  DstBlock		  "Ia"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "M A S\n"
	  SrcPort		  6
	  Points		  [25, 0]
	  DstBlock		  "Ce"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "M A S\n"
	  SrcPort		  2
	  Points		  [25, 0]
	  DstBlock		  "Fqr"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Vc"
	  SrcPort		  1
	  Points		  [15, 0; 0, -60]
	  DstBlock		  "PARK"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Vb"
	  SrcPort		  1
	  Points		  [5, 0; 0, -30]
	  DstBlock		  "PARK"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Cr"
	  SrcPort		  1
	  DstBlock		  "M A S\n"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Va"
	  SrcPort		  1
	  DstBlock		  "PARK"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "M A S\n"
	  SrcPort		  7
	  DstBlock		  "W"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "M A S\n"
	  SrcPort		  5
	  DstBlock		  "wr"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "M A S\n"
	  SrcPort		  1
	  DstBlock		  "Fdr"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    DstBlock		    "PARK"
	    DstPort		    4
	  }
	  Branch {
	    Points		    [250, 0]
	    DstBlock		    "INV PARK"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "ws"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    Points		    [0, -185]
	    DstBlock		    "M A S\n"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Integrator"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "PI"
      Ports		      [2, 2, 0, 0, 0]
      Position		      [275, 65, 315, 105]
      ForegroundColor	      "green"
      ShowPortLabels	      off
      MaskType		      "PI limite"
      MaskDescription	      "PI limite K(1+to*p)/to*p"
      MaskHelp		      "Implements a limited integrator with \\nan expr"
"ession of the form:\\n\\nif(x<=lb and u<0) or (x>=ub and u>0)\\n\\txdot=0\\ne"
"lse\\n\\txdot=u."
      MaskPromptString	      "K:|to:|Sat min:|sat max:|Initial condition"
      MaskStyleString	      "edit,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on"
      MaskCallbackString      "||||"
      MaskEnableString	      "on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on"
      MaskInitialization      "K =@1; to = @2; min = @3; max = @4; xi = @5;"
      MaskDisplay	      "disp('PI\\nlimite   ')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "100|2e-3|-250|250|0"
      System {
	Name			"PI"
	Location		[160, 138, 496, 460]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "in_1"
	  Position		  [120, 55, 140, 75]
	  Orientation		  "left"
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "in_2"
	  Position		  [120, 115, 140, 135]
	  Orientation		  "left"
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "PI  LIMITE"
	  Ports			  [1, 1, 0, 0, 0]
	  Position		  [50, 45, 100, 85]
	  Orientation		  "left"
	  ShowPortLabels	  off
	  System {
	    Name		    "PI  LIMITE"
	    Location		    [4, 42, 628, 275]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "automatic"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    AutoZoom		    on
	    Block {
	      BlockType		      Inport
	      Name		      "In_1"
	      Position		      [10, 130, 30, 150]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [145, 119, 245, 151]
	      Expr		      "u[2]*((((u[1]>min)+(u[2]>=0))>0) * (((u"
"[1]<max)+(u[2]<=0))>0))"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [305, 113, 330, 157]
	      Gain		      "1/to"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [265, 160, 285, 180]
	      Gain		      "K"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain2"
	      Position		      [265, 125, 285, 145]
	      Gain		      "K"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator"
	      Ports		      [1, 1, 0, 0, 0]
	      Position		      [345, 126, 390, 144]
	      ExternalReset	      "none"
	      InitialConditionSource  "internal"
	      InitialCondition	      "xi"
	      LimitOutput	      off
	      UpperSaturationLimit    "inf"
	      LowerSaturationLimit    "-inf"
	      ShowSaturationPort      off
	      ShowStatePort	      off
	      AbsoluteTolerance	      "auto"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [85, 116, 115, 149]
	      Inputs		      "2"
	      DisplayOption	      "none"
	    }
	    Block {
	      BlockType		      Saturate
	      Name		      "Saturation"
	      Position		      [455, 141, 500, 169]
	      UpperLimit	      "max"
	      LowerLimit	      "min"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1, 0, 0, 0]
	      Position		      [405, 115, 425, 190]
	      IconShape		      "rectangular"
	      Inputs		      "++"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out_1"
	      Position		      [550, 145, 570, 165]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Saturation"
	      SrcPort		      1
	      DstBlock		      "Out_1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      DstBlock		      "Integrator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In_1"
	      SrcPort		      1
	      Points		      [20, 0]
	      Branch {
		DstBlock		"Mux"
		DstPort			2
	      }
	      Branch {
		Points			[0, 30]
		DstBlock		"Gain1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Integrator"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {

⌨️ 快捷键说明

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