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

📄 henzhuanjusvpwm.mdl

📁 一个基于矢量控制的无速度传感器MATLAB仿真模型。
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData1"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Reference
	  Name			  "abc_to_dq0\nTransformation"
	  Ports			  [2, 1]
	  Position		  [575, 96, 635, 154]
	  SourceBlock		  "powerlib_extras/Measurements/abc_to_dq0\nTr"
"ansformation"
	  SourceType		  "abc to dq0 Transformation"
	  ShowPortLabels	  on
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [660, 118, 690, 132]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Clock"
	  SrcPort		  1
	  Points		  [0, 0; 40, 0]
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -70]
	    DstBlock		    "Scope1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [40, 0; 0, -80]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [0, -50]
	    DstBlock		    "2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 35]
	    DstBlock		    "1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "2"
	  SrcPort		  1
	  Points		  [25, 0; 0, 35]
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "1"
	  SrcPort		  1
	  Points		  [25, 0; 0, -30]
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [200, 0]
	  DstBlock		  "abc_to_dq0\nTransformation"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [195, 0]
	  DstBlock		  "abc_to_dq0\nTransformation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "abc_to_dq0\nTransformation"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "3s/2s1"
      Ports		      [1, 1]
      Position		      [235, 560, 275, 620]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"3s/2s1"
	Location		[2, 82, 1014, 721]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [330, 78, 360, 92]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Trigonometry
	  Name			  "1"
	  Ports			  [1, 1]
	  Position		  [255, 145, 285, 175]
	  Operator		  "cos"
	}
	Block {
	  BlockType		  Trigonometry
	  Name			  "2"
	  Ports			  [1, 1]
	  Position		  [255, 60, 285, 90]
	}
	Block {
	  BlockType		  Clock
	  Name			  "Clock"
	  Position		  [30, 105, 50, 125]
	  DisplayTime		  on
	  Decimation		  "10"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [25, 195, 55, 225]
	  Value			  "0"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [350, 101, 355, 139]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [155, 107, 185, 138]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope1"
	  Ports			  [1]
	  Position		  [130, 29, 160, 61]
	  Location		  [188, 390, 512, 629]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData1"
	  DataFormat		  "StructureWithTime"
	}
	Block {
	  BlockType		  Reference
	  Name			  "abc_to_dq0\nTransformation"
	  Ports			  [2, 1]
	  Position		  [575, 96, 635, 154]
	  SourceBlock		  "powerlib_extras/Measurements/abc_to_dq0\nTr"
"ansformation"
	  SourceType		  "abc to dq0 Transformation"
	  ShowPortLabels	  on
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [660, 118, 690, 132]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "abc_to_dq0\nTransformation"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [195, 0]
	  DstBlock		  "abc_to_dq0\nTransformation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [200, 0]
	  DstBlock		  "abc_to_dq0\nTransformation"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "1"
	  SrcPort		  1
	  Points		  [25, 0; 0, -30]
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "2"
	  SrcPort		  1
	  Points		  [25, 0; 0, 35]
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [0, 35]
	    DstBlock		    "1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -50]
	    DstBlock		    "2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [40, 0; 0, -80]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Clock"
	  SrcPort		  1
	  Points		  [0, 0; 40, 0]
	  Branch {
	    Points		    [0, -70]
	    DstBlock		    "Scope1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "AC motor"
      Ports		      [4, 1]
      Position		      [655, 142, 695, 203]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"AC motor"
	Location		[557, 200, 887, 308]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 28, 55, 42]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [25, 48, 55, 62]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [115, 58, 145, 72]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "In4"
	  Position		  [25, 68, 55, 82]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [3, 1]
	  Position		  [170, 36, 175, 74]
	  ShowName		  off
	  Inputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "S-Function"
	  Ports			  [1, 1]
	  Position		  [190, 40, 250, 70]
	  ShowName		  off
	  FunctionName		  "smotor2"
	  Parameters		  "6.9 8.18 1.0484 1.0484 1.0039 0.03 2"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem6"
	  Ports			  [3, 2]
	  Position		  [80, 28, 115, 82]
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Subsystem6"
	    Location		    [354, 131, 926, 501]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "ua1"
	      Position		      [25, 33, 55, 47]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "ub1"
	      Position		      [25, 113, 55, 127]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "uc1"
	      Position		      [30, 173, 60, 187]
	      Port		      "3"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [190, 23, 230, 57]
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [195, 79, 250, 111]
	      Gain		      "-1/2"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain2"
	      Position		      [200, 169, 255, 201]
	      Gain		      "-1/2"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain3"
	      Position		      [180, 128, 250, 162]
	      Gain		      "sqrt(3)/2"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain4"
	      Position		      [175, 224, 270, 256]
	      Gain		      "-(sqrt(3)/2)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain5"
	      Position		      [350, 36, 415, 74]
	      Gain		      "sqrt(2/3)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain6"
	      Position		      [370, 150, 435, 190]
	      Gain		      "sqrt(2/3)"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [3, 1]
	      Position		      [310, 33, 335, 77]
	      ShowName		      off
	      Inputs		      "+++"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [325, 148, 350, 192]
	      ShowName		      off
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "ua"
	      Position		      [440, 53, 470, 67]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "ub"
	      Position		      [470, 168, 500, 182]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Gain6"
	      SrcPort		      1
	      Points		      [0, 5]
	      DstBlock		      "ub"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain5"
	      SrcPort		      1
	      Points		      [0, 5]
	      DstBlock		      "ua"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ua1"
	      SrcPort		      1
	      DstBlock		      "Gain"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      Points		      [20, 0; 0, -40]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "ub1"
	      SrcPort		      1
	      Points		      [0, 0; 90, 0]
	      Branch {
		Points			[0, 25]
		DstBlock		"Gain3"
		DstPort			1
	      }
	      Branch {
		Points			[0, -25]
		DstBlock		"Gain1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "uc1"
	      SrcPort		      1
	      Points		      [60, 0; 0, 5]
	      Branch {
		Points			[0, 55]
		DstBlock		"Gain4"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Gain2"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      Points		      [20, 0; 0, -115]
	      DstBlock		      "Sum"

⌨️ 快捷键说明

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