?? bp2ip3.mdl
字號:
SrcPort 1
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "IN"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Y"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [30, 0]
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "SC2"
Ports [2, 1, 0, 0, 0]
Position [79, 240, 126, 280]
Orientation up
NamePlacement alternate
ShowName off
ShowPortLabels on
MaskType "kT/C Noise"
MaskDescription "Models the kT/Cs noise of a switched capacitanc"
"e Cs.\nIN input: the input signal line\nC input: accepts the coefficient WI"
"TH SIGN (Cs/Ci)"
MaskHelp "Block parameters:\nTs: Sample time\nCi: "
" Integrating Capacitance\nTemp: Absolute Temperature in Kelvin\nk: "
" Boltzmann Constant\nseed: Initial seed for random number generator\n"
"Outputs the noisy signal.\n"
MaskPromptString "Sample Time:|Integrating Capacitance:|Absolute "
"Temperature:|Boltzman Constant:|Random Number Seed:"
MaskStyleString "edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on"
MaskVariables "Ts=@1;Ci=@2;Temp=@3;k=@4;seed=@5;"
MaskDisplay "disp('kT/C')\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
MaskValueString "Ts|Cf|Temp|k|2.11*sum(clock)"
System {
Name "SC2"
Location [181, 74, 792, 430]
Open off
ToolBar off
StatusBar off
ScreenColor white
PaperOrientation landscape
PaperPositionMode auto
PaperType usletter
PaperUnits inches
Block {
BlockType Inport
Name "C"
Position [15, 20, 35, 40]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "IN"
Position [335, 80, 355, 100]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1, 0, 0, 0]
Position [310, 137, 340, 168]
Inputs "2"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1, 0, 0, 0]
Position [465, 77, 495, 108]
Inputs "2"
}
Block {
BlockType RandomNumber
Name "Random\nNumber"
Position [130, 145, 160, 175]
Mean "0"
Variance "1"
Seed "seed"
SampleTime "Ts"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [390, 82, 420, 113]
Inputs "++"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [210, 145, 240, 175]
SampleTime "Ts"
}
Block {
BlockType Fcn
Name "kT/C noise"
Position [170, 15, 230, 45]
Expr "sqrt((k*Temp/Ci)/abs(u))"
}
Block {
BlockType Outport
Name "Y"
Position [525, 85, 545, 105]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Random\nNumber"
SrcPort 1
DstBlock "Zero-Order\nHold"
DstPort 1
}
Line {
SrcBlock "C"
SrcPort 1
Points [95, 0]
Branch {
Points [0, 35; 315, 0]
DstBlock "Product2"
DstPort 1
}
Branch {
DstBlock "kT/C noise"
DstPort 1
}
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "kT/C noise"
SrcPort 1
Points [60, 0]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "IN"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Y"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [30, 0]
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "Sampling Jitter"
Ports [1, 1, 0, 0, 0]
Position [125, 80, 170, 110]
Orientation left
NamePlacement alternate
ShowPortLabels on
MaskType "Jitter"
MaskDescription "Models the kT/Cs noise of a switched capacitanc"
"e Cs.\nIN input: the input signal line\nC input: accepts the coefficient WI"
"TH SIGN (Cs/Ci)"
MaskHelp "Block parameters:\nTs: Sample time\nCi: "
" Integrating Capacitance\nTemp: Absolute Temperature in Kelvin\nk: "
" Boltzmann Constant\nseed: Initial seed for random number generator\n"
"Outputs the noisy signal.\n"
MaskPromptString "Sample Time:|Sampling Jitter:|Random Number See"
"d:"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskVariables "Ts=@1;delta=@2;seed=@3;"
MaskDisplay "disp('Jitter')\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
MaskValueString "Ts|delta|(sum(clock))^3.33"
System {
Name "Sampling Jitter"
Location [181, 74, 792, 430]
Open off
ToolBar off
StatusBar off
ScreenColor white
PaperOrientation landscape
PaperPositionMode auto
PaperType usletter
PaperUnits inches
Block {
BlockType Inport
Name "IN"
Position [75, 80, 95, 100]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Derivative
Name "Derivative"
Position [140, 145, 170, 175]
}
Block {
BlockType Gain
Name "Jitter"
Position [235, 220, 265, 250]
Gain "delta"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1, 0, 0, 0]
Position [310, 152, 340, 183]
Inputs "2"
}
Block {
BlockType RandomNumber
Name "Random\nNumber"
Position [110, 220, 140, 250]
Mean "0"
Variance "1"
Seed "seed"
SampleTime "Ts"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [390, 82, 420, 113]
Inputs "++"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [170, 220, 200, 250]
SampleTime "Ts"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold1"
Position [455, 85, 485, 115]
SampleTime "Ts"
}
Block {
BlockType Outport
Name "Y"
Position [525, 90, 545, 110]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "IN"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "Derivative"
DstPort 1
}
}
Line {
SrcBlock "Random\nNumber"
SrcPort 1
DstBlock "Zero-Order\nHold"
DstPort 1
}
Line {
SrcBlock "Derivative"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
DstBlock "Jitter"
DstPort 1
}
Line {
SrcBlock "Jitter"
SrcPort 1
Points [25, 0]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
Points [20, 0; 0, -65]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Zero-Order\nHold1"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold1"
SrcPort 1
DstBlock "Y"
DstPort 1
}
}
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1, 0, 0, 0]
Position [260, 185, 280, 205]
ShowName off
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1, 0, 0, 0]
Position [145, 180, 165, 200]
ShowName off
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1, 0, 0, 0]
Position [380, 190, 400, 210]
ShowName off
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1, 0, 0, 0]
Position [200, 85, 220, 105]
Orientation left
ShowName off
Inputs "+-"
}
Block {
BlockType Sin
Name "Vin"
Position [270, 30, 300, 60]
Orientation left
NamePlacement alternate
Amplitude "Ampl"
Frequency "finrad1"
Phase "0"
SampleTime "0"
}
Block {
BlockType Sin
Name "Vin1"
Position [275, 105, 305, 135]
Orientation left
NamePlacement alternate
Amplitude "Ampl"
Frequency "finrad2"
Phase "0"
SampleTime "0"
}
Block {
BlockType Constant
Name "b"
Position [80, 80, 100, 100]
Orientation down
NamePlacement alternate
ShowName off
Value "b"
}
Block {
BlockType Constant
Name "b1"
Position [140, 240, 160, 260]
ShowName off
Value "b"
}
Block {
BlockType Constant
Name "b2"
Position [80, 305, 100, 325]
Orientation up
NamePlacement alternate
ShowName off
Value "b"
}
Block {
BlockType Gain
Name "c3"
Position [420, 185, 450, 215]
ShowName off
Gain "b2"
}
Block {
BlockType Gain
Name "c4"
Position [350, 240, 380, 270]
Orientation up
ShowName off
Gain "b3"
}
Block {
BlockType ToWorkspace
Name "y1"
Position [410, 96, 445, 124]
VariableName "y1"
Buffer "inf"
Decimation "1"
SampleTime "-1"
}
Block {
BlockType ToWorkspace
Name "y2"
Position [570, 96, 605, 124]
VariableName "y2"
Buffer "inf"
Decimation "1"
SampleTime "-1"
}
Block {
BlockType ToWorkspace
Name "yout"
Position [630, 186, 665, 214]
VariableName "yout"
Buffer "inf"
Decimation "1"
SampleTime "-1"
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "REAL\nResonator1"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "c3"
DstPort 1
}
Line {
SrcBlock "c3"
SrcPort 1
DstBlock "IDEAL \nresonator"
DstPort 1
}
Line {
SrcBlock "NoiseInt1"
SrcPort 1
Points [5, 0; 0, -50]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "b1"
SrcPort 1
DstBlock "NoiseInt1"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "SC1"
SrcPort 1
Points [0, 10]
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "b"
SrcPort 1
DstBlock "SC1"
DstPort 1
}
Line {
SrcBlock "SC2"
SrcPort 1
Points [0, -40]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Sampling Jitter"
SrcPort 1
Points [-5, 0]
DstBlock "SC1"
DstPort 2
}
Line {
SrcBlock "b2"
SrcPort 1
DstBlock "SC2"
DstPort 1
}
Line {
SrcBlock "REAL\nResonator1"
SrcPort 1
Points [0, 0]
Branch {
DstBlock "Sum4"
DstPort 1
}
Branch {
Points [0, -85]
DstBlock "y1"
DstPort 1
}
}
Line {
SrcBlock "Comparator"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "yout"
DstPort 1
}
Branch {
Labels [2, 0]
Points [0, 105; -250, 0]
Branch {
Points [-250, 0]
DstBlock "SC2"
DstPort 2
}
Branch {
DstBlock "c4"
DstPort 1
}
}
}
Line {
SrcBlock "IDEAL \nresonator"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Comparator"
DstPort 1
}
Branch {
Points [0, -90]
DstBlock "y2"
DstPort 1
}
}
Line {
SrcBlock "c4"
SrcPort 1
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Vin1"
SrcPort 1
Points [-35, 0]
DstBlock "Sum5"
DstPort 2
}
Line {
SrcBlock "Vin"
SrcPort 1
Points [-30, 0]
DstBlock "Sum5"
DstPort 1
}
Line {
SrcBlock "Sum5"
SrcPort 1
DstBlock "Sampling Jitter"
DstPort 1
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -