📄 mvt_blocks.mdl
字号:
Library {
Name "mvt_blocks"
Version 3.00
BlockDataTips off
BlockParametersDataTip off
BlockAttributesDataTip off
BlockPortWidthsDataTip off
BlockDescriptionStringDataTip off
BlockMaskParametersDataTip off
ToolBar off
StatusBar off
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Sun Jun 06 11:42:28 1999"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Wed May 31 11:14:11 2000"
ModelVersionFormat "1.%<AutoIncrement:70>"
ConfigurationManager "none"
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
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 "mvt_blocks"
Location [0, 10000, 0, 0]
Open on
ModelBrowserVisibility on
ModelBrowserWidth 169
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom off
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "emfc_controller"
Ports [2, 2, 0, 0, 0]
Position [45, 437, 155, 493]
Orientation "left"
BackgroundColor "yellow"
FontSize 14
FontWeight "bold"
ShowPortLabels on
MaskDisplay "disp('CONTROLLER')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "emfc_controller"
Location [203, 261, 627, 447]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "Y"
Position [320, 78, 350, 92]
Orientation "left"
FontSize 12
FontWeight "bold"
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "YR=Ym*=Y*"
Position [320, 133, 350, 147]
Orientation "left"
FontSize 12
FontWeight "bold"
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType StateSpace
Name "CONTROLLER"
Position [215, 68, 275, 102]
Orientation "left"
A "stack.simulation.Ak"
B "stack.simulation.Bk"
C "stack.simulation.Ck"
D "stack.simulation.Dk"
X0 "0"
}
Block {
BlockType StateSpace
Name "MODEL"
Position [215, 123, 275, 157]
Orientation "left"
A "stack.simulation.Am"
B "stack.simulation.Bm"
C "eye(size(stack.simulation.Am))"
D "zeros(size(stack.simulation.Am,1),size(stac"
"k.simulation.Bm,2))"
X0 "0"
}
Block {
BlockType SubSystem
Name "Matrix\nGain"
Ports [1, 1, 0, 0, 0]
Position [140, 125, 170, 155]
Orientation "left"
ShowName off
ShowPortLabels on
MaskType "Matrix Gain"
MaskDescription "Matrix Gain."
MaskHelp "Multiplies input vector by entered matrix t"
"o produce output vector (y=Au)."
MaskPromptString "Gain matrix:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskVariables "K=@1;"
MaskDisplay "disp('Kff')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "stack.simulation.Kff"
System {
Name "Matrix\nGain"
Location [160, 235, 400, 328]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In1"
Position [25, 33, 55, 47]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType StateSpace
Name "State\nSpace"
Position [80, 23, 145, 57]
ShowName off
A "[]"
B "[]"
C "[]"
D "K"
X0 "0"
}
Block {
BlockType Outport
Name "Out1"
Position [170, 33, 200, 47]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "State\nSpace"
DstPort 1
}
Line {
SrcBlock "State\nSpace"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Matrix\nGain1"
Ports [1, 1, 0, 0, 0]
Position [95, 40, 125, 70]
Orientation "left"
ShowName off
ShowPortLabels on
MaskType "Matrix Gain"
MaskDescription "Matrix Gain."
MaskHelp "Multiplies input vector by entered matrix t"
"o produce output vector (y=Au)."
MaskPromptString "Gain matrix:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskVariables "K=@1;"
MaskDisplay "disp('Cm')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "stack.simulation.Cm"
System {
Name "Matrix\nGain1"
Location [160, 235, 400, 328]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In1"
Position [25, 33, 55, 47]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType StateSpace
Name "State\nSpace"
Position [80, 23, 145, 57]
ShowName off
A "[]"
B "[]"
C "[]"
D "K"
X0 "0"
}
Block {
BlockType Outport
Name "Out1"
Position [170, 33, 200, 47]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "State\nSpace"
DstPort 1
}
Line {
SrcBlock "State\nSpace"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [90, 130, 110, 150]
Orientation "left"
ShowName off
IconShape "round"
Inputs "++|"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Ym"
Position [35, 48, 65, 62]
Orientation "left"
FontSize 12
FontWeight "bold"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "U1"
Position [35, 133, 65, 147]
Orientation "left"
FontSize 12
FontWeight "bold"
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "YR=Ym*=Y*"
SrcPort 1
DstBlock "MODEL"
DstPort 1
}
Line {
SrcBlock "Y"
SrcPort 1
DstBlock "CONTROLLER"
DstPort 1
}
Line {
SrcBlock "Matrix\nGain"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "U1"
DstPort 1
}
Line {
SrcBlock "CONTROLLER"
SrcPort 1
Points [-110, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "MODEL"
SrcPort 1
Points [-15, 0]
Branch {
DstBlock "Matrix\nGain"
DstPort 1
}
Branch {
Points [0, -85]
DstBlock "Matrix\nGain1"
DstPort 1
}
}
Line {
SrcBlock "Matrix\nGain1"
SrcPort 1
DstBlock "Ym"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "emfc_kpf"
Ports [1, 1, 0, 0, 0]
Position [195, 443, 305, 477]
Orientation "left"
FontSize 14
FontWeight "bold"
ShowPortLabels on
MaskDisplay "disp('Kpf')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "emfc_kpf"
Location [219, 310, 643, 461]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In1"
Position [360, 53, 390, 67]
Orientation "left"
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType SubSystem
Name "Matrix\nGain"
Ports [1, 1, 0, 0, 0]
Position [130, 35, 160, 65]
Orientation "left"
ShowName off
ShowPortLabels on
MaskType "Matrix Gain"
MaskDescription "Matrix Gain."
MaskHelp "Multiplies input vector by entered matrix t"
"o produce output vector (y=Au)."
MaskPromptString "Gain matrix:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskVariables "K=@1;"
MaskDisplay "disp('Kfb')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "stack.simulation.Kfb"
System {
Name "Matrix\nGain"
Location [160, 235, 400, 328]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In1"
Position [25, 33, 55, 47]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType StateSpace
Name "State\nSpace"
Position [80, 23, 145, 57]
ShowName off
A "[]"
B "[]"
C "[]"
D "K"
X0 "0"
}
Block {
BlockType Outport
Name "Out1"
Position [170, 33, 200, 47]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "State\nSpace"
DstPort 1
}
Line {
SrcBlock "State\nSpace"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Matrix\nGain1"
Ports [1, 1, 0, 0, 0]
Position [235, 104, 295, 136]
Orientation "left"
ShowName off
ShowPortLabels on
MaskType "Matrix Gain"
MaskDescription "Matrix Gain."
MaskHelp "Multiplies input vector by entered matrix t"
"o produce output vector (y=Au)."
MaskPromptString "Gain matrix:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskVariables "K=@1;"
MaskDisplay "disp('Kpf_0')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "stack.simulation.Kpf0"
System {
Name "Matrix\nGain1"
Location [160, 235, 400, 328]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "In1"
Position [25, 33, 55, 47]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType StateSpace
Name "State\nSpace"
Position [80, 23, 145, 57]
ShowName off
A "[]"
B "[]"
C "[]"
D "K"
X0 "0"
}
Block {
BlockType Outport
Name "Out1"
Position [170, 33, 200, 47]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "State\nSpace"
DstPort 1
}
Line {
SrcBlock "State\nSpace"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1, 0, 0, 0]
Position [85, 70, 115, 100]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -