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

📄 s1.mdl

📁 simulink electrical machine(2)
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  Position		  [60, 45, 80, 65]
	  Port			  "4"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "sin_thetar"
	  Position		  [60, 85, 80, 105]
	  Port			  "5"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Position		  [125, 34, 155, 196]
	  Inputs		  "4"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux1"
	  Position		  [375, 39, 405, 261]
	  Inputs		  "3"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "qdr2ds"
	  Position		  [190, 140, 310, 160]
	  Expr			  "u[1]*u[4] - u[2]*u[3]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "qdr2qs"
	  Position		  [190, 64, 310, 86]
	  Expr			  "u[1]*u[3] + u[2]*u[4]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "qds2a"
	  Position		  [435, 69, 605, 91]
	  Expr			  "u[1] + u[3]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "qds2b"
	  Position		  [435, 139, 600, 161]
	  Expr			  "-u[1]/2 -sqrt(3)*u[2]/2 + u[3]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "qds2c"
	  Position		  [435, 209, 605, 231]
	  Expr			  "-u[1]/2 +sqrt(3)*u[2]/2 + u[3]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "ia"
	  Position		  [645, 69, 670, 91]
	  Port			  "1"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "ib"
	  Position		  [645, 139, 670, 161]
	  Port			  "2"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "ic"
	  Position		  [645, 208, 670, 232]
	  Port			  "3"
	  OutputWhenDisabled	  held
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "qds2c"
	  SrcPort		  1
	  DstBlock		  "ic"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "qds2b"
	  SrcPort		  1
	  DstBlock		  "ib"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "qds2a"
	  SrcPort		  1
	  DstBlock		  "ia"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [10, 0]
	    DstBlock		    "qds2c"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [10, 0]
	    DstBlock		    "qds2a"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "qds2b"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "i0"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "qdr2ds"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "qdr2qs"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [5, 0; 0, 35]
	    DstBlock		    "qdr2ds"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [5, 0; 0, -40]
	    DstBlock		    "qdr2qs"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "-id"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "-iq"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "sin_thetar"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "cos_thetar"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Annotation {
	  Position		  [532, 27]
	  VerticalAlignment	  top
	  Text			  "qds2abc"
	}
	Annotation {
	  Position		  [257, 22]
	  VerticalAlignment	  top
	  Text			  "qdr2qds"
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "sm1"
      Position		      [285, 25, 305, 45]
      Orientation	      left
      Floating		      off
      Location		      [46, 353, 758, 532]
      Open		      on
      Grid		      on
      TickLabels	      on
      ZoomMode		      yonly
      TimeRange		      "auto"
      YMin		      "-2"
      YMax		      "2"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitMaxRows	      off
      MaxRows		      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Line {
      SrcBlock		      "Vm"
      SrcPort		      1
      DstBlock		      "Mux1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Ef"
      SrcPort		      1
      DstBlock		      "qd_gen"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Selector"
      SrcPort		      1
      DstBlock		      "sm1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	Points			[0, -25]
	DstBlock		"Selector"
	DstPort			1
      }
      Branch {
	Points			[0, -25]
	DstBlock		"Workspace"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Ground"
      SrcPort		      1
      Points		      [20, 0]
      DstBlock		      "qdr2abc"
      DstPort		      3
    }
    Line {
      SrcBlock		      "qdr2abc"
      SrcPort		      3
      DstBlock		      "T1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "qdr2abc"
      SrcPort		      2
      Points		      [0, -25]
      DstBlock		      "T"
      DstPort		      1
    }
    Line {
      SrcBlock		      "abc2qd0"
      SrcPort		      3
      DstBlock		      "T2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "VIPQ"
      SrcPort		      2
      Points		      [0, -15; 15, 0]
      DstBlock		      "Mux"
      DstPort		      3
    }
    Line {
      SrcBlock		      "VIPQ"
      SrcPort		      3
      Points		      [0, -15; 30, 0]
      DstBlock		      "Mux"
      DstPort		      4
    }
    Line {
      SrcBlock		      "VIPQ"
      SrcPort		      4
      Points		      [0, -5; 45, 0]
      DstBlock		      "Mux"
      DstPort		      5
    }
    Line {
      SrcBlock		      "qd_gen"
      SrcPort		      2
      Points		      [40, 0]
      DstBlock		      "Mux"
      DstPort		      6
    }
    Line {
      SrcBlock		      "qd_gen"
      SrcPort		      4
      Points		      [85, 0]
      DstBlock		      "Mux"
      DstPort		      7
    }
    Line {
      SrcBlock		      "qd_gen"
      SrcPort		      5
      Points		      [130, 0]
      DstBlock		      "Mux"
      DstPort		      8
    }
    Line {
      SrcBlock		      "qdr2abc"
      SrcPort		      1
      Points		      [0, -15; -10, 0]
      DstBlock		      "Mux"
      DstPort		      9
    }
    Line {
      SrcBlock		      "Fcn2"
      SrcPort		      1
      Points		      [20, 0; 0, -50]
      DstBlock		      "abc2qd0"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Fcn1"
      SrcPort		      1
      Points		      [5, 0; 0, -25]
      DstBlock		      "abc2qd0"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Fcn"
      SrcPort		      1
      DstBlock		      "abc2qd0"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	Points			[-40, 0; 0, 180]
	DstBlock		"Fcn2"
	DstPort			1
      }
      Branch {
	Points			[-40, 0; 0, 135]
	DstBlock		"Fcn1"
	DstPort			1
      }
      Branch {
	Points			[-40, 0; 0, 90]
	DstBlock		"Fcn"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "omega*t"
      SrcPort		      1
      DstBlock		      "Mux1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Clock"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	Points			[0, -15]
	DstBlock		"omega*t"
	DstPort			1
      }
      Branch {
	Points			[0, -15; 45, 0]
	DstBlock		"Mux"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "abc2qd0"
      SrcPort		      2
      Points		      [0, 0]
      Branch {
	Points			[60, 0]
	DstBlock		"VIPQ"
	DstPort			3
      }
      Branch {
	DstBlock		"qd_gen"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "VIPQ"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Tmech"
      SrcPort		      1
      DstBlock		      "qd_gen"
      DstPort		      4
    }
    Line {
      SrcBlock		      "qd_gen"
      SrcPort		      6
      Points		      [0, 0]
      Branch {
	Points			[110, 0; 0, -140; -160, 0]
	DstBlock		"VIPQ"
	DstPort			4
      }
      Branch {
	Points			[110, 0; 0, -140; 85, 0]
	DstBlock		"qdr2abc"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "qd_gen"
      SrcPort		      3
      DstBlock		      "osc"
      DstPort		      1
    }
    Line {
      SrcBlock		      "qd_gen"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	Points			[15, 0; 0, -30; -125, 0]
	DstBlock		"VIPQ"
	DstPort			2
      }
      Branch {
	Points			[15, 0; 0, -30; 170, 0]
	DstBlock		"qdr2abc"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "abc2qd0"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	DstBlock		"VIPQ"
	DstPort			1
      }
      Branch {
	DstBlock		"qd_gen"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "osc"
      SrcPort		      2
      Points		      [0, 0]
      Branch {
	Points			[35, 0; 0, 80; -430, 0; 0, -55]
	DstBlock		"abc2qd0"
	DstPort			5
      }
      Branch {
	Points			[35, 0]
	DstBlock		"qdr2abc"
	DstPort			5
      }
    }
    Line {
      SrcBlock		      "osc"
      SrcPort		      1
      Points		      [0, 0]
      Branch {
	Points			[25, 0; 0, 120; -430, 0; 0, -95]
	DstBlock		"abc2qd0"
	DstPort			4
      }
      Branch {
	Points			[25, 0]
	DstBlock		"qdr2abc"
	DstPort			4
      }
    }
    Annotation {
      Position		      [447, 212]
      VerticalAlignment	      top
      Text		      "iq_gen"
    }
    Annotation {
      Position		      [607, 112]
      VerticalAlignment	      top
      Text		      "ia"
    }
    Annotation {
      Position		      [207, 207]
      VerticalAlignment	      top
      Text		      "vag"
    }
    Annotation {
      Position		      [297, 272]
      VerticalAlignment	      top
      Text		      "v0"
    }
    Annotation {
      Position		      [452, 252]
      VerticalAlignment	      top
      Text		      "wr/wb"
    }
    Annotation {
      Position		      [452, 312]
      VerticalAlignment	      top
      Text		      "id_gen"
    }
    Annotation {
      Position		      [447, 232]
      VerticalAlignment	      top
      Text		      "delta"
    }
    Annotation {
      Position		      [447, 272]
      VerticalAlignment	      top
      Text		      "Tem"
    }
    Annotation {
      Position		      [567, 362]
      VerticalAlignment	      top
      Text		      "cos (wrt)"
    }
    Annotation {
      Position		      [567, 342]
      VerticalAlignment	      top
      Text		      "sin (wrt)"
    }
    Annotation {
      Position		      [332, 217]
      VerticalAlignment	      top
      Text		      "vq"
    }
    Annotation {
      Position		      [322, 247]
      VerticalAlignment	      top
      Text		      "vd"
    }
    Annotation {
      Position		      [207, 227]
      VerticalAlignment	      top
      Text		      "vbg"
    }
    Annotation {
      Position		      [207, 247]
      VerticalAlignment	      top
      Text		      "vcg"
    }
  }
}

⌨️ 快捷键说明

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