📄 semiconverter.mdl
字号:
}
Block {
BlockType Demux
Outputs "4"
DisplayOption "none"
BusSelectionMode off
}
Block {
BlockType DiscretePulseGenerator
PulseType "Sample based"
TimeSource "Use simulation time"
Amplitude "1"
Period "2"
PulseWidth "1"
PhaseDelay "0"
SampleTime "1"
VectorParams1D on
}
Block {
BlockType From
IconDisplay "Tag"
}
Block {
BlockType Goto
IconDisplay "Tag"
}
Block {
BlockType Inport
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Outport
Port "1"
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType PMComponent
SubClassName "unknown"
}
Block {
BlockType PMIOPort
}
Block {
BlockType Scope
Floating off
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Sin
SineType "Time based"
TimeSource "Use simulation time"
Amplitude "1"
Bias "0"
Frequency "1"
Phase "0"
Samples "10"
Offset "0"
SampleTime "-1"
VectorParams1D on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Terminator
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "semiconverter"
Location [0, 82, 1012, 696]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "AC Voltage Source"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [38, 250, 62, 285]
Orientation "up"
SourceBlock "powerlib/Electrical\nSources/AC Voltage Source"
SourceType "AC Voltage Source"
ShowPortLabels on
Amplitude "100"
Phase "0"
Frequency "50"
SampleTime "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Current Measurement1"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [370, 103, 395, 127]
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Diode"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [155, 320, 195, 375]
Orientation "up"
SourceBlock "powerlib/Power\nElectronics/Diode"
SourceType "Diode"
ShowPortLabels on
Ron "0.001"
Lon "0"
Vf "0.8"
IC "0"
Rs "500"
Cs "250e-9"
Measurements off
}
Block {
BlockType Reference
Name "Diode1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [265, 320, 305, 375]
Orientation "up"
SourceBlock "powerlib/Power\nElectronics/Diode"
SourceType "Diode"
ShowPortLabels on
Ron "0.001"
Lon "0"
Vf "0.8"
IC "0"
Rs "500"
Cs "250e-9"
Measurements off
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Ports [0, 1]
Position [50, 98, 95, 132]
PulseType "Time based"
Period ".02"
PulseWidth "10"
PhaseDelay ".002"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator1"
Ports [0, 1]
Position [335, 228, 380, 262]
Orientation "left"
NamePlacement "alternate"
PulseType "Time based"
Period ".02"
PulseWidth "10"
PhaseDelay ".012"
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [735, 66, 765, 99]
Location [5, 56, 1029, 700]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "Output voltage Vo"
axes2 "Output current Io"
}
TimeRange "0.1"
YMin "-20~-5"
YMax "100~20"
DataFormat "StructureWithTime"
}
Block {
BlockType Reference
Name "Series RLC Branch"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [506, 250, 534, 320]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
Resistance "5"
Inductance "1e-3"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "Thyristor"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [255, 140, 295, 195]
Orientation "up"
SourceBlock "powerlib/Power\nElectronics/Thyristor"
SourceType "Thyristor"
ShowPortLabels on
Ron "0.001"
Lon "0"
Vf "0.8"
IC "0"
Rs "500"
Cs "250e-9"
Measurements on
}
Block {
BlockType Reference
Name "Thyristor1"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [160, 130, 200, 185]
Orientation "up"
SourceBlock "powerlib/Power\nElectronics/Thyristor"
SourceType "Thyristor"
ShowPortLabels on
Ron "0.001"
Lon "0"
Vf "0.8"
IC "0"
Rs "500"
Cs "250e-9"
Measurements on
}
Block {
BlockType Reference
Name "Voltage Measurement"
Ports [0, 1, 0, 0, 0, 2]
Position [635, 248, 660, 272]
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Line {
LineType "Connection"
Points [520, 415; -65, 0; -170, 0]
Branch {
ConnectType "SRC_DEST"
SrcBlock "Series RLC Branch"
SrcPort RConn1
Points [0, 80]
}
Branch {
ConnectType "SRC_SRC"
Points [45, 0; 0, -150]
DstBlock "Voltage Measurement"
DstPort LConn2
}
Branch {
ConnectType "DEST_SRC"
Points [-110, 0]
DstBlock "Diode"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Diode1"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Current Measurement1"
SrcPort RConn1
Points [110, 0; 0, 65]
Branch {
ConnectType "DEST_SRC"
DstBlock "Series RLC Branch"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [45, 0; 0, 70]
DstBlock "Voltage Measurement"
DstPort LConn1
}
}
Line {
SrcBlock "Current Measurement1"
SrcPort 1
Points [320, 0]
DstBlock "Scope"
DstPort 2
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
Points [20, 0; 0, -185]
DstBlock "Scope"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "AC Voltage Source"
SrcPort RConn1
Points [0, -5; 125, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "Diode"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
Points [15, 0]
DstBlock "Thyristor1"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "AC Voltage Source"
SrcPort LConn1
Points [0, 0; 235, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "Diode1"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Thyristor"
DstPort LConn1
}
}
Line {
LineType "Connection"
SrcBlock "Thyristor1"
SrcPort RConn1
Points [0, 0; 90, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "Current Measurement1"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Thyristor"
SrcPort RConn1
Points [0, -10; -5, 0]
}
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [25, 0; 0, 85]
DstBlock "Thyristor1"
DstPort 1
}
Line {
SrcBlock "Pulse\nGenerator1"
SrcPort 1
Points [-65, 0]
DstBlock "Thyristor"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -