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

📄 mada_bo_samir.mdl

📁 SOME SIMULATION OF MADA99999999999999999999999999999999999999999999999
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sin
      SineType		      "Time based"
      TimeSource	      "Use simulation time"
      Amplitude		      "1"
      Bias		      "0"
      Frequency		      "1"
      Phase		      "0"
      Samples		      "10"
      Offset		      "0"
      SampleTime	      "-1"
      VectorParams1D	      on
    }
    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		      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"
    }
    Block {
      BlockType		      TransportDelay
      DelayTime		      "1"
      InitialInput	      "0"
      BufferSize	      "1024"
      PadeOrder		      "0"
      TransDelayFeedthrough   off
    }
  }
  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		    "mada_bo_samir"
    Location		    [2, 77, 1005, 713]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      " tension rotor1"
      Ports		      [0, 3]
      Position		      [115, 405, 165, 485]
      BackgroundColor	      "green"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskPromptString	      "Uc=|F=|x="
      MaskStyleString	      "edit,edit,edit"
      MaskTunableValueString  "on,on,on"
      MaskCallbackString      "||"
      MaskEnableString	      "on,on,on"
      MaskVisibilityString    "on,on,on"
      MaskToolTipString	      "on,on,on"
      MaskVarAliasString      ",,"
      MaskVariables	      "Uc=@1;F=@2;x=@3;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "7|02|180"
      MaskTabNameString	      ",,"
      System {
	Name			" tension rotor1"
	Location		[2, 82, 790, 584]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Sin
	  Name			  "Sine Wave"
	  Ports			  [0, 1]
	  Position		  [25, 25, 55, 55]
	  SineType		  "Time based"
	  Amplitude		  "Uc*sqrt(2)"
	  Frequency		  "2*pi*F"
	  Phase			  "x*pi/180"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Sin
	  Name			  "Sine Wave1"
	  Ports			  [0, 1]
	  Position		  [25, 120, 55, 150]
	  SineType		  "Time based"
	  Amplitude		  "Uc*sqrt(2)"
	  Frequency		  "2*pi*F"
	  Phase			  "x*pi/180+2*pi/3"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Sin
	  Name			  "Sine Wave2"
	  Ports			  [0, 1]
	  Position		  [25, 70, 55, 100]
	  SineType		  "Time based"
	  Amplitude		  "Uc*sqrt(2)"
	  Frequency		  "2*pi*F"
	  Phase			  "x*pi/180-2*pi/3"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Va"
	  Position		  [80, 33, 110, 47]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Vb"
	  Position		  [80, 78, 110, 92]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Vc"
	  Position		  [80, 128, 110, 142]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Sine Wave2"
	  SrcPort		  1
	  DstBlock		  "Vb"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sine Wave1"
	  SrcPort		  1
	  DstBlock		  "Vc"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sine Wave"
	  SrcPort		  1
	  DstBlock		  "Va"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Scope
      Name		      "Cem"
      Ports		      [1]
      Position		      [630, 499, 660, 531]
      DropShadow	      on
      Location		      [5, 54, 1029, 737]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Clock
      Name		      "Clock"
      Position		      [250, 605, 270, 625]
      DropShadow	      on
      Decimation	      "10"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant1"
      Position		      [680, 495, 705, 525]
      DropShadow	      on
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      12
      Value		      "157"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant3"
      Position		      [315, 191, 360, 209]
      DropShadow	      on
      ShowName		      off
      FontName		      "Times New Roman"
      FontSize		      12
      Value		      "100*pi"
    }
    Block {
      BlockType		      Demux
      Name		      "Demux"
      Ports		      [1, 3]
      Position		      [380, 402, 385, 538]
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [565, 455, 595, 485]
      Gain		      "30/pi"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain1"
      Position		      [825, 500, 855, 530]
      Gain		      "30/pi"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      SubSystem
      Name		      "MADA"
      Ports		      [8, 8]
      Position		      [430, 181, 545, 534]
      DropShadow	      on
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskPromptString	      "resistanse rs=|resistanse rr=|inductance lm=|in"
"ductance ls=|inductance lr=|frotement fc=|moment d'inertie J=|paire de pole P"
"="
      MaskStyleString	      "edit,edit,edit,edit,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on,on,on,on"
      MaskCallbackString      "|||||||"
      MaskEnableString	      "on,on,on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,,,"
      MaskVariables	      "Rs=@1;Rr=@2;lm=@3;Ls=@4;Lr=@5;fc=@6;J=@7;P=@8;"
      MaskInitialization      "k=lm*(P^2/J);m1=P/J;m2=fc/J;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "4.85|3.805|0.258|0.274|0.274|0.00114|0.031|2"
      MaskTabNameString	      ",,,,,,,"
      System {
	Name			"MADA"
	Location		[2, 81, 995, 717]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "ws"
	  Position		  [100, 283, 130, 297]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Cr"
	  Position		  [90, 613, 120, 627]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Vas"
	  Position		  [50, 383, 80, 397]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Vbs"
	  Position		  [75, 403, 105, 417]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Vcs"
	  Position		  [105, 423, 135, 437]
	  Port			  "5"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Var"
	  Position		  [35, 508, 65, 522]
	  Port			  "6"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Vbr"
	  Position		  [65, 528, 95, 542]
	  Port			  "7"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "Vcr"
	  Position		  [95, 548, 125, 562]
	  Port			  "8"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [415, 145, 475, 175]
	  Expr			  "-Rs/(1-lm^2/Ls/Lr)/Ls*u[1]+(u[5]+lm^2/Ls/Lr"
"*u[6]/(1-lm^2/Ls/Lr))*u[2]+lm/(1-lm^2/Ls/Lr)/Ls/(Lr/Rr)*u[3]+lm*u[6]/(1-lm^2/"
"Ls/Lr)/Ls*u[4] +(1/(1-lm^2/Ls/Lr)/Ls*u[7])-(lm/(1-lm^2/Ls/Lr)/Lr/Ls*u[9])"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [415, 205, 475, 235]
	  Expr			  "-(u[5]+lm^2/Ls/Lr*u[6]/(1-lm^2/Ls/Lr))*u[1]"
"-Rs/(1-lm^2/Ls/Lr)/Ls*u[2]-lm*u[6]/(1-lm^2/Ls/Lr)/Ls*u[3]+lm/(1-lm^2/Ls/Lr)/L"
"s/(Lr/Rr)*u[4] +(1/(1-lm^2/Ls/Lr)/Ls*u[8])-(lm/(1-lm^2/Ls/Lr)/Lr/Ls*u[10])"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn2"
	  Position		  [415, 260, 475, 290]
	  Expr			  "lm*Rs/(1-lm^2/Ls/Lr)/Lr/Ls*u[1]-lm*u[6]/(1-"
"lm^2/Ls/Lr)/Lr*u[2]-1/(1-lm^2/Ls/Lr)/(Lr/Rr)*u[3]+(u[5]-u[6]/(1-lm^2/Ls/Lr))*"
"u[4] -(lm/(1-lm^2/Ls/Lr)/Lr/Ls*u[7])+(1 /(1-lm^2/Ls/Lr) /Lr*u[9])"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn3"
	  Position		  [415, 315, 475, 345]
	  Expr			  "lm*u[6]/(1-lm^2/Ls/Lr)/Lr*u[1]+lm*Rs/(1-lm^"
"2/Ls/Lr)/Lr/Ls*u[2]-(u[5]-u[6]/(1-lm^2/Ls/Lr))*u[3]-1/(1-lm^2/Ls/Lr)/(Lr/Rr)*"
"u[4] -(lm/(1-lm^2/Ls/Lr)/Lr/Ls*u[8])+(1/(1-lm^2/Ls/Lr) /Lr*u[10])"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn4"
	  Position		  [410, 365, 470, 395]
	  Expr			  "k*(u(3)*u(2)-u(4)*u(1))-m1*u(11)-m2*u(6)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn5"
	  Position		  [410, 415, 470, 445]
	  Expr			  "u(5)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn6"
	  Position		  [410, 465, 470, 495]
	  Expr			  "u(12)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn7"
	  Position		  [410, 525, 470, 555]
	  Expr			  "P*lm*(u(3)*u(2)-u(4)*u(1))"
	}
	Block {
	  BlockType		  From
	  Name			  "From idr"
	  Position		  [165, 171, 200, 189]
	  NamePlacement		  "alternate"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "idr"
	}
	Block {
	  BlockType		  From
	  Name			  "From ids"
	  Position		  [165, 59, 205, 81]
	  NamePlacement		  "alternate"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "ids"
	}
	Block {
	  BlockType		  From
	  Name			  "From iqr"
	  Position		  [170, 226, 205, 244]
	  NamePlacement		  "alternate"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "iqr"
	}
	Block {
	  BlockType		  From
	  Name			  "From iqs"
	  Position		  [165, 116, 200, 134]
	  NamePlacement		  "alternate"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "iqs"
	}
	Block {
	  BlockType		  From
	  Name			  "From wm"
	  Position		  [150, 336, 185, 354]
	  NamePlacement		  "alternate"
	  DialogController	  "Simulink.DDGSource"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "wm"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [690, 365, 720, 395]
	  Gain			  "1/2"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto idr"
	  Position		  [580, 245, 620, 265]
	  NamePlacement		  "alternate"
	  DialogController	  "Simulink.DDGSource"
	  GotoTag		  "idr"
	  TagVisibility		  "local"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto ids"
	  Position		  [585, 131, 635, 149]
	  NamePlacement		  "alternate"
	  DialogController	  "Simulink.DDGSource"
	  GotoTag		  "ids"
	  TagVisibility		  "local"

⌨️ 快捷键说明

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