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

📄 testmotor_simulinkfdd_070530.mdl

📁 基于卡尔曼滤波技术的永磁同步电机故障诊断与容错控制源码
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		}
		Line {
		  SrcBlock		  "Divide3"
		  SrcPort		  1
		  Points		  [15, 0; 0, -50]
		  DstBlock		  "A_dis(1)1"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "A_dis(1)1"
		  SrcPort		  1
		  Points		  [40, 0; 0, -70]
		  DstBlock		  "A_dis(1)2"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "A_dis(1)"
		  SrcPort		  1
		  Points		  [40, 0; 0, 35]
		  DstBlock		  "A_dis(1)2"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "A_dis(1)2"
		  SrcPort		  1
		  Points		  [65, 0; 0, -10]
		  DstBlock		  "Out1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product11"
	      Ports		      [2, 1]
	      Position		      [360, 578, 400, 627]
	      Multiplication	      "Matrix(*)"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product2"
	      Ports		      [2, 1]
	      Position		      [600, 103, 640, 152]
	      Multiplication	      "Matrix(*)"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product4"
	      Ports		      [2, 1]
	      Position		      [705, 247, 745, 298]
	      Multiplication	      "Matrix(*)"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product5"
	      Ports		      [2, 1]
	      Position		      [515, 593, 555, 642]
	      Multiplication	      "Matrix(*)"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product6"
	      Ports		      [2, 1]
	      Position		      [230, 384, 270, 526]
	      Orientation	      "left"
	      Multiplication	      "Matrix(*)"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      RndMeth		      "Nearest"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product7"
	      Ports		      [2, 1]
	      Position		      [305, 356, 350, 434]
	      Orientation	      "left"
	      Multiplication	      "Matrix(*)"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product8"
	      Ports		      [3, 1]
	      Position		      [610, 466, 650, 524]
	      Orientation	      "left"
	      Inputs		      "3"
	      Multiplication	      "Matrix(*)"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "R(k)"
	      Position		      [660, 538, 730, 572]
	      Orientation	      "left"
	      Value		      "Rk"
	      VectorParams1D	      on
	      SamplingMode	      "Sample based"
	      OutDataTypeMode	      "Inherit from 'Constant value'"
	      OutDataType	      "sfix(16)"
	      ConRadixGroup	      "Use specified scaling"
	      OutScaling	      "2^0"
	      SampleTime	      "inf"
	      FramePeriod	      "inf"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum2"
	      Ports		      [2, 1]
	      Position		      [605, 590, 625, 610]
	      NamePlacement	      "alternate"
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum3"
	      Ports		      [2, 1]
	      Position		      [675, 70, 695, 90]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|+-"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum6"
	      Ports		      [2, 1]
	      Position		      [710, 170, 730, 190]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	      Port {
		PortNumber		1
		Name			"xhat"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum7"
	      Ports		      [2, 1]
	      Position		      [500, 485, 520, 505]
	      Orientation	      "left"
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "xhat"
	      Position		      [835, 173, 865, 187]
	      NamePlacement	      "alternate"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Px"
	      Position		      [805, 593, 835, 607]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      Name		      "xhat"
	      Labels		      [0, 0]
	      SrcBlock		      "Sum6"
	      SrcPort		      1
	      DstBlock		      "xhat"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "H_yagoT1"
	      SrcPort		      1
	      Points		      [0, 0]
	      DstBlock		      "Product7"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "R(k)"
	      SrcPort		      1
	      Points		      [-145, 0]
	      DstBlock		      "Sum7"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product8"
	      SrcPort		      1
	      DstBlock		      "Sum7"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "H_yago"
	      SrcPort		      1
	      DstBlock		      "Product8"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "H_yago1"
	      SrcPort		      1
	      DstBlock		      "Product11"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product11"
	      SrcPort		      1
	      Points		      [0, 0]
	      DstBlock		      "Product5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "H_yagoT"
	      SrcPort		      1
	      Points		      [-5, 0; 0, -5]
	      DstBlock		      "Product8"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Sum7"
	      SrcPort		      1
	      DstBlock		      "INVERSE"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "H_dis"
	      SrcPort		      1
	      DstBlock		      "Product2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product2"
	      SrcPort		      1
	      Points		      [40, 0]
	      DstBlock		      "Sum3"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum3"
	      SrcPort		      1
	      Points		      [0, 90; -10, 0]
	      DstBlock		      "Product4"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Product4"
	      SrcPort		      1
	      Points		      [0, -70]
	      DstBlock		      "Sum6"
	      DstPort		      2
	    }
	    Line {
	      Name		      "pxbar"
	      Labels		      [0, 0]
	      SrcBlock		      "pxbar"
	      SrcPort		      1
	      Points		      [0, 0; -30, 0]
	      Branch {
		Points			[0, -55; -100, 0]
		Branch {
		  Points		  [0, 225]
		  DstBlock		  "Sum2"
		  DstPort		  1
		}
		Branch {
		  Points		  [-130, 0]
		  Branch {
		    DstBlock		    "Product7"
		    DstPort		    1
		  }
		  Branch {
		    Labels		    [2, 0]
		    Points		    [0, 255]
		    DstBlock		    "Product5"
		    DstPort		    2
		  }
		}
	      }
	      Branch {
		Points			[0, 65]
		DstBlock		"Product8"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "Product5"
	      SrcPort		      1
	      Points		      [55, 0]
	      DstBlock		      "Sum2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "xbar"
	      SrcPort		      1
	      Points		      [100, 0]
	      Branch {
		DstBlock		"Product2"
		DstPort			2
	      }
	      Branch {
		Points			[0, 40]
		DstBlock		"Sum6"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Product7"
	      SrcPort		      1
	      Points		      [-15, 0]
	      DstBlock		      "Product6"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product6"
	      SrcPort		      1
	      Points		      [0, 0; -30, 0]
	      Branch {
		Points			[0, 135]
		DstBlock		"Product11"
		DstPort			1
	      }
	      Branch {
		Points			[0, -195]
		DstBlock		"Product4"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Sum2"
	      SrcPort		      1
	      Points		      [0, 0]
	      DstBlock		      "Px"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "I_measure"
	      SrcPort		      1
	      Points		      [15, 0; 0, 5]
	      DstBlock		      "Sum3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "INVERSE"
	      SrcPort		      1
	      Points		      [-10, 0; 0, -5]
	      DstBlock		      "Product6"
	      DstPort		      2
	    }
	    Annotation {
	      Position		      [935, 769]
	      UseDisplayTextAsClickCallback off
	    }
	    Annotation {
	      Name		      "ybar"
	      Position		      [670, 136]
	      UseDisplayTextAsClickCallback off
	    }
	    Annotation {
	      Name		      "K"
	      Position		      [219, 571]
	      UseDisplayTextAsClickCallback off
	    }
	    Annotation {
	      Name		      "pxbar"
	      Position		      [583, 568]
	      UseDisplayTextAsClickCallback off
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Time update"
	  Ports			  [3, 2]
	  Position		  [310, 26, 400, 174]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  System {
	    Name		    "Time update"
	    Location		    [66, 195, 1078, 845]
	    Open		    on
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "u_input"
	      Position		      [575, 148, 605, 162]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "xhat"
	      Position		      [290, 228, 320, 242]
	      NamePlacement	      "alternate"
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "px"
	      Position		      [580, 248, 610, 262]
	      NamePlacement	      "alternate"
	      Port		      "3"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "A_dis"
	      Ports		      [1, 1]
	      Position		      [520, 36, 565, 74]
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      FunctionWithSeparateData off
	      MaskHideContents	      off
	      System {
		Name			"A_dis"
		Location		[2, 82, 1014, 744]
		Open			on
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		TiledPaperMargins	"[0.500000, 0.500000, 0.500000, 0.5000"
"00]"
		TiledPageScale		1
		ShowPageBoundaries	off
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "xhat"
		  Position		  [15, 203, 45, 217]
		  IconDisplay		  "Port number"
		}
		Block {
		  BlockType		  Constant
		  Name			  "0"
		  Position		  [170, 75, 200, 105]
		  Value			  "0"
		  VectorParams1D	  on
		  SamplingMode		  "Sample based"
		  OutDataTypeMode	  "Inherit from 'Constant value'"
		  OutDataType		  "sfix(16)"
		  ConRadixGroup		  "Use specified scaling"
		  OutScaling		  "2^0"
		  SampleTime		  "inf"
		  FramePeriod		  "inf"
		}
		Block {
		  BlockType		  Constant
		  Name			  "0_1"
		  Position		  [165, 325, 195, 355]
		  Value			  "0"
		  VectorParams1D	  on
		  SamplingMode		  "Sample based"
		  OutDataTypeMode	  "Inherit from 'Constant value'"
		  OutDataType		  "sfix(16)"
		  ConRadixGroup		  "Use specified scaling"
		  OutScaling		  "2^0"
		  SampleTime		  "inf"
		  FramePeriod		  "inf"
		}

⌨️ 快捷键说明

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