📄 pwm41.mdl
字号:
Position [380, 146, 450, 174]
ShowName off
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "L"
Resistance "[]"
Inductance "40e-3"
SetiL0 off
InitialCurrent "0"
Capacitance "[]"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Series RLC Branch1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [597, 205, 643, 235]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "C"
Resistance "[]"
Inductance "[]"
SetiL0 off
InitialCurrent "0"
Capacitance "1000e-6"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Series RLC Branch2"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [713, 170, 747, 210]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "R"
Resistance "100"
Inductance "0.005"
SetiL0 off
InitialCurrent "0"
Capacitance "[]"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Series RLC Branch3"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [290, 146, 360, 174]
ShowName off
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "R"
Resistance "0.2"
Inductance "0.005"
SetiL0 off
InitialCurrent "0"
Capacitance "[]"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Series RLC Branch4"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [603, 130, 637, 170]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "L"
Resistance "32.8"
Inductance "2.5e-3"
SetiL0 off
InitialCurrent "0"
Capacitance "[]"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Series RLC Branch5"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [657, 170, 703, 200]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "C"
Resistance "[]"
Inductance "[]"
SetiL0 off
InitialCurrent "0"
Capacitance "3000e-6"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Sin
Name "Sine Wave"
Ports [0, 1]
Position [340, 345, 370, 375]
SineType "Time based"
Frequency "2*pi*50"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 1]
Position [645, 301, 715, 359]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem"
Location [72, 228, 979, 771]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "yellow"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [90, 193, 120, 207]
IconDisplay "Port number"
}
Block {
BlockType Constant
Name "Constant"
Position [110, 290, 140, 320]
Value "-1"
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion1"
Position [310, 270, 350, 300]
ShowName off
OutDataTypeMode "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion2"
Position [310, 115, 350, 145]
ShowName off
OutDataTypeMode "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion4"
Position [715, 195, 755, 225]
ShowName off
OutDataTypeMode "double"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [1, 1]
Position [385, 115, 410, 145]
Operator "NOT"
AllPortsSameDT off
OutDataTypeMode "Specify via dialog"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [1, 1]
Position [390, 270, 415, 300]
NamePlacement "alternate"
Operator "NOT"
AllPortsSameDT off
OutDataTypeMode "Specify via dialog"
}
Block {
BlockType Logic
Name "Logical\nOperator3"
Ports [2, 1]
Position [470, 137, 495, 168]
ShowName off
AllPortsSameDT off
OutDataTypeMode "Specify via dialog"
}
Block {
BlockType Logic
Name "Logical\nOperator4"
Ports [2, 1]
Position [470, 172, 495, 203]
ShowName off
AllPortsSameDT off
OutDataTypeMode "Specify via dialog"
}
Block {
BlockType Logic
Name "Logical\nOperator5"
Ports [2, 1]
Position [470, 217, 495, 248]
NamePlacement "alternate"
ShowName off
AllPortsSameDT off
OutDataTypeMode "Specify via dialog"
}
Block {
BlockType Logic
Name "Logical\nOperator6"
Ports [2, 1]
Position [470, 247, 495, 278]
ShowName off
AllPortsSameDT off
OutDataTypeMode "Specify via dialog"
}
Block {
BlockType Logic
Name "Logical\nOperator7"
Ports [1, 1]
Position [405, 40, 430, 70]
Operator "NOT"
AllPortsSameDT off
OutDataTypeMode "Specify via dialog"
}
Block {
BlockType Mux
Name "Mux4"
Ports [2, 1]
Position [585, 156, 590, 194]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux5"
Ports [2, 1]
Position [575, 231, 580, 269]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux6"
Ports [2, 1]
Position [690, 191, 695, 229]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [175, 282, 205, 313]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator"
Ports [0, 1]
Position [345, 308, 390, 342]
PulseType "Time based"
Period "1/20e3"
PulseWidth "50"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator1"
Ports [0, 1]
Position [335, 38, 380, 72]
PulseType "Time based"
Period "1/20e3"
PulseWidth "50"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [250, 100, 290, 160]
InputSameDT off
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [250, 255, 290, 315]
NamePlacement "alternate"
InputSameDT off
}
Block {
BlockType Reference
Name "Repeating\nSequence"
Ports [0, 1]
Position [185, 195, 215, 225]
NamePlacement "alternate"
SourceBlock "simulink/Sources/Repeating\nSequence"
SourceType "Repeating table"
ShowPortLabels on
rep_seq_t "[0 0.000025 0.00005]"
rep_seq_y "[0 1 0]"
}
Block {
BlockType Scope
Name "Scope"
Ports [4]
Position [580, 65, 620, 115]
Floating off
Location [90, 209, 1106, 916]
Open off
NumInputPorts "4"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
YMin "-1~-1~-1~-1"
YMax "2~2~2~2"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [2]
Position [245, 12, 285, 63]
Floating off
Location [6, 52, 1022, 759]
Open off
NumInputPorts "2"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "-1~-1"
YMax "2~2"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [4]
Position [330, 165, 370, 215]
Floating off
Location [6, 311, 1022, 1018]
Open off
NumInputPorts "4"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
YMin "-1~-1~-1~-1"
YMax "2~2~2~2"
SaveName "ScopeData5"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Selector
Name "Selector"
Ports [1, 1]
Position [610, 156, 650, 194]
Elements "[1 2]"
InputPortWidth "2"
}
Block {
BlockType Selector
Name "Selector1"
Ports [1, 1]
Position [615, 231, 655, 269]
Elements "[2 1]"
InputPortWidth "2"
}
Block {
BlockType Outport
Name "Out1"
Position [775, 203, 805, 217]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Repeating\nSequence"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Relational\nOperator"
DstPort 2
}
Branch {
DstBlock "Relational\nOperator1"
DstPort 1
}
Branch {
Points [0, -15]
DstBlock "Scope2"
DstPort 3
}
}
Line {
SrcBlock "Relational\nOperator"
SrcPort 1
DstBlock "Data Type Conversion2"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -