📄 fullbridge.mdl
字号:
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"
}
}
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 "fullbridge"
Location [0, 82, 1016, 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, 225, 62, 260]
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 Measurement"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [445, 68, 470, 92]
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Ports [0, 1]
Position [75, 423, 120, 457]
PulseType "Time based"
Period ".02"
PulseWidth "10"
PhaseDelay ".012"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator1"
Ports [0, 1]
Position [425, 453, 470, 487]
Orientation "left"
NamePlacement "alternate"
PulseType "Time based"
Period ".02"
PulseWidth "10"
PhaseDelay ".002"
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [830, 181, 860, 214]
Location [6, 56, 1030, 741]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "Output voltage Vo"
axes2 "Output current Io"
}
TimeRange "0.1"
YMin "0~-5"
YMax "100~5"
DataFormat "StructureWithTime"
}
Block {
BlockType Reference
Name "Series RL Branch"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [581, 185, 609, 255]
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 "2e-3"
Capacitance "inf"
Measurements "None"
}
Block {
BlockType Reference
Name "Thyristor"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [185, 115, 225, 170]
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 [185, 285, 225, 340]
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 "Thyristor2"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [340, 280, 380, 335]
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 "Thyristor3"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [340, 105, 380, 160]
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 [695, 178, 720, 202]
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Line {
LineType "Connection"
Points [215, 210; -130, 0; -35, 0]
DstBlock "AC Voltage Source"
DstPort RConn1
Branch {
ConnectType "SRC_DEST"
SrcBlock "Thyristor"
SrcPort LConn1
Points [0, 25]
}
Branch {
ConnectType "SRC_SRC"
DstBlock "Thyristor1"
DstPort RConn1
}
}
Line {
LineType "Connection"
SrcBlock "AC Voltage Source"
SrcPort LConn1
Points [0, 20; 90, 0; 0, -40; 225, 0; 0, -5; 5, 0]
Branch {
ConnectType "DEST_DEST"
SrcBlock "Thyristor3"
SrcPort LConn1
Points [0, 0; 0, 75]
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Thyristor2"
DstPort RConn1
}
}
Line {
LineType "Connection"
SrcBlock "Thyristor"
SrcPort RConn1
Points [0, -20; 155, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "Thyristor3"
DstPort RConn1
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Current Measurement"
DstPort LConn1
}
}
Line {
LineType "Connection"
Points [370, 365; 160, 0; 65, 0; 0, -75]
Branch {
ConnectType "SRC_DEST"
SrcBlock "Thyristor1"
SrcPort LConn1
Points [0, 10; 155, 0]
}
Branch {
ConnectType "SRC_SRC"
DstBlock "Thyristor2"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Series RL Branch"
SrcPort RConn1
Points [0, 0; 0, 20]
}
Branch {
ConnectType "DEST_SRC"
Points [60, 0; 0, -95]
DstBlock "Voltage Measurement"
DstPort LConn2
}
}
Line {
LineType "Connection"
Points [595, 140; 0, -55; -110, 0]
DstBlock "Current Measurement"
DstPort RConn1
Branch {
ConnectType "SRC_SRC"
DstBlock "Series RL Branch"
DstPort LConn1
}
Branch {
ConnectType "SRC_SRC"
Points [60, 0; 0, 45]
DstBlock "Voltage Measurement"
DstPort LConn1
}
}
Line {
SrcBlock "Pulse\nGenerator"
SrcPort 1
Points [70, 0]
Branch {
Points [105, 0; 0, -240; 50, 0]
DstBlock "Thyristor3"
DstPort 1
}
Branch {
DstBlock "Thyristor1"
DstPort 1
}
}
Line {
SrcBlock "Pulse\nGenerator1"
SrcPort 1
Points [-70, 0]
Branch {
Points [-75, 0; 0, -275; -80, 0]
DstBlock "Thyristor"
DstPort 1
}
Branch {
DstBlock "Thyristor2"
DstPort 1
}
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Current Measurement"
SrcPort 1
Points [295, 0; 0, 130]
DstBlock "Scope"
DstPort 2
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -