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

📄 buck.mdl

📁 buck直流-直流转换器的simulink建模 电压反馈和电流反馈
💻 MDL
📖 第 1 页 / 共 2 页
字号:
      TimeSource	      "Use simulation time"
      Amplitude		      "1"
      Period		      "2"
      PulseWidth	      "1"
      PhaseDelay	      "0"
      SampleTime	      "1"
      VectorParams1D	      on
    }
    Block {
      BlockType		      From
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      Goto
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      Inport
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      Interpolate	      on
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      PMComponent
      SubClassName	      "unknown"
    }
    Block {
      BlockType		      PMIOPort
    }
    Block {
      BlockType		      Scope
      Floating		      off
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Terminator
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "buck"
    Location		    [2, 82, 1270, 977]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "125"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "C"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [456, 470, 484, 540]
      Orientation	      "up"
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      Resistance	      "0"
      Inductance	      "0"
      Capacitance	      "5e-5"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Current Measurement"
      Ports		      [0, 1, 0, 0, 0, 1, 1]
      Position		      [405, 393, 430, 417]
      SourceBlock	      "powerlib/Measurements/Current Measurement"
      SourceType	      "Current Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Complex"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "DC Voltage Source"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [135, 460, 155, 495]
      Orientation	      "up"
      SourceBlock	      "powerlib/Electrical\nSources/DC Voltage Source"
      SourceType	      "DC Voltage Source"
      ShowPortLabels	      on
      Amplitude		      "20"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Diode"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [270, 445, 310, 500]
      Orientation	      "up"
      SourceBlock	      "powerlib/Power\nElectronics/Diode"
      SourceType	      "Diode"
      ShowPortLabels	      on
      Ron		      "0.001"
      Lon		      "0"
      Vf		      "0.8"
      IC		      "0"
      Rs		      "500"
      Cs		      "250e-9"
      Measurements	      off
    }
    Block {
      BlockType		      Reference
      Name		      "Ground"
      Ports		      [0, 0, 0, 0, 0, 1]
      Position		      [364, 580, 386, 605]
      Orientation	      "down"
      ShowName		      off
      SourceBlock	      "powerlib/Elements/Ground"
      SourceType	      "Ground"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
    }
    Block {
      BlockType		      Reference
      Name		      "Ideal Switch"
      Ports		      [1, 1, 0, 0, 0, 1, 1]
      Position		      [180, 310, 235, 350]
      SourceBlock	      "powerlib/Power\nElectronics/Ideal Switch"
      SourceType	      "Ideal Switch"
      ShowPortLabels	      on
      Ron		      "0.001"
      Lon		      "0"
      IC		      "0"
      Rs		      "1e5"
      Cs		      "inf"
      Measurements	      on
    }
    Block {
      BlockType		      Reference
      Name		      "L"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [310, 379, 365, 431]
      AttributesFormatString  "\\n"
      SourceBlock	      "powerlib/Elements/Parallel RLC Branch"
      SourceType	      "Parallel RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "a"
      RConnTagsString	      "__new0"
      Resistance	      "inf"
      Inductance	      "2e-4"
      Capacitance	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [705, 461, 710, 499]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      DiscretePulseGenerator
      Name		      "Pulse\nGenerator"
      Ports		      [0, 1]
      Position		      [65, 253, 110, 287]
      PulseType		      "Time based"
      Period		      "1e-4"
      PulseWidth	      "40"
    }
    Block {
      BlockType		      Reference
      Name		      "R"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [526, 475, 554, 545]
      Orientation	      "up"
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      Resistance	      "5"
      Inductance	      "0"
      Capacitance	      "inf"
      Measurements	      "None"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [770, 464, 800, 496]
      Location		      [575, 141, 1207, 549]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      YMin		      "-1"
      YMax		      "15"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Terminator
      Name		      "Terminator"
      Position		      [310, 260, 330, 280]
    }
    Block {
      BlockType		      Reference
      Name		      "Voltage Measurement"
      Ports		      [0, 1, 0, 0, 0, 2]
      Position		      [615, 478, 640, 502]
      SourceBlock	      "powerlib/Measurements/Voltage Measurement"
      SourceType	      "Voltage Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Complex"
      PSBequivalent	      "0"
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "L"
      SrcPort		      RConn1
      DstBlock		      "Current Measurement"
      DstPort		      LConn1
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "L"
      SrcPort		      LConn1
      Points		      [-5, 0]
      Branch {
	ConnectType		"DEST_SRC"
	DstBlock		"Diode"
	DstPort			RConn1
      }
      Branch {
	ConnectType		"DEST_DEST"
	SrcBlock		"Ideal Switch"
	SrcPort			RConn1
	Points			[0, 65; 40, 0]
      }
    }
    Line {
      LineType		      "Connection"
      Points		      [540, 560; 0, 0]
      DstBlock		      "R"
      DstPort		      LConn1
      Branch {
	ConnectType		"SRC_DEST"
	Points			[470, 565; 70, 0; 0, -5]
	Branch {
	  ConnectType		  "SRC_DEST"
	  SrcBlock		  "C"
	  SrcPort		  LConn1
	  Points		  [0, 0; 0, 10]
	}
	Branch {
	  ConnectType		  "SRC_SRC"
	  Points		  [-95, 0]
	  Branch {
	    ConnectType		    "DEST_SRC"
	    Points		    [-85, 0]
	    Branch {
	      ConnectType	      "DEST_SRC"
	      DstBlock		      "Diode"
	      DstPort		      LConn1
	    }
	    Branch {
	      ConnectType	      "DEST_SRC"
	      Points		      [-145, 0]
	      DstBlock		      "DC Voltage Source"
	      DstPort		      LConn1
	    }
	  }
	  Branch {
	    ConnectType		    "DEST_SRC"
	    DstBlock		    "Ground"
	    DstPort		    LConn1
	  }
	}
      }
      Branch {
	ConnectType		"SRC_SRC"
	Points			[0, 5; 60, 0]
	DstBlock		"Voltage Measurement"
	DstPort			LConn2
      }
    }
    Line {
      LineType		      "Connection"
      Points		      [540, 450; 0, 10]
      DstBlock		      "R"
      DstPort		      RConn1
      Branch {
	ConnectType		"SRC_DEST"
	SrcBlock		"Voltage Measurement"
	SrcPort			LConn1
	Points			[-20, 0; 0, -35; -40, 0]
      }
      Branch {
	ConnectType		"SRC_SRC"
	Points			[-70, 0]
	Branch {
	  ConnectType		  "DEST_SRC"
	  DstBlock		  "C"
	  DstPort		  RConn1
	}
	Branch {
	  ConnectType		  "DEST_DEST"
	  SrcBlock		  "Current Measurement"
	  SrcPort		  RConn1
	  Points		  [25, 0; 0, 40]
	}
      }
    }
    Line {
      Labels		      [2, 0]
      SrcBlock		      "Ideal Switch"
      SrcPort		      1
      Points		      [40, 0; 0, -50]
      DstBlock		      "Terminator"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Pulse\nGenerator"
      SrcPort		      1
      Points		      [30, 0; 0, 50]
      DstBlock		      "Ideal Switch"
      DstPort		      1
    }
    Line {
      LineType		      "Connection"
      SrcBlock		      "Ideal Switch"
      SrcPort		      LConn1
      Points		      [-20, 0]
      DstBlock		      "DC Voltage Source"
      DstPort		      RConn1
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Voltage Measurement"
      SrcPort		      1
      DstBlock		      "Mux"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Current Measurement"
      SrcPort		      1
      Points		      [205, 0; 0, 70]
      DstBlock		      "Mux"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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