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

📄 cnf_sim.mdl

📁 hard disk drive servo control tools, it is very helpful
💻 MDL
📖 第 1 页 / 共 3 页
字号:
    }
    Block {
      BlockType		      Integrator
      Name		      "Integrator"
      Ports		      [1, 1]
      Position		      [800, 316, 815, 344]
    }
    Block {
      BlockType		      StateSpace
      Name		      "Kernel System"
      Position		      [430, 168, 490, 202]
      A			      "cnf_cntr.A"
      B			      "eye(2)"
      C			      "eye(2)"
      D			      "zeros(2,2)"
      X0		      "cnf_cntr.x0"
    }
    Block {
      BlockType		      Gain
      Name		      "Measure Gain"
      Position		      [630, 170, 660, 200]
      Gain		      "cnf_cntr.C1"
      Multiplication	      "Matrix(K*u)"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [2, 1]
      Position		      [730, 231, 735, 269]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [2, 1]
      Position		      [208, 445, 272, 450]
      Orientation	      "down"
      NamePlacement	      "alternate"
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux2"
      Ports		      [2, 1]
      Position		      [835, 301, 840, 339]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux3"
      Ports		      [4, 1]
      Position		      [760, 394, 765, 476]
      ShowName		      off
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux4"
      Ports		      [3, 1]
      Position		      [385, 221, 390, 259]
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux5"
      Ports		      [2, 1]
      Position		      [550, 200, 555, 255]
      ShowName		      off
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Fcn
      Name		      "NC Fcn"
      Position		      [760, 172, 810, 198]
      Expr		      "0"
    }
    Block {
      BlockType		      Fcn
      Name		      "NL Fcn"
      Position		      [683, 110, 717, 145]
      Orientation	      "up"
      NamePlacement	      "alternate"
      Expr		      "0"
    }
    Block {
      BlockType		      StateSpace
      Name		      "Observer"
      Position		      [760, 232, 820, 268]
      A			      "cnf_cntr.Ao"
      B			      "cnf_cntr.Bo"
      C			      "cnf_cntr.Co"
      D			      "cnf_cntr.Do"
      X0		      "cnf_cntr.OV_x0"
    }
    Block {
      BlockType		      Gain
      Name		      "Output Gain"
      Position		      [620, 315, 650, 345]
      Gain		      "cnf_cntr.C2"
      Multiplication	      "Matrix(K*u)"
    }
    Block {
      BlockType		      Gain
      Name		      "Output Gain D2"
      Position		      [625, 374, 650, 396]
      NamePlacement	      "alternate"
      Gain		      "cnf_cntr.D2"
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1]
      Position		      [490, 507, 525, 538]
      InputSameDT	      off
    }
    Block {
      BlockType		      "S-Function"
      Name		      "QD Fcn"
      Ports		      [1, 1]
      Position		      [415, 225, 450, 255]
      FunctionName	      "cnf_sfun_nl"
      Parameters	      "'0'"
    }
    Block {
      BlockType		      Gain
      Name		      "QGain"
      Position		      [635, 450, 665, 480]
      NamePlacement	      "alternate"
      Gain		      "[1, 0; 0, 1]"
      Multiplication	      "Matrix(K*u)"
    }
    Block {
      BlockType		      Integrator
      Name		      "QIntegrator"
      Ports		      [1, 1]
      Position		      [480, 226, 495, 254]
    }
    Block {
      BlockType		      TransferFcn
      Name		      "RM Model"
      Position		      [455, 55, 515, 85]
      Orientation	      "left"
      NamePlacement	      "alternate"
      Denominator	      "[1]"
    }
    Block {
      BlockType		      Fcn
      Name		      "Rho Fcn"
      Position		      [220, 470, 260, 500]
      Orientation	      "down"
      NamePlacement	      "alternate"
      Expr		      "exp(-1*abs(u(1)-u(2)))"
    }
    Block {
      BlockType		      Constant
      Name		      "Rho offset"
      Position		      [145, 515, 175, 545]
      Value		      "0.36787944"
    }
    Block {
      BlockType		      Saturate
      Name		      "Saturation"
      Position		      [610, 55, 640, 85]
      Orientation	      "left"
      NamePlacement	      "alternate"
      UpperLimit	      "cnf_cntr.Um"
      LowerLimit	      "-cnf_cntr.Um"
    }
    Block {
      BlockType		      Saturate
      Name		      "Saturation1"
      Position		      [800, 545, 830, 575]
      Orientation	      "left"
      NamePlacement	      "alternate"
      UpperLimit	      "cnf_cntr.Um"
      LowerLimit	      "-cnf_cntr.Um"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [780, 455, 810, 485]
      Orientation	      "down"
      NamePlacement	      "alternate"
      Location		      [5, 58, 1029, 771]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope1"
      Ports		      [1]
      Position		      [215, 120, 245, 150]
      Orientation	      "up"
      NamePlacement	      "alternate"
      Location		      [5, 58, 1029, 771]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      List {
	ListType		SelectedSignals
	axes1			""
      }
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Scope
      Name		      "Scope2"
      Ports		      [1]
      Position		      [440, 570, 470, 600]
      Orientation	      "down"
      NamePlacement	      "alternate"
      Location		      [5, 58, 1029, 771]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
    }
    Block {
      BlockType		      Gain
      Name		      "Steady Gain Ge"
      Position		      [265, 300, 295, 330]
      Gain		      "cnf_cntr.Ge"
      Multiplication	      "Matrix(K*u)"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [2, 1]
      Position		      [345, 175, 365, 195]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "++|"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum10"
      Ports		      [2, 1]
      Position		      [690, 60, 710, 80]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum11"
      Ports		      [2, 1]
      Position		      [665, 320, 685, 340]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [2, 1]
      Position		      [345, 305, 365, 325]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "+-|"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum3"
      Ports		      [2, 1]
      Position		      [715, 320, 735, 340]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|+-"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum4"
      Ports		      [2, 1]
      Position		      [510, 305, 530, 325]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum5"
      Ports		      [2, 1]
      Position		      [550, 515, 570, 535]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "+-|"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum6"
      Ports		      [2, 1]
      Position		      [230, 520, 250, 540]
      ShowName		      off
      IconShape		      "round"
      Inputs		      "+-|"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum7"
      Ports		      [2, 1]
      Position		      [915, 105, 935, 125]
      Orientation	      "up"
      NamePlacement	      "alternate"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "++|"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum8"
      Ports		      [2, 1]
      Position		      [885, 275, 905, 295]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      IconShape		      "round"
      Inputs		      "+|+"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Block {
      BlockType		      Fcn
      Name		      "Target Fcn"
      Position		      [140, 300, 180, 330]
      NamePlacement	      "alternate"
      Expr		      "1"
    }
    Line {
      SrcBlock		      "Measure Gain"
      SrcPort		      1
      Points		      [35, 0]
      Branch {
	DstBlock		"NC Fcn"
	DstPort			1
      }
      Branch {
	DstBlock		"NL Fcn"
	DstPort			1
      }
      Branch {
	Points			[0, 75]
	DstBlock		"Mux"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Sum3"
      SrcPort		      1
      DstBlock		      "Int_gain"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Integrator"
      SrcPort		      1
      DstBlock		      "Mux2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Feedback Gain F"
	DstPort			1
      }
      Branch {
	Points			[0, 175]
	DstBlock		"CNF Gain Fn"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Feedback Gain F"
      SrcPort		      1
      DstBlock		      "Sum4"

⌨️ 快捷键说明

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