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

📄 svpwm12345.mdl

📁 这个SVPWM应该是好的。传一个共享哈!呵呵!
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Isabc2"
      Ports		      [3]
      Position		      [1155, 514, 1185, 546]
      Floating		      off
      Location		      [5, 43, 1029, 737]
      Open		      off
      NumInputPorts	      "3"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
      }
      YMin		      "-5~-5~-5"
      YMax		      "5~5~5"
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Permanent Magnet\nSynchronous Machine"
      Ports		      [1, 1, 0, 0, 0, 3]
      Position		      [875, 588, 960, 662]
      FontSize		      11
      SourceBlock	      "powerlib/Machines/Permanent Magnet\nSynchronous"
" Machine"
      SourceType	      "Permanent Magnet Synchronous Machine"
      ShowPortLabels	      on
      FluxDistribution	      "Sinusoidal"
      MechanicalLoad	      "Torque Tm"
      PresetModel	      "01:  0.8 Nm 300 Vdc 3000 RPM - 0.8 Nm"
      ShowDetailedParameters  on
      Resistance	      "18.7"
      Inductance	      "8.5e-3"
      dqInductances	      "[0.02682 0.02682]"
      Flux		      "0.1717"
      Flat		      "120"
      Mechanical	      "[2.26e-005 1.349e-005 2]"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wavea"
      Ports		      [0, 1]
      Position		      [175, 210, 205, 240]
      SineType		      "Time based"
      Amplitude		      "100"
      Frequency		      "30*2*pi"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Waveb"
      Ports		      [0, 1]
      Position		      [175, 265, 205, 295]
      SineType		      "Time based"
      Amplitude		      "100"
      Frequency		      "30*2*pi"
      Phase		      "-2/3*pi"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wavec"
      Ports		      [0, 1]
      Position		      [175, 315, 205, 345]
      SineType		      "Time based"
      Amplitude		      "100"
      Frequency		      "30*2*pi"
      Phase		      "2/3*pi"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Step
      Name		      "Step"
      Position		      [810, 550, 840, 580]
      Time		      "0.04"
      After		      "0.5"
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem2"
      Ports		      [2, 1]
      Position		      [565, 155, 605, 215]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      System {
	Name			"Subsystem2"
	Location		[2, 82, 1014, 721]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Ualfa"
	  Position		  [30, 78, 60, 92]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Ubeta"
	  Position		  [25, 123, 55, 137]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [30, 280, 60, 310]
	  Value			  "300"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [35, 175, 65, 205]
	  Value			  "0.0002"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "N1"
	  Ports			  [2, 1]
	  Position		  [190, 82, 230, 158]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  System {
	    Name		    "N1"
	    Location		    [2, 82, 1014, 721]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Ualfa"
	      Position		      [25, 358, 55, 372]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "Ubeta"
	      Position		      [55, 83, 85, 97]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [175, 25, 205, 55]
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant1"
	      Position		      [165, 460, 195, 490]
	      Value		      "0"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [85, 250, 115, 280]
	      Gain		      "1.732"
	      ParameterDataTypeMode   "Inherit via internal rule"
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [90, 400, 120, 430]
	      Gain		      "-1.732"
	      ParameterDataTypeMode   "Inherit via internal rule"
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain2"
	      Position		      [315, 190, 345, 220]
	      Gain		      "2"
	      ParameterDataTypeMode   "Inherit via internal rule"
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain3"
	      Position		      [325, 355, 355, 385]
	      Gain		      "4"
	      ParameterDataTypeMode   "Inherit via internal rule"
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [150, 177, 185, 233]
	      ShowName		      off
	      Inputs		      "|-+"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum1"
	      Ports		      [2, 1]
	      Position		      [150, 342, 185, 398]
	      ShowName		      off
	      Inputs		      "|-+"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum2"
	      Ports		      [3, 1]
	      Position		      [390, 104, 420, 256]
	      ShowName		      off
	      Inputs		      "|+++"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch"
	      Position		      [250, 54, 285, 126]
	      InputSameDT	      off
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch1"
	      Position		      [250, 169, 285, 241]
	      InputSameDT	      off
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch2"
	      Position		      [250, 334, 285, 406]
	      InputSameDT	      off
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "N"
	      Position		      [510, 173, 540, 187]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Ubeta"
	      SrcPort		      1
	      Points		      [40, 0]
	      Branch {
		DstBlock		"Switch"
		DstPort			2
	      }
	      Branch {
		Labels			[1, 0]
		Points			[0, 115]
		Branch {
		  DstBlock		  "Sum"
		  DstPort		  1
		}
		Branch {
		  Points		  [0, 165]
		  DstBlock		  "Sum1"
		  DstPort		  1
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [20, 0; 0, 25]
	      Branch {
		DstBlock		"Switch"
		DstPort			1
	      }
	      Branch {
		Points			[0, 115]
		Branch {
		  Points		  [0, 165]
		  DstBlock		  "Switch2"
		  DstPort		  1
		}
		Branch {
		  DstBlock		  "Switch1"
		  DstPort		  1
		}
	      }
	    }
	    Line {
	      SrcBlock		      "Ualfa"
	      SrcPort		      1
	      Points		      [10, 0]
	      Branch {
		Points			[0, 50]
		DstBlock		"Gain1"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Gain"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain"
	      SrcPort		      1
	      Points		      [0, -40]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Switch1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum1"
	      SrcPort		      1
	      DstBlock		      "Switch2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Gain1"
	      SrcPort		      1
	      Points		      [5, 0; 0, -25]
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Constant1"
	      SrcPort		      1
	      Points		      [0, 0; 0, -85]
	      Branch {
		Points			[0, -160]
		Branch {
		  Points		  [0, -115]
		  DstBlock		  "Switch"
		  DstPort		  3
		}
		Branch {
		  DstBlock		  "Switch1"
		  DstPort		  3
		}
	      }
	      Branch {
		Points			[35, 0]
		DstBlock		"Switch2"
		DstPort			3
	      }
	    }
	    Line {
	      SrcBlock		      "Switch1"
	      SrcPort		      1
	      DstBlock		      "Gain2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Switch2"
	      SrcPort		      1
	      DstBlock		      "Gain3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      Points		      [25, 0]
	      DstBlock		      "Sum2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Switch"
	      SrcPort		      1
	      Points		      [55, 0; 0, 70]
	      DstBlock		      "Sum2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Gain3"
	      SrcPort		      1
	      Points		      [10, 0; 0, -130]
	      DstBlock		      "Sum2"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      DstBlock		      "N"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope"
	  Ports			  [1]
	  Position		  [635, 54, 665, 86]
	  Floating		  off
	  Location		  [5, 54, 1029, 741]
	  Open			  off
	  NumInputPorts		  "1"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  TimeRange		  "0.4"
	  YMin			  "-2e-005"
	  YMax			  "0.00012"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope1"
	  Ports			  [1]
	  Position		  [330, 44, 360, 76]
	  Floating		  off
	  Location		  [5, 54, 1029, 741]
	  Open			  off
	  NumInputPorts		  "1"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  YMin			  "2"
	  YMax			  "6"
	  SaveName		  "ScopeData1"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope3"
	  Ports			  [2]
	  Position		  [135, 26, 165, 59]
	  Floating		  off
	  Location		  [5, 54, 1029, 741]
	  Open			  off
	  NumInputPorts		  "2"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	    axes2		    "%<SignalLabel>"
	  }
	  TimeRange		  "0.1             "
	  YMin			  "7.5~93"
	  YMax			  "37.5~100"
	  SaveName		  "ScopeData2"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope6"
	  Ports			  [1]
	  Position		  [510, 29, 540, 61]
	  Floating		  off
	  Location		  [5, 54, 1029, 741]
	  Open			  off
	  NumInputPorts		  "1"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  YMin			  "2"
	  YMax			  "6"
	  SaveName		  "ScopeData3"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	  SampleTime		  "0"
	}

⌨️ 快捷键说明

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