📄 pm_dtc_flux_learn_it4_16.mdl
字号:
Orientation "left"
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [170, 91, 200, 129]
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1]
Position [165, 146, 195, 184]
Inputs "+-"
}
Block {
BlockType Scope
Name "TEr"
Ports [1]
Position [360, 90, 390, 120]
Location [163, 384, 487, 623]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "1 "
YMax "5.5 "
DataFormat "Array"
}
Block {
BlockType Scope
Name "Te_g"
Ports [1]
Position [665, 300, 695, 330]
Location [418, 196, 742, 435]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0 "
YMax "2000 "
DataFormat "Array"
}
Block {
BlockType Scope
Name "Tee"
Ports [1]
Position [440, 560, 470, 590]
Orientation "down"
NamePlacement "alternate"
Location [135, 314, 459, 553]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "4.25 "
YMax "5.75 "
DataFormat "Array"
}
Block {
BlockType Scope
Name "Tee1"
Ports [1]
Position [405, 560, 435, 590]
Orientation "down"
NamePlacement "alternate"
Location [422, 302, 746, 541]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "3 "
YMax "5.25 "
DataFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [890, 65, 950, 95]
VariableName "phids"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [900, 215, 960, 245]
VariableName "phiqs"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace10"
Position [645, 15, 705, 45]
VariableName "ia"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace11"
Position [645, 65, 705, 95]
VariableName "ib"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace12"
Position [770, 80, 830, 110]
VariableName "ic"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace13"
Position [870, 375, 930, 405]
VariableName "phiss"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace14"
Position [900, 290, 960, 320]
VariableName "phisg"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace2"
Position [20, 40, 80, 70]
Orientation "left"
VariableName "Uab"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace3"
Position [150, 495, 210, 525]
VariableName "t"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace4"
Position [335, 485, 395, 515]
VariableName "N"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace5"
Position [585, 480, 645, 510]
VariableName "teg"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace6"
Position [480, 520, 540, 550]
VariableName "te"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace7"
Position [550, 144, 610, 176]
VariableName "speed"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace8"
Position [420, 70, 480, 100]
VariableName "iq"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "To Workspace9"
Position [485, 105, 545, 135]
VariableName "id"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType Scope
Name "Ua"
Ports [1]
Position [95, 185, 125, 215]
Location [418, 196, 742, 435]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0 "
YMax "400 "
DataFormat "Array"
}
Block {
BlockType Scope
Name "Ub"
Ports [1]
Position [85, 230, 115, 260]
Location [418, 196, 742, 435]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0 "
YMax "400 "
DataFormat "Array"
}
Block {
BlockType Scope
Name "Uc"
Ports [1]
Position [115, 275, 145, 305]
Location [418, 196, 742, 435]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0 "
YMax "225 "
DataFormat "Array"
}
Block {
BlockType Reference
Name "XY Graph"
Ports [2]
Position [820, 152, 850, 183]
SourceBlock "simulink/Sinks/XY Graph"
SourceType "XY scope."
xmin "-2"
xmax "2"
ymin "-2"
ymax "2"
st "-1"
}
Block {
BlockType Reference
Name "cal_area"
Ports [2, 2]
Position [395, 265, 470, 320]
Orientation "left"
BackgroundColor "green"
SourceBlock "mylibrary/cal_area"
SourceType "SubSystem"
ShowPortLabels on
Permissions "ReadWrite"
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Reference
Name "cal_sector1"
Ports [3, 1]
Position [135, 347, 225, 433]
Orientation "left"
BackgroundColor "green"
SourceBlock "mylibrary/cal_sector"
SourceType "cal_sector"
Vdc "514"
}
Block {
BlockType Scope
Name "idr"
Ports [1]
Position [375, 130, 405, 160]
Location [431, 241, 755, 480]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-3 "
YMax "-2.2 "
DataFormat "Array"
}
Block {
BlockType Reference
Name "inv_abc_abi1"
Ports [1, 2]
Position [510, 18, 575, 87]
BackgroundColor "lightBlue"
SourceBlock "mylibrary/inv_abc_abi1"
SourceType "SubSystem"
ShowPortLabels on
Permissions "ReadWrite"
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Reference
Name "inv_abc_abv1"
Ports [1, 2]
Position [490, 203, 555, 272]
BackgroundColor "lightBlue"
SourceBlock "mylibrary/inv_abc_abv1"
SourceType "SubSystem"
ShowPortLabels on
Permissions "ReadWrite"
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Scope
Name "iqr"
Ports [1]
Position [425, 110, 455, 140]
Location [418, 196, 742, 435]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "1 "
YMax "1.6 "
DataFormat "Array"
}
Block {
BlockType Scope
Name "n"
Ports [1]
Position [490, 150, 520, 180]
Location [102, 244, 426, 483]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "1700 "
YMax "2900 "
DataFormat "Array"
}
Block {
BlockType Reference
Name "phi_dq_s"
Ports [2, 1]
Position [485, 340, 535, 395]
Orientation "left"
BackgroundColor "lightBlue"
SourceBlock "mylibrary/phi_dq_s"
SourceType "SubSystem"
ShowPortLabels on
Permissions "ReadWrite"
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Scope
Name "phis"
Ports [1]
Position [420, 370, 450, 400]
Location [168, 148, 492, 387]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0.325 "
YMax "0.475 "
DataFormat "Array"
}
Block {
BlockType Scope
Name "phis>g"
Ports [1]
Position [810, 340, 840, 370]
Location [418, 196, 742, 435]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0.625 "
YMax "0.8 "
DataFormat "Array"
}
Block {
BlockType Constant
Name "speed_g"
Position [765, 405, 785, 425]
Orientation "left"
Value "2900"
}
Block {
BlockType Reference
Name "sta_cal_phidq"
Ports [4, 2]
Position [645, 149, 715, 231]
BackgroundColor "lightBlue"
SourceBlock "mylibrary/sta_cal_phidq"
SourceType "cal_phidq"
theta0 "0"
phi0 "0.6115"
rs "20.51"
}
Block {
BlockType Scope
Name "thetar"
Ports [1]
Position [405, 165, 435, 195]
Location [159, 324, 483, 563]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0 "
YMax "0.5 "
DataFormat "Array"
}
Block {
BlockType Scope
Name "thetar1"
Ports [1]
Position [440, 225, 470, 255]
Location [159, 324, 483, 563]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "0 "
YMax "7 "
DataFormat "Array"
}
Block {
BlockType Scope
Name "wr"
Ports [1]
Position [360, 55, 390, 85]
Location [159, 324, 483, 563]
Open off
NumInputPorts "1"
TickLabels "on"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "98 "
YMax "110 "
DataFormat "Array"
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [45, 0]
DstBlock "PMSM1"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "inv_abc_abv1"
DstPort 1
}
Line {
SrcBlock "inv_abc_abv1"
SrcPort 1
Points [50, 0; 0, -60]
DstBlock "sta_cal_phidq"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -