📄 pll_d1.mdl
字号:
Position [225, 39, 250, 66]
ShowName off
Operator "mod"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [115, 35, 135, 55]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [155, 25, 190, 65]
SampleTime "-1"
}
Block {
BlockType Outport
Name "Out1"
Position [365, 48, 395, 62]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
Points [10, 0; 5, 0]
Branch {
DstBlock "Fcn4"
DstPort 1
}
Branch {
Points [0, 80; -145, 0]
DstBlock "Sum2"
DstPort 2
}
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Unit Delay1"
DstPort 1
}
Line {
SrcBlock "Fcn4"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "count"
SrcPort 1
Points [150, 0]
DstBlock "Math\nFunction"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "sampled quantities"
Ports [4, 3, 0, 1]
Position [580, 85, 690, 350]
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "sampled quantities"
Location [275, 315, 801, 730]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000"
"00]"
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Min_in"
Position [65, 133, 95, 147]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Max_in"
Position [65, 73, 95, 87]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "run_var_in"
Position [65, 208, 95, 222]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "1_max_in"
Position [65, 283, 95, 297]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType TriggerPort
Name "Trigger"
Ports []
Position [225, 20, 245, 40]
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [215, 200, 245, 230]
Operator "sqrt"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [235, 70, 255, 90]
ShowName off
IconShape "round"
Inputs "|+-"
}
Block {
BlockType Outport
Name "P-P"
Position [330, 73, 360, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Variance"
Position [320, 208, 350, 222]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "1_max_out"
Position [320, 283, 350, 297]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Max_in"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Min_in"
SrcPort 1
Points [145, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "P-P"
DstPort 1
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Variance"
DstPort 1
}
Line {
SrcBlock "run_var_in"
SrcPort 1
DstBlock "Math\nFunction"
DstPort 1
}
Line {
SrcBlock "1_max_in"
SrcPort 1
DstBlock "1_max_out"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "sampled"
Position [780, 23, 810, 37]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "1 cycle max p-p"
Position [785, 303, 815, 317]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "N cycles"
Position [785, 123, 815, 137]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Variance1"
Position [785, 213, 815, 227]
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "in"
SrcPort 1
Points [195, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 90]
Branch {
Points [0, 120]
Branch {
DstBlock "Variance"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "Difference"
DstPort 1
}
}
Branch {
DstBlock "Subsystem1"
DstPort 1
}
}
}
Line {
SrcBlock "Difference"
SrcPort 1
DstBlock "Abs"
DstPort 1
}
Line {
SrcBlock "Abs"
SrcPort 1
Points [60, 0]
DstBlock "Maximum"
DstPort 1
}
Line {
SrcBlock "sample_size"
SrcPort 1
DstBlock "reset control"
DstPort 1
}
Line {
SrcBlock "reset control"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 120]
DstBlock "Unit Delay"
DstPort 1
}
Branch {
Points [0, -105; 395, 0]
DstBlock "sampled quantities"
DstPort trigger
}
Branch {
DstBlock "Subsystem1"
DstPort 2
}
}
Line {
SrcBlock "sampled quantities"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Variance"
SrcPort 1
DstBlock "sampled quantities"
DstPort 3
}
Line {
SrcBlock "sampled quantities"
SrcPort 2
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [90, 0]
Branch {
Points [0, -20]
DstBlock "Variance"
DstPort 2
}
Branch {
Points [0, 50]
DstBlock "Maximum"
DstPort 2
}
}
Line {
SrcBlock "Maximum"
SrcPort 1
DstBlock "sampled quantities"
DstPort 4
}
Line {
SrcBlock "sampled quantities"
SrcPort 3
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "sampled"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "N cycles"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Variance1"
DstPort 1
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "1 cycle max p-p"
DstPort 1
}
Line {
SrcBlock "Subsystem1"
SrcPort 2
Points [50, 0; 0, 35; 85, 0]
DstBlock "sampled quantities"
DstPort 2
}
Line {
SrcBlock "Subsystem1"
SrcPort 1
DstBlock "sampled quantities"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "unity"
Position [260, 123, 280, 147]
Value "1"
VectorParams1D on
SamplingMode "Sample based"
OutDataTypeMode "double"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType Outport
Name "p-p ps cycle to cycle"
Position [850, 168, 880, 182]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "p-p ps"
Position [850, 213, 880, 227]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "RMS ps"
Position [850, 258, 880, 272]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
Name "dut"
Labels [1, 0]
SrcBlock "DUT"
SrcPort 1
Points [485, 0]
DstBlock "sampler & process"
DstPort trigger
}
Line {
Name "ref"
Labels [0, 0; 1, 0]
SrcBlock "REF"
SrcPort 1
DstBlock "Integrator"
DstPort 2
}
Line {
Name "start to stop time"
Labels [0, 0]
SrcBlock "Integrator"
SrcPort 1
DstBlock "sampler & process"
DstPort 1
}
Line {
SrcBlock "Sample_Size"
SrcPort 1
DstBlock "sampler & process"
DstPort 2
}
Line {
SrcBlock "sampler & process"
SrcPort 3
DstBlock "p-p ps"
DstPort 1
}
Line {
SrcBlock "sampler & process"
SrcPort 4
DstBlock "RMS ps"
DstPort 1
}
Line {
SrcBlock "unity"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "sampler & process"
SrcPort 2
DstBlock "p-p ps cycle to cycle"
DstPort 1
}
Line {
SrcBlock "sampler & process"
SrcPort 1
DstBlock "Terminator"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Make Square1"
Ports [1, 1]
P
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -