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

📄 pmsm_motor_model_220708.mdl

📁 kl kl kl l l jklkjkjlkjljkljkljkljkjk
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  Time			  "0.0001"
	  After			  "TL_IP"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux4"
	  Ports			  [3, 1]
	  Position		  [880, 78, 885, 232]
	  ShowName		  off
	  Inputs		  "3"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "PMSM Motor\n Mechanics"
	  Ports			  [2, 3]
	  Position		  [615, 375, 750, 565]
	  Orientation		  "left"
	  ForegroundColor	  "blue"
	  BackgroundColor	  "magenta"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "PMSM Motor\n Mechanics"
	    Location		    [2, 94, 1014, 717]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Te"
	      Position		      [15, 169, 70, 201]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "TL"
	      Position		      [20, 289, 75, 321]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [530, 449, 700, 501]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      ShowName		      off
	      FontSize		      16
	      FontWeight	      "bold"
	      Gain		      "radpsec2rpm"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain4"
	      Position		      [305, 186, 370, 244]
	      ShowName		      off
	      FontSize		      16
	      FontWeight	      "bold"
	      Gain		      "1/Jm"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain5"
	      Position		      [350, 361, 415, 409]
	      Orientation	      "left"
	      NamePlacement	      "alternate"
	      ShowName		      off
	      FontSize		      16
	      FontWeight	      "bold"
	      Gain		      "Bm"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain6"
	      Position		      [620, 190, 670, 240]
	      ShowName		      off
	      FontSize		      16
	      FontWeight	      "bold"
	      Gain		      "p"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Int2"
	      Ports		      [1, 1]
	      Position		      [435, 190, 495, 240]
	      ShowName		      off
	      FontSize		      16
	      FontWeight	      "bold"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "Int3"
	      Ports		      [1, 1]
	      Position		      [765, 190, 825, 240]
	      ShowName		      off
	      FontSize		      16
	      FontWeight	      "bold"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [3, 1]
	      Position		      [210, 169, 250, 261]
	      ShowName		      off
	      FontSize		      16
	      FontWeight	      "bold"
	      Inputs		      "+--"
	    }
	    Block {
	      BlockType		      ToWorkspace
	      Name		      "To Workspace1"
	      Position		      [875, 12, 935, 48]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      VariableName	      "We"
	      MaxDataPoints	      "inf"
	      SampleTime	      "-1"
	      SaveFormat	      "Array"
	    }
	    Block {
	      BlockType		      ToWorkspace
	      Name		      "To Workspace2"
	      Position		      [860, 456, 935, 494]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      VariableName	      "Wmech"
	      MaxDataPoints	      "inf"
	      SampleTime	      "-1"
	      SaveFormat	      "Array"
	    }
	    Block {
	      BlockType		      ToWorkspace
	      Name		      "To Workspace3"
	      Position		      [890, 277, 950, 313]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      VariableName	      "Theta"
	      MaxDataPoints	      "inf"
	      SampleTime	      "-1"
	      SaveFormat	      "Array"
	    }
	    Block {
	      BlockType		      ToWorkspace
	      Name		      "To Workspace4"
	      Position		      [385, 456, 485, 494]
	      Orientation	      "left"
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      VariableName	      "Wmech_rpm"
	      MaxDataPoints	      "inf"
	      SampleTime	      "-1"
	      SaveFormat	      "Array"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "We"
	      Position		      [880, 106, 935, 134]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Theta"
	      Position		      [885, 201, 940, 229]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Wmech"
	      Position		      [890, 371, 945, 399]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Port		      "3"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Te"
	      SrcPort		      1
	      DstBlock		      "Sum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "TL"
	      SrcPort		      1
	      Points		      [35, 0; 0, -90]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Gain4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain4"
	      SrcPort		      1
	      DstBlock		      "Int2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Int2"
	      SrcPort		      1
	      Points		      [0, 0; 55, 0]
	      Branch {
		DstBlock		"Gain6"
		DstPort			1
	      }
	      Branch {
		Points			[0, 170]
		Branch {
		  DstBlock		  "Gain5"
		  DstPort		  1
		}
		Branch {
		  Points		  [250, 0]
		  Branch {
		    DstBlock		    "Wmech"
		    DstPort		    1
		  }
		  Branch {
		    Points		    [0, 90]
		    Branch {
		    DstBlock		    "To Workspace2"
		    DstPort		    1
		    }
		    Branch {
		    DstBlock		    "Gain1"
		    DstPort		    1
		    }
		  }
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Gain6"
	      SrcPort		      1
	      Points		      [0, 0; 35, 0]
	      Branch {
		DstBlock		"Int3"
		DstPort			1
	      }
	      Branch {
		Points			[0, -95]
		Branch {
		  DstBlock		  "We"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, -90]
		  DstBlock		  "To Workspace1"
		  DstPort		  1
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Int3"
	      SrcPort		      1
	      Points		      [0, 0; 20, 0]
	      Branch {
		DstBlock		"Theta"
		DstPort			1
	      }
	      Branch {
		Points			[0, 80]
		DstBlock		"To Workspace3"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain5"
	      SrcPort		      1
	      Points		      [-185, 0; 0, -140]
	      DstBlock		      "Sum1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      DstBlock		      "To Workspace4"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "1/Jm"
	      Position		      [321, 176]
	      FontSize		      16
	      FontWeight	      "bold"
	    }
	    Annotation {
	      Name		      "Bm"
	      Position		      [388, 361]
	      FontSize		      16
	      FontWeight	      "bold"
	    }
	    Annotation {
	      Name		      "Mechanics of the PMSM Motor"
	      Position		      [508, 568]
	      BackgroundColor	      "orange"
	      FontName		      "Arial"
	      FontSize		      24
	      FontWeight	      "bold"
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Sin(Theta)_Cos(Theta) \nComputation"
	  Ports			  [1, 1]
	  Position		  [300, 431, 540, 509]
	  Orientation		  "left"
	  BackgroundColor	  "yellow"
	  FontName		  "Arial"
	  FontSize		  16
	  FontWeight		  "bold"
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Sin(Theta)_Cos(Theta) \nComputation"
	    Location		    [2, 94, 1014, 717]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Theta"
	      Position		      [80, 144, 135, 176]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      ElementaryMath
	      Name		      "Elementary\nMath"
	      Ports		      [1, 1]
	      Position		      [280, 141, 340, 179]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	    }
	    Block {
	      BlockType		      ElementaryMath
	      Name		      "Elementary\nMath1"
	      Ports		      [1, 1]
	      Position		      [280, 240, 345, 280]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Operator		      "cos"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux2"
	      Ports		      [2, 1]
	      Position		      [495, 144, 500, 211]
	      ShowName		      off
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      Inputs		      "2"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      ToWorkspace
	      Name		      "To Workspace1"
	      Position		      [490, 50, 585, 90]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      VariableName	      "Sin_Theta"
	      MaxDataPoints	      "inf"
	      SampleTime	      "-1"
	      SaveFormat	      "Array"
	    }
	    Block {
	      BlockType		      ToWorkspace
	      Name		      "To Workspace2"
	      Position		      [455, 315, 550, 355]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      VariableName	      "Cos_Theta"
	      MaxDataPoints	      "inf"
	      SampleTime	      "-1"
	      SaveFormat	      "Array"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Sin(Theta)_Cos(Theta)"
	      Position		      [690, 166, 745, 194]
	      FontName		      "Arial"
	      FontSize		      16
	      FontWeight	      "bold"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Mux2"
	      SrcPort		      1
	      DstBlock		      "Sin(Theta)_Cos(Theta)"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Theta"
	      SrcPort		      1
	      Points		      [0, 0; 75, 0]
	      Branch {
		DstBlock		"Elementary\nMath"
		DstPort			1
	      }
	      Branch {
		Points			[0, 100]
		DstBlock		"Elementary\nMath1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Elementary\nMath"
	      SrcPort		      1
	      Points		      [0, 0; 60, 0]
	      Branch {
		DstBlock		"Mux2"
		DstPort			1
	      }
	      Branch {
		Points			[0, -90]
		DstBlock		"To Workspace1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Elementary\nMath1"
	      SrcPort		      1
	      Points		      [0, 0; 45, 0]
	      Branch {
		Points			[30, 0; 0, -65]
		DstBlock		"Mux2"
		DstPort			2
	      }
	      Branch {
		Points			[0, 75]
		DstBlock		"To Workspace2"
		DstPort			1
	      }
	    }
	    Annotation {
	      Name		      "Computation of the Unit Vectors {i.e., "
"Sin(Theta) & Cos (Theta)}"
	      Position		      [433, 483]
	      BackgroundColor	      "orange"
	      FontName		      "Arial"
	      FontSize		      24
	      FontWeight	      "bold"
	    }
	  }
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator"
	  Position		  [495, 195, 515, 215]
	  FontName		  "Arial"
	  FontSize		  12
	  FontWeight		  "bold"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace3"
	  Position		  [40, 630, 110, 670]
	  Orientation		  "left"
	  NamePlacement		  "alternate"

⌨️ 快捷键说明

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