📄 dsp_test_m.mdl
字号:
Model {
Name "DSP_TEST_M"
Version 4.00
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
InitFcn "powericon('psbinitsys',bdroot);"
Created "Sun Oct 05 21:28:25 2003"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "李洁"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sat Oct 25 17:19:02 2003"
ModelVersionFormat "1.%<AutoIncrement:51>"
ConfigurationManager "None"
SimParamPage "Solver"
StartTime "0.0"
StopTime "1"
SolverMode "Auto"
Solver "FixedStepDiscrete"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
InitialStep "auto"
FixedStep "5e-7"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime off
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput off
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState on
FinalStateName "xFinal"
SaveFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
SingleTaskRateTransMsg "none"
MultiTaskRateTransMsg "error"
IntegerOverflowMsg "warning"
CheckForMatrixSingularity "none"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
InvalidFcnCallConnMsg "error"
SignalLabelMismatchMsg "none"
LinearizationMsg "none"
VectorMatrixConversionMsg "none"
SfunCompatibilityCheckMsg "none"
BlockPriorityViolationMsg "warning"
ArrayBoundsChecking "none"
ConsistencyChecking "none"
ZeroCross on
Profile off
SimulationMode "normal"
RTWSystemTargetFile "grt.tlc"
RTWOptions "-aEnforceIntegerDowncast=1 -aExtMode=0 -aFoldNonRol"
"ledExpr=1 -aForceParamTrailComments=0 -aGenerateComments=1 -aIgnoreCustomStor"
"ageClasses=1 -aIncHierarchyInIds=0 -aInlineInvariantSignals=0 -aLocalBlockOut"
"puts=1 -aLogVarNameModifier=\"rt_\" -aRTWVerbose=1 -aRollThreshold=5 -aShowEl"
"iminatedStatements=1"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
TLCProfiler off
TLCDebug off
TLCCoverage off
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect on
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
OptimizeBlockIOStorage on
BufferReuse on
ParameterPooling on
BlockReductionOpt on
RTWExpressionDepthLimit 5
BooleanDataType off
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
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 "DSP_TEST_M"
Location [249, 251, 917, 507]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "3- Phase Series RLC "
Ports [3, 3]
Position [290, 60, 365, 110]
FontSize 10
SourceBlock "powerlib_extras/Three-Phase\nLibrary/3- Phase S"
"eries RLC "
SourceType "3-phase RLC series element"
R "20000"
L "0"
C "inf"
}
Block {
BlockType Reference
Name "Bus Bar (thin horiz)1"
Tag "PoWeRsYsTeMbLoCk"
Ports [0, 2]
Position [112, 90, 163, 95]
Orientation "up"
ShowName off
SourceBlock "powerlib2/Connectors/Bus Bar (thin horiz)"
SourceType "Bus Bar"
input "0"
output "2"
PSBOutputType "11111111111111111111111111111111111111111111111"
"1111111111111111111111111111111111111"
}
Block {
BlockType Reference
Name "Bus Bar (vert)"
Tag "PoWeRsYsTeMbLoCk"
Ports [3]
Position [415, 62, 420, 108]
BackgroundColor "black"
FontSize 10
SourceBlock "powerlib2/Connectors/Bus Bar (vert)"
SourceType "Bus Bar"
entrees "3"
sorties "0"
PSBOutputType "11111111111111111111111111111111111111111111111"
"111111111111111111111111111111111111111111"
}
Block {
BlockType Reference
Name "Discret System Block"
Ports []
Position [461, 29, 575, 63]
DropShadow on
ShowName off
FontName "new century schoolbook"
FontSize 12
SourceBlock "powerlib2/Discrete System"
SourceType "PSB option block system"
methode "off"
Ts "5e-7"
}
Block {
BlockType Reference
Name "IGBT Inverter1"
Tag "PoWeRsYsTeMbLoCk"
Ports [3, 3]
Position [180, 57, 245, 123]
NamePlacement "alternate"
SourceBlock "powerlib2/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
arms "3"
confi "ABC as output terminals"
injcc "1000"
cf "inf"
device "IGBT / Diodes"
Ron "1e-3"
Lon "0"
VFs "[ 0.8 0.8 ]"
Vf ".8"
gtoparameters "[ 1e-6 , 1e-6 ]"
igbtparameters "[ 1e-5, 2e-5]"
mesure "None"
PSBOutputType "111"
}
Block {
BlockType SubSystem
Name "SVPWM Generator"
Ports [0, 1]
Position [45, 80, 85, 140]
ForegroundColor "orange"
BackgroundColor "lightBlue"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "SVPWM发生器"
MaskPromptString "频率(Hz)"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "Freq=@1;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "50"
System {
Name "SVPWM Generator"
Location [2, 82, 1014, 743]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Clock
Name "Clock"
Position [320, 120, 340, 140]
DisplayTime off
Decimation "10"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion"
Position [640, 44, 660, 66]
ShowName off
DataType "boolean"
SaturateOnIntegerOverflow on
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion1"
Position [725, 44, 745, 66]
ShowName off
DataType "double"
SaturateOnIntegerOverflow on
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion2"
Position [725, 94, 745, 116]
ShowName off
DataType "double"
SaturateOnIntegerOverflow on
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion3"
Position [725, 144, 745, 166]
ShowName off
DataType "double"
SaturateOnIntegerOverflow on
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion4"
Position [630, 94, 650, 116]
ShowName off
DataType "boolean"
SaturateOnIntegerOverflow on
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion5"
Position [630, 144, 650, 166]
ShowName off
DataType "boolean"
SaturateOnIntegerOverflow on
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [540, 46, 545, 84]
BackgroundColor "black"
ShowName off
Outputs "3"
BusSelectionMode off
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 3]
Position [245, 71, 250, 109]
BackgroundColor "black"
ShowName off
Outputs "3"
BusSelectionMode off
}
Block {
BlockType Reference
Name "Discrete\nVirtual PLL"
Ports [0, 3]
Position [25, 26, 90, 124]
SourceBlock "powerlib_extras/Discrete \nControl Blocks/D"
"iscrete\nVirtual PLL"
SourceType "Discrete Virtual PLL"
Freq "Freq"
Phase "0"
Ts "5e-7"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [1, 1]
Position [675, 45, 705, 65]
ShowName off
Operator "NOT"
Inputs "2"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [1, 1]
Position [670, 95, 700, 115]
ShowName off
Operator "NOT"
Inputs "2"
}
Block {
BlockType Logic
Name "Logical\nOperator2"
Ports [1, 1]
Position [670, 145, 700, 165]
ShowName off
Operator "NOT"
Inputs "2"
}
Block {
BlockType MATLABFcn
Name "MATLAB Fcn"
Position [460, 50, 520, 80]
MATLABFcn "SVPWM_sim(u(1),u(2),u(3),u(4),u(5))"
OutputDimensions "-1"
OutputSignalType "auto"
Output1D off
}
Block {
BlockType Mux
Name "Mux"
Ports [5, 1]
Position [395, 31, 400, 99]
ShowName off
Inputs "5"
DisplayOption "bar"
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -