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

📄 exm080434_1.mdl

📁 matlab程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Logic1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Abs1"
	  SrcPort		  1
	  DstBlock		  "RDV"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Derivative"
	  SrcPort		  1
	  DstBlock		  "Abs1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "PI DVmax"
	  SrcPort		  1
	  Points		  [35, 0]
	  DstBlock		  "RDV"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "RDV"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Logic1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "PI Vmax2"
	  SrcPort		  1
	  DstBlock		  "RV2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "RV2"
	  SrcPort		  1
	  DstBlock		  "Logic2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    DstBlock		    "Abs"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -105]
	    DstBlock		    "Serr"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Abs"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [70, 0]
	    Branch {
	      DstBlock		      "RV1"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, -40]
	      DstBlock		      "RV2"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [0, 30; -45, 0; 0, 25]
	    DstBlock		    "Derivative"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "SaIn -"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "ScIn +"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "P Controller"
      Ports		      [1, 1, 1]
      Position		      [190, 125, 260, 155]
      NamePlacement	      "alternate"
      TreatAsAtomicUnit	      on
      System {
	Name			"P Controller"
	Location		[148, 173, 646, 473]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Serr"
	  Position		  [110, 93, 140, 107]
	}
	Block {
	  BlockType		  EnablePort
	  Name			  "Enable"
	  Ports			  []
	  Position		  [165, 45, 185, 65]
	  StatesWhenEnabling	  "reset"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [185, 85, 215, 115]
	  Gain			  "50"
	}
	Block {
	  BlockType		  Outport
	  Name			  "FcOut"
	  Position		  [250, 93, 280, 107]
	}
	Line {
	  SrcBlock		  "Serr"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "FcOut"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "PI Controller"
      Ports		      [1, 1, 1]
      Position		      [190, 60, 260, 90]
      TreatAsAtomicUnit	      on
      System {
	Name			"PI Controller"
	Location		[203, 175, 701, 475]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Serr"
	  Position		  [40, 118, 70, 132]
	}
	Block {
	  BlockType		  EnablePort
	  Name			  "Enable"
	  Ports			  []
	  Position		  [165, 65, 185, 85]
	  StatesWhenEnabling	  "reset"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [165, 165, 195, 195]
	}
	Block {
	  BlockType		  Gain
	  Name			  "Ki"
	  Position		  [115, 165, 145, 195]
	  Gain			  "10"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Kp"
	  Position		  [115, 110, 145, 140]
	  Gain			  "25"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [215, 115, 235, 135]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	}
	Block {
	  BlockType		  Outport
	  Name			  "FcOut"
	  Position		  [275, 118, 305, 132]
	  OutputWhenDisabled	  "reset"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Kp"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Ki"
	  SrcPort		  1
	  DstBlock		  "Integrator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator"
	  SrcPort		  1
	  Points		  [25, 0]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "FcOut"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Serr"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Kp"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 55]
	    DstBlock		    "Ki"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "SaveSwitchTime"
      Ports		      [1, 1, 0, 1]
      Position		      [170, 243, 280, 287]
      Orientation	      "left"
      TreatAsAtomicUnit	      on
      System {
	Name			"SaveSwitchTime"
	Location		[283, 140, 534, 248]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "ClockIn"
	  Position		  [50, 58, 80, 72]
	}
	Block {
	  BlockType		  TriggerPort
	  Name			  "Trigger"
	  Ports			  []
	  Position		  [100, 20, 120, 40]
	  TriggerType		  "falling"
	}
	Block {
	  BlockType		  Outport
	  Name			  "SwitchTimeOut"
	  Position		  [145, 58, 175, 72]
	}
	Line {
	  SrcBlock		  "ClockIn"
	  SrcPort		  1
	  DstBlock		  "SwitchTimeOut"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [510, 179, 540, 211]
      NamePlacement	      "alternate"
      Location		      [641, 163, 965, 403]
      Open		      on
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "0"
      YMax		      "100"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [320, 164, 350, 196]
      NamePlacement	      "alternate"
      Location		      [659, 485, 983, 725]
      Open		      on
      NumInputPorts	      "1"
      ZoomMode		      "yonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      YMin		      "-0.5"
      YMax		      "1.5"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [290, 65, 310, 105]
      ShowName		      off
    }
    Block {
      BlockType		      Display
      Name		      "SwitchTime"
      Ports		      [1]
      Position		      [30, 250, 120, 280]
      Orientation	      "left"
      Decimation	      "1"
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      DstBlock		      "Automobile Model"
      DstPort		      1
    }
    Line {
      Name		      "x'"
      Labels		      [0, 0]
      SrcBlock		      "Automobile Model"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Points			[0, -75; -505, 0; 0, 70]
	DstBlock		"Model Selector"
	DstPort			1
      }
      Branch {
	Points			[0, 60; -50, 0; 0, 35]
	Branch {
	  DstBlock		  "Scope"
	  DstPort		  1
	}
	Branch {
	  DstBlock		  "ActiveSpeed"
	  DstPort		  1
	}
      }
    }
    Line {
      Labels		      [2, 0]
      SrcBlock		      "Model Selector"
      SrcPort		      1
      Points		      [10, 0; 0, -50; 70, 0]
      DstBlock		      "PI Controller"
      DstPort		      enable
    }
    Line {
      SrcBlock		      "Clock"
      SrcPort		      1
      Points		      [-25, 0]
      Branch {
	DstBlock		"SaveSwitchTime"
	DstPort			1
      }
      Branch {
	Points			[0, -150]
	DstBlock		"Automobile Model"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "SaveSwitchTime"
      SrcPort		      1
      DstBlock		      "SwitchTime"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Model Selector"
      SrcPort		      2
      Points		      [20, 0]
      Branch {
	Points			[0, -30]
	DstBlock		"PI Controller"
	DstPort			1
      }
      Branch {
	Points			[0, 35]
	DstBlock		"P Controller"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Model Selector"
      SrcPort		      3
      Points		      [10, 0; 0, 60; 70, 0]
      Branch {
	DstBlock		"Scope1"
	DstPort			1
      }
      Branch {
	DstBlock		"SaveSwitchTime"
	DstPort			trigger
      }
      Branch {
	DstBlock		"P Controller"
	DstPort			enable
      }
    }
    Line {
      SrcBlock		      "PI Controller"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "P Controller"
      SrcPort		      1
      Points		      [10, 0]
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Constant"
      SrcPort		      1
      DstBlock		      "DesiredSpeed "
      DstPort		      1
    }
    Line {
      Name		      "x'c"
      Labels		      [1, 0]
      SrcBlock		      "DesiredSpeed "
      SrcPort		      1
      Points		      [-15, 0; 0, -105]
      DstBlock		      "Model Selector"
      DstPort		      2
    }
    Annotation {
      Name		      "Sum"
      Position		      [300, 113]
    }
  }
}

⌨️ 快捷键说明

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