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

📄 ysa1.mdl

📁 YSA PI is realized this mdl
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Product
	  Name			  "Product5"
	  Ports			  [3, 1]
	  Position		  [300, 152, 320, 188]
	  ForegroundColor	  "blue"
	  ShowName		  off
	  Inputs		  "3"
	  InputSameDT		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Reshape1"
	  Ports			  [1, 1]
	  Position		  [920, 313, 950, 337]
	  SourceBlock		  "simulink/Math\nOperations/Reshape"
	  SourceType		  "Reshape"
	  OutputDimensionality	  "1-D array"
	  OutputDimensions	  "[1]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Reshape2"
	  Ports			  [1, 1]
	  Position		  [190, 315, 220, 335]
	  SourceBlock		  "simulink/Math\nOperations/Reshape"
	  SourceType		  "Reshape"
	  OutputDimensionality	  "Customize"
	  OutputDimensions	  "[4,1]"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Reshape3"
	  Ports			  [1, 1]
	  Position		  [290, 275, 320, 295]
	  Orientation		  "up"
	  SourceBlock		  "simulink/Math\nOperations/Reshape"
	  SourceType		  "Reshape"
	  OutputDimensionality	  "Customize"
	  OutputDimensions	  "[1,4]"
	}
	Block {
	  BlockType		  Saturate
	  Name			  "Saturation2"
	  Position		  [990, 310, 1015, 340]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  UpperLimit		  "5"
	  LowerLimit		  "-5"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [500, 441, 510, 474]
	  ForegroundColor	  "magenta"
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  Port {
	    PortNumber		    1
	    Name		    "w2"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [510, 72, 520, 103]
	  Orientation		  "left"
	  ForegroundColor	  "blue"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum2"
	  Ports			  [1, 1]
	  Position		  [835, 315, 850, 335]
	  ForegroundColor	  "green"
	  ShowName		  off
	  Inputs		  "+"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum3"
	  Ports			  [2, 1]
	  Position		  [510, 226, 520, 259]
	  ForegroundColor	  "lightBlue"
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  Port {
	    PortNumber		    1
	    Name		    "\n"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum4"
	  Ports			  [2, 1]
	  Position		  [510, 112, 520, 143]
	  Orientation		  "left"
	  ForegroundColor	  "blue"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Inputs		  "+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum5"
	  Ports			  [2, 1]
	  Position		  [190, 468, 200, 492]
	  ForegroundColor	  "blue"
	  ShowName		  off
	  Inputs		  "+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum7"
	  Ports			  [2, 1]
	  Position		  [230, 451, 240, 489]
	  ForegroundColor	  "blue"
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace"
	  Position		  [615, 488, 655, 512]
	  VariableName		  "w2"
	  MaxDataPoints		  "inf"
	  SampleTime		  "Ts"
	  SaveFormat		  "Array"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace1"
	  Position		  [600, 233, 640, 257]
	  VariableName		  "w1"
	  MaxDataPoints		  "inf"
	  SampleTime		  "Ts"
	  SaveFormat		  "Array"
	}
	Block {
	  BlockType		  Trigonometry
	  Name			  "Trigonometric\nFunction"
	  Ports			  [1, 1]
	  Position		  [670, 311, 695, 329]
	  ForegroundColor	  "lightBlue"
	  ShowName		  off
	  Operator		  "tanh"
	  OutputSignalType	  "real"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay3"
	  Position		  [105, 476, 120, 494]
	  ForegroundColor	  "magenta"
	  ShowName		  off
	  SampleTime		  "Ts"
	}
	Block {
	  BlockType		  UnitDelay
	  Name			  "Unit Delay4"
	  Position		  [140, 476, 155, 494]
	  ForegroundColor	  "magenta"
	  ShowName		  off
	  SampleTime		  "Ts"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Iq"
	  Position		  [1045, 318, 1075, 332]
	  ForegroundColor	  "red"
	  FontSize		  12
	  FontWeight		  "bold"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "Gain6"
	  SrcPort		  1
	  Points		  [0, 0]
	  Branch {
	    Points		    [0, 25]
	    DstBlock		    "Unit Delay3"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [85, 0]
	    Branch {
	      DstBlock		      "Sum7"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 15]
	      DstBlock		      "Sum5"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "wref"
	  SrcPort		  1
	  DstBlock		  "Gain2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Trigonometric\nFunction"
	  DstPort		  1
	}
	Line {
	  Name			  "w2"
	  Labels		  [2, 1]
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  Points		  [0, 0; 35, 0]
	  Branch {
	    Points		    [50, 0]
	    Branch {
	      Labels		      [2, 1]
	      Points		      [140, 0; 0, -130]
	      Branch {
		DstBlock		"Product2"
		DstPort			2
	      }
	      Branch {
		Points			[0, -275; -475, 0; 0, 115]
		DstBlock		"Product5"
		DstPort			2
	      }
	    }
	    Branch {
	      DstBlock		      "To Workspace"
	      DstPort		      1
	    }
	  }
	  Branch {
	    Points		    [0, -50]
	    DstBlock		    "Memory"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Trigonometric\nFunction"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    DstBlock		    "Product2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -225; -80, 0]
	    Branch {
	      DstBlock		      "Sum1"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, 40]
	      DstBlock		      "Sum4"
	      DstPort		      2
	    }
	  }
	  Branch {
	    Points		    [0, 70; -380, 0; 0, 70]
	    DstBlock		    "Product1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Product2"
	  SrcPort		  1
	  DstBlock		  "Sum2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum7"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "Product1"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -290]
	    DstBlock		    "Product5"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  DstBlock		  "Gain1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Memory"
	  SrcPort		  1
	  Points		  [-55, 0; 0, 40]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  Name			  "dw1"
	  Labels		  [0, 0]
	  SrcBlock		  "Product4"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Memory1"
	  SrcPort		  1
	  Points		  [-20, 0; 0, 40]
	  DstBlock		  "Sum3"
	  DstPort		  1
	}
	Line {
	  Name			  "\n"
	  Labels		  [0, 0; 2, 0]
	  SrcBlock		  "Sum3"
	  SrcPort		  1
	  Points		  [0, 0; 30, 0]
	  Branch {
	    Points		    [0, 65]
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "To Workspace1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -50]
	    DstBlock		    "Memory1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Sum3"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain1"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum4"
	  SrcPort		  1
	  Points		  [-10, 0; 0, -10]
	  DstBlock		  "Product3"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  Points		  [-10, 0; 0, 15]
	  DstBlock		  "Product3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [0, 0; -30, 0]
	  Branch {
	    Points		    [0, 40]
	    DstBlock		    "Sum4"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [-20, 0]
	    DstBlock		    "Sum1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "Reshape2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain2"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain4"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain5"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "wr_1"
	  SrcPort		  1
	  DstBlock		  "Gain4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Iq_1"
	  SrcPort		  1
	  DstBlock		  "Gain5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum2"
	  SrcPort		  1
	  DstBlock		  "Gain3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Gain3"
	  SrcPort		  1
	  DstBlock		  "Reshape1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Unit Delay4"
	  SrcPort		  1
	  DstBlock		  "Sum5"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum5"
	  SrcPort		  1
	  DstBlock		  "Sum7"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "e"
	  SrcPort		  1
	  DstBlock		  "Gain6"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product3"
	  SrcPort		  1
	  Points		  [-160, 0; 0, 45]
	  DstBlock		  "Product5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product5"
	  SrcPort		  1
	  Points		  [25, 0; 0, 70]
	  DstBlock		  "Product4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Reshape1"
	  SrcPort		  1
	  DstBlock		  "Saturation2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Reshape2"
	  SrcPort		  1
	  Points		  [80, 0]
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "Reshape3"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Reshape3"
	  SrcPort		  1
	  Points		  [0, -15]
	  DstBlock		  "Product4"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Saturation2"
	  SrcPort		  1
	  DstBlock		  "Iq"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Unit Delay3"
	  SrcPort		  1
	  DstBlock		  "Unit Delay4"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Constant
      Name		      "wr"
      Position		      [65, 90, 95, 120]
      ForegroundColor	      "red"
      NamePlacement	      "alternate"
      Value		      "300"
    }
    Line {
      SrcBlock		      "Mux1"
      SrcPort		      1
      DstBlock		      "Scope1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum4"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"YSA"
	DstPort			1
      }
      Branch {
	Points			[0, 40]
	DstBlock		"YSA"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "wr"
      SrcPort		      1
      Points		      [60, 0]
      Branch {
	DstBlock		"Sum4"
	DstPort			1
      }
      Branch {
	Points			[0, 230]
	DstBlock		"Mux1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "YSA"
      SrcPort		      1
      Points		      [35, 0]
      Branch {
	DstBlock		"Transfer Fcn"
	DstPort			1
      }
      Branch {
	Points			[0, 80]
	DstBlock		"Unit Delay1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Unit Delay1"
      SrcPort		      1
      Points		      [-35, 0]
      DstBlock		      "YSA"
      DstPort		      4
    }
    Line {
      SrcBlock		      "Transfer Fcn"
      SrcPort		      1
      Points		      [50, 0; 0, 135]
      DstBlock		      "Unit Delay2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Unit Delay2"
      SrcPort		      1
      Points		      [-85, 0]
      Branch {
	Points			[-90, 0; 0, -120]
	Branch {
	  DstBlock		  "Sum4"
	  DstPort		  2
	}
	Branch {
	  Points		  [5, 0; 0, -20; 60, 0]
	  DstBlock		  "YSA"
	  DstPort		  2
	}
      }
      Branch {
	Points			[0, 85]
	DstBlock		"Mux1"
	DstPort			2
      }
    }
  }
}

⌨️ 快捷键说明

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