yundongkongzhi.mdl
来自「MATLAB异步电机仿真资料」· MDL 代码 · 共 2,768 行 · 第 1/5 页
MDL
2,768 行
Points [0, 0; 15, 0]
Branch {
Points [0, 100]
DstBlock "Gain7"
DstPort 1
}
Branch {
DstBlock "Gain5"
DstPort 1
}
}
Line {
SrcBlock "ia2"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, 35]
Branch {
Points [0, 100]
DstBlock "Gain6"
DstPort 1
}
Branch {
DstBlock "Gain4"
DstPort 1
}
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain7"
SrcPort 1
Points [20, 0; 0, -25]
DstBlock "Add1"
DstPort 2
}
Line {
SrcBlock "Gain6"
SrcPort 1
Points [20, 0; 0, -5]
DstBlock "Add1"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
Points [20, 0; 0, -5]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [20, 0; 0, 15]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Add1"
SrcPort 1
Points [0, 0]
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Add"
SrcPort 1
Points [0, 0]
DstBlock "Gain2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "ia111"
Ports [2, 2]
Position [355, 173, 405, 242]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "ia111"
Location [442, 307, 916, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ua1"
Position [25, 93, 55, 107]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "pia2"
Position [25, 133, 55, 147]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [3, 1]
Position [155, 89, 195, 151]
Inputs "-+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain"
Position [225, 105, 255, 135]
Gain "1.745"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [250, 30, 280, 60]
Orientation "left"
NamePlacement "alternate"
Gain "5.9"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [95, 125, 125, 155]
Gain "0.55"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [290, 105, 320, 135]
IgnoreLimit off
}
Block {
BlockType Outport
Name "ia1"
Position [390, 113, 420, 127]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "pia1"
Position [395, 163, 425, 177]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Integrator"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "pia1"
DstPort 1
}
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [0, -75]
DstBlock "Gain1"
DstPort 1
}
Branch {
DstBlock "ia1"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [-115, 0; 0, 55]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Add"
DstPort 3
}
Line {
SrcBlock "pia2"
SrcPort 1
Points [0, 0]
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "ua1"
SrcPort 1
Points [0, 20]
DstBlock "Add"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "ia22222"
Ports [4, 2]
Position [635, 329, 695, 436]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "ia22222"
Location [410, 386, 955, 595]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "pia11"
Position [25, 33, 55, 47]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "w"
Position [25, 78, 55, 92]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ib1"
Position [25, 123, 55, 137]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "ib2"
Position [25, 168, 55, 182]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [4, 1]
Position [265, 60, 315, 150]
Inputs "----"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain"
Position [170, 25, 200, 55]
Gain "0.55"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [170, 80, 200, 110]
Gain "0.55"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [170, 140, 200, 170]
Gain "0.58"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [345, 90, 375, 120]
Gain "1.724"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain4"
Position [355, 15, 385, 45]
Orientation "left"
NamePlacement "alternate"
Gain "5.6"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [415, 90, 445, 120]
IgnoreLimit off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [100, 137, 130, 168]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [100, 77, 130, 108]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "ia2"
Position [490, 98, 520, 112]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "pia2"
Position [490, 143, 520, 157]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "pia11"
SrcPort 1
Points [0, 0]
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "w"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "Product"
DstPort 1
}
}
Line {
SrcBlock "ib1"
SrcPort 1
Points [5, 0; 0, -30]
DstBlock "Product1"
DstPort 2
}
Line {
SrcBlock "ib2"
SrcPort 1
Points [10, 0; 0, -15]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [10, 0; 0, 20]
DstBlock "Add"
DstPort 3
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [30, 0; 0, 55]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [20, 0; 0, -20]
DstBlock "Add"
DstPort 4
}
Line {
SrcBlock "Add"
SrcPort 1
Points [0, 0]
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Integrator"
DstPort 1
}
Branch {
Points [0, 45]
DstBlock "pia2"
DstPort 1
}
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "ia2"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "Gain4"
DstPort 1
}
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [-100, 0]
DstBlock "Add"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "ib111111"
Ports [2, 2]
Position [490, 247, 540, 318]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "ib111111"
Location [498, 355, 958, 546]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ub1"
Position [25, 78, 55, 92]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "pib2"
Position [25, 123, 55, 137]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [3, 1]
Position [160, 79, 200, 141]
Inputs "-+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [230, 95, 260, 125]
Gain "1.745"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [85, 115, 115, 145]
Gain "0.55"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?