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

📄 testmotor.mdl

📁 永磁同步电机的仿真模型
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	      InitialOutput	      "[]"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Xc"
	      Position		      [625, 103, 655, 117]
	      Port		      "3"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Trigonometric\nFunction2"
	      SrcPort		      1
	      Points		      [10, 0; 0, -90]
	      Branch {
		Points			[0, -55]
		DstBlock		"Product1 Xsq*sina"
		DstPort			2
	      }
	      Branch {
		DstBlock		"Product2 Xsd*sina"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Product3 Xsq*cosa"
	      SrcPort		      1
	      DstBlock		      "Sum2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product1 Xsq*sina"
	      SrcPort		      1
	      Points		      [50, 0]
	      DstBlock		      "Sum5"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product Xsd*cosa"
	      SrcPort		      1
	      Points		      [50, 0]
	      DstBlock		      "Sum5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Trigonometric\nFunction3"
	      SrcPort		      1
	      Points		      [0, 0; 50, 0]
	      Branch {
		Points			[0, -145]
		DstBlock		"Product Xsd*cosa"
		DstPort			2
	      }
	      Branch {
		Points			[0, 25]
		DstBlock		"Product3 Xsq*cosa"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Product2 Xsd*sina"
	      SrcPort		      1
	      Points		      [55, 0]
	      DstBlock		      "Sum2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Xd"
	      SrcPort		      1
	      Points		      [0, 0; 30, 0]
	      Branch {
		DstBlock		"Product Xsd*cosa"
		DstPort			1
	      }
	      Branch {
		Points			[0, 115]
		DstBlock		"Product2 Xsd*sina"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Xq"
	      SrcPort		      1
	      Points		      [0, 0; 50, 0]
	      Branch {
		DstBlock		"Product1 Xsq*sina"
		DstPort			1
	      }
	      Branch {
		Points			[0, 110]
		DstBlock		"Product3 Xsq*cosa"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "theta"
	      SrcPort		      1
	      Points		      [0, 0; 5, 0]
	      Branch {
		Points			[0, -30]
		DstBlock		"Trigonometric\nFunction3"
		DstPort			1
	      }
	      Branch {
		Points			[0, 30]
		DstBlock		"Trigonometric\nFunction2"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Sum5"
	      SrcPort		      1
	      DstBlock		      "Gain3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      Points		      [45, 0]
	      Branch {
		DstBlock		"Gain1"
		DstPort			1
	      }
	      Branch {
		Points			[0, -50]
		DstBlock		"Gain2"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      DstBlock		      "Xa"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain3"
	      SrcPort		      1
	      Points		      [25, 0]
	      Branch {
		Points			[0, 60]
		DstBlock		"Sum1"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Sum3"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      Points		      [5, 0; 0, -15]
	      Branch {
		DstBlock		"Sum1"
		DstPort			2
	      }
	      Branch {
		Points			[0, -60]
		DstBlock		"Sum3"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Gain4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain4"
	      SrcPort		      1
	      DstBlock		      "Xb"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sum3"
	      SrcPort		      1
	      DstBlock		      "Gain5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain5"
	      SrcPort		      1
	      DstBlock		      "Xc"
	      DstPort		      1
	    }
	    Annotation {
	      Position		      [391, 231]
	      Text		      "xa"
	    }
	    Annotation {
	      Position		      [387, 96]
	      Text		      "xb"
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "ia"
	  Position		  [645, 98, 675, 112]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "ib"
	  Position		  [645, 128, 675, 142]
	  Port			  "2"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "ic"
	  Position		  [645, 158, 675, 172]
	  Port			  "3"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "wr"
	  Position		  [535, 208, 565, 222]
	  Port			  "4"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "theta"
	  Position		  [535, 263, 565, 277]
	  Port			  "5"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Te"
	  Position		  [535, 318, 565, 332]
	  Port			  "6"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "   "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "vcn"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "vbn"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "van"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "   "
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "   "
	  SrcPort		  2
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "TL"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "S-Function"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "S-Function"
	  SrcPort		  1
	  DstBlock		  "Demux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  1
	  DstBlock		  "dq->abc"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  2
	  Points		  [15, 0; 0, -25]
	  DstBlock		  "dq->abc"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  3
	  DstBlock		  "wr"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  5
	  DstBlock		  "Te"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux"
	  SrcPort		  4
	  Points		  [35, 0]
	  Branch {
	    DstBlock		    "theta"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 105; -365, 0]
	    DstBlock		    "   "
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -105]
	    DstBlock		    "dq->abc"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "dq->abc"
	  SrcPort		  1
	  DstBlock		  "ia"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "dq->abc"
	  SrcPort		  2
	  DstBlock		  "ib"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "dq->abc"
	  SrcPort		  3
	  DstBlock		  "ic"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "ia"
      Ports		      [1]
      Position		      [470, 64, 500, 96]
      Floating		      off
      Location		      [1, 49, 801, 571]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "70"
      YMax		      "260"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "ib"
      Ports		      [1]
      Position		      [470, 129, 500, 161]
      Floating		      off
      Location		      [1, 49, 801, 571]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-20"
      YMax		      "20"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "ic"
      Ports		      [1]
      Position		      [470, 194, 500, 226]
      Floating		      off
      Location		      [1, 49, 801, 571]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-40"
      YMax		      "45"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "theta"
      Ports		      [1]
      Position		      [470, 324, 500, 356]
      Floating		      off
      Location		      [1, 49, 801, 571]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "135"
      YMax		      "187.5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "wr"
      Ports		      [1]
      Position		      [470, 259, 500, 291]
      Floating		      off
      Location		      [5, 53, 805, 575]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      Grid		      "on"
      TimeRange		      "0.35"
      YMin		      "-450"
      YMax		      "-125"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Line {
      SrcBlock		      "Step"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Step1"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sine Wave"
      SrcPort		      1
      DstBlock		      "abcmotor"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sine Wave1"
      SrcPort		      1
      DstBlock		      "abcmotor"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sine Wave2"
      SrcPort		      1
      DstBlock		      "abcmotor"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [20, 0; 0, -50]
      DstBlock		      "abcmotor"
      DstPort		      4
    }
    Line {
      SrcBlock		      "abcmotor"
      SrcPort		      1
      Points		      [15, 0; 0, -65]
      DstBlock		      "ia"
      DstPort		      1
    }
    Line {
      SrcBlock		      "abcmotor"
      SrcPort		      2
      Points		      [30, 0; 0, -25]
      DstBlock		      "ib"
      DstPort		      1
    }
    Line {
      SrcBlock		      "abcmotor"
      SrcPort		      3
      Points		      [30, 0; 0, 15]
      DstBlock		      "ic"
      DstPort		      1
    }
    Line {
      SrcBlock		      "abcmotor"
      SrcPort		      4
      Points		      [60, 0; 0, 20]
      Branch {
	Points			[0, 35]
	DstBlock		"wr"
	DstPort			1
      }
      Branch {
	DstBlock		"Display"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "abcmotor"
      SrcPort		      5
      Points		      [35, 0; 0, 95]
      DstBlock		      "theta"
      DstPort		      1
    }
    Line {
      SrcBlock		      "abcmotor"
      SrcPort		      6
      Points		      [20, 0; 0, 135]
      DstBlock		      "Te"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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