📄 carravigneaux.mdl
字号:
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Torque Sensor"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [175, 86, 225, 139]
SourceBlock "driveline/Sensors &\nActuators/Torque Senso"
"r"
SourceType "Torque Sensor"
ShowPortLabels on
}
Block {
BlockType PMIOPort
Name "B"
Position [65, 105, 85, 125]
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "F"
Position [285, 115, 305, 135]
Orientation "left"
Port "2"
Side "Right"
}
Block {
BlockType Outport
Name "Power"
Position [360, 63, 390, 77]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
LineType "Connection"
SrcBlock "B"
SrcPort RConn1
Points [0, 0; 20, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "Torque Sensor"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [0, -75]
DstBlock "Motion Sensor"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Torque Sensor"
SrcPort RConn1
DstBlock "F"
DstPort RConn1
}
Line {
SrcBlock "Motion Sensor"
SrcPort 1
Points [20, 0; 0, 20]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Torque Sensor"
SrcPort 1
Points [20, 0; 0, -25]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Power"
DstPort 1
}
}
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [760, 317, 790, 348]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Ramp"
Ports [0, 1]
Position [265, 225, 295, 255]
SourceBlock "simulink/Sources/Ramp"
SourceType "Ramp"
ShowPortLabels on
slope "10"
start "0"
X0 "0"
VectorParams1D on
}
Block {
BlockType Saturate
Name "Saturation"
Position [320, 225, 350, 255]
UpperLimit "80"
LowerLimit "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 3, 0, 0, 0, 1]
Position [550, 138, 660, 202]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
Port {
PortNumber 2
Name "qaz"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
System {
Name "Subsystem"
Location [25, 168, 996, 495]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Hill Angle"
Position [435, 163, 465, 177]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "Differential"
Ports [0, 0, 0, 0, 0, 1, 2]
Position [80, 125, 140, 185]
SourceBlock "driveline/Gears/Differential"
SourceType "Differential"
ShowPortLabels on
R "1"
ValidatorFcn "drive_differentialgearblock"
SimDrivelineLibraryVersion "1.1"
}
Block {
BlockType Reference
Name "Front Tire"
Ports [2, 2, 0, 0, 0, 1]
Position [225, 59, 305, 141]
SourceBlock "driveline/Vehicle\nComponents/Tire"
SourceType "Tire"
ShowPortLabels on
r_e "0.3"
F_z "3000"
F_x_max "3500"
kappa_max "10"
sigma_k "0.2"
}
Block {
BlockType Gain
Name "Gain"
Position [610, 60, 640, 90]
Gain "3600*3.28/5280"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [725, 100, 755, 130]
Gain "3.28/5280"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Inertia"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [95, 212, 135, 238]
SourceBlock "driveline/Solver &\nInertias/Inertia"
SourceType "Inertia"
ShowPortLabels on
PortType "p1"
BlockClass "Inertia"
PhysicalDomain "driveline_domain"
I "0.1"
Ip "[]"
Iv "[]"
ShowLeft off
ShowRight on
}
Block {
BlockType Reference
Name "Inertia1"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [65, 67, 105, 93]
SourceBlock "driveline/Solver &\nInertias/Inertia"
SourceType "Inertia"
ShowPortLabels on
PortType "p1"
BlockClass "Inertia"
PhysicalDomain "driveline_domain"
I "0.1"
Ip "[]"
Iv "[]"
ShowLeft off
ShowRight on
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [655, 100, 685, 130]
IgnoreLimit off
}
Block {
BlockType Reference
Name "Longitudinal\nVehicle Dynamics"
Ports [3, 3]
Position [490, 105, 570, 185]
SourceBlock "driveline/Vehicle\nComponents/Longitudinal"
"\nVehicle Dynamics"
SourceType "Longitudinal Vehicle Dynamics"
ShowPortLabels on
m "1200"
a "1.4"
b "1.6"
h "0.5"
FA "3"
C_d "0.4"
v0 "0"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [775, 187, 805, 218]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Rear Tire"
Ports [2, 2, 0, 0, 0, 1]
Position [225, 184, 305, 266]
SourceBlock "driveline/Vehicle\nComponents/Tire"
SourceType "Tire"
ShowPortLabels on
r_e "0.3"
F_z "3000"
F_x_max "3500"
kappa_max "10"
sigma_k "0.2"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [705, 200, 725, 220]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Terminator
Name "Terminator"
Position [330, 70, 350, 90]
}
Block {
BlockType Terminator
Name "Terminator1"
Position [330, 195, 350, 215]
}
Block {
BlockType PMIOPort
Name "Power\nShaft"
Position [25, 148, 55, 162]
Port "1"
Side "Left"
}
Block {
BlockType Outport
Name "Vx"
Position [675, 68, 705, 82]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Px"
Position [795, 108, 825, 122]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Power"
Position [840, 198, 870, 212]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
LineType "Connection"
SrcBlock "Differential"
SrcPort RConn1
Points [0, 0; 5, 0]
Branch {
ConnectType "DEST_SRC"
Points [45, 0; 0, -15]
DstBlock "Front Tire"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Inertia1"
SrcPort RConn1
Points [40, 0; 0, 60]
}
}
Line {
LineType "Connection"
SrcBlock "Differential"
SrcPort RConn2
Points [0, 0; 5, 0]
Branch {
ConnectType "DEST_SRC"
Points [45, 0; 0, 80]
DstBlock "Rear Tire"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Inertia"
SrcPort RConn1
Points [10, 0; 0, -55]
}
}
Line {
SrcBlock "Front Tire"
SrcPort 1
Points [0, 0]
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Front Tire"
SrcPort 2
Points [95, 0]
Branch {
DstBlock "Longitudinal\nVehicle Dynamics"
DstPort 1
}
Branch {
Points [0, 90]
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "Rear Tire"
SrcPort 1
Points [0, 0]
DstBlock "Terminator1"
DstPort 1
}
Line {
SrcBlock "Rear Tire"
SrcPort 2
Points [0, 0; 75, 0]
Branch {
Points [0, -100]
DstBlock "Longitudinal\nVehicle Dynamics"
DstPort 2
}
Branch {
Points [330, 0]
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "Longitudinal\nVehicle Dynamics"
SrcPort 1
Points [15, 0; 0, -5]
Branch {
Points [0, -40]
Branch {
Points [0, -30; -395, 0; 0, 30]
Branch {
DstBlock "Front Tire"
DstPort 1
}
Branch {
Points [0, 125]
DstBlock "Rear Tire"
DstPort 1
}
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Branch {
Points [35, 0]
Branch {
DstBlock "Integrator"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Product"
DstPort 1
}
}
}
Line {
SrcBlock "Longitudinal\nVehicle Dynamics"
SrcPort 2
Points [330, 0; 0, -115; -730, 0; 0, 70]
DstBlock "Front Tire"
DstPort 2
}
Line {
SrcBlock "Longitudinal\nVehicle Dynamics"
SrcPort 3
Points [25, 0; 0, 115; -420, 0; 0, -60]
DstBlock "Rear Tire"
DstPort 2
}
Line {
SrcBlock "Integrator"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Power\nShaft"
SrcPort RConn1
DstBlock "Differential"
DstPort LConn1
}
Line {
SrcBlock "Hill Angle"
SrcPort 1
Points [0, 0]
DstBlock "Longitudinal\nVehicle Dynamics"
DstPort 3
}
Line {
SrcBlock "Gain"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -