📄 c5mmos.mdl
字号:
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant1"
Position [40, 135, 60, 155]
Value "0"
VectorParams1D on
}
Block {
BlockType Sin
Name "Sine Wave"
Position [35, 83, 65, 107]
SineType "Time-based"
Amplitude "1"
Bias "0"
Frequency "2*pi./period"
Phase "-2*pi*(start./period + duty/200 - 1/4)"
Samples "10"
Offset "0"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Step
Name "Step"
Position [35, 27, 65, 53]
Time "start"
Before "0"
After "amplitude"
SampleTime "0"
VectorParams1D on
}
Block {
BlockType Switch
Name "Switch"
Position [120, 65, 155, 125]
Threshold "sin(pi*(0.5 - duty/100))"
}
Block {
BlockType Outport
Name "out1"
Position [250, 88, 280, 102]
Port "1"
OutputWhenDisabled "held"
InitialOutput "0"
}
Line {
SrcBlock "Step"
SrcPort 1
Points [20, 0; 0, 35]
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [25, 0; 0, -30]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "out1"
DstPort 1
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [5, 0; 20, 0]
DstBlock "Switch"
DstPort 2
}
}
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [225, 74, 255, 96]
ShowName off
InputType "Vector"
ElementSrc "Internal"
Elements "1"
RowSrc "Internal"
Rows "1"
ColumnSrc "Internal"
Columns "1"
InputPortWidth "2"
}
Block {
BlockType Selector
Name "Selector1"
Ports [1, 1]
Position [505, 84, 535, 106]
ShowName off
InputType "Vector"
ElementSrc "Internal"
Elements "1"
RowSrc "Internal"
Rows "1"
ColumnSrc "Internal"
Columns "1"
InputPortWidth "2"
}
Block {
BlockType Reference
Name "Subsystem7"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1, 1]
Position [455, 55, 475, 75]
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib2/Connectors/T connector"
SourceType "Bus Bar"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "U=24 V"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 1]
Position [40, 125, 60, 160]
Orientation "up"
SourceBlock "powerlib2/Electrical\nSources/DC Voltage Source"
SourceType "DC Voltage Source"
V "24"
mesure "None"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "VC"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [320, 113, 345, 137]
Orientation "left"
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PSBOutputType "0"
PSBequivalent "1"
}
Block {
BlockType Reference
Name "output Ground1"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [459, 195, 491, 225]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Reference
Name "output Ground2"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 1]
Position [34, 205, 66, 235]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Ground (output)"
SourceType "Ground"
PSBOutputType "1"
}
Block {
BlockType Outport
Name "Out1"
Position [345, 193, 375, 207]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Subsystem7"
SrcPort 1
Points [115, 0]
DstBlock "Io = 5A"
DstPort 1
}
Line {
SrcBlock "Diode"
SrcPort 1
DstBlock "Subsystem7"
DstPort enable
}
Line {
SrcBlock "Lr=0.02 uH"
SrcPort 1
Points [25, 0]
Branch {
Points [45, 0]
Branch {
DstBlock "Subsystem7"
DstPort 1
}
Branch {
DstBlock "C\n0.03 uF"
DstPort 1
}
}
Branch {
Points [0, 55]
DstBlock "VC"
DstPort 1
}
}
Line {
SrcBlock "C\n0.03 uF"
SrcPort 1
Points [0, 0; 0, 20]
Branch {
DstBlock "Ground1"
DstPort 1
}
Branch {
Points [-55, 0]
DstBlock "VC"
DstPort 2
}
}
Line {
SrcBlock "Io = 5A"
SrcPort 1
DstBlock "Ground"
DstPort 1
}
Line {
SrcBlock "Mosfet"
SrcPort 2
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "U=24 V"
SrcPort 1
Points [0, -55]
DstBlock "Mosfet"
DstPort 1
}
Line {
SrcBlock "output Ground2"
SrcPort 1
DstBlock "U=24 V"
DstPort 1
}
Line {
SrcBlock "Diode"
SrcPort 2
Points [0, -15]
DstBlock "Selector1"
DstPort 1
}
Line {
SrcBlock "Mosfet"
SrcPort 1
DstBlock "Lr=0.02 uH"
DstPort 1
}
Line {
SrcBlock "output Ground1"
SrcPort 1
DstBlock "Diode"
DstPort 1
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Mosfet"
DstPort 2
}
Branch {
Points [0, 90]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "VC"
SrcPort 1
Points [-40, 0; 0, 80]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Selector1"
SrcPort 1
Points [20, 0; 0, 155; -295, 0; 0, -30]
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Selector"
SrcPort 1
Points [5, 0; 0, 105]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Position [316, 35]
Text "Rp =1000"
}
Annotation {
Position [155, 227]
Text "c5mmos.mdl"
FontName "Arial"
FontSize 12
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -