📄 mt.mdl
字号:
MaskCallbackString "||||"
MaskEnableString "on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on"
MaskToolTipString "on,on,on,on,on"
MaskVarAliasString ",,,,"
MaskVariables "Lr=@1;Lm=@2;T2=@3;np=@4;J=@5;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.209674|0.2037|0.1936|2|0.02"
MaskTabNameString ",,,,"
System {
Name "Subsystem2"
Location [70, 125, 941, 615]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Im1"
Position [15, 58, 45, 72]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "It1"
Position [35, 233, 65, 247]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Constant
Name "Constant1"
Position [60, 169, 130, 201]
Value "0.00001"
}
Block {
BlockType Fcn
Name "Fcn"
Position [235, 89, 270, 121]
Expr "1/u"
}
Block {
BlockType Gain
Name "Gain"
Position [125, 42, 180, 78]
Gain "Lm/T2"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [585, 179, 640, 211]
Gain "15/pi"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [410, 179, 465, 211]
Gain "np/J"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [140, 220, 230, 260]
Gain "(Lm*np)/Lr"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [655, 215, 685, 245]
Orientation "down"
NamePlacement "alternate"
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [495, 175, 525, 205]
NamePlacement "alternate"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [320, 37, 350, 68]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [270, 167, 300, 198]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [400, 89, 430, 121]
Location [5, 56, 1029, 737]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-2.25e+015"
YMax "2.25e+015"
SaveName "ScopeData7"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Step
Name "Step"
Position [270, 255, 300, 285]
Time "2"
After "10"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [610, 42, 625, 98]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [365, 167, 380, 223]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [170, 102, 185, 158]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [70, 102, 130, 138]
Numerator "[Lm]"
Denominator "[T2 1]"
}
Block {
BlockType Outport
Name "n"
Position [810, 63, 840, 77]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Te"
Position [350, 118, 380, 132]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "F2"
Position [220, 13, 250, 27]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "W1"
Position [710, 143, 740, 157]
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "theta"
Position [705, 268, 735, 282]
Port "5"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "It1"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Gain4"
DstPort 1
}
}
Line {
SrcBlock "Im1"
SrcPort 1
Points [5, 0]
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [20, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -60]
DstBlock "Te"
DstPort 1
}
Branch {
Points [0, 10]
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [40, 0; 0, 80]
Branch {
DstBlock "W1"
DstPort 1
}
Branch {
DstBlock "Integrator1"
DstPort 1
}
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [0, -5]
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [0, 25]
DstBlock "theta"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [10, 0; 0, -50]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 5]
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, -100]
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [240, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [60, 0; 0, -15]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [20, 0; 0, -5]
Branch {
Points [0, -40]
DstBlock "Product"
DstPort 2
}
Branch {
Points [0, 5]
DstBlock "Scope"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, 35; 15, 0]
Branch {
Points [0, -60]
Branch {
DstBlock "F2"
DstPort 1
}
Branch {
DstBlock "Fcn"
DstPort 1
}
}
Branch {
Points [50, 0]
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [15, 0; 0, -140; 135, 0]
DstBlock "n"
DstPort 1
}
Line {
SrcBlock "Step"
SrcPort 1
Points [20, 0; 0, -55]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [10, 0; 0, -35]
DstBlock "Sum2"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "U/I"
Ports [4, 2]
Position [410, 212, 505, 288]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "R1|R2|Lr|Lm|Lo|Ls"
MaskStyleString "edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||||"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVarAliasString ",,,,,"
MaskVariables "R1=@1;R2=@2;Lr=@3;Lm=@4;Lo=@5;Ls=@6;"
MaskDisplay "disp('U/I')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "1.115|1.083|0.209674|0.2037|0.003976|0.209674"
MaskTabNameString ",,,,,"
System {
Name "U/I"
Location [99, 145, 845, 598]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Um1"
Position [30, 113, 60, 127]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "F2"
Position [30, 163, 60, 177]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "W1"
Position [35, 218, 65, 232]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Ut1"
Position [40, 378, 70, 392]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain"
Position [200, 22, 480, 58]
Orientation "left"
NamePlacement "alternate"
Gain "R1+[Lm*Lm*R2/(Lr*Lr)]"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [85, 150, 215, 190]
Gain "R2*Lm/(Lr*Lr)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [145, 216, 255, 254]
Gain "Ls-(Lm*Lm/Lr)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [175, 320, 240, 350]
Gain "Lm/Lr"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [380, 245, 430, 275]
Orientation "left"
NamePlacement "alternate"
Gain "R1"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain5"
Position [360, 317, 490, 353]
Gain "1/(Ls-Lm*Lm/Lr)"
ParameterDataTypeMode "Inherit via internal rule"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -