dianji.mdl

来自「matlab下的三相异步电机模型」· MDL 代码 · 共 2,105 行 · 第 1/4 页

MDL
2,105
字号
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "ib"
	  Position		  [455, 248, 485, 262]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "ic"
	  Position		  [460, 278, 490, 292]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "UA"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "UB"
	  SrcPort		  1
	  Points		  [25, 0; 20, 0]
	  Branch {
	    Points		    [-5, 0]
	    DstBlock		    "Gain3"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Gain2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Uc"
	  SrcPort		  1
	  Points		  [10, 0; 0, -5]
	  Branch {
	    Points		    [0, 5]
	    DstBlock		    "Gain6"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -245]
	    DstBlock		    "Gain5"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Gain5"
	  SrcPort		  1
	  Points		  [10, 0; 0, -30]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain6"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Sum3"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum3"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "Transfer Fcn1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -135]
	    DstBlock		    "Scope4"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "Transfer Fcn"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 120]
	    DstBlock		    "Scope4"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Transfer Fcn1"
	  SrcPort		  1
	  Points		  [5, 0; 5, 0]
	  Branch {
	    DstBlock		    "Gain7"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -125]
	    DstBlock		    "Subsystem"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 45; 225, 0; 0, -30]
	    Branch {
	      DstBlock		      "Product1"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [60, 0; 0, -295]
	      DstBlock		      "xuzhuanbianhuan"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  SrcBlock		  "Transfer Fcn"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    DstBlock		    "Gain8"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 120]
	    DstBlock		    "Subsystem"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -40; 215, 0]
	    Branch {
	      Points		      [5, 0; 0, 80]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "xuzhuanbianhuan"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Gain8"
	  SrcPort		  1
	  DstBlock		  "Sum4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum5"
	  SrcPort		  1
	  DstBlock		  "Transfer Fcn3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum4"
	  SrcPort		  1
	  DstBlock		  "Transfer Fcn2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain4"
	  SrcPort		  1
	  Points		  [-125, 0]
	  DstBlock		  "Sum3"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Transfer Fcn2"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, -80]
	    DstBlock		    "Gain9"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 210]
	    Branch {
	      DstBlock		      "Product1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [-40, 0; 0, -5]
	      DstBlock		      "Product3"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  SrcBlock		  "Gain9"
	  SrcPort		  1
	  Points		  [-110, 0; 0, 70]
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product2"
	  SrcPort		  1
	  Points		  [0, 5; -40, 0]
	  Branch {
	    DstBlock		    "Gain1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -45]
	    DstBlock		    "Sum4"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  Points		  [-75, 0; 0, -35]
	  DstBlock		  "Sum2"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Product3"
	  SrcPort		  1
	  Points		  [-35, 0]
	  Branch {
	    DstBlock		    "Gain10"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 50]
	    DstBlock		    "Sum5"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain10"
	  SrcPort		  1
	  Points		  [-65, 0]
	  DstBlock		  "Sum3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain7"
	  SrcPort		  1
	  DstBlock		  "Sum5"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Transfer Fcn3"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    Points		    [0, 115]
	    DstBlock		    "Gain4"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -195]
	    Branch {
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [-95, 0]
	      DstBlock		      "Product2"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "Sum6"
	  DstPort		  1
	}
	Line {
	  Labels		  [2, 0]
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "Sum6"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum6"
	  SrcPort		  1
	  DstBlock		  "Gain11"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain11"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "Sum7"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -65]
	    DstBlock		    "Scope2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Sum7"
	  SrcPort		  1
	  DstBlock		  "Gain12"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  " "
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    Points		    [0, 90]
	    DstBlock		    "Gain13"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Gain14"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -55]
	    DstBlock		    "Scope2"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Gain13"
	  SrcPort		  1
	  Points		  [-180, 0; 0, -40; -85, 0]
	  Branch {
	    Points		    [0, -60]
	    DstBlock		    "Product2"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 65]
	    DstBlock		    "Product3"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Tl"
	  SrcPort		  1
	  Points		  [20, 0]
	  DstBlock		  "Sum7"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain14"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "n"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [-5, 0]
	    DstBlock		    "Scope2"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "Gain12"
	  SrcPort		  1
	  DstBlock		  " "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Subsystem"
	  SrcPort		  1
	  Points		  [35, 0]
	  DstBlock		  "ia"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Subsystem"
	  SrcPort		  2
	  DstBlock		  "ib"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Subsystem"
	  SrcPort		  3
	  Points		  [40, 0]
	  DstBlock		  "ic"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "xuzhuanbianhuan"
	  SrcPort		  1
	  DstBlock		  "Scope3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "xuzhuanbianhuan"
	  SrcPort		  2
	  Points		  [0, -15]
	  DstBlock		  "Scope3"
	  DstPort		  2
	}
      }
    }
    Line {
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      Points		      [95, 0; 0, 55; 40, 0]
      Branch {
	DstBlock		"Subsystem"
	DstPort			1
      }
      Branch {
	Points			[0, -45]
	Branch {
	  Points		  [0, -50]
	  DstBlock		  "Scope1"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "Mux"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Sine Wave1"
      SrcPort		      1
      Points		      [155, 0]
      Branch {
	DstBlock		"Subsystem"
	DstPort			2
      }
      Branch {
	Points			[0, -100]
	DstBlock		"Scope1"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Sine Wave2"
      SrcPort		      1
      Points		      [100, 0; 0, -70; 85, 0]
      Branch {
	DstBlock		"Subsystem"
	DstPort			3
      }
      Branch {
	Points			[0, -105]
	DstBlock		"Scope1"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "Step"
      SrcPort		      1
      Points		      [45, 0; 0, -85]
      Branch {
	Points			[0, -65]
	DstBlock		"Subsystem"
	DstPort			4
      }
      Branch {
	DstBlock		"Scope"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Subsystem"
      SrcPort		      1
      Points		      [75, 0; 0, 95]
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Scope2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Subsystem"
      SrcPort		      2
      Points		      [20, 0]
      DstBlock		      "Mux"
      DstPort		      2
    }
  }
}

⌨️ 快捷键说明

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