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

📄 work003.mdl

📁 华科控制系的最新交流电机讲义
💻 MDL
📖 第 1 页 / 共 4 页
字号:
Model {
  Name			  "ACcontroler"
  Version		  4.00
  SampleTimeColors	  off
  LibraryLinkDisplay	  "none"
  WideLines		  off
  ShowLineDimensions	  off
  ShowPortDataTypes	  off
  ShowStorageClass	  off
  ExecutionOrder	  off
  RecordCoverage	  off
  CovPath		  "/"
  CovSaveName		  "covdata"
  CovMetricSettings	  "dw"
  CovNameIncrementing	  off
  CovHtmlReporting	  on
  BlockNameDataTip	  off
  BlockParametersDataTip  off
  BlockDescriptionStringDataTip	off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  InitFcn		  "powericon('psbinitsys',bdroot);"
  Created		  "Wed Apr 03 09:25:55 2002"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "Administrator"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Thu Jun 13 23:59:36 2002"
  ModelVersionFormat	  "1.%<AutoIncrement:11>"
  ConfigurationManager	  "None"
  SimParamPage		  "Solver"
  StartTime		  "0.0"
  StopTime		  "1.0"
  SolverMode		  "Auto"
  Solver		  "ode45"
  RelTol		  "1e-3"
  AbsTol		  "auto"
  Refine		  "1"
  MaxStep		  "auto"
  MinStep		  "auto"
  MaxNumMinSteps	  "-1"
  InitialStep		  "auto"
  FixedStep		  "auto"
  MaxOrder		  5
  OutputOption		  "RefineOutputTimes"
  OutputTimes		  "[]"
  LoadExternalInput	  off
  ExternalInput		  "[t, u]"
  SaveTime		  on
  TimeSaveName		  "tout"
  SaveState		  off
  StateSaveName		  "xout"
  SaveOutput		  on
  OutputSaveName	  "yout"
  LoadInitialState	  off
  InitialState		  "xInitial"
  SaveFinalState	  off
  FinalStateName	  "xFinal"
  SaveFormat		  "Array"
  LimitDataPoints	  on
  MaxDataPoints		  "1000"
  Decimation		  "1"
  AlgebraicLoopMsg	  "warning"
  MinStepSizeMsg	  "warning"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  SingleTaskRateTransMsg  "none"
  MultiTaskRateTransMsg	  "error"
  IntegerOverflowMsg	  "warning"
  CheckForMatrixSingularity "none"
  UnnecessaryDatatypeConvMsg "none"
  Int32ToFloatConvMsg	  "warning"
  InvalidFcnCallConnMsg	  "error"
  SignalLabelMismatchMsg  "none"
  LinearizationMsg	  "none"
  VectorMatrixConversionMsg "none"
  SfunCompatibilityCheckMsg "none"
  BlockPriorityViolationMsg "warning"
  ArrayBoundsChecking	  "none"
  ConsistencyChecking	  "none"
  ZeroCross		  on
  Profile		  off
  SimulationMode	  "normal"
  RTWSystemTargetFile	  "grt.tlc"
  RTWInlineParameters	  off
  RTWRetainRTWFile	  off
  RTWTemplateMakefile	  "grt_default_tmf"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  TLCProfiler		  off
  TLCDebug		  off
  TLCCoverage		  off
  AccelSystemTargetFile	  "accel.tlc"
  AccelTemplateMakefile	  "accel_default_tmf"
  AccelMakeCommand	  "make_rtw"
  TryForcingSFcnDF	  off
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "normal"
  ExtModeTrigPort	  "1"
  ExtModeTrigElement	  "any"
  ExtModeTrigDuration	  1000
  ExtModeTrigHoldOff	  0
  ExtModeTrigDelay	  0
  ExtModeTrigDirection	  "rising"
  ExtModeTrigLevel	  0
  ExtModeArchiveMode	  "off"
  ExtModeAutoIncOneShot	  off
  ExtModeIncDirWhenArm	  off
  ExtModeAddSuffixToVar	  off
  ExtModeWriteAllDataToWs off
  ExtModeArmWhenConnect	  on
  ExtModeSkipDownloadWhenConnect off
  ExtModeLogAll		  on
  ExtModeAutoUpdateStatusClock on
  OptimizeBlockIOStorage  on
  BufferReuse		  on
  ParameterPooling	  on
  BlockReductionOpt	  on
  RTWExpressionDepthLimit 5
  BooleanDataType	  off
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  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		    "ACcontroler"
    Location		    [2, 70, 1022, 748]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "automatic"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "98"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "Bus Bar (thin horiz)"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [0, 2]
      Position		      [577, 160, 628, 165]
      Orientation	      "up"
      ShowName		      off
      SourceBlock	      "powerlib2/Connectors/Bus Bar (thin horiz)"
      SourceType	      "Bus Bar"
      input		      "0"
      output		      "2"
      PSBOutputType	      "11111111111111111111111111111111111111111111111"
"1111111111111111111111111111111111111"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Current Regulator"
      Ports		      [2, 1]
      Position		      [495, 145, 555, 205]
      NamePlacement	      "alternate"
      ShowPortLabels	      on
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      MaskType		      "Regulateur de courant a hysteresis"
      MaskPromptString	      "Hysteresis band (A)"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "h=@1;"
      MaskIconFrame	      on
      MaskIconOpaque	      off
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "20"
      System {
	Name			"Current Regulator"
	Location		[251, 575, 715, 769]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Iabc*"
	  Position		  [25, 128, 55, 142]
	  Port			  "1"
	  LatchInput		  off
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "Iabc"
	  Position		  [25, 33, 55, 47]
	  Port			  "2"
	  LatchInput		  off
	  Interpolate		  on
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type \nConversion"
	  Position		  [260, 44, 280, 66]
	  ShowName		  off
	  DataType		  "boolean"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type \nConversion1"
	  Position		  [345, 44, 365, 66]
	  ShowName		  off
	  DataType		  "double"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type \nConversion2"
	  Position		  [345, 94, 365, 116]
	  ShowName		  off
	  DataType		  "double"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type \nConversion3"
	  Position		  [345, 144, 365, 166]
	  ShowName		  off
	  DataType		  "double"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type \nConversion4"
	  Position		  [250, 94, 270, 116]
	  ShowName		  off
	  DataType		  "boolean"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type \nConversion5"
	  Position		  [250, 144, 270, 166]
	  ShowName		  off
	  DataType		  "boolean"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux1"
	  Ports			  [1, 3]
	  Position		  [85, 20, 90, 60]
	  ShowName		  off
	  Outputs		  "3"
	  BusSelectionMode	  off
	}
	Block {
	  BlockType		  Demux
	  Name			  "Demux2"
	  Ports			  [1, 3]
	  Position		  [85, 115, 90, 155]
	  ShowName		  off
	  Outputs		  "3"
	  BusSelectionMode	  off
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator"
	  Ports			  [1, 1]
	  Position		  [295, 45, 325, 65]
	  ShowName		  off
	  Operator		  "NOT"
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator1"
	  Ports			  [1, 1]
	  Position		  [290, 95, 320, 115]
	  ShowName		  off
	  Operator		  "NOT"
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Logic
	  Name			  "Logical\nOperator2"
	  Ports			  [1, 1]
	  Position		  [290, 145, 320, 165]
	  ShowName		  off
	  Operator		  "NOT"
	  Inputs		  "2"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [6, 1]
	  Position		  [400, 15, 405, 170]
	  ShowName		  off
	  Inputs		  "6"
	  DisplayOption		  "none"
	}
	Block {
	  BlockType		  Relay
	  Name			  "Relay"
	  Position		  [200, 17, 220, 43]
	  ShowName		  off
	  OnSwitchValue		  "h/2"
	  OffSwitchValue	  "-h/2"
	  OnOutputValue		  "1"
	  OffOutputValue	  "0"
	}
	Block {
	  BlockType		  Relay
	  Name			  "Relay1"
	  Position		  [200, 67, 220, 93]
	  ShowName		  off
	  OnSwitchValue		  "h/2"
	  OffSwitchValue	  "-h/2"
	  OnOutputValue		  "1"
	  OffOutputValue	  "0"
	}
	Block {
	  BlockType		  Relay
	  Name			  "Relay2"
	  Position		  [200, 117, 220, 143]
	  ShowName		  off
	  OnSwitchValue		  "h/2"
	  OffSwitchValue	  "-h/2"
	  OnOutputValue		  "1"
	  OffOutputValue	  "0"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [160, 19, 180, 41]
	  ShowName		  off
	  IconShape		  "rectangular"
	  Inputs		  "-+"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [160, 69, 180, 91]
	  ShowName		  off
	  IconShape		  "rectangular"
	  Inputs		  "-+"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [160, 119, 180, 141]
	  ShowName		  off
	  IconShape		  "rectangular"
	  Inputs		  "-+"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Outport
	  Name			  "Pulses"
	  Position		  [425, 88, 455, 102]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Relay"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Relay1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  2
	  Points		  [25, 0; 0, 35]
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "Pulses"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Iabc"
	  SrcPort		  1
	  DstBlock		  "Demux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "Relay2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux1"
	  SrcPort		  3
	  Points		  [15, 0; 0, 70]
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  3
	  Points		  [50, 0]
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  2
	  Points		  [45, 0; 0, -50]
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Demux2"
	  SrcPort		  1
	  Points		  [35, 0; 0, -85]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Iabc*"
	  SrcPort		  1
	  DstBlock		  "Demux2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Relay"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "Mux"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Data Type \nConversion"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Relay1"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Mux"
	    DstPort		    3
	  }
	  Branch {
	    DstBlock		    "Data Type \nConversion4"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Relay2"
	  SrcPort		  1
	  Points		  [5, 0]
	  Branch {
	    DstBlock		    "Mux"
	    DstPort		    5
	  }
	  Branch {
	    Points		    [0, 25]
	    DstBlock		    "Data Type \nConversion5"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Data Type \nConversion"
	  SrcPort		  1
	  DstBlock		  "Logical\nOperator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Logical\nOperator"
	  SrcPort		  1
	  DstBlock		  "Data Type \nConversion1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type \nConversion1"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Logical\nOperator1"
	  SrcPort		  1
	  DstBlock		  "Data Type \nConversion2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type \nConversion2"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Logical\nOperator2"
	  SrcPort		  1
	  DstBlock		  "Data Type \nConversion3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type \nConversion3"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "Data Type \nConversion4"
	  SrcPort		  1
	  DstBlock		  "Logical\nOperator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type \nConversion5"
	  SrcPort		  1
	  DstBlock		  "Logical\nOperator2"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Demux"
      Ports		      [1, 3]
      Position		      [845, 109, 885, 221]
      NamePlacement	      "alternate"
      SourceBlock	      "powerlib2/Machines/Machines\nMeasurement\nDemux"
      SourceType	      "Machine measurements"
      machType		      "Asynchronous"
      ssm1		      on
      ssm2		      on
      ssm3		      on
      ssm4		      on
      ssm5		      on
      ssm6		      on

⌨️ 快捷键说明

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