📄 activedamping.mdl
字号:
}
Line {
SrcBlock "idq_c"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "idq"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "idq_smith"
SrcPort 1
DstBlock "Demux3"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [85, 0]
Branch {
DstBlock "d-axis current\ncontroller"
DstPort 1
}
Branch {
Points [0, 160]
DstBlock "q-axis current\ncontroller"
DstPort 6
}
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [45, 0]
Branch {
Points [0, -35]
DstBlock "d-axis current\ncontroller"
DstPort 2
}
Branch {
Points [0, 85]
DstBlock "q-axis current\ncontroller"
DstPort 3
}
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [55, 0]
Branch {
Points [0, -45]
DstBlock "d-axis current\ncontroller"
DstPort 3
}
Branch {
Points [0, 55]
DstBlock "q-axis current\ncontroller"
DstPort 2
}
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [35, 0; 0, -85]
Branch {
Points [0, -110]
DstBlock "d-axis current\ncontroller"
DstPort 4
}
Branch {
DstBlock "q-axis current\ncontroller"
DstPort 4
}
}
Line {
SrcBlock "Demux3"
SrcPort 1
Points [75, 0; 0, -35]
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 "Unit Delay3"
SrcPort 1
DstBlock "Zero-Order\nHold1"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
DstBlock "udq"
DstPort 1
}
Line {
SrcBlock "q-axis current\ncontroller"
SrcPort 1
Points [15, 0; 0, -30]
DstBlock "Mux"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Controlador PI"
Ports [4, 1]
Position [160, 98, 220, 172]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Controlador PI"
Location [25, 82, 821, 564]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
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 [435, 72, 440, 183]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType UnitDelay
Name "Unit Delay3"
Position [465, 120, 485, 140]
NamePlacement "alternate"
ShowName off
SampleTime "Ts"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [515, 111, 550, 149]
SampleTime "Ts"
}
Block {
BlockType SubSystem
Name "d-axis current\ncontroller"
Ports [7, 1]
Position [290, 34, 380, 116]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "d-axis current\ncontroller"
Location [2, 82, 1014, 722]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "id_c"
Position [30, 68, 60, 82]
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "id"
Position [30, 113, 60, 127]
Port "2"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "iq"
Position [30, 238, 60, 252]
Port "3"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "w"
Position [30, 273, 60, 287]
Port "4"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "ed"
Position [30, 308, 60, 322]
Port "5"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "iq_c"
Position [30, 348, 60, 362]
Port "6"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType Inport
Name "id_smith"
Position [30, 158, 60, 172]
Port "7"
IconDisplay "Port number"
SampleTime "Ts"
}
Block {
BlockType DiscreteIntegrator
Name "Discrete-Time\nIntegrator"
Ports [1, 1]
Position [275, 120, 320, 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 [200, 126, 225, 154]
Gain "1/kip_ra"
}
Block {
BlockType Gain
Name "Gain1"
Position [370, 61, 405, 89]
Gain "kp_ra"
}
Block {
BlockType Gain
Name "Gain2"
Position [305, 261, 330, 289]
Gain "L/2"
}
Block {
BlockType Gain
Name "Gain3"
Position [245, 181, 270, 209]
Gain "Ra/2"
}
Block {
BlockType Product
Name "Product4"
Ports [2, 1]
Position [215, 258, 230, 287]
ShowName off
Inputs "**"
RndMeth "Floor"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [95, 65, 115, 85]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [330, 65, 350, 85]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [455, 70, 470, 110]
ShowName off
Inputs "+-+"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [95, 235, 115, 255]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [145, 65, 165, 85]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [505, 80, 525, 100]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Sum
Name "Sum6"
Ports [2, 1]
Position [95, 185, 115, 205]
ShowName off
IconShape "round"
Inputs "++|"
}
Block {
BlockType Outport
Name "ud_c"
Position [565, 83, 595, 97]
IconDisplay "Port number"
}
Line {
SrcBlock "id_c"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 120]
DstBlock "Sum6"
DstPort 2
}
}
Line {
SrcBlock "id"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "Sum6"
DstPort 1
}
}
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, -185]
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 [360, 0; 0, -210]
DstBlock "Sum2"
DstPort 3
}
Line {
SrcBlock "Gain"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -