📄 estimador.mdl
字号:
DstBlock "d-axis current\ncontroller"
DstPort 7
}
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 "Zero-Order\nHold1"
SrcPort 1
DstBlock "udq"
DstPort 1
}
Line {
SrcBlock "Unit Delay3"
SrcPort 1
DstBlock "Zero-Order\nHold1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Controlador PI1"
Ports [4, 1]
Position [165, 383, 225, 457]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Controlador PI1"
Location [29, 82, 825, 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, 48, 70, 62]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "idq"
Position [40, 93, 70, 107]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "idq_smith"
Position [40, 143, 70, 157]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "edq"
Position [40, 203, 70, 217]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Constant
Name "Constant"
Position [175, 261, 205, 279]
Value "2*pi*50"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [170, 35, 175, 75]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [170, 80, 175, 120]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [170, 190, 175, 230]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Demux
Name "Demux3"
Ports [1, 2]
Position [170, 130, 175, 170]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [385, 73, 390, 182]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType UnitDelay
Name "Unit Delay3"
Position [430, 120, 450, 140]
NamePlacement "alternate"
ShowName off
SampleTime "Ts"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [480, 111, 515, 149]
SampleTime "Ts"
}
Block {
BlockType SubSystem
Name "d-axis current\ncontroller"
Ports [7, 1]
Position [290, 33, 335, 117]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "d-axis current\ncontroller"
Location [78, 82, 874, 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"
IgnoreLimit off
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 Outport
Name "ud_c"
Position [540, 78, 570, 92]
IconDisplay "Port number"
BusOutputAsStruct off
}
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 "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 [290, 143, 335, 227]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "q-axis current\ncontroller"
Location [26, 82, 822, 554]
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"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -