📄 motordrag.mdl
字号:
RTWCAPIParams off
RTWCAPIStates off
GenerateASAP2 off
}
PropName "Components"
}
}
PropName "Components"
}
Name "Configuration"
SimulationMode "normal"
CurrentDlgPage "Solver"
}
PropName "ConfigurationSets"
}
Simulink.ConfigSet {
$PropName "ActiveConfigurationSet"
$ObjectID 1
}
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ParameterDataTypeMode "Same as input"
ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "2^0"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Inport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
LatchByDelayingOutsideSignal off
LatchByCopyingInsideSignal off
Interpolate on
}
Block {
BlockType Outport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Step
Time "1"
Before "0"
After "1"
SampleTime "-1"
VectorParams1D on
ZeroCross on
}
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 TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "motordrag"
Location [2, 70, 1022, 717]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Inport
Name "In1"
Position [65, 208, 95, 222]
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain"
Position [755, 25, 785, 55]
Orientation "left"
NamePlacement "alternate"
Gain "0.212"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Step
Name "Step"
Position [60, 120, 90, 150]
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [265, 120, 285, 140]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [115, 125, 135, 145]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [485, 115, 505, 135]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [675, 85, 695, 105]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [170, 112, 230, 148]
Numerator "[0.1]"
Denominator "[0.01 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [310, 112, 370, 148]
Numerator "[1.5 1]"
Denominator "[0.085 0]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn2"
Position [400, 107, 460, 143]
Numerator "[0.1]"
Denominator "[0.01 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn3"
Position [520, 107, 580, 143]
Numerator "[0.15 1]"
Denominator "[0.051 0]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn4"
Position [595, 107, 655, 143]
Numerator "[70]"
Denominator "[0.0067 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn5"
Position [725, 77, 785, 113]
Numerator "[0.21]"
Denominator "[0.15 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn6"
Position [805, 77, 865, 113]
Numerator "[130]"
Denominator "[1 0]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn7"
Position [570, 207, 630, 243]
Orientation "left"
NamePlacement "alternate"
Numerator "[0.1]"
Denominator "[0.01 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn8"
Position [570, 322, 630, 358]
Orientation "left"
NamePlacement "alternate"
Numerator "[0.0044]"
Denominator "[0.01 1]"
}
Block {
BlockType Outport
Name "Out1"
Position [900, 88, 930, 102]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "In1"
SrcPort 1
Points [25, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Step"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [5, 0; 0, -5]
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn4"
SrcPort 1
Points [25, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Transfer Fcn5"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn5"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Transfer Fcn6"
DstPort 1
}
Branch {
Points [0, 130]
DstBlock "Transfer Fcn7"
DstPort 1
}
}
Line {
SrcBlock "Transfer Fcn6"
SrcPort 1
Points [5, 0]
Branch {
Points [5, 0]
Branch {
Points [0, -55]
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Out1"
DstPort 1
}
}
Branch {
Points [0, 245]
DstBlock "Transfer Fcn8"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [-120, 0; 0, 55]
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn7"
SrcPort 1
Points [-70, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Transfer Fcn3"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn3"
SrcPort 1
DstBlock "Transfer Fcn4"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn8"
SrcPort 1
Points [-290, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Transfer Fcn1"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
Points [5, 0; 0, -5]
DstBlock "Transfer Fcn2"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -