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

📄 s2eig.mdl

📁 simulink electrical machine(2)
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  VerticalAlignment	  top
	  Text			  "Eqp_"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "tmodel1"
      Position		      [155, 363, 210, 487]
      ShowPortLabels	      off
      System {
	Name			"tmodel1"
	Location		[31, 52, 835, 618]
	Open			off
	ScreenColor		white
	Block {
	  BlockType		  Inport
	  Name			  "in_Vref"
	  Position		  [435, 65, 455, 85]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "in_iqe"
	  Position		  [50, 270, 70, 290]
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "in_ide"
	  Position		  [50, 312, 70, 338]
	  Port			  "3"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Inport
	  Name			  "in_Tmech"
	  Position		  [470, 355, 490, 375]
	  Port			  "4"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	}
	Block {
	  BlockType		  Gain
	  Name			  "1/Tpdo"
	  Position		  [160, 149, 240, 191]
	  Gain			  "1/Tpdo(1)"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Edp"
	  Position		  [290, 443, 320, 477]
	  ExternalReset		  none
	  InitialConditionSource  internal
	  InitialCondition	  "Edpo(1)"
	  LimitOutput		  off
	  UpperSaturationLimit	  "inf"
	  LowerSaturationLimit	  "-inf"
	  ShowSaturationPort	  off
	  ShowStatePort		  off
	  AbsoluteTolerance	  "auto"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Eqp"
	  Position		  [255, 154, 285, 186]
	  ExternalReset		  none
	  InitialConditionSource  internal
	  InitialCondition	  "Eqpo(1)"
	  LimitOutput		  off
	  UpperSaturationLimit	  "inf"
	  LowerSaturationLimit	  "-inf"
	  ShowSaturationPort	  off
	  ShowStatePort		  off
	  AbsoluteTolerance	  "auto"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Exc_sw"
	  Position		  [270, 66, 340, 84]
	  Orientation		  left
	  Value			  "Exc_sw(2)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [160, 364, 260, 406]
	  Orientation		  left
	  Gain			  "xq(1)-xpd(1)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain1"
	  Position		  [180, 441, 265, 479]
	  Gain			  "1/Tpqo(1)"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [155, 206, 255, 254]
	  Orientation		  left
	  Gain			  "xd(1)-xpd(1)"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Rotor"
	  Position		  [525, 252, 575, 378]
	  ShowPortLabels	  off
	  System {
	    Name		    "Rotor"
	    Location		    [38, 112, 778, 341]
	    Open		    off
	    ScreenColor		    white
	    Block {
	      BlockType		      Inport
	      Name		      "Eqp"
	      Position		      [15, 19, 35, 41]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Edp"
	      Position		      [15, 69, 35, 91]
	      Port		      "2"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "iq"
	      Position		      [15, 109, 35, 131]
	      Port		      "3"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "id"
	      Position		      [15, 154, 35, 176]
	      Port		      "4"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "T_mech"
	      Position		      [190, 16, 215, 44]
	      Port		      "5"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Damp"
	      Position		      [340, 86, 440, 124]
	      Orientation	      left
	      Gain		      "Domega(2)"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [140, 85, 270, 115]
	      Expr		      "-(u[1]*u[3] + u[2]*u[4])"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Position		      [105, 61, 125, 139]
	      Inputs		      "4"
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      "T"
	      Position		      [595, 130, 615, 150]
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Tacc"
	      Position		      [320, 18, 340, 82]
	      Inputs		      "++-"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "delta"
	      Position		      [610, 32, 645, 68]
	      ExternalReset	      none
	      InitialConditionSource      internal
	      InitialCondition	      "delio(1)"
	      LimitOutput	      off
	      UpperSaturationLimit      "inf"
	      LowerSaturationLimit      "-inf"
	      ShowSaturationPort      off
	      ShowStatePort	      off
	      AbsoluteTolerance	      "auto"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "gain2"
	      Position		      [360, 28, 435, 72]
	      Gain		      "1/(2*H(1))"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "gain4"
	      Position		      [545, 28, 595, 72]
	      Gain		      "wb"
	    }
	    Block {
	      BlockType		      Integrator
	      Name		      "slip"
	      Position		      [450, 32, 485, 68]
	      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		      [445, 135, 495, 165]
	      Value		      "1"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "wr"
	      Position		      [540, 120, 555, 160]
	      Inputs		      "++"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "out_delta"
	      Position		      [680, 40, 700, 60]
	      Port		      "1"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "out_puslip"
	      Position		      [675, 94, 695, 116]
	      Port		      "2"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Tem"
	      Position		      [300, 127, 325, 153]
	      Port		      "3"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "wr"
	      SrcPort		      1
	      DstBlock		      "T"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Tacc"
	      SrcPort		      1
	      DstBlock		      "gain2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "id"
	      SrcPort		      1
	      Points		      [25, 0; 0, -35]
	      DstBlock		      "Mux"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "iq"
	      SrcPort		      1
	      Points		      [25, 0; 0, -10]
	      DstBlock		      "Mux"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		Points			[5, 0; 0, 40]
		DstBlock		"Tem"
		DstPort			1
	      }
	      Branch {
		Points			[5, 0; 0, -50]
		DstBlock		"Tacc"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "Fcn"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Eqp"
	      SrcPort		      1
	      Points		      [25, 0; 0, 40]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Edp"
	      SrcPort		      1
	      Points		      [25, 0; 0, 10]
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "slip"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		Points			[25, 0; 0, 55]
		DstBlock		"Damp"
		DstPort			1
	      }
	      Branch {
		DstBlock		"gain4"
		DstPort			1
	      }
	      Branch {
		Points			[25, 0; 0, 55]
		DstBlock		"out_puslip"
		DstPort			1
	      }
	      Branch {
		Points			[25, 0; 0, 80]
		DstBlock		"wr"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "gain4"
	      SrcPort		      1
	      DstBlock		      "delta"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "gain2"
	      SrcPort		      1
	      DstBlock		      "slip"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "we/wb"
	      SrcPort		      1
	      DstBlock		      "wr"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "delta"
	      SrcPort		      1
	      DstBlock		      "out_delta"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "T_mech"
	      SrcPort		      1
	      DstBlock		      "Tacc"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Damp"
	      SrcPort		      1
	      Points		      [-40, 0; 0, -35]
	      DstBlock		      "Tacc"
	      DstPort		      3
	    }
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Position		  [145, 440, 160, 475]
	  Inputs		  "-+"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Sw"
	  Position		  [190, 37, 205, 113]
	  Orientation		  left
	  Threshold		  "0.5"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "VIPQ"
	  Position		  [525, 121, 570, 224]
	  ShowPortLabels	  off
	  System {
	    Name		    "VIPQ"
	    Location		    [206, 374, 894, 807]
	    Open		    off
	    ScreenColor		    white
	    Block {
	      BlockType		      Inport
	      Name		      "vqt"
	      Position		      [45, 155, 65, 175]
	      Port		      "1"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "vdt"
	      Position		      [45, 195, 65, 215]
	      Port		      "2"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "iq"
	      Position		      [45, 235, 65, 255]
	      Port		      "3"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "id"
	      Position		      [45, 275, 65, 295]
	      Port		      "4"
	      PortWidth		      "-1"
	      SampleTime	      "-1"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn"
	      Position		      [230, 232, 385, 258]
	      Expr		      "u[1]*u[3] + u[2]*u[4]"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn1"
	      Position		      [230, 282, 385, 308]
	      Expr		      "u[1]*u[4] - u[2]*u[3]"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn2"
	      Position		      [230, 185, 390, 215]
	      Expr		      "sqrt(u[3]*u[3] + u[4]*u[4])"
	    }
	    Block {
	      BlockType		      Fcn
	      Name		      "Fcn3"
	      Position		      [230, 136, 390, 164]
	      Expr		      "sqrt(u[1]*u[1] + u[2]*u[2])"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Position		      [135, 143, 165, 307]
	      Inputs		      "4"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "out_|Vt|"
	      Position		      [450, 140, 470, 160]
	      Port		      "1"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "out_|I|"
	      Position		      [450, 190, 470, 210]
	      Port		      "2"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "out_P"
	      Position		      [450, 235, 470, 255]
	      Port		      "3"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "out_Q"
	      Position		      [450, 285, 470, 305]
	      Port		      "4"
	      OutputWhenDisabled      held
	      InitialOutput	      "0"
	    }
	    Line {
	      SrcBlock		      "iq"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "vdt"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Fcn2"
	      SrcPort		      1
	      DstBlock		      "out_|I|"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn3"
	      SrcPort		      1
	      DstBlock		      "out_|Vt|"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      Points		      [0, 0]
	      Branch {
		Points			[20, 0; 0, -25]
		DstBlock		"Fcn2"
		DstPort			1
	      }
	      Branch {
		Points			[20, 0; 0, -75]
		DstBlock		"Fcn3"
		DstPort			1
	      }
	      Branch {
		Points			[20, 0; 0, 70]
		DstBlock		"Fcn1"
		DstPort			1
	      }
	      Branch {
		Points			[20, 0; 0, 20]
		DstBlock		"Fcn"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Fcn1"
	      SrcPort		      1
	      DstBlock		      "out_Q"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Fcn"
	      SrcPort		      1
	      DstBlock		      "out_P"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "id"
	      SrcPort		      1
	      DstBlock		      "Mux"
	      DstPort		      4

⌨️ 快捷键说明

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