📄 apf51.mdl
字号:
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [10, 0; 0, -5]
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Branch {
Points [0, 50]
DstBlock "Matrix\nConcatenation1"
DstPort 1
}
}
Line {
SrcBlock "cos"
SrcPort 1
Points [5, 0; 0, -55]
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [0, 0]
DstBlock "Matrix\nConcatenation1"
DstPort 2
}
Line {
SrcBlock "Matrix\nConcatenation2"
SrcPort 1
Points [60, 0; 0, 65]
DstBlock "Matrix Multiply"
DstPort 1
}
Annotation {
Position [587, 228]
}
}
}
Block {
BlockType Gain
Name "C23"
Position [630, 150, 660, 180]
Gain "sqrt(2/3)*[1 0;-1/2 sqrt(3)/2;-1/2 -sqrt(3)/2]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Gain
Name "C32"
Position [230, 145, 260, 175]
Gain "sqrt(2/3)*[1 -1/2 -1/2;0 sqrt(3)/2 -sqrt(3)/2]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType SubSystem
Name "C_1"
Ports [2, 1]
Position [535, 134, 575, 196]
TreatAsAtomicUnit off
RTWSystemCode "Auto"
System {
Name "C_1"
Location [2, 82, 1142, 818]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In3"
Position [25, 173, 55, 187]
}
Block {
BlockType Inport
Name "In4"
Position [25, 198, 55, 212]
Port "2"
}
Block {
BlockType Gain
Name "Gain"
Position [80, 40, 110, 70]
Gain "-1"
}
Block {
BlockType Gain
Name "Gain1"
Position [80, 105, 110, 135]
Gain "-1"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation"
Ports [2, 1]
Position [155, 19, 210, 61]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation1"
Ports [2, 1]
Position [215, 89, 270, 131]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation2"
Ports [2, 1]
Position [320, 29, 375, 71]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Horizontal"
}
Block {
BlockType Reference
Name "Matrix\nConcatenation3"
Ports [2, 1]
Position [415, 159, 470, 201]
SourceBlock "simulink/Math\nOperations/Matrix\nConcatenation"
SourceType "Matrix Concatenation"
numInports "2"
catMethod "Vertical"
}
Block {
BlockType Product
Name "Matrix Multiply"
Ports [2, 1]
Position [535, 106, 590, 144]
Multiplication "Matrix(*)"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [20, 15, 50, 45]
SineType "Time based"
Frequency "2*pi*50"
SampleTime "0"
}
Block {
BlockType Sin
Name "cos"
Ports [0, 1]
Position [20, 95, 50, 125]
SineType "Time based"
Frequency "2*pi*50"
Phase "-pi/2"
SampleTime "0"
}
Block {
BlockType Outport
Name "Out1"
Position [630, 118, 660, 132]
}
Line {
SrcBlock "In3"
SrcPort 1
Points [340, 0]
DstBlock "Matrix\nConcatenation3"
DstPort 1
}
Line {
SrcBlock "In4"
SrcPort 1
Points [340, 0]
DstBlock "Matrix\nConcatenation3"
DstPort 2
}
Line {
SrcBlock "Matrix\nConcatenation3"
SrcPort 1
Points [20, 0; 0, -45]
DstBlock "Matrix Multiply"
DstPort 2
}
Line {
SrcBlock "Matrix Multiply"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation"
SrcPort 1
DstBlock "Matrix\nConcatenation2"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation1"
SrcPort 1
Points [15, 0; 0, -50]
DstBlock "Matrix\nConcatenation2"
DstPort 2
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 1
}
Branch {
DstBlock "Gain1"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [10, 0; 0, -5]
Branch {
DstBlock "Matrix\nConcatenation"
DstPort 2
}
Branch {
Points [0, 50]
DstBlock "Matrix\nConcatenation1"
DstPort 1
}
}
Line {
SrcBlock "cos"
SrcPort 1
Points [5, 0; 0, -55]
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Matrix\nConcatenation2"
SrcPort 1
Points [10, 0; 0, 10; 130, 0]
DstBlock "Matrix Multiply"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Matrix\nConcatenation1"
DstPort 2
}
Annotation {
Position [294, 388]
}
}
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [295, 141, 300, 179]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType SubSystem
Name "LPF"
Ports [2, 2]
Position [445, 135, 485, 195]
TreatAsAtomicUnit off
RTWSystemCode "Auto"
Port {
PortNumber 1
Name "/ip"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "/iq"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
System {
Name "LPF"
Location [2, 82, 530, 406]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 48, 55, 62]
}
Block {
BlockType Inport
Name "In2"
Position [35, 178, 65, 192]
Port "2"
}
Block {
BlockType Reference
Name "Analog\nFilter Design"
Ports [1, 1]
Position [205, 27, 270, 83]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Lowpass"
N "8"
Wlo "2*pi*50"
Whi "80"
Rp "2"
Rs "40"
}
Block {
BlockType Reference
Name "Analog\nFilter Design1"
Ports [1, 1]
Position [200, 157, 265, 213]
SourceBlock "dsparch4/Analog\nFilter Design"
SourceType "Analog Filter Design"
method "Butterworth"
filttype "Lowpass"
N "8"
Wlo "2*pi*50"
Whi "80"
Rp "2"
Rs "40"
}
Block {
BlockType Outport
Name "Out1"
Position [420, 48, 450, 62]
}
Block {
BlockType Outport
Name "Out2"
Position [410, 178, 440, 192]
Port "2"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Analog\nFilter Design"
DstPort 1
}
Line {
SrcBlock "Analog\nFilter Design"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Analog\nFilter Design1"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
Labels [0, 0]
SrcBlock "In2"
SrcPort 1
DstBlock "Analog\nFilter Design1"
DstPort 1
}
Annotation {
Position [405, 277]
}
Annotation {
Position [393, 280]
}
Annotation {
Position [502, 341]
}
}
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [185, 141, 190, 179]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1]
Position [190, 251, 195, 289]
ShowName off
Inputs "3"
DisplayOption "bar"
Port {
PortNumber 1
Name "i"
PropagatedSignals ", , "
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [840, 149, 870, 181]
Floating off
Location [221, 408, 545, 647]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.1"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [840, 254, 870, 286]
Floating off
Location [225, 89, 549, 328]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.1"
SaveName "ScopeData7"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [840, 89, 870, 121]
Floating off
Location [221, 408, 545, 647]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "0.1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [700, 155, 720, 175]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
Port {
PortNumber 1
Name "ih"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType SubSystem
Name "lpower"
Ports [0, 3]
Position [25, 234, 65, 306]
TreatAsAtomicUnit off
RTWSystemCode "Auto"
System {
Name "lpower"
Location [2, 82, 1142, 818]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [160, 215, 190, 245]
SineType "Time based"
Frequency "2*pi*50*5"
SampleTime "0"
}
Block {
BlockType Sin
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -