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

📄 threephmod.mdl

📁 this is file used for design of three phase current controller
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [65, 0]
	  DstBlock		  "Multiport\nSwitch"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum3"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    Points		    [0, 130]
	    DstBlock		    "Mux2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [70, 0; 0, -5]
	    DstBlock		    "Sum"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sum5"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, 100]
	    DstBlock		    "Mux2"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Sum1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sum6"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    Points		    [0, 70]
	    DstBlock		    "Mux2"
	    DstPort		    3
	  }
	  Branch {
	    Points		    [80, 0; 0, 5]
	    DstBlock		    "Sum2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  1
	  Points		  [0, -20; 60, 0]
	  Branch {
	    DstBlock		    "Sum3"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 155]
	    DstBlock		    "Mux"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  2
	  Points		  [0, 0; 50, 0]
	  Branch {
	    DstBlock		    "Sum5"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 125]
	    DstBlock		    "Mux"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  3
	  Points		  [0, 20; 40, 0]
	  Branch {
	    DstBlock		    "Sum6"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 95]
	    DstBlock		    "Mux"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "MinMax1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "MinMax"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "MinMax1"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [15, 0]
	    DstBlock		    "Sum4"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 120; -125, 0]
	    DstBlock		    "Sum7"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "MinMax"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [25, 0]
	    DstBlock		    "Sum4"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 25; -130, 0; 0, 175]
	    DstBlock		    "Sum8"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Udc"
	  SrcPort		  1
	  Points		  [0, 0; 20, 0]
	  Branch {
	    DstBlock		    "Gain5"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 40]
	    Branch {
	      DstBlock		      "Gain4"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 65; 485, 0; 0, -195; 55, 0]
	      Branch {
		DstBlock		"Gain1"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Gain"
		DstPort			1
	      }
	    }
	  }
	}
	Line {
	  SrcBlock		  "Gain4"
	  SrcPort		  1
	  DstBlock		  "Sum8"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum7"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    DstBlock		    "Abs"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -15; 125, 0]
	    DstBlock		    "Switch"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sum8"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    DstBlock		    "Abs1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 15; 125, 0]
	    DstBlock		    "Switch"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "Sum9"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Abs1"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "Sum9"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum9"
	  SrcPort		  1
	  DstBlock		  "Switch"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum4"
	  SrcPort		  1
	  Points		  [0, 140]
	  DstBlock		  "Gain3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  DstBlock		  "Gain2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant3"
	  SrcPort		  1
	  Points		  [25, 0]
	  DstBlock		  "Multiport\nSwitch1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  Points		  [5, 0; 0, 30]
	  DstBlock		  "Multiport\nSwitch1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  DstBlock		  "Multiport\nSwitch1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Multiport\nSwitch1"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Multiport\nSwitch1"
	  SrcPort		  1
	  Points		  [5, 0; 0, -115]
	  Branch {
	    Points		    [-90, 0; 0, -85]
	    Branch {
	      Points		      [0, -40; 0, 0]
	      Branch {
		DstBlock		"Sum5"
		DstPort			2
	      }
	      Branch {
		Points			[0, -40]
		DstBlock		"Sum3"
		DstPort			2
	      }
	    }
	    Branch {
	      DstBlock		      "Sum6"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [0, -10]
	    DstBlock		    "Mux2"
	    DstPort		    4
	  }
	}
	Line {
	  SrcBlock		  "Gain5"
	  SrcPort		  1
	  DstBlock		  "Sum7"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "uabc*"
	  SrcPort		  1
	  DstBlock		  "Demux2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Relay"
	  SrcPort		  1
	  Points		  [10, 0; 0, 25]
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "sa,b,c"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  DstBlock		  "mod"
	  DstPort		  1
	}
	Annotation {
	  Text			  "Symmetrization"
	  Position		  [280, 159]
	  BackgroundColor	  "yellow"
	}
	Annotation {
	  Text			  "vz*"
	  Position		  [539, 342]
	}
	Annotation {
	  Text			  "Minimum switching"
	  Position		  [239, 464]
	  BackgroundColor	  "magenta"
	}
	Annotation {
	  Text			  "Carrier wave generation, including random"
	  Position		  [732, 539]
	  BackgroundColor	  "cyan"
	}
	Annotation {
	  Text			  "Adjustment of potential\nv*=u* - vz*"
	  Position		  [519, 21]
	  BackgroundColor	  "orange"
	}
	Annotation {
	  Text			  "The modulation itself"
	  Position		  [718, 23]
	  BackgroundColor	  "blue"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "3-phase emf"
      Ports		      [0, 3]
      Position		      [15, 247, 90, 323]
      BackgroundColor	      "green"
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      MaskPromptString	      "U_phase_to_phase [RMS]|Frequency|Sampling time"
      MaskStyleString	      "edit,edit,edit"
      MaskTunableValueString  "on,on,on"
      MaskCallbackString      "||"
      MaskEnableString	      "on,on,on"
      MaskVisibilityString    "on,on,on"
      MaskToolTipString	      "on,on,on"
      MaskVariables	      "Upp=@1;freq=@2;Tc=@3;"
      MaskDisplay	      "plot(-30,-30,130,130)\nplot([0 0 40 42 45 50 55"
" 58 60 58 55 50 45 42 40],[50 90 90 95 98 100 98 95 90 85 82 80 82 85 90])\np"
"lot([60 100],[90 90])\n\nplot([0 0 40 42 45 50 55 58 60 58 55 50 45 42 40],[5"
"0 50 50 55 58 60 58 55 50 45 42 40 42 45 50])\nplot([60 100],[50 50])\n\nplot"
"([0 0 40 42 45 50 55 58 60 58 55 50 45 42 40],[50 10 10 15 18 20 18 15 10 5 2"
" 0 2 5 10])\nplot([60 100],[10 10])"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "Upp|50|0.1e-3"
      System {
	Name			"3-phase emf"
	Location		[267, 74, 924, 531]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Fcn
	  Name			  "Cos Fcn"
	  Position		  [170, 85, 290, 115]
	  Expr			  "sin(2*pi*(u(2))*u(1)+pi/2)"
	}
	Block {
	  BlockType		  DigitalClock
	  Name			  "Digital Clock"
	  Position		  [35, 38, 100, 62]
	  SampleTime		  "Tc"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [125, 27, 130, 118]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Ports			  [2, 1]
	  Position		  [340, 56, 345, 94]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [375, 65, 405, 100]
	  Inputs		  "2"
	  Multiplication	  "Element-wise(.*)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Sine Fcn"
	  Position		  [170, 35, 290, 65]
	  Expr			  "cos(2*pi*(u(2))*u(1)+pi/2)"
	}
	Block {
	  BlockType		  Constant
	  Name			  "frequency"
	  Position		  [35, 83, 100, 107]
	  Value			  "freq"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "integrator"
	  Ports			  [1, 1]
	  Position		  [335, 211, 370, 249]
	  ForegroundColor	  "darkGreen"
	  BackgroundColor	  "green"
	  ShowPortLabels	  on
	  Permissions		  "ReadWrite"
	  TreatAsAtomicUnit	  off
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  SimViewingDevice	  off
	  MaskDisplay		  "plot(-10,-10,10,10)\nplot([2 1 0 0 0 -1 -2]"
",[7 8 7 0 -7 -8 -7])"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "integrator"
	    Location		    [262, 459, 567, 673]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 58, 55, 72]
	      Port		      "1"
	      PortDimensions	      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Demux
	      Name		      "Demux"
	      Ports		      [1, 2]
	      Position		      [85, 46, 90, 84]
	      BackgroundColor	      "black"
	      ShowName		      off
	      Outputs		      "2"
	      BusSelectionMode	      off
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator1"
	      Ports		      [1, 1]
	      Position		      [120, 25, 150, 55]
	      ExternalReset	      "none"
	      InitialConditionSource  "internal"
	      InitialCondition	      "Upp/(2*pi*freq)"
	      LimitOutput	      off
	      UpperSaturationLimit    "inf"
	      LowerSaturationLimit    "-inf"
	      ShowSaturationPort      off
	      ShowStatePort	      off
	      AbsoluteTolerance	      "auto"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Integrator2"
	      Ports		      [1, 1]
	      Position		      [120, 70, 150, 100]
	      ExternalReset	      "none"
	      InitialConditionSource  "internal"
	      InitialCondition	      "0"
	      LimitOutput	      off
	      UpperSaturationLimit    "inf"
	      LowerSaturationLimit    "-inf"
	      ShowSaturationPort      off
	      ShowStatePort	      off
	      AbsoluteTolerance	      "auto"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [2, 1]
	      Position		      [205, 46, 210, 84]
	      ShowName		      off
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [235, 58, 265, 72]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Demux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integrator2"
	      SrcPort		      1
	      Points		      [5, 0; 0, -10]
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Integrator1"
	      SrcPort		      1
	      Points		      [5, 0; 0, 15]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      2
	      Points		      [5, 0; 0, 10]
	      DstBlock		      "Integrator2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux"
	      SrcPort		      1
	      Points		      [5, 0; 0, -15]
	      DstBlock		      "Integrator1"
	      DstPort		      1
	    }
	    Annotation {
	      Text		      "Power invariant emf vector on alpha/bet"
"a frame"
	      Position		      [147, 155]
	    }
	  }
	}
	Block {
	  BlockType		  Constant
	  Name			  "line voltage"
	  Position		  [35, 143, 100, 167]
	  Value			  "Upp"
	  VectorParams1D	  on
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "rec_to_pol"
	  Ports			  [1, 3]
	  Position		  [390, 290, 440, 360]
	  ForegroundColor	  "blue"
	  ShowPortLabels	  on
	  Permissions		  "ReadWrite"
	  TreatAsAtomicUnit	  off
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  SimViewingDevice	  off
	  System {
	    Name		    "rec_to_pol"
	    Location		    [326, 203, 746, 497]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "rect"
	      Position		      [60, 95, 80, 115]
	      Port		      "1"
	      PortDimensions	      "-1"
	      SampleTime	      "-1"
	      DataType		      "auto"
	      SignalType	      "auto"
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Derivative
	      Name		      "Derivative"
	      Position		      [125, 185, 170, 205]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [205, 210, 235, 240]
	      NamePlacement	      "alternate"
	      ShowName		      off
	      Gain		      "-1"
	      Multiplication	      "Element-wise(K.*u)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "alfa/beta 

⌨️ 快捷键说明

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