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

📄 fengliji.mdl

📁 风力发电机的控制系统仿真.将模糊和变结构控制结合在一起来优化风力机系统.
💻 MDL
📖 第 1 页 / 共 4 页
字号:
    Block {
      BlockType		      Saturate
      UpperLimit	      "0.5"
      LowerLimit	      "-0.5"
      LinearizeAsGain	      on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    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		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    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		      Switch
      Criteria		      "u2 >= Threshold"
      Threshold		      "0"
      InputSameDT	      on
      OutDataTypeMode	      "Inherit via internal rule"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      ZeroCross		      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"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "宋体"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "宋体"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "fengliji"
    Location		    [2, 82, 997, 705]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Fcn
      Name		      "\n"
      Position		      [481, 670, 539, 695]
      Orientation	      "down"
      NamePlacement	      "alternate"
      Expr		      "u^(-1)"
    }
    Block {
      BlockType		      Fcn
      Name		      "\nFcn1"
      Position		      [950, 709, 1010, 731]
      Expr		      "u^(-1)"
    }
    Block {
      BlockType		      Constant
      Name		      "0"
      Position		      [260, 815, 290, 845]
      Orientation	      "left"
      NamePlacement	      "alternate"
      Value		      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Band-Limited\nWhite Noise"
      Ports		      [0, 1]
      Position		      [310, 485, 340, 515]
      SourceBlock	      "simulink/Sources/Band-Limited\nWhite Noise"
      SourceType	      "Band-Limited White Noise."
      ShowPortLabels	      on
      Cov		      "[0.1]"
      Ts		      "0.1"
      seed		      "[23341]"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Constant
      Name		      "Beta"
      Position		      [250, 925, 280, 955]
      Value		      "0"
    }
    Block {
      BlockType		      Constant
      Name		      "Constant"
      Position		      [640, 472, 665, 498]
      Value		      "690"
    }
    Block {
      BlockType		      Scope
      Name		      "Cp\n"
      Ports		      [1]
      Position		      [705, 929, 735, 961]
      Location		      [188, 390, 512, 629]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      SubSystem
      Name		      "FSMC"
      Ports		      [1, 1]
      Position		      [105, 812, 195, 838]
      BackgroundColor	      "yellow"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"FSMC"
	Location		[2, 82, 1014, 722]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 38, 55, 52]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Derivative
	  Name			  "Derivative"
	  Position		  [100, 104, 140, 146]
	}
	Block {
	  BlockType		  Derivative
	  Name			  "Derivative1"
	  Position		  [235, 64, 275, 106]
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [105, 30, 135, 60]
	  Gain			  "15"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator1"
	  Ports			  [1, 1]
	  Position		  [465, 50, 495, 80]
	  IgnoreLimit		  off
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [300, 27, 305, 103]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "S-Function"
	  Ports			  [1, 1]
	  Position		  [365, 50, 435, 80]
	  FunctionName		  "beta_FSMC"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum5"
	  Ports			  [2, 1]
	  Position		  [170, 35, 190, 55]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [530, 58, 560, 72]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  DstBlock		  "Sum5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [0, 0; 10, 0]
	  Branch {
	    Points		    [0, 80]
	    DstBlock		    "Derivative"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Gain3"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Derivative"
	  SrcPort		  1
	  Points		  [35, 0]
	  DstBlock		  "Sum5"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum5"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    DstBlock		    "Mux"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 40]
	    DstBlock		    "Derivative1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Derivative1"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "S-Function"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "S-Function"
	  SrcPort		  1
	  DstBlock		  "Integrator1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integrator1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator"
      Ports		      [1, 1]
      Position		      [965, 900, 995, 930]
      Orientation	      "left"
      NamePlacement	      "alternate"
      IgnoreLimit	      off
    }
    Block {
      BlockType		      Constant
      Name		      "Jg\n"
      Position		      [820, 770, 850, 800]
      Value		      "52"
    }
    Block {
      BlockType		      Constant
      Name		      "Jr"
      Position		      [850, 705, 880, 735]
      Value		      "2460100"
    }
    Block {
      BlockType		      Gain
      Name		      "N"
      Position		      [870, 485, 900, 515]
      Gain		      "79"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Constant
      Name		      "P0"
      Position		      [225, 425, 255, 455]
      Orientation	      "down"
      NamePlacement	      "alternate"
      Value		      "1300000"
    }
    Block {
      BlockType		      Scope
      Name		      "Pe"
      Ports		      [1]
      Position		      [955, 419, 985, 451]
      Location		      [188, 390, 512, 629]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [3, 1]
      Position		      [550, 786, 565, 844]
      Inputs		      "3"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product1"
      Ports		      [2, 1]
      Position		      [1040, 659, 1055, 746]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product3"
      Ports		      [2, 1]
      Position		      [855, 396, 870, 469]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Constant
      Name		      "R"
      Position		      [470, 800, 500, 830]
      Value		      "31"
    }
    Block {
      BlockType		      Saturate
      Name		      "Saturation"
      Position		      [345, 895, 375, 925]
    }
    Block {
      BlockType		      Saturate
      Name		      "Saturation1"
      Position		      [845, 900, 875, 930]
      Orientation	      "left"
      NamePlacement	      "alternate"
    }
    Block {
      BlockType		      Sin
      Name		      "Sine Wave"
      Ports		      [0, 1]
      Position		      [345, 610, 375, 640]
      SineType		      "Time based"
      Amplitude		      "3"
      Frequency		      "0.2"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Step
      Name		      "Step"
      Position		      [360, 670, 390, 700]
      Time		      "40"
      Before		      "8"
      After		      "13"
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem"
      Ports		      [2, 1]
      Position		      [605, 790, 670, 885]
      BackgroundColor	      "green"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Subsystem"
	Location		[198, 456, 668, 611]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "lamuda"
	  Position		  [25, 28, 55, 42]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "beta"
	  Position		  [30, 108, 60, 122]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn4"
	  Position		  [175, 70, 235, 100]
	  Expr			  "1/(u(1)+0.08*u(2))-0.035/(u(2)^3+1)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn5"
	  Position		  [315, 70, 375, 100]
	  Expr			  "0.5173*(116*u(2)-0.4*u(3)-5)*exp(21*u(2))+0"
".068*u(1)"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux"
	  Ports			  [2, 1]
	  Position		  [145, 61, 150, 99]
	  ShowName		  off
	  Inputs		  "2"
	  DisplayOption		  "bar"
	}

⌨️ 快捷键说明

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