📄 sldemo_absbrake_digest6.mdl
字号:
Name "slp"
Labels [0, 1]
SrcBlock "Relative Slip"
SrcPort 1
Points [-165, 0; 0, -135]
Branch {
DstBlock "mu-slip\nfriction curve"
DstPort 1
}
Branch {
DstBlock "Sum1"
DstPort 2
}
}
Line {
Name "Sd"
Labels [0, 0]
SrcBlock "Stopping distance"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "VehicleSpeed"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [325, 0]
Branch {
Points [0, -75]
DstBlock "Vehicle speed\n(angular)"
DstPort 1
}
Branch {
DstBlock "Stopping distance"
DstPort 1
}
}
Branch {
Points [0, -35]
DstBlock "Sign"
DstPort 1
}
}
Line {
SrcBlock "mu-slip\nfriction curve"
SrcPort 1
DstBlock "Weight"
DstPort 1
}
Line {
Name "Ff"
Labels [1, 1]
SrcBlock "Weight"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Desired\nrelative\nslip"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
Name "tire torque"
Labels [0, 0]
SrcBlock "Rr"
SrcPort 1
DstBlock "Brakes"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 0]
DstBlock "Switch"
DstPort 1
}
Line {
Name "BrakeSignal"
Labels [0, 0]
SrcBlock "Switch"
SrcPort 1
Points [130, 0]
DstBlock "Brakes"
DstPort 1
}
Line {
SrcBlock "No Brake"
SrcPort 1
Points [5, 0; 0, -35]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "BrakeSignal"
SrcPort 1
Points [0, 0]
DstBlock "Switch"
DstPort 2
}
Line {
Name "Ww"
Labels [0, 0]
SrcBlock "Brakes"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Sign"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
Name "Fbrake"
Labels [0, 0]
SrcBlock "Product"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "BrakingForce"
DstPort 1
}
Branch {
Points [0, -30; -140, 0; 0, -40]
DstBlock "Rr"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [10, 0]
DstBlock "Product"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Vehicle"
Ports [1, 1]
Position [165, 116, 300, 174]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Vehicle"
Location [570, 400, 963, 541]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "250"
Block {
BlockType Inport
Name "Force"
Position [25, 48, 55, 62]
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "-1/m"
Position [90, 33, 130, 77]
ShowName off
Gain "1/m"
}
Block {
BlockType Terminator
Name "Terminator"
Position [240, 55, 260, 75]
}
Block {
BlockType Integrator
Name "Vehicle\nspeed"
Ports [1, 2]
Position [180, 28, 215, 77]
InitialCondition "v0"
LimitOutput on
UpperSaturationLimit "1000"
LowerSaturationLimit "-1000"
ShowSaturationPort on
IgnoreLimit off
}
Block {
BlockType Outport
Name "VehicleSpeed"
Position [315, 33, 345, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "-1/m"
SrcPort 1
Points [0, 0]
DstBlock "Vehicle\nspeed"
DstPort 1
}
Line {
SrcBlock "Vehicle\nspeed"
SrcPort 2
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Force"
SrcPort 1
Points [0, 0]
DstBlock "-1/m"
DstPort 1
}
Line {
SrcBlock "Vehicle\nspeed"
SrcPort 1
DstBlock "VehicleSpeed"
DstPort 1
}
}
}
Block {
BlockType SignalViewerScope
Name "Scope"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
List {
ListType IOSignalStrings
set0ParseKeys "30"
set0Sigs "Tires/Brakes/Brake pressure:o1"
}
Location [6, 326, 1084, 1018]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
ShowDataMarkers off
ShowLegends off
TimeRange "15"
YMin "0"
YMax "800"
DataFormat "Array"
MaxDataPoints "7500"
RefreshTime 0.035000
Disabled off
}
Block {
BlockType SignalViewerScope
Name "Scope1"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
List {
ListType IOSignalStrings
set0ParseKeys "30,27"
set0Sigs "Tires/Brakes/Force & torque:o1Tires/Brakes/Ti"
"re Torque:o1"
}
Location [275, 389, 1122, 819]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
ShowDataMarkers off
ShowLegends on
TimeRange "15"
YMin "0"
YMax "1"
SaveName "ScopeData1"
DataFormat "Array"
MaxDataPoints "7500"
RefreshTime 0.035000
Disabled off
}
Block {
BlockType SignalViewerScope
Name "Scope2"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
List {
ListType IOSignalStrings
set0ParseKeys "10"
set0Sigs "Vehicle:o1"
}
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
ShowDataMarkers off
ShowLegends off
SaveName "ScopeData2"
DataFormat "Array"
LimitDataPoints off
MaxDataPoints "7500"
RefreshTime 0.035000
Disabled off
}
Block {
BlockType SignalViewerScope
Name "Scope3"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
List {
ListType IOSignalStrings
set0ParseKeys "19"
set0Sigs "Tires/Brakes/Sum:o1"
}
Location [188, 365, 1071, 834]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
ShowDataMarkers off
ShowLegends off
SaveName "ScopeData3"
DataFormat "Array"
MaxDataPoints "7500"
RefreshTime 0.035000
Disabled off
}
Block {
BlockType SignalViewerScope
Name "Scope4"
Ports []
Position [20, 15, 60, 55]
IOType "viewer"
List {
ListType IOSignalStrings
set0ParseKeys "15"
set0Sigs "Tires/Weight:o1"
}
Location [33, 169, 357, 408]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
ShowDataMarkers off
ShowLegends off
SaveName "ScopeData4"
DataFormat "Array"
MaxDataPoints "7500"
RefreshTime 0.035000
Disabled off
}
Line {
SrcBlock "Braking"
SrcPort 1
DstBlock "Tires"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "Vehicle"
SrcPort 1
Points [15, 0; 0, -10]
DstBlock "Tires"
DstPort 2
}
Line {
SrcBlock "Tires"
SrcPort 1
Points [45, 0; 0, 100; -420, 0]
DstBlock "Vehicle"
DstPort 1
}
Annotation {
Name "Modeling an Anti-Lock Braking System (ABS) "
Position [357, 22]
VerticalAlignment "top"
UseDisplayTextAsClickCallback off
FontSize 14
}
Annotation {
Name "Copyright 1990-2006 The MathWorks Inc."
Position [396, 281]
UseDisplayTextAsClickCallback off
}
}
}
MatData {
NumRecords 2
DataRecord {
Tag DataTag1
Data " %)30 . R , 8 ( @ % "
"\" $ ! 0 % 0 $0 $ #, =F5R:69Y0FQK4&%T:', !V97)I"
"9GE\";&M(86YD;&5S '9N=DUG<DED> 86-T:79E1W)O=7 !R97%$:7-P4')C"
";G0 &)L:T1I<W!-;V1E 9W)O=7!#;G0 !G<F]U<%)E<4-N= "
"&=R;W5P1$]/4E-I9 ;6]D96Q( !B;&]C:T@ &]V97)I9&"
"53971T:6YG<P X P !@ @ & 4 ( ! "
" D #@ # & \" 8 !0 @ $ "
" \"0 . , 8 ( !@ % \" 0 "
" ) X X !@ @ & 4 ( 0 $ ! "
" D ( \\#\\. , 8 ( !@ % \" "
" 0 ) X P !@ @ & 4 ( "
" ! D #@ #@ & \" 8 !0 @ ! 0 "
"$ \"0 @ 0 X P !@ @ & 4 ( "
" ! D #@ # & \" 8 !0 @ "
" $ \"0 . . 8 ( !@ % \" $ "
" ! 0 ) \" # @A #@ #@ & \" 8 !0 "
" @ ! 0 $ \"0 @ $\\00 X P !@ @ & "
" 4 ( ! D "
}
DataRecord {
Tag DataTag0
Data " %)30 . .!$ 8 ( @ % "
"\" $ ! 0 % 0 %@ $ \": 9W)I9%-E='1I;F< "
" &-H86YN96QS !A>&5S 8V]M;6]N "
" &1A=&%3970 !D871A4V5T261X :7-69"
"7)I9FEC871I;VY6:7-I8FQE X P !@ @ $ 4 ( 0"
" ( ! ! @!O;@ #@ . ( & \" ( !0 @ ! "
" 0 $ !0 $ H ! @@ 'A$871A !Y1&%T80 <W1E<%@ "
" '-T97!9 !Y36EN >4UA> &-O;&]R !L:6YE4W1Y;&4 ;&EN95=I"
"9'1H &QA8F5L !O=71);F1E> 86QL6$1A=&$ &%L;%E$871A . < "
" 8 ( !@ % \" $ ( 0 ) 0 "
" \\#\\ #P/P A \"$ D0 \"1 .4"
" . < 8 ( !@ % \" $ ( 0 ) 0 "
" #P/P / _ / _ "
" \\#\\. . 8 ( !@ % \" $ ! 0 ) "
" \" #@ #@ & \" 8 !0 @ ! 0 $ "
" \"0 @ X X !@ @ & 4 ( 0 "
" $ ! D ( \\/\\. . 8 ( !@ % "
" \" $ ! 0 ) \" /!_#@ $@ & \" 8 "
" !0 @ ! P $ \"0 !@ !\"/NC9K/KJ/P "
" . , 8 ( ! % \" $ ! 0 0 $ "
"+0 X X !@ @ & 4 ( 0 $ ! D ( "
" ^#\\. 0 8 ( ! % \" $ + 0 "
" 0 \"P $)R86ME4VEG;F%L . . 8 ( !@ % \" "
" $ ! 0 ) \" / _#@ &@\" & \" $ "
" !0 @ ! @ $ #@ ' & \" 8 !0 @ "
" ! \" $ \"0 $ / _ \\#\\ "
" (0 A )$ D0 #E #@ , ! & \" 8 "
" !0 @ ! ,@ $ \"0 ) ! / _ \\"
"#\\S,S,S,S,!0#,S,S,S,P% \"$ (0 !! $$ 4"
"0 !1 &$ 80 !Q '$ @0 \"! "
" (D B0 \"1 )$ F0 \"9 *$ "
" H0 \"I *D L0 \"Q +D N0 "
" #! ,$ Q0 #% ,D R0 #- "
" ,T T0 #1 -4 U0 #9 -D "
" W0 #= .$ X0 #E #@ &@\" & \" $ "
" !0 @ ! @ $ #@ ' & \" 8 !0 @"
" ! \" $ \"0 $ \\#\\ "
" #P/P #P/P / _#@ , ! & \" 8 "
" !0 @ ! ,@ $ \"0 ) ! "
"\\#\\ #P/P #P/P / _ ( "
" @ / _ \\#\\ @ \" \\#\\ #P/P "
" \" ( #P/P / _ ( @ / _ "
" \\#\\ @ \" \\#\\ #P/P "
" #P/P / _ ( / _ \\#\\ "
" \\#\\ #P/P #P/P / _ "
" / _ \\#\\ \" #@ + ! & "
" \" ( !0 @ ! 0 $ !0 $ L ! -P &-H86Y"
"N96QS >4QI;0 !L86)E;%!O<P &QA8F5L2 ;&%B96Q0871C: #@ #@ "
" & \" 8 !0 @ ! 0 $ \"0 @ #"
"P/PX ! !@ @ & 4 ( 0 ( ! D 0 "
"FIF9F9F9N;^:F9F9F9GQ/PX P !@ @ $ 4 ( 0 ( ! "
" ! @!43 #@ #@ & \" 8 !0 @ ! 0 $ "
" \"0 @ #P\";:@0 X X !@ @ & 4 ( 0 "
" $ ! D ( \\ FTH$ . : ( 8 ( @ % "
"\" $ ! 0 % 0 #@ $ !B 9&ES<%1I;64 !D:7-P36]D"
"90 &UI;E1I;64 ;6%X5&EM90 !A9G1E<D9I;F%L4W1R '-A;7!L951I;"
"64 >F5R;T-R;W-S . 0 8 ( !@ % \" "
" $ \" 0 ) $ .4 . . 8 ( !"
"@ % \" $ ! 0 ) \" / _#@ #@ &"
" \" 8 !0 @ ! 0 $ \"0 @ X"
" X !@ @ & 4 ( 0 $ ! D ( "
" .4 . 0 8 ( ! % \" $ + 0 0 "
"\"P $5X=')A<&]L871E . . 8 ( !@ % \" $ "
"! 0 ) \" #@ # & \" 0 !0 "
"@ ! @ $ $ \" &]N . D ( 8 ( @ % \""
" $ \" 0 % 0 #@ $ X 86-T:79E1&ES<$ED> !T:6UE4F%N9"
"V4 &YA;64 9&ES<&QA>5)A;F=E . . 8 ( !@ "
" % \" $ ! 0 ) \" / _#@ $ & \" "
" 8 !0 @ ! @ $ \"0 ! #E "
"#@ #@ & \" 0 !0 @ ! !P $ $ < !'"
"<F]U<\" Q X ! !@ @ & 4 ( 0 ( ! D "
" 0 Y0 X X !@ @ & 4 ( 0 "
" $ ! D ( \\#\\. 0 8 ( !@ % "
"\" $ \" 0 ) $ .4 . . 8 "
"( ! % \" $ ' 0 0 !P $=R;W5P(#( #@ $ "
" & \" 8 !0 @ ! @ $ \"0 ! "
" #E #@ #@ & \" 8 !0 @ ! 0 $ "
" \"0 @ #P/PX X !@ @ & 4 ( 0 $ "
" ! D ( "
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -