📄 pll_d1.mdl
字号:
BlockType Reference
Name "Ideal Switch4"
Tag "PoWeRsYsTeMbLoCk"
Ports [2, 2]
Position [100, 245, 155, 285]
Orientation "up"
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Power\nElectronics/Ideal Switch"
SourceType "Ideal Switch"
ShowPortLabels on
Ron "10"
Lon "1e-007"
IC "0"
Rs "0"
Cs "0"
PSBOutputType "10"
}
Block {
BlockType Reference
Name "T connector"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [105, 155, 125, 175]
NamePlacement "alternate"
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
ShowPortLabels on
PSBOutputType "1"
}
Block {
BlockType Reference
Name "T connector1"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [210, 155, 230, 175]
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
ShowPortLabels on
PSBOutputType "1"
}
Block {
BlockType Reference
Name "T connector2"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [265, 155, 285, 175]
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
ShowPortLabels on
PSBOutputType "1"
}
Block {
BlockType Terminator
Name "Terminator1"
Position [130, 205, 150, 225]
Orientation "up"
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Terminator
Name "Terminator2"
Position [90, 115, 110, 135]
Orientation "down"
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Reference
Name "Voltage Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [330, 157, 360, 193]
ShowName off
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBOutputType "0"
PSBequivalent "1"
}
Block {
BlockType Outport
Name "Out1"
Position [385, 168, 415, 182]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Ideal Switch2"
SrcPort 1
Points [0, 70]
DstBlock "T connector"
DstPort 1
}
Line {
SrcBlock "Ideal Switch4"
SrcPort 1
DstBlock "T connector"
DstPort enable
}
Line {
SrcBlock "T connector"
SrcPort 1
DstBlock "1e3 ohm"
DstPort 1
}
Line {
SrcBlock "Ground (output)5"
SrcPort 1
DstBlock "DC Voltage Source1"
DstPort 1
}
Line {
SrcBlock "1e3 ohm"
SrcPort 1
DstBlock "T connector1"
DstPort 1
}
Line {
SrcBlock "1.59e-10 F"
SrcPort 1
DstBlock "T connector1"
DstPort enable
}
Line {
SrcBlock "Ground (output)1"
SrcPort 1
DstBlock "1.59e-10 F"
DstPort 1
}
Line {
SrcBlock "DC Voltage Source1"
SrcPort 1
Points [30, 0; 0, 100; 35, 0]
DstBlock "Ideal Switch4"
DstPort 1
}
Line {
SrcBlock "1.59e-10 F1"
SrcPort 1
DstBlock "T connector2"
DstPort enable
}
Line {
SrcBlock "Ground (output)2"
SrcPort 1
DstBlock "1.59e-10 F1"
DstPort 1
}
Line {
SrcBlock "T connector1"
SrcPort 1
DstBlock "T connector2"
DstPort 1
}
Line {
SrcBlock "T connector2"
SrcPort 1
DstBlock "Voltage Measurement"
DstPort 1
}
Line {
SrcBlock "Ground (output)"
SrcPort 1
Points [0, -40]
DstBlock "Voltage Measurement"
DstPort 2
}
Line {
SrcBlock "Ideal Switch2"
SrcPort 2
DstBlock "Terminator2"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Ideal Switch2"
DstPort 2
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Ideal Switch4"
SrcPort 2
DstBlock "Terminator1"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Ideal Switch4"
DstPort 2
}
Line {
SrcBlock "DC Voltage Source"
SrcPort 1
Points [0, -45]
DstBlock "Ideal Switch2"
DstPort 1
}
Line {
SrcBlock "Ground (output)4"
SrcPort 1
DstBlock "DC Voltage Source"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "D phase/freq det. "
Ports [2, 2]
Position [110, 127, 155, 203]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "D phase/freq det. "
Location [207, 283, 722, 597]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "ref"
Position [30, 48, 60, 62]
Port "1"
IconDisplay "Port number"
LatchInput off
Port {
PortNumber 1
Name "Reference"
PropagatedSignals "Input"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Inport
Name "var"
Position [15, 208, 45, 222]
Port "2"
IconDisplay "Port number"
LatchInput off
Port {
PortNumber 1
Name "Variable"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Constant
Name "Constant"
Position [65, 95, 95, 125]
}
Block {
BlockType Reference
Name "D Flip-Flop"
Ports [3, 2]
Position [205, 17, 250, 93]
SourceBlock "simulink_extras/Flip Flops/D Flip-Flop"
SourceType "DFlipFlop"
ShowPortLabels on
}
Block {
BlockType Reference
Name "D Flip-Flop1"
Ports [3, 2]
Position [200, 177, 245, 253]
SourceBlock "simulink_extras/Flip Flops/D Flip-Flop"
SourceType "DFlipFlop"
ShowPortLabels on
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [375, 112, 405, 143]
Orientation "left"
Operator "NAND"
}
Block {
BlockType Memory
Name "Memory1"
Position [275, 115, 305, 145]
Orientation "left"
}
Block {
BlockType Terminator
Name "Terminator"
Position [285, 65, 305, 85]
}
Block {
BlockType Terminator
Name "Terminator1"
Position [285, 225, 305, 245]
}
Block {
BlockType Outport
Name "U"
Position [460, 28, 490, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "D"
Position [465, 188, 495, 202]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
Name "Variable"
Labels [0, 0]
SrcBlock "var"
SrcPort 1
DstBlock "D Flip-Flop1"
DstPort 2
}
Line {
SrcBlock "D Flip-Flop"
SrcPort 2
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "D Flip-Flop1"
SrcPort 2
DstBlock "Terminator1"
DstPort 1
}
Line {
Name "Reference"
Labels [0, 1]
SrcBlock "ref"
SrcPort 1
DstBlock "D Flip-Flop"
DstPort 2
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [35, 0]
Branch {
Points [0, -80]
DstBlock "D Flip-Flop"
DstPort 1
}
Branch {
Points [0, 80]
DstBlock "D Flip-Flop1"
DstPort 1
}
}
Line {
SrcBlock "Memory1"
SrcPort 1
Points [-90, 0]
Branch {
Points [0, -50]
DstBlock "D Flip-Flop"
DstPort 3
}
Branch {
Points [0, 110]
DstBlock "D Flip-Flop1"
DstPort 3
}
}
Line {
SrcBlock "D Flip-Flop"
SrcPort 1
Points [185, 0]
Branch {
DstBlock "U"
DstPort 1
}
Branch {
Points [-5, 0; 0, 85]
DstBlock "Logical\nOperator"
DstPort 1
}
}
Line {
SrcBlock "D Flip-Flop1"
SrcPort 1
Points [185, 0]
Branch {
DstBlock "D"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "Logical\nOperator"
DstPort 2
}
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Memory1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Enabled\nScope"
Ports [1, 0, 1]
Position [610, 255, 655, 295]
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Enabled\nScope"
Location [264, 311, 478, 529]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 98, 55, 112]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [70, 40, 90, 60]
}
Block {
BlockType Scope
Name "VCO Out\n(computationally expensive)"
Ports [1]
Position [100, 89, 130, 121]
Location [513, 344, 912, 558]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "2e-008"
YMin "-1"
YMax "1"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
MaxDataPoints "500"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "VCO Out\n(computationally expensive)"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Jitter Measurement "
Ports [3, 3]
Position [425, 314, 580, 386]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Jitter Measurement "
Location [2, 137, 1014, 694]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "DUT"
Position [55, 73, 85, 87]
Port "1"
IconDisplay "Port number"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -