📄 amm.mdl
字号:
Points [285, 0; 0, 90]
DstBlock "Switch"
DstPort 2
}
Branch {
Points [0, 165; 235, 0; 0, 75]
DstBlock "Switch1"
DstPort 2
}
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [70, 0; 0, 45]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Saturation1"
SrcPort 1
Points [0, 0]
DstBlock "Transfer Fcn3"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
Points [0, 0]
DstBlock "Transfer Fcn2"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [0, 0; 170, 0]
Branch {
Points [0, 55]
DstBlock "Saturation1"
DstPort 1
}
Branch {
DstBlock "Switch1"
DstPort 3
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, 0; 170, 0]
Branch {
DstBlock "Saturation"
DstPort 1
}
Branch {
DstBlock "Switch"
DstPort 3
}
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
Points [-35, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Transfer Fcn3"
SrcPort 1
Points [-35, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Transfer Fcn1"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Integrator"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "Transfer Fcn"
DstPort 1
}
Branch {
Points [0, -65]
DstBlock "Integrator1"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [30, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [25, 0]
DstBlock "Sum"
DstPort 2
}
Annotation {
Position [96, 26]
UseDisplayTextAsClickCallback off
}
}
}
Block {
BlockType SubSystem
Name "Fs_k_Model"
Ports [2, 2]
Position [505, 208, 555, 277]
Orientation "left"
NamePlacement "alternate"
FontName "Times New Roman"
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Fs_k_Model"
Location [2, 82, 1014, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Fs_1"
Position [30, 63, 60, 77]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Fs_2"
Position [25, 113, 55, 127]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType ComplexToMagnitudeAngle
Name "Complex to\nMagnitude-Angle"
Ports [1, 2]
Position [160, 98, 190, 127]
Output "Magnitude and angle"
}
Block {
BlockType Lookup
Name "Lookup Table"
Position [250, 95, 300, 145]
InputValues "[-3.14 -2.616 -2.616 -1.57 -1.57 -0.523 -0."
"523 0.523 0.523 1.57 1.57 2.616 2.616 3.14]"
OutputValues "[4 4 5 5 6 6 1 1 2 2 3 3 4 4]"
SaturateOnIntegerOverflow off
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [80, 98, 110, 127]
}
Block {
BlockType Outport
Name "Fs_k"
Position [345, 113, 375, 127]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Magi"
Position [265, 28, 295, 42]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Real-Imag to\nComplex"
SrcPort 1
DstBlock "Complex to\nMagnitude-Angle"
DstPort 1
}
Line {
SrcBlock "Complex to\nMagnitude-Angle"
SrcPort 1
Points [35, 0; 0, -70]
DstBlock "Magi"
DstPort 1
}
Line {
SrcBlock "Complex to\nMagnitude-Angle"
SrcPort 2
Points [0, 0]
DstBlock "Lookup Table"
DstPort 1
}
Line {
SrcBlock "Lookup Table"
SrcPort 1
Points [0, 0]
DstBlock "Fs_k"
DstPort 1
}
Line {
SrcBlock "Fs_1"
SrcPort 1
DstBlock "Real-Imag to\nComplex"
DstPort 1
}
Line {
SrcBlock "Fs_2"
SrcPort 1
Points [0, 0]
DstBlock "Real-Imag to\nComplex"
DstPort 2
}
Annotation {
Position [202, 188]
UseDisplayTextAsClickCallback off
}
}
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [3, 1]
Position [24, 305, 66, 335]
Orientation "up"
ShowName off
Operator "OR"
Inputs "3"
AllPortsSameDT off
}
Block {
BlockType Reference
Name "Machines\nMeasurement\nDemux"
Ports [1, 1]
Position [445, 125, 480, 195]
NamePlacement "alternate"
ShowName off
FontName "Times New Roman"
FontSize 12
SourceBlock "powerlib/Machines/Machines\nMeasurement\nDemux"
SourceType "Machine measurements"
ShowPortLabels on
machType "Asynchronous"
ssm1 on
ssm2 on
ssm3 on
ssm4 on
ssm5 on
ssm6 on
sm1 off
sm2 off
sm3 off
sm4 off
sm5 off
sm6 off
sm7 off
sm8 on
sm9 off
sm10 off
sm11 off
sm115 off
sm12 off
sm13 off
sm14 off
asm1 off
asm2 off
asm3 off
asm4 off
asm5 on
asm6 off
asm7 off
asm8 off
asm9 off
asm10 off
asm11 off
pmsm1 on
pmsm2 on
pmsm3 on
pmsm4 on
pmsm5 on
pmsm6 on
lastType "1"
}
Block {
BlockType Memory
Name "Memory"
Position [455, 419, 480, 441]
Orientation "left"
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Memory
Name "Memory1"
Position [80, 199, 105, 221]
ShowName off
}
Block {
BlockType Saturate
Name "Saturation"
Position [295, 402, 320, 428]
Orientation "left"
NamePlacement "alternate"
ShowName off
UpperLimit "500"
LowerLimit "-500"
LinearizeAsGain off
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [400, 456, 430, 489]
Orientation "left"
NamePlacement "alternate"
Floating off
Location [5, 52, 1021, 729]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "24~-850"
YMax "32.5~-730"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [2]
Position [855, 141, 885, 174]
Floating off
Location [5, 52, 1021, 729]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "133.147~-1"
YMax "133.147~1"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [2]
Position [750, 46, 780, 79]
Floating off
Location [5, 52, 1021, 729]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "337.5~1.02"
YMax "377.5~1.17"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope3"
Ports [2]
Position [720, 286, 750, 319]
Floating off
Location [5, 52, 1021, 729]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "-0.065~0.9875"
YMax "-0.04~1.0225"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Step
Name "Step"
Position [250, 25, 280, 55]
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [2, 2]
Position [885, 219, 935, 281]
Orientation "left"
NamePlacement "alternate"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem"
Location [62, 192, 607, 494]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Udc"
Position [20, 23, 50, 37]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "m"
Position [20, 153, 50, 167]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [165, 202, 195, 233]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [260, 112, 290, 143]
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Add2"
Ports [2, 1]
Position [185, 157, 215, 188]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3]
Position [80, 100, 90, 220]
BackgroundColor "black"
ShowName off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -