📄 spwminveter.mdl
字号:
Block {
BlockType Integrator
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
ZeroCross on
}
Block {
BlockType Logic
Operator "AND"
Inputs "2"
AllPortsSameDT on
OutDataTypeMode "Logical (see Configuration Parameters: Optimiza"
"tion)"
LogicDataType "uint(8)"
SampleTime "-1"
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
BusObject "BusObject"
NonVirtualBus off
}
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 Product
Inputs "2"
Multiplication "Element-wise(.*)"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Reference
}
Block {
BlockType RelationalOperator
Operator ">="
InputSameDT on
LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimiza"
"tion)"
LogicDataType "uint(8)"
ZeroCross on
SampleTime "-1"
}
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 Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Terminator
}
Block {
BlockType TransportDelay
DelayTime "1"
InitialInput "0"
BufferSize "1024"
PadeOrder "0"
TransDelayFeedthrough off
}
}
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 "spwminveter"
Location [2, 82, 1014, 705]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "3 PHASE\n SPWM INVERTER"
Ports [0, 0, 0, 0, 0, 2]
Position [345, 146, 465, 384]
ForegroundColor "blue"
NamePlacement "alternate"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "3 PHASE\n SPWM INVERTER"
Location [2, 82, 997, 722]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "Current Measurement"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [420, 68, 445, 92]
ForegroundColor "blue"
ShowName off
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Current Measurement2"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [420, 143, 445, 167]
ForegroundColor "blue"
ShowName off
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Current Measurement3"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [420, 218, 445, 242]
ForegroundColor "blue"
ShowName off
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType SubSystem
Name "FIRING UNIT"
Ports [0, 6]
Position [25, 33, 90, 217]
ForegroundColor "blue"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "FIRING UNIT"
Location [2, 82, 790, 564]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType SubSystem
Name "Subsystem"
Ports [3, 6]
Position [300, 59, 400, 251]
ForegroundColor "blue"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskDescription "Developed By:\n\n\nP.Sanjeevikumar. M ."
"Tech (Electrical Drives and Control)\nPower Electronics \nPh: +919843108228\n"
"Email: sanjeevi_12@yahoo.co.in"
MaskPromptString "Switching Frequency"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "fs=@1;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "2000"
System {
Name "Subsystem"
Location [212, 122, 637, 478]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [80, 48, 110, 62]
ForegroundColor "blue"
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [80, 153, 110, 167]
ForegroundColor "blue"
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In3"
Position [80, 233, 110, 247]
ForegroundColor "blue"
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Carrier1"
Ports [0, 1]
Position [25, 82, 55, 108]
ForegroundColor "blue"
ShowName off
SourceBlock "simulink/Sources/Repeating\nSequenc"
"e"
SourceType "Repeating table"
ShowPortLabels "on"
rep_seq_t "[0 (1/fs)/4 (1/fs)*3/4 1/fs]"
rep_seq_y "[0 1 -1 0]"
}
Block {
BlockType Scope
Name "Firing pulses"
Ports [6]
Position [370, 123, 400, 262]
ForegroundColor "blue"
Location [6, 30, 806, 583]
Open off
NumInputPorts "6"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
axes5 "%<SignalLabel>"
axes6 "%<SignalLabel>"
}
YMin "0~0~-1~0~0~0"
YMax "1~1~1~2~1~1"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [1, 1]
Position [220, 89, 250, 121]
ForegroundColor "blue"
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [1, 1]
Position [225, 189, 255, 221]
ForegroundColor "blue"
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator2"
Ports [1, 1]
Position [235, 279, 265, 311]
ForegroundColor "blue"
ShowName off
Operator "NOT"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [145, 47, 175, 78]
ForegroundColor "blue"
ShowName off
Operator ">"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator2"
Position [150, 152, 180, 183]
ForegroundColor "blue"
ShowName off
Operator ">"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator3"
Position [155, 232, 185, 263]
ForegroundColor "blue"
ShowName off
Operator ">"
}
Block {
BlockType Outport
Name "A1"
Position [310, 28, 340, 42]
ForegroundColor "blue"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "C2"
Position [310, 318, 340, 332]
ForegroundColor "blue"
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "B1"
Position [265, 138, 295, 152]
ForegroundColor "blue"
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "A2"
Position [285, 78, 315, 92]
ForegroundColor "blue"
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "B2"
Position [290, 218, 320, 232]
ForegroundColor "blue"
Port "5"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "C1"
Position [290, 263, 320, 277]
ForegroundColor "blue"
Port "6"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Relational\nOperator1"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "Logical\nOperator"
DstPort 1
}
Branch {
Points [75, 0]
Branch {
Points [75, 0]
DstBlock "Firing pulses"
DstPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -