📄 ssts__mass_spring_damping.mdl
字号:
UseDisplayTextAsClickCallback off
}
Annotation {
Name "m"
Position [581, 517]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Mass - Spring - Damping System"
Position [276, 66]
BackgroundColor "lightBlue"
UseDisplayTextAsClickCallback off
FontSize 28
FontWeight "bold"
}
Annotation {
Name "\n"
Position [55, 172]
HorizontalAlignment "left"
UseDisplayTextAsClickCallback off
}
Annotation {
Name "%Revision -\n%Date Name "
" Description of Change email "
"\n%22-Jan-2007 Yi Chen Initial version leo.chen.y"
"i@gmail.com Universiy of Glasgow\n%HISTORY$\n"
Position [51, 130]
HorizontalAlignment "left"
UseDisplayTextAsClickCallback off
FontSize 12
}
}
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [650, 414, 680, 446]
Floating off
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [785, 764, 815, 796]
Floating off
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Tether Payload Mass (Mass - Spring - Damping)"
Ports [4, 1]
Position [250, 560, 655, 815]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDescription "Input : Force\nOutput: Displacement\n\nm -- m"
"ass\nc -- damping coefficient\nk -- stiffness\n\nm*acceleration + c*velocity "
"+ k*displacement = force"
MaskPromptString "Mass|Stiffness|Damping Coefficient"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "m=@1;k=@2;c=@3;"
MaskDisplay "image(imread('SSTS__tether_MMET_III_spring_damp"
"er_mass_end.jpg'));"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "10|10|0.5"
MaskTabNameString ",,"
System {
Name "Tether Payload Mass (Mass - Spring - Damping)"
Location [2, 74, 1014, 744]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Force"
Position [40, 283, 70, 297]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Mass"
Position [40, 443, 70, 457]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Stiffness"
Position [40, 483, 70, 497]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Damping Coefficient"
Position [40, 533, 70, 547]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [605, 367, 635, 398]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Clock
Name "Clock"
Position [670, 145, 690, 165]
Decimation "10"
}
Block {
BlockType Product
Name "Divide"
Ports [2, 1]
Position [845, 372, 875, 403]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [445, 307, 475, 338]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [520, 382, 550, 413]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract"
Ports [2, 1]
Position [775, 362, 805, 393]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Display
Name "Timer"
Ports [1]
Position [735, 140, 825, 170]
Decimation "1"
Lockdown off
}
Block {
BlockType Integrator
Name "acc Integrator"
Ports [1, 1]
Position [280, 375, 310, 405]
IgnoreLimit off
}
Block {
BlockType Integrator
Name "vel Integrator"
Ports [1, 1]
Position [425, 375, 455, 405]
IgnoreLimit off
}
Block {
BlockType Outport
Name "Out1"
Position [650, 538, 680, 552]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Timer"
DstPort 1
}
Line {
SrcBlock "vel Integrator"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, 155]
DstBlock "Out1"
DstPort 1
}
}
Line {
SrcBlock "acc Integrator"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
DstBlock "vel Integrator"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [0, -10]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [75, 0; 0, 50]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Subtract"
DstPort 2
}
Line {
SrcBlock "Subtract"
SrcPort 1
DstBlock "Divide"
DstPort 1
}
Line {
SrcBlock "Mass"
SrcPort 1
Points [740, 0; 0, -55]
DstBlock "Divide"
DstPort 2
}
Line {
SrcBlock "Divide"
SrcPort 1
Points [30, 0; 0, -130; -705, 0; 0, 130]
DstBlock "acc Integrator"
DstPort 1
}
Line {
SrcBlock "Force"
SrcPort 1
Points [650, 0; 0, 80]
DstBlock "Subtract"
DstPort 1
}
Line {
SrcBlock "Damping Coefficient"
SrcPort 1
Points [25, 0; 0, -225]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Stiffness"
SrcPort 1
Points [415, 0; 0, -85]
DstBlock "Product1"
DstPort 2
}
Annotation {
Name "Tether Payload Mass (Mass - Spring - Dampin"
"g System)"
Position [396, 66]
BackgroundColor "lightBlue"
UseDisplayTextAsClickCallback off
FontSize 28
FontWeight "bold"
}
Annotation {
Name "\n"
Position [55, 172]
HorizontalAlignment "left"
UseDisplayTextAsClickCallback off
}
Annotation {
Name "%Revision -\n%Date Name "
" Description of Change email "
"\n%28-Jan-2007 Yi Chen Initial version leo.chen.y"
"i@gmail.com Universiy of Glasgow\n%HISTORY$\n"
Position [51, 130]
HorizontalAlignment "left"
UseDisplayTextAsClickCallback off
FontSize 12
}
Annotation {
Name "dx/dt"
Position [387, 379]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "x"
Position [481, 383]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "d(dx/dt)/dt"
Position [237, 379]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "kx"
Position [582, 400]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "c(dx/dt)"
Position [510, 313]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "F"
Position [753, 362]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "m"
Position [826, 407]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "k"
Position [500, 420]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "c"
Position [397, 306]
UseDisplayTextAsClickCallback off
}
}
}
Block {
BlockType SubSystem
Name "Tether Point Mass (Mass - Spring - Damping)"
Ports [4, 1]
Position [285, 935, 780, 1255]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDescription "m -- mass\nc -- damping coefficient\nk -- stiff"
"ness\n\nm*acceleration + c*velocity + k*displacement = force"
MaskDisplay "image(imread('SSTS__tether_MMET_III_spring_damp"
"er_mass_all.jpg'));"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Tether Point Mass (Mass - Spring - Damping)"
Location [2, 74, 1014, 744]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Force"
Position [60, 333, 90, 347]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Mass"
Position [60, 493, 90, 507]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Stiffness"
Position [60, 533, 90, 547]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Damping Coefficient"
Position [60, 583, 90, 597]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [625, 417, 655, 448]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Clock
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -