📄 im_scalarcontrol.mdl
字号:
}
}
}
Block {
BlockType Constant
Name "Constant"
Position [15, 320, 45, 350]
ShowName off
Value "0"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [675, 181, 680, 314]
BackgroundColor "black"
ShowName off
Outputs "2"
DisplayOption "bar"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [275, 386, 280, 424]
BackgroundColor "black"
ShowName off
Outputs "2"
DisplayOption "bar"
}
Block {
BlockType Display
Name "Final n"
Ports [1]
Position [1020, 350, 1130, 390]
Format "long"
Decimation "1"
Lockdown off
}
Block {
BlockType From
Name "From"
Position [185, 390, 245, 420]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "isab_meas"
}
Block {
BlockType From
Name "From1"
Position [570, 75, 630, 105]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "isab_meas"
}
Block {
BlockType From
Name "From10"
Position [185, 635, 245, 665]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "irab_meas"
}
Block {
BlockType From
Name "From2"
Position [570, 105, 630, 135]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "theta_s"
}
Block {
BlockType From
Name "From3"
Position [185, 420, 245, 450]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "theta_s"
}
Block {
BlockType From
Name "From4"
Position [860, 402, 905, 428]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "n_ref"
}
Block {
BlockType From
Name "From5"
Position [185, 575, 245, 605]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "isab_meas"
}
Block {
BlockType From
Name "From6"
Position [185, 485, 245, 515]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "n_rot"
}
Block {
BlockType From
Name "From7"
Position [185, 545, 245, 575]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Use_est"
}
Block {
BlockType From
Name "From8"
Position [15, 370, 75, 400]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "s_est"
}
Block {
BlockType From
Name "From9"
Position [185, 605, 245, 635]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "theta_se"
}
Block {
BlockType SubSystem
Name "Gen. Uabc"
Ports [1, 1]
Position [340, 201, 420, 259]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Gen. Uabc"
Location [620, 184, 1251, 488]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "theta_s"
Position [30, 28, 60, 42]
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [285, 132, 315, 163]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [285, 212, 315, 243]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "Constant"
Position [30, 139, 90, 171]
ShowName off
Value "120*pi/180"
}
Block {
BlockType Constant
Name "Constant1"
Position [30, 219, 90, 251]
ShowName off
Value "240*pi/180"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [460, 109, 465, 191]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Trigonometry
Name "Ua_cos"
Ports [1, 1]
Position [365, 20, 395, 50]
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Ua_cos1"
Ports [1, 1]
Position [365, 135, 395, 165]
ShowName off
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Ua_cos2"
Ports [1, 1]
Position [365, 215, 395, 245]
ShowName off
Operator "cos"
}
Block {
BlockType Outport
Name "Uabc"
Position [545, 143, 575, 157]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "theta_s"
SrcPort 1
Points [185, 0]
Branch {
DstBlock "Ua_cos"
DstPort 1
}
Branch {
Points [0, 105]
Branch {
DstBlock "Add"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "Add1"
DstPort 1
}
}
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Ua_cos1"
DstPort 1
}
Line {
SrcBlock "Add1"
SrcPort 1
DstBlock "Ua_cos2"
DstPort 1
}
Line {
SrcBlock "Ua_cos"
SrcPort 1
Points [20, 0; 0, 90]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Ua_cos1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Ua_cos2"
SrcPort 1
Points [20, 0; 0, -55]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Uabc"
DstPort 1
}
}
}
Block {
BlockType Goto
Name "Goto1"
Position [950, 143, 1015, 177]
BackgroundColor "cyan"
ShowName off
GotoTag "isab_meas"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto2"
Position [950, 263, 1015, 297]
BackgroundColor "cyan"
ShowName off
GotoTag "irab_meas"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto3"
Position [850, 89, 905, 121]
ShowName off
GotoTag "Use_est"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto4"
Position [850, 30, 905, 60]
ShowName off
GotoTag "theta_se"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto5"
Position [345, 149, 400, 181]
ShowName off
GotoTag "theta_s"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto6"
Position [220, 149, 275, 181]
ShowName off
GotoTag "n_ref"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto7"
Position [960, 314, 1015, 346]
ShowName off
GotoTag "n_rot"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto8"
Position [495, 604, 550, 636]
ShowName off
GotoTag "s_est"
TagVisibility "local"
}
Block {
BlockType SubSystem
Name "IM-KLU"
Ports [3, 6]
Position [710, 177, 835, 378]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskType "IM parameters"
MaskPromptString "number of pases|pole pairs|J|Lm|Lr|Ls|Rr|Rs"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on"
MaskCallbackString "|||||||"
MaskEnableString "on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,"
MaskVariables "ms=@1;pb=@2;J=@3;Lm=@4;Lr=@5;Ls=@6;Rr=@7;Rs=@8;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "3|p|J|Lm|Lr|Ls|Rr|Rs"
MaskTabNameString ",,,,,,,"
System {
Name "IM-KLU"
Location [2, 78, 1005, 718]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Usa"
Position [80, 53, 110, 67]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Usb"
Position [85, 208, 115, 222]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "M_L"
Position [260, 1003, 290, 1017]
BackgroundColor "cyan"
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "1/J"
Position [370, 940, 400, 970]
BackgroundColor "cyan"
ShowName off
Gain "1/J"
}
Block {
BlockType From
Name "From"
Position [80, 116, 120, 144]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "pIra"
}
Block {
BlockType From
Name "From1"
Position [85, 271, 125, 299]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "pIrb"
}
Block {
BlockType From
Name "From10"
Position [90, 796, 130, 824]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Ira"
}
Block {
BlockType From
Name "From11"
Position [145, 836, 185, 864]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Omega"
}
Block {
BlockType From
Name "From12"
Position [90, 916, 130, 944]
BackgroundColor "cyan"
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Isa"
}
Block {
BlockType From
Name "From13"
Position [90, 991, 130, 1019]
BackgroundColor "cyan"
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Isb"
}
Block {
BlockType From
Name "From14"
Position [90, 956, 130, 984]
BackgroundColor "cyan"
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Irb"
}
Block {
BlockType From
Name "From15"
Position [90, 1026, 130, 1054]
BackgroundColor "cyan"
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Ira"
}
Block {
BlockType From
Name "From2"
Position [85, 406, 125, 434]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "pIsa"
}
Block {
BlockType From
Name "From3"
Position [85, 456, 125, 484]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Isb"
}
Block {
BlockType From
Name "From4"
Position [140, 496, 180, 524]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Omega"
}
Block {
BlockType From
Name "From5"
Position [85, 531, 125, 559]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Irb"
}
Block {
BlockType From
Name "From6"
Position [140, 571, 180, 599]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Omega"
}
Block {
BlockType From
Name "From7"
Position [90, 671, 130, 699]
ShowName off
CloseFcn "tagdialog Close"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -