📄 electricalmechanicalcomponents.mdl
字号:
}
Block {
BlockType Scope
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "-1"
}
Block {
BlockType Selector
InputType "Vector"
IndexMode "One-based"
ElementSrc "Internal"
Elements "1"
RowSrc "Internal"
Rows "1"
ColumnSrc "Internal"
Columns "1"
InputPortWidth "-1"
IndexIsStartValue off
OutputPortSize "1"
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
Block {
BlockType Signum
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Sin
SineType "Time based"
TimeSource "Use simulation time"
Amplitude "1"
Bias "0"
Frequency "1"
Phase "0"
Samples "10"
Offset "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Terminator
}
Block {
BlockType TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType TriggerPort
TriggerType "rising"
StatesWhenEnabling "inherit"
ShowOutputPort off
OutputDataType "auto"
SampleTimeType "triggered"
SampleTime "1"
ZeroCross on
}
Block {
BlockType Trigonometry
Operator "sin"
OutputSignalType "auto"
SampleTime "-1"
}
Block {
BlockType UnitDelay
X0 "0"
SampleTime "1"
StateMustResolveToSignalObject off
RTWStateStorageClass "Auto"
}
Block {
BlockType ZeroOrderHold
SampleTime "1"
}
}
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 "ElectricalMechanicalComponents"
Location [216, 255, 883, 794]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "Automotive"
Ports []
Position [304, 224, 410, 296]
FontSize 10
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Automotive"
Location [433, 403, 931, 703]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType SubSystem
Name "One-Way Clutch"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [210, 34, 295, 66]
FontSize 10
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "One-Way Clutch"
Location [19, 301, 294, 473]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [25, 25, 55, 55]
Value "0"
}
Block {
BlockType Reference
Name "Controllable\nFriction Clutch"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [145, 77, 195, 133]
SourceBlock "driveline/Dynamic\nElements/Controllabl"
"e\nFriction Clutch"
SourceType "Controllable Friction Clutch"
ShowPortLabels on
PortType "p1"
BlockClass "Clutch"
PhysicalDomain "driveline_domain"
Sign "Unidirectional"
Nf "6"
EffectiveRadius "0.04"
PeakForce "1000"
MuTable "[0 1; 1e8 1]"
PeakFactor "1.1"
PressureEngagementThreshold "0"
UseDefaultVelocityTolerance on
UseAutomaticVelocityTolerance on
VelocityTolerance "1e-3"
Lock off
Slip off
EnergyLoss off
Mode off
SimDrivelineLibraryVersion "1.1"
}
Block {
BlockType Reference
Name "Housing1"
Ports [0, 0, 0, 0, 0, 0, 1]
Position [30, 95, 80, 145]
SourceBlock "driveline/Solver &\nInertias/Housing"
SourceType "Housing"
ShowPortLabels on
}
Block {
BlockType PMIOPort
Name "Shaft"
Position [220, 98, 250, 112]
Orientation "left"
Port "1"
Side "Right"
}
Line {
LineType "Connection"
SrcBlock "Housing1"
SrcPort RConn1
Points [0, 0]
DstBlock "Controllable\nFriction Clutch"
DstPort LConn1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [35, 0; 0, 50]
DstBlock "Controllable\nFriction Clutch"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Shaft"
SrcPort RConn1
Points [0, 0]
DstBlock "Controllable\nFriction Clutch"
DstPort RConn1
}
}
}
Block {
BlockType SubSystem
Name "Power Meas"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [355, 28, 425, 72]
FontSize 10
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Power Meas"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "Motion Sensor"
Ports [0, 1, 0, 0, 0, 1]
Position [175, 15, 225, 65]
SourceBlock "driveline/Sensors &\nActuators/Motion S"
"ensor"
SourceType "Motion Sensor"
ShowPortLabels on
Angle off
x0 "0"
Velocity on
Acceleration off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [285, 52, 315, 83]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Torque Sensor"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [175, 92, 225, 148]
SourceBlock "driveline/Sensors &\nActuators/Torque S"
"ensor"
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
Points [0, -10]
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, -30]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Power"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Ravigneaux Transmission"
Ports [2, 0, 0, 0, 0, 1, 1]
Position [70, 155, 175, 225]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Ravigneaux Transmission"
Location [68, 78, 776, 405]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Speed"
Position [235, 88, 265, 102]
NamePlacement "alternate"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Speed Cmd"
Position [235, 123, 265, 137]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType SubSystem
Name "Ravigneaux\nTransmission"
Ports [2, 1, 0, 0, 0, 1, 1]
Position [295, 74, 405, 186]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Ravigneaux\nTransmission"
Location [68, 78, 822, 420]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Speed"
Position [15, 33, 45, 47]
IconDisplay "Port number"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -