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

📄 s5.mdl

📁 simulink electrical machine(2)
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      BlockType		      SubSystem
      Name		      "abc2qd0"
      Position		      [245, 212, 285, 308]
      ShowPortLabels	      off
      System {
	Name			"abc2qd0"
	Location		[59, 178, 730, 556]
	Open			off
	ScreenColor		white
	Block {
	  BlockType		  Inport
	  Name			  "va"
	  Position		  [40, 140, 60, 160]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "vb"
	  Position		  [40, 175, 60, 195]
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "vc"
	  Position		  [40, 210, 60, 230]
	  Port			  "3"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "cos_thetar"
	  Position		  [40, 60, 60, 80]
	  Port			  "4"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "sin_thetar"
	  Position		  [40, 95, 60, 115]
	  Port			  "5"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Position		  [90, 129, 115, 241]
	  Inputs		  "3"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Position		  [375, 56, 400, 189]
	  Inputs		  "4"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "abc20"
	  Position		  [150, 219, 290, 241]
	  Expr			  "(u[1] + u[2]  + u[3])/3"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "abc2d"
	  Position		  [150, 174, 290, 196]
	  Expr			  "(u[3] -u[2])/sqrt(3)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "abc2q"
	  Position		  [150, 129, 290, 151]
	  Expr			  "(2*u[1]- u[2] - u[3])/3"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "qds2dr"
	  Position		  [425, 143, 560, 167]
	  Expr			  "u[2]*u[3] + u[1]*u[4] "
	}
	Block {
	  BlockType		  Fcn
	  Name			  "qds2qr"
	  Position		  [425, 88, 560, 112]
	  Expr			  "u[1]*u[3] - u[2]*u[4]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "vq"
	  Position		  [595, 90, 615, 110]
	  Port			  "1"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "vd"
	  Position		  [590, 145, 610, 165]
	  Port			  "2"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "vd0"
	  Position		  [590, 220, 610, 240]
	  Port			  "3"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "abc20"
	  SrcPort		  1
	  DstBlock		  "vd0"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "abc2d"
	  SrcPort		  1
	  Points		  [30, 0; 0, -10]
	  DstBlock		  "Mux1"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "abc2q"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "sin_thetar"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "cos_thetar"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "qds2dr"
	  SrcPort		  1
	  DstBlock		  "vd"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "qds2qr"
	  SrcPort		  1
	  DstBlock		  "vq"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "vc"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "vb"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "va"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [0, 30]
	    DstBlock		    "qds2dr"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -25]
	    DstBlock		    "qds2qr"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [5, 0; 0, 45]
	    DstBlock		    "abc20"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "abc2d"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [5, 0; 0, -45]
	    DstBlock		    "abc2q"
	    DstPort		    1
	  }
	}
	Annotation {
	  Position		  [327, 125]
	  VerticalAlignment	  top
	  Text			  "vqs"
	}
	Annotation {
	  Position		  [472, 282]
	  VerticalAlignment	  top
	  Text			  "qds2qdr"
	}
	Annotation {
	  Position		  [207, 282]
	  VerticalAlignment	  top
	  Text			  "abc2qd0"
	}
	Annotation {
	  Position		  [327, 157]
	  VerticalAlignment	  top
	  Text			  "vds"
	}
      }
    }
    Block {
      BlockType		      Gain
      Name		      "omega*t"
      Position		      [110, 101, 160, 129]
      Orientation	      left
      NamePlacement	      alternate
      Gain		      "120*pi"
    }
    Block {
      BlockType		      SubSystem
      Name		      "osc"
      Position		      [586, 215, 619, 250]
      Orientation	      up
      ShowPortLabels	      off
      System {
	Name			"osc"
	Location		[17, 186, 607, 430]
	Open			off
	ScreenColor		white
	Block {
	  BlockType		  Inport
	  Name			  "wr/wb"
	  Position		  [30, 45, 50, 65]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [135, 63, 180, 97]
	  Gain			  "-wb"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [340, 120, 385, 160]
	  Orientation		  left
	  Gain			  "wb"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Position		  [370, 43, 390, 92]
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Position		  [140, 128, 160, 172]
	  Orientation		  left
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "cos"
	  Position		  [215, 63, 245, 97]
	  ExternalReset		  none
	  InitialConditionSource  internal
	  InitialCondition	  "cos(delto)"
	  LimitOutput		  off
	  UpperSaturationLimit	  "inf"
	  LowerSaturationLimit	  "-inf"
	  ShowSaturationPort	  off
	  ShowStatePort		  off
	  AbsoluteTolerance	  "auto"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "sin"
	  Position		  [265, 123, 295, 157]
	  Orientation		  left
	  ExternalReset		  none
	  InitialConditionSource  internal
	  InitialCondition	  "sin(delto)"
	  LimitOutput		  off
	  UpperSaturationLimit	  "inf"
	  LowerSaturationLimit	  "-inf"
	  ShowSaturationPort	  off
	  ShowStatePort		  off
	  AbsoluteTolerance	  "auto"
	}
	Block {
	  BlockType		  Outport
	  Name			  "cos_thetar"
	  Position		  [470, 105, 490, 125]
	  Port			  "1"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "sin_thetar"
	  Position		  [470, 160, 490, 180]
	  Port			  "2"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "sin"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [-30, 0; 0, 30]
	    DstBlock		    "sin_thetar"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Product1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "wr/wb"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [35, 0; 0, 135; 110, 0; 0, -30]
	    DstBlock		    "Product1"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "sin"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [-20, 0; 0, -70]
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "cos"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "cos"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [20, 0; 0, 35]
	    DstBlock		    "cos_thetar"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [20, 0; 0, 70]
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "qd_gen"
      Position		      [390, 211, 445, 339]
      ShowPortLabels	      off
      System {
	Name			"qd_gen"
	Location		[42, 78, 657, 554]
	Open			off
	ScreenColor		white
	Block {
	  BlockType		  Inport
	  Name			  "vq"
	  Position		  [60, 65, 80, 85]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "vd"
	  Position		  [55, 255, 75, 275]
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Ef"
	  Position		  [55, 305, 75, 325]
	  Port			  "3"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Tmech"
	  Position		  [310, 310, 330, 330]
	  Port			  "4"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Rotor"
	  Position		  [345, 230, 395, 330]
	  ShowPortLabels	  off
	  System {
	    Name		    "Rotor"
	    Location		    [41, 107, 710, 372]
	    Open		    off
	    ScreenColor		    white
	    Block {
	      BlockType		      Inport
	      Name		      "-iq"
	      Position		      [85, 85, 105, 105]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "psid "
	      Position		      [85, 120, 105, 140]
	      Port		      "2"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "psiq"
	      Position		      [85, 160, 105, 180]
	      Port		      "3"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "-id"
	      Position		      [85, 200, 105, 220]
	      Port		      "4"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Tmech"
	      Position		      [85, 45, 105, 65]
	      Port		      "5"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "1/2H"
	      Position		      [315, 110, 385, 150]
	      Gain		      "1/(2*H)"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "D"
	      Position		      [320, 58, 395, 92]
	      Orientation	      left
	      Gain		      "Domega"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Prod"
	      Position		      [145, 114, 160, 136]
	      Inputs		      "2"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Prod2"
	      Position		      [145, 165, 160, 185]
	      Inputs		      "2"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum12"
	      Position		      [185, 101, 205, 199]
	      Inputs		      "-+"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum14"
	      Position		      [495, 168, 510, 212]
	      Inputs		      "++"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Tacc"
	      Position		      [275, 100, 295, 160]
	      Inputs		      "-++"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "del"
	      Position		      [535, 111, 565, 149]
	      ExternalReset	      none
	      InitialConditionSource      internal
	      InitialCondition	      "delto"
	      LimitOutput	      off
	      UpperSaturationLimit      "inf"
	      LowerSaturationLimit      "-inf"
	      ShowSaturationPort      off
	      ShowStatePort	      off
	      AbsoluteTolerance	      "auto"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "gain4"
	      Position		      [480, 114, 515, 146]
	      Gain		      "wb"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "slip"
	      Position		      [410, 111, 440, 149]
	      ExternalReset	      none
	      InitialConditionSource      internal
	      InitialCondition	      "0"
	      LimitOutput	      off
	      UpperSaturationLimit      "inf"
	      LowerSaturationLimit      "-inf"
	      ShowSaturationPort      off
	      ShowStatePort	      off
	      AbsoluteTolerance	      "auto"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "we/wb"
	      Position		      [420, 188, 450, 212]
	      Value		      "1"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "delta"
	      Position		      [595, 120, 615, 140]
	      Port		      "1"
	      OutputWhenDisabled      held

⌨️ 快捷键说明

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