📄 smithpredictor.mdl
字号:
Line {
SrcBlock "Demux3"
SrcPort 2
Points [75, 0; 0, 55]
DstBlock "q-axis current\ncontroller"
DstPort 7
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [35, 0; 0, 30]
Branch {
Points [0, 60]
DstBlock "q-axis current\ncontroller"
DstPort 1
}
Branch {
DstBlock "d-axis current\ncontroller"
DstPort 6
}
}
Line {
SrcBlock "Demux2"
SrcPort 1
Points [25, 0; 0, -115]
DstBlock "d-axis current\ncontroller"
DstPort 5
}
Line {
SrcBlock "Demux2"
SrcPort 2
Points [35, 0; 0, -25]
DstBlock "q-axis current\ncontroller"
DstPort 5
}
Line {
SrcBlock "Unit Delay2"
SrcPort 1
DstBlock "udq"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Controlador\nPI1"
Ports [4, 1]
Position [165, 348, 225, 422]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Controlador\nPI1"
Location [25, 82, 821, 564]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "idq_c"
Position [40, 43, 70, 57]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "idq"
Position [40, 88, 70, 102]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "idq_smith"
Position [40, 138, 70, 152]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "edq"
Position [40, 198, 70, 212]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Constant
Name "Constant"
Position [110, 256, 140, 274]
Value "2*pi*50"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [105, 30, 110, 70]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [105, 75, 110, 115]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [105, 185, 110, 225]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Demux
Name "Demux3"
Ports [1, 2]
Position [105, 125, 110, 165]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [320, 68, 325, 177]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType UnitDelay
Name "Unit Delay2"
Position [365, 113, 385, 137]
ShowName off
SampleTime "Ts"
}
Block {
BlockType SubSystem
Name "d-axis current\ncontroller"
Ports [7, 1]
Position [225, 28, 270, 112]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "d-axis current\ncontroller"
Location [74, 82, 870, 554]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "id_c"
Position [20, 68, 50, 82]
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "id"
Position [20, 113, 50, 127]
Port "2"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "iq"
Position [20, 218, 50, 232]
Port "3"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "w"
Position [20, 253, 50, 267]
Port "4"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "ed"
Position [20, 288, 50, 302]
Port "5"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "iq_c"
Position [20, 328, 50, 342]
Port "6"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "id_smith"
Position [20, 158, 50, 172]
Port "7"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType DiscreteIntegrator
Name "Discrete-Time\nIntegrator"
Ports [1, 1]
Position [255, 120, 300, 160]
IntegratorMethod "Integration: Forward Euler"
ExternalReset "none"
InitialConditionSource "internal"
SampleTime "Ts"
UpperSaturationLimit "sqrt(2/3)*750"
LowerSaturationLimit "-sqrt(2/3)*750"
ICPrevOutput "DiscIntNeverNeededParam"
ICPrevScaledInput "DiscIntNeverNeededParam"
}
Block {
BlockType Gain
Name "Gain"
Position [180, 126, 205, 154]
Gain "1/kip"
}
Block {
BlockType Gain
Name "Gain1"
Position [350, 61, 385, 89]
Gain "kp"
}
Block {
BlockType Gain
Name "Gain2"
Position [285, 241, 310, 269]
Gain "L/2"
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1]
Position [195, 238, 210, 267]
ShowName off
Inputs "**"
RndMeth "Floor"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [75, 65, 95, 85]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [310, 65, 330, 85]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [425, 71, 445, 99]
ShowName off
Inputs "+-+"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [75, 215, 95, 235]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [125, 65, 145, 85]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [470, 66, 505, 104]
SampleTime "Ts"
}
Block {
BlockType Outport
Name "ud_c"
Position [540, 78, 570, 92]
IconDisplay "Port number"
}
Line {
SrcBlock "id_c"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "id"
SrcPort 1
Points [30, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Discrete-Time\nIntegrator"
SrcPort 1
Points [15, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [80, 0; 0, -170]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Product4"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "w"
SrcPort 1
DstBlock "Product4"
DstPort 2
}
Line {
SrcBlock "ed"
SrcPort 1
Points [355, 0]
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Zero-Order\nHold1"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
DstBlock "ud_c"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Discrete-Time\nIntegrator"
DstPort 1
}
Line {
SrcBlock "iq"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "iq_c"
SrcPort 1
Points [30, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [80, 0]
DstBlock "Product4"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Sum1"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "id_smith"
SrcPort 1
Points [80, 0]
DstBlock "Sum4"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "q-axis current\ncontroller"
Ports [7, 1]
Position [225, 138, 270, 222]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "q-axis current\ncontroller"
Location [24, 74, 820, 546]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "iq_c"
Position [30, 68, 60, 82]
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "iq"
Position [30, 113, 60, 127]
Port "2"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "id"
Position [30, 223, 60, 237]
Port "3"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "w"
Position [30, 258, 60, 272]
Port "4"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "eq"
Position [30, 293, 60, 307]
Port "5"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "id_c"
Position [30, 333, 60, 347]
Port "6"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -