📄 illustration_of_tcr.mdl
字号:
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "amplitude\n"
SrcPort 1
Points [355, 0]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [35, 0; 0, -20]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [25, 0; 0, 20]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "pahse\n"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "uca"
Ports [0, 1]
Position [265, 985, 305, 1045]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "sin(wt+phase)"
MaskDescription "Amplitude*sin(wt+phase)"
MaskPromptString "相位|幅值|频率"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVariables "phase=@1;Amplitude=@2;f=@3;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "150|1|50"
MaskVariableAliases ",,"
System {
Name "uca"
Location [27, 112, 815, 496]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Clock
Name "Clock"
Position [25, 135, 45, 155]
DisplayTime off
Decimation "1"
}
Block {
BlockType Gain
Name "Gain"
Position [105, 127, 175, 163]
Gain "2*pi*f"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Gain1"
Position [105, 222, 170, 258]
Gain "pi/180"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [460, 171, 505, 204]
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [255, 136, 295, 249]
ShowName off
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [360, 180, 390, 210]
Operator "sin"
OutputSignalType "auto"
}
Block {
BlockType Constant
Name "amplitude\n"
Position [30, 27, 85, 63]
Value "Amplitude"
VectorParams1D on
}
Block {
BlockType Constant
Name "pahse\n"
Position [25, 225, 55, 255]
Value "phase"
VectorParams1D on
}
Block {
BlockType Outport
Name "Out1"
Position [560, 183, 590, 197]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "amplitude\n"
SrcPort 1
Points [355, 0]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [35, 0; 0, -20]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [25, 0; 0, 20]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "pahse\n"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
}
}
Line {
SrcBlock "cos(wt+pi/6)\n"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Line {
SrcBlock "pi/2"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "a"
SrcPort 1
Points [40, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "cos(wt+pi/6)\n1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [10, 0; 0, -25]
DstBlock "Switch1"
DstPort 1
}
}
Line {
SrcBlock "a1"
SrcPort 1
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Switch"
SrcPort 1
Points [0, -90; 40, 0; 0, 120]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "uab\n"
SrcPort 1
Points [45, 0]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "a3"
SrcPort 1
Points [5, 0; 0, -15]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [30, 0; 0, 50]
Branch {
Points [0, 30]
DstBlock "Switch"
DstPort 2
}
Branch {
Points [0, 5]
DstBlock "Switch"
DstPort 1
}
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Switch1"
DstPort 2
}
Line {
SrcBlock "Switch1"
SrcPort 1
Points [25, 0; 0, -70]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "a2"
SrcPort 1
Points [5, 0; 0, -30]
DstBlock "Switch1"
DstPort 3
}
Line {
SrcBlock "sin(wt)"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "a4"
SrcPort 1
DstBlock "Trigonometric\nFunction2"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction2"
SrcPort 1
DstBlock "Gain4"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Gain4"
SrcPort 1
Points [40, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Switch2"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Switch2"
DstPort 2
}
}
Line {
SrcBlock "a5"
SrcPort 1
DstBlock "Switch2"
DstPort 3
}
Line {
SrcBlock "sin(wt)1"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "a6"
SrcPort 1
DstBlock "Trigonometric\nFunction3"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction3"
SrcPort 1
Points [50, 0]
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Gain6"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "Switch3"
DstPort 1
}
}
Line {
SrcBlock "Gain6"
SrcPort 1
DstBlock "Switch3"
DstPort 2
}
Line {
SrcBlock "a7"
SrcPort 1
Points [30, 0]
DstBlock "Switch3"
DstPort 3
}
Line {
SrcBlock "Switch3"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Switch2"
SrcPort 1
Points [20, 0; 0, 105]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "ubc"
SrcPort 1
Points [15, 0; 0, -85]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "cos(wt+5*pi/6)\n"
SrcPort 1
DstBlock "Gain7"
DstPort 1
}
Line {
SrcBlock "a8"
SrcPort 1
DstBlock "Trigonometric\nFunction4"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction4"
SrcPort 1
DstBlock "Gain8"
DstPort 1
}
Line {
SrcBlock "Gain7"
SrcPort 1
DstBlock "Sum5"
DstPort 1
}
Line {
SrcBlock "Gain8"
SrcPort 1
Points [30, 0]
DstBlock "Sum5"
DstPort 2
}
Line {
SrcBlock "cos(wt+5*pi/6)\n1"
SrcPort 1
DstBlock "Gain9"
DstPort 1
}
Line {
SrcBlock "a9"
SrcPort 1
DstBlock "Trigonometric\nFunction5"
DstPort 1
}
Line {
SrcBlock "Gain9"
SrcPort 1
DstBlock "Sum6"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction5"
SrcPort 1
Points [50, 0]
DstBlock "Sum6"
DstPort 2
}
Line {
SrcBlock "Sum5"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 25]
DstBlock "Switch4"
DstPort 2
}
Branch {
DstBlock "Switch4"
DstPort 1
}
}
Line {
SrcBlock "a10"
SrcPort 1
DstBlock "Switch4"
DstPort 3
}
Line {
SrcBlock "Sum6"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
DstBlock "Gain10"
DstPort 1
}
Branch {
Points [5, 0; 0, -25]
DstBlock "Switch5"
DstPort 1
}
}
Line {
SrcBlock "Gain10"
SrcPort 1
DstBlock "Switch5"
DstPort 2
}
Line {
SrcBlock "a11"
SrcPort 1
Points [25, 0]
DstBlock "Switch5"
DstPort 3
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "Scope2"
DstPort 1
}
Line {
SrcBlock "Switch4"
SrcPort 1
Points [10, 0; 0, 55]
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "Switch5"
SrcPort 1
Points [10, 0; 0, -70]
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "uca"
SrcPort 1
Points [5, 0; 0, -165]
DstBlock "Mux2"
DstPort 3
}
Annotation {
Position [202, 35]
Text "iab+"
}
Annotation {
Position [204, 220]
Text "iab_"
}
Annotation {
Position [217, 402]
Text "ibc+"
}
Annotation {
Position [202, 540]
Text "ibc_"
}
Annotation {
Position [231, 735]
Text "ica+"
}
Annotation {
Position [187, 894]
Text "ica_"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -