📄 rxasytiaosu.mdl
字号:
MaskValueString "13|26|300|2e-6"
System {
Name "Speed_controller"
Location [119, 275, 497, 416]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "w*"
Position [25, 53, 55, 67]
}
Block {
BlockType Inport
Name "w"
Position [25, 83, 55, 97]
Port "2"
}
Block {
BlockType DiscreteIntegrator
Name "Discrete-Time\nIntegrator"
Ports [1, 1]
Position [180, 72, 245, 118]
ShowName off
IntegratorMethod "Trapezoidal"
ExternalReset "none"
InitialConditionSource "internal"
LimitOutput on
UpperSaturationLimit "Tlim"
LowerSaturationLimit "-Tlim"
SampleTime "Ts"
}
Block {
BlockType Gain
Name "Gain"
Position [140, 81, 165, 109]
ShowName off
Gain "Ki"
}
Block {
BlockType Gain
Name "Gain1"
Position [140, 26, 170, 54]
ShowName off
Gain "Kp"
}
Block {
BlockType Saturate
Name "Saturation"
Position [280, 60, 300, 80]
ShowName off
UpperLimit "Tlim"
LowerLimit "-Tlim"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [95, 43, 105, 107]
ShowName off
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [260, 14, 265, 121]
ShowName off
}
Block {
BlockType Outport
Name "Te*"
Position [325, 63, 355, 77]
InitialOutput "0"
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Discrete-Time\nIntegrator"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Discrete-Time\nIntegrator"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Te*"
DstPort 1
}
Line {
SrcBlock "w"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "w*"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [4, 1]
Position [295, 197, 365, 313]
ShowName off
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [2, 74, 1270, 978]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "wm"
Position [75, 113, 105, 127]
}
Block {
BlockType Inport
Name "Iabc"
Position [315, 138, 345, 152]
Port "2"
}
Block {
BlockType Inport
Name "Phir*"
Position [25, 168, 55, 182]
Port "3"
}
Block {
BlockType Inport
Name "Te*"
Position [110, 248, 140, 262]
Port "4"
}
Block {
BlockType SubSystem
Name "ABC-DQ"
Ports [2, 2]
Position [380, 114, 430, 156]
NamePlacement "alternate"
ShowName off
TreatAsAtomicUnit off
System {
Name "ABC-DQ"
Location [220, 231, 594, 356]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Teta"
Position [15, 23, 45, 37]
}
Block {
BlockType Inport
Name "Iabc"
Position [15, 83, 45, 97]
Port "2"
}
Block {
BlockType Fcn
Name "Fcn"
Position [75, 49, 115, 71]
ShowName off
Expr "sin(u)"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [75, 19, 115, 41]
ShowName off
Expr "cos(u)"
}
Block {
BlockType Gain
Name "Gain"
Position [255, 25, 285, 55]
ShowName off
Gain "2/3"
}
Block {
BlockType Gain
Name "Gain1"
Position [255, 60, 285, 90]
ShowName off
Gain "2/3"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [145, 15, 150, 105]
ShowName off
Inputs "[1 1 3]"
}
Block {
BlockType Fcn
Name "id"
Position [185, 28, 225, 52]
NamePlacement "alternate"
Expr "u[1]*u[3]+(1.7320508*u[2]-u[1])*u[4]*0."
"5+(-u[1]-1.7320508*u[2])*u[5]*0.5"
}
Block {
BlockType Fcn
Name "iq"
Position [185, 63, 225, 87]
Expr "-u[2]*u[3]+(u[2]+1.7320508*u[1])*u[4]*0"
".5+(u[2]-1.7320508*u[1])*u[5]*0.5"
}
Block {
BlockType Outport
Name "Id"
Position [315, 33, 345, 47]
InitialOutput "0"
}
Block {
BlockType Outport
Name "Iq"
Position [315, 68, 345, 82]
Port "2"
InitialOutput "0"
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Teta"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Fcn"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [5, 0]
Branch {
Points [0, 15]
DstBlock "iq"
DstPort 1
}
Branch {
Points [0, -20]
DstBlock "id"
DstPort 1
}
}
Line {
SrcBlock "Iabc"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "iq"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "id"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Id"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Iq"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "DQ-ABC"
Ports [3, 1]
Position [300, 230, 340, 310]
NamePlacement "alternate"
ShowName off
TreatAsAtomicUnit off
System {
Name "DQ-ABC"
Location [276, 167, 700, 330]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Id*"
Position [55, 113, 85, 127]
}
Block {
BlockType Inport
Name "Iq*"
Position [55, 83, 85, 97]
Port "2"
}
Block {
BlockType Inport
Name "Teta"
Position [15, 23, 45, 37]
Port "3"
}
Block {
BlockType Fcn
Name "Fcn"
Position [75, 51, 105, 69]
ShowName off
Expr "sin(u)"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [75, 19, 105, 41]
ShowName off
Expr "cos(u)"
}
Block {
BlockType Gain
Name "Gain2"
Position [235, 38, 250, 62]
ShowName off
}
Block {
BlockType Gain
Name "Gain3"
Position [265, 68, 280, 92]
ShowName off
}
Block {
BlockType Gain
Name "Gain4"
Position [290, 98, 305, 122]
ShowName off
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1]
Position [125, 15, 130, 135]
ShowName off
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1]
Position [340, 37, 345, 123]
ShowName off
Inputs "3"
}
Block {
BlockType Fcn
Name "ia"
Position [165, 40, 190, 60]
NamePlacement "alternate"
Expr "-u[3]*u[2] + u[4]*u[1] "
}
Block {
BlockType Fcn
Name "ib"
Position [165, 71, 190, 89]
Expr "(-u[1]+1.7320508*u[2])*u[4]*0.5+(u[2]+1"
".7320508*u[1])*u[3]*0.5"
}
Block {
BlockType Sum
Name "ic"
Ports [2, 1]
Position [240, 92, 250, 123]
Inputs "--"
}
Block {
BlockType Outport
Name "Iabc*"
Position [370, 73, 400, 87]
InitialOutput "0"
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Iabc*"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 5]
DstBlock "ib"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "ia"
DstPort 1
}
}
Line {
SrcBlock "Teta"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
DstBlock "Fcn"
DstPort 1
}
}
Line {
SrcBlock "Iq*"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Id*"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Line {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -