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

📄 im0623.mdl

📁 (1)变换模块 本模块包含两部分内容:利用 反变换规则将 坐标系下的两相电流转换成三相电流;利用间接矢量控制
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      LUTDesignDataSource     "Block Dialog"
      LUTDesignFunctionName   "sqrt(x)"
      LUTDesignUseExistingBP  on
      LUTDesignRelError	      "0.01"
      LUTDesignAbsError	      "1e-6"
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      UseBusObject	      off
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      UseBusObject	      off
      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		      Product
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Relay
      OnSwitchValue	      "eps"
      OffSwitchValue	      "eps"
      OnOutputValue	      "1"
      OffOutputValue	      "0"
      OutputDataTypeScalingMode	"All ports same datatype"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      ConRadixGroup	      "Use specified scaling"
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      RelationalOperator
      Operator		      ">="
      InputSameDT	      on
      LogicOutDataTypeMode    "Logical (see Configuration Parameters: Optimiza"
"tion)"
      LogicDataType	      "uint(8)"
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Saturate
      UpperLimit	      "0.5"
      LowerLimit	      "-0.5"
      LinearizeAsGain	      on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Scope
      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	      "-1"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    Block {
      BlockType		      Step
      Time		      "1"
      Before		      "0"
      After		      "1"
      SampleTime	      "-1"
      VectorParams1D	      on
      ZeroCross		      on
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Switch
      Criteria		      "u2 >= Threshold"
      Threshold		      "0"
      InputSameDT	      on
      OutDataTypeMode	      "Inherit via internal rule"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Terminator
    }
    Block {
      BlockType		      ToWorkspace
      VariableName	      "simulink_output"
      MaxDataPoints	      "1000"
      Decimation	      "1"
      SampleTime	      "0"
      FixptAsFi		      off
    }
    Block {
      BlockType		      TransferFcn
      Numerator		      "[1]"
      Denominator	      "[1 2 1]"
      AbsoluteTolerance	      "auto"
      Realization	      "auto"
    }
  }
  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		    "IM0623"
    Location		    [31, 82, 1026, 721]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Clock
      Name		      "Clock"
      Position		      [570, 15, 590, 35]
      DisplayTime	      on
      Decimation	      "10"
    }
    Block {
      BlockType		      Constant
      Name		      "Flux_r (Wb)"
      Position		      [40, 129, 70, 151]
      Value		      "0.6"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [305, 80, 335, 110]
      Gain		      "3*0.447^2/0.505"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Hysteresis\ncurrent controller"
      Ports		      [6, 3]
      Position		      [435, 175, 485, 260]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      System {
	Name			"Hysteresis\ncurrent controller"
	Location		[491, 246, 761, 468]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "isa"
	  Position		  [15, 16, 35, 34]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "isb"
	  Position		  [15, 46, 35, 64]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "isc"
	  Position		  [15, 76, 35, 94]
	  Port			  "3"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "isa'"
	  Position		  [15, 106, 35, 124]
	  Port			  "4"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "isb'"
	  Position		  [15, 136, 35, 154]
	  Port			  "5"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "isc'"
	  Position		  [15, 165, 35, 185]
	  Port			  "6"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Relay
	  Name			  " Hysteresis\ncontroller "
	  Position		  [160, 158, 190, 182]
	  OnSwitchValue		  "0.1"
	  OffSwitchValue	  "-0.1"
	  OffOutputValue	  "-1"
	}
	Block {
	  BlockType		  Relay
	  Name			  "Hysteresis\ncontroller"
	  Position		  [160, 18, 190, 42]
	  OnSwitchValue		  "0.1"
	  OffSwitchValue	  "-0.1"
	  OffOutputValue	  "-1"
	}
	Block {
	  BlockType		  Relay
	  Name			  "Hysteresis\ncontroller "
	  Position		  [160, 88, 190, 112]
	  OnSwitchValue		  "0.1"
	  OffSwitchValue	  "-0.1"
	  OffOutputValue	  "-1"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [115, 20, 135, 40]
	  Inputs		  "+-"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [115, 90, 135, 110]
	  Inputs		  "+-"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [2, 1]
	  Position		  [115, 160, 135, 180]
	  Inputs		  "+-"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Na"
	  Position		  [230, 21, 250, 39]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Nb"
	  Position		  [230, 90, 250, 110]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Nc"
	  Position		  [230, 161, 250, 179]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  " Hysteresis\ncontroller "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "Hysteresis\ncontroller "
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Hysteresis\ncontroller"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "isa"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "isa'"
	  SrcPort		  1
	  Points		  [35, 0; 0, -80]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "isb"
	  SrcPort		  1
	  Points		  [60, 0]
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "isb'"
	  SrcPort		  1
	  Points		  [60, 0]
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "isc"
	  SrcPort		  1
	  Points		  [15, 0; 0, 80]
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "isc'"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Hysteresis\ncontroller"
	  SrcPort		  1
	  DstBlock		  "Na"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Hysteresis\ncontroller "
	  SrcPort		  1
	  DstBlock		  "Nb"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  " Hysteresis\ncontroller "
	  SrcPort		  1
	  DstBlock		  "Nc"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "IM Model"
      Ports		      [3, 6]
      Position		      [655, 182, 745, 298]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      MaskPromptString	      "Lm[h]=|p=|Lr[H]=|Rr[ohm]|Rs[ohm]|J[kg.m^2]|Ls[H"
"]"
      MaskStyleString	      "edit,edit,edit,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on,on,on"
      MaskCallbackString      "||||||"
      MaskEnableString	      "on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,,"
      MaskVariables	      "Lm=@1;p1=@2;Lr=@3;Rr=@4;Rs=@5;J=@6;Ls=@7;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "0.447|2|0.505|5.619|9.53|0.0026|0.136"
      MaskTabNameString	      ",,,,,,"
      System {
	Name			"IM Model"
	Location		[2, 82, 997, 714]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Us_alfa"
	  Position		  [35, 62, 55, 78]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Us_beta"
	  Position		  [50, 381, 70, 399]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Torque"
	  Position		  [40, 674, 60, 696]
	  Port			  "3"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Gain
	  Name			  "1.5*p*Lm/Lr"
	  Position		  [910, 630, 930, 650]
	  Gain			  "1.5*p1*Lm/Lr"
	}
	Block {
	  BlockType		  Gain
	  Name			  "1/Lr"
	  Position		  [325, 120, 355, 150]
	  Orientation		  "left"
	  Gain			  "1/Lr"
	}
	Block {
	  BlockType		  Gain
	  Name			  "1/Lr "
	  Position		  [330, 440, 360, 470]
	  Orientation		  "left"
	  Gain			  "1/Lr"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [1035, 440, 1075, 460]
	  Expr			  "sqrt(u(1)*u(1)+u(2)*u(2))"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [1, 1]
	  Position		  [645, 15, 665, 35]
	  IgnoreLimit		  off
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator1"
	  Ports			  [1, 1]
	  Position		  [520, 480, 540, 500]
	  IgnoreLimit		  off
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator_"
	  Ports			  [1, 1]
	  Position		  [1045, 640, 1065, 660]
	  IgnoreLimit		  off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Lm*Rr"
	  Position		  [460, 225, 490, 255]
	  Orientation		  "left"
	  Gain			  "Lm*Rr"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Lm*Rr "
	  Position		  [630, 95, 660, 125]
	  Orientation		  "down"
	  Gain			  "Lm*Rr"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Lr"
	  Position		  [375, 170, 405, 200]
	  Orientation		  "down"
	  Gain			  "Lr"
	}

⌨️ 快捷键说明

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