📄 flux.mdl
字号:
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "park"
Location [539, 136, 934, 401]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "isa"
Position [25, 83, 55, 97]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "isb"
Position [25, 168, 55, 182]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "θ"
Position [25, 33, 55, 47]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [265, 72, 295, 103]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [195, 97, 225, 128]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [190, 32, 220, 63]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [195, 157, 225, 188]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [195, 207, 225, 238]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Subtract"
Ports [2, 1]
Position [265, 182, 295, 213]
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [105, 100, 135, 130]
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [105, 25, 135, 55]
Operator "cos"
}
Block {
BlockType Outport
Name "ism"
Position [335, 108, 365, 122]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ist"
Position [340, 158, 370, 172]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "θ"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 75]
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Branch {
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Product1"
DstPort 1
}
Branch {
Points [0, 175]
DstBlock "Product3"
DstPort 1
}
}
Line {
SrcBlock "isa"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, 90]
DstBlock "Product2"
DstPort 2
}
Branch {
Points [80, 0; 0, -35]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, -10]
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Product2"
DstPort 1
}
}
Line {
SrcBlock "isb"
SrcPort 1
Points [0, 0; 45, 0]
Branch {
Points [0, 55]
DstBlock "Product3"
DstPort 2
}
Branch {
Points [70, 0; 0, -55]
DstBlock "Product"
DstPort 2
}
}
Line {
SrcBlock "Product1"
SrcPort 1
Points [15, 0; 0, 30]
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [10, 0; 0, -20]
DstBlock "Add"
DstPort 2
}
Line {
SrcBlock "Product2"
SrcPort 1
Points [10, 0; 0, 15]
DstBlock "Subtract"
DstPort 1
}
Line {
SrcBlock "Product3"
SrcPort 1
Points [10, 0; 0, -20]
DstBlock "Subtract"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
Points [10, 0; 0, 25]
DstBlock "ism"
DstPort 1
}
Line {
SrcBlock "Subtract"
SrcPort 1
Points [15, 0; 0, -35]
DstBlock "ist"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "θ"
Position [760, 138, 790, 152]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ψ"
Position [770, 198, 800, 212]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ist"
Position [775, 288, 805, 302]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "wr"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Add"
DstPort 1
}
Line {
SrcBlock "IABC"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "clark"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "clark"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "clark"
DstPort 3
}
Line {
SrcBlock "clark"
SrcPort 1
DstBlock "park"
DstPort 1
}
Line {
SrcBlock "clark"
SrcPort 2
Points [15, 0]
DstBlock "park"
DstPort 2
}
Line {
SrcBlock "park"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "C"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Add"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "θ"
DstPort 1
}
Branch {
Points [0, 170; -500, 0; 0, -40]
DstBlock "park"
DstPort 3
}
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [0, 0; 55, 0]
Branch {
DstBlock "ψ"
DstPort 1
}
Branch {
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Divide"
DstPort 2
}
Line {
SrcBlock "park"
SrcPort 2
Points [0, 0; 70, 0]
Branch {
Points [0, -30]
DstBlock "Divide"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "ist"
DstPort 1
}
}
Line {
SrcBlock "Divide"
SrcPort 1
Points [10, 0]
DstBlock "Add"
DstPort 2
}
}
}
Block {
BlockType Outport
Name "θ"
Position [570, 278, 600, 292]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ψ"
Position [565, 308, 595, 322]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "ist"
Position [575, 343, 605, 357]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "IABC"
SrcPort 1
Points [100, 0]
DstBlock "flux"
DstPort 1
}
Line {
SrcBlock "wr"
SrcPort 1
Points [50, 0; 0, -5]
DstBlock "flux"
DstPort 2
}
Line {
SrcBlock "flux"
SrcPort 1
Points [25, 0; 0, -5]
DstBlock "θ"
DstPort 1
}
Line {
SrcBlock "flux"
SrcPort 2
Points [25, 0; 0, 5]
DstBlock "ψ"
DstPort 1
}
Line {
SrcBlock "flux"
SrcPort 3
Points [30, 0; 0, 20]
DstBlock "ist"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -