buck闭环电路的matlab仿真(源码)

Model {
Name “buckcak”
Version 6.0
GraphicalInterface {
NumRootInports 0
NumRootOutports 0
ParameterArgumentNames “”
ComputedModelVersion “1.3”
NumModelReferences 0
NumTestPointedSignals 0
}
SavedCharacterEncoding “ibm-1386_P100-2002”
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay “none”
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
ShowTestPointIcons on
ShowViewerIcons on
SortedOrder off
ExecutionContextIcon off
ShowLinearizationAnnotations on
RecordCoverage off
CovPath “/”
CovSaveName “covdata”
CovMetricSettings “dw”
CovNameIncrementing off
CovHtmlReporting on
covSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeVarName “covCumulativeData”
CovCumulativeReport off
CovReportOnPause on
ScopeRefreshTime 0.035000
OverrideScopeRefreshTime on
DisableAllScopes off
DataTypeOverride “UseLocalSettings”
MinMaxOverflowLogging “UseLocalSettings”
MinMaxOverflowArchiveMode “Overwrite”
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created “Fri Mar 22 21:52:54 2019”
UpdateHistory “UpdateHistoryNever”
ModifiedByFormat “%”
LastModifiedBy “Lenovo”
ModifiedDateFormat “%”
LastModifiedDate “Fri Mar 22 23:09:32 2019”
ModelVersionFormat “1.%AutoIncrement:3”
ConfigurationManager “None”
LinearizationMsg “none”
Profile off
ParamWorkspaceSource “MATLABWorkspace”
AccelSystemTargetFile “accel.tlc”
AccelTemplateMakefile “accel_default_tmf”
AccelMakeCommand “make_rtw”
TryForcingSFcnDF off
ExtModeBatchMode off
ExtModeEnableFloating on
ExtModeTrigType “manual”
ExtModeTrigMode “normal”
ExtModeTrigPort “1”
ExtModeTrigElement “any”
ExtModeTrigDuration 1000
ExtModeTrigDurationFloating “auto”
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
BufferReuse on
ProdHWDeviceType “32-bit Generic”
ShowModelReferenceBlockVersion off
ShowModelReferenceBlockIO off
Array {
Type “Handle”
Dimension 1
Simulink.ConfigSet {
$ObjectID 1
Version “1.0.4”
Array {
Type “Handle”
Dimension 7
Simulink.SolverCC {
$ObjectID 2
Version “1.0.4”
StartTime “0.0”
StopTime “0.2”
AbsTol “auto”
FixedStep “auto”
InitialStep “auto”
MaxNumMinSteps “-1”
MaxOrder 5
ExtrapolationOrder 4
NumberNewtonIterations 1
MaxStep “1e-2”
MinStep “auto”
RelTol “1e-3”
SolverMode “Auto”
Solver “ode23tb”
ZeroCrossControl “UseLocalSettings”
PositivePriorityOrder off
AutoInsertRateTranBlk off
SampleTimeConstraint “Unconstrained”
RateTranMode “Deterministic”
}
Simulink.DataIOCC {
$ObjectID 3
Version “1.0.4”
Decimation “1”
ExternalInput “[t, u]”
FinalStateName “xFinal”
InitialState “xInitial”
LimitDataPoints on
MaxDataPoints “1000”
LoadExternalInput off
LoadInitialState off
SaveFinalState off
SaveFormat “Array”
SaveOutput on
SaveState off
SaveTime on
StateSaveName “xout”
TimeSaveName “tout”
OutputSaveName “yout”
SignalLoggingName “logsout”
OutputOption “RefineOutputTimes”
OutputTimes “[]”
Refine “1”
}
Simulink.OptimizationCC {
$ObjectID 4
Array {
Type “Cell”
Dimension 5
Cell “ZeroExternalMemoryAtStartup”
Cell “ZeroInternalMemoryAtStartup”
Cell “InitFltsAndDblsToZero”
Cell “OptimizeModelRefInitCode”
Cell “NoFixptDivByZeroProtection”
PropName “DisabledProps”
}
Version “1.0.4”
BlockReduction on
BooleanDataType on
ConditionallyExecuteInputs on
ConditionalExecOptimization “on_for_testing”
InlineParams off
InlineInvariantSignals on
OptimizeBlockIOStorage on
BufferReuse on
EnforceIntegerDowncast on
ExpressionFolding on
FoldNonRolledExpr on
LocalBlockOutputs on
ParameterPooling on
RollThreshold 5
SystemCodeInlineAuto off
StateBitsets off
DataBitsets off
UseTempVars off
ZeroExternalMemoryAtStartup on
ZeroInternalMemoryAtStartup on
InitFltsAndDblsToZero on
NoFixptDivByZeroProtection off
OptimizeModelRefInitCode off
LifeSpan “inf”
}
Simulink.DebuggingCC {
$ObjectID 5
Version “1.0.4”
ConsistencyChecking “none”
ArrayBoundsChecking “none”
AlgebraicLoopMsg “warning”
ArtificialAlgebraicLoopMsg “warning”
CheckSSInitialOutputMsg on
CheckExecutionContextPreStartOutputMsg off
CheckExecutionContextRuntimeOutputMsg off
SignalResolutionControl “TryResolveAllWithWarning”
BlockPriorityViolationMsg “warning”
MinStepSizeMsg “warning”
SolverPrmCheckMsg “warning”
InheritedTsInSrcMsg “warning”
DiscreteInheritContinuousMsg “warning”
MultiTaskRateTransMsg “error”
SingleTaskRateTransMsg “none”
TasksWithSamePriorityMsg “warning”
CheckMatrixSingularityMsg “none”
IntegerOverflowMsg “warning”
Int32ToFloatConvMsg “warning”
ParameterDowncastMsg “error”
ParameterOverflowMsg “error”
ParameterPrecisionLossMsg “warning”
UnderSpecifiedDataTypeMsg “none”
UnnecessaryDatatypeConvMsg “none”
VectorMatrixConversionMsg “none”
InvalidFcnCallConnMsg “error”
SignalLabelMismatchMsg “none”
UnconnectedInputMsg “warning”
UnconnectedOutputMsg “warning”
UnconnectedLineMsg “warning”
SFcnCompatibilityMsg “none”
UniqueDataStoreMsg “none”
RootOutportRequireBusObject “warning”
AssertControl “UseLocalSettings”
EnableOverflowDetection off
ModelReferenceIOMsg “none”
ModelReferenceVersionMismatchMessage “none”
ModelReferenceIOMismatchMessage “none”
ModelReferenceCSMismatchMessage “none”
ModelReferenceSimTargetVerbose off
UnknownTsInhSupMsg “warning”
ModelReferenceDataLoggingMessage “warning”
ModelReferenceSymbolNameMessage “warning”
}
Simulink.HardwareCC {
$ObjectID 6
Version “1.0.4”
ProdBitPerChar 8
ProdBitPerShort 16
ProdBitPerInt 32
ProdBitPerLong 32
ProdIntDivRoundTo “Undefined”
ProdEndianess “Unspecified”
ProdWordSize 32
ProdShiftRightIntArith on
ProdHWDeviceType “32-bit Generic”
TargetBitPerChar 8
TargetBitPerShort 16
TargetBitPerInt 32
TargetBitPerLong 32
TargetShiftRightIntArith on
TargetIntDivRoundTo “Undefined”
TargetEndianess “Unspecified”
TargetWordSize 32
TargetTypeEmulationWarnSuppressLevel 0
TargetPreprocMaxBitsSint 32
TargetPreprocMaxBitsUint 32
TargetHWDeviceType “Specified”
TargetUnknown off
ProdEqTarget on
}
Simulink.ModelReferenceCC {
$ObjectID 7
Version “1.0.4”
UpdateModelReferenceTargets “IfOutOfDateOrStructuralChange”
CheckModelReferenceTargetMessage “error”
ModelReferenceNumInstancesAllowed “Multi”
ModelReferencePassRootInputsByReference on
ModelReferenceMinAlgLoopOccurrences off
}
Simulink.RTWCC {
$BackupClass “Simulink.RTWCC”
$ObjectID 8
Array {
Type “Cell”
Dimension 1
Cell “IncludeHyperlinkInReport”
PropName “DisabledProps”
}
Version “1.0.4”
SystemTargetFile “grt.tlc”
GenCodeOnly off
MakeCommand “make_rtw”
TemplateMakefile “grt_default_tmf”
GenerateReport off
SaveLog off
RTWVerbose on
RetainRTWFile off
ProfileTLC off
TLCDebug off
TLCCoverage off
TLCAssert off
ProcessScriptMode “Default”
ConfigurationMode “Optimized”
ConfigAtBuild off
IncludeHyperlinkInReport off
LaunchReport off
Array {
Type “Handle”
Dimension 2
Simulink.CodeAppCC {
O b j e c t I D 9 A r r a y T y p e " C e l l " D i m e n s i o n 9 C e l l " I g n o r e C u s t o m S t o r a g e C l a s s e s " C e l l " I n s e r t B l o c k D e s c " C e l l " S F D a t a O b j D e s c " C e l l " S i m u l i n k D a t a O b j D e s c " C e l l " D e f i n e N a m i n g R u l e " C e l l " S i g n a l N a m i n g R u l e " C e l l " P a r a m N a m i n g R u l e " C e l l " I n l i n e d P r m A c c e s s " C e l l " C u s t o m S y m b o l S t r " P r o p N a m e " D i s a b l e d P r o p s " V e r s i o n " 1.0.4 " F o r c e P a r a m T r a i l C o m m e n t s o f f G e n e r a t e C o m m e n t s o n I g n o r e C u s t o m S t o r a g e C l a s s e s o n I n c H i e r a r c h y I n I d s o f f M a x I d L e n g t h 31 P r e s e r v e N a m e o f f P r e s e r v e N a m e W i t h P a r e n t o f f S h o w E l i m i n a t e d S t a t e m e n t o f f I n c A u t o G e n C o m m e n t s o f f S i m u l i n k D a t a O b j D e s c o f f S F D a t a O b j D e s c o f f I n c D a t a T y p e I n I d s o f f P r e f i x M o d e l T o S u b s y s F c n N a m e s o n C u s t o m S y m b o l S t r " ObjectID 9 Array { Type "Cell" Dimension 9 Cell "IgnoreCustomStorageClasses" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" PropName "DisabledProps" } Version "1.0.4" ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off PrefixModelToSubsysFcnNames on CustomSymbolStr " ObjectID9ArrayType"Cell"Dimension9Cell"IgnoreCustomStorageClasses"Cell"InsertBlockDesc"Cell"SFDataObjDesc"Cell"SimulinkDataObjDesc"Cell"DefineNamingRule"Cell"SignalNamingRule"Cell"ParamNamingRule"Cell"InlinedPrmAccess"Cell"CustomSymbolStr"PropName"DisabledProps"Version"1.0.4"ForceParamTrailCommentsoffGenerateCommentsonIgnoreCustomStorageClassesonIncHierarchyInIdsoffMaxIdLength31PreserveNameoffPreserveNameWithParentoffShowEliminatedStatementoffIncAutoGenCommentsoffSimulinkDataObjDescoffSFDataObjDescoffIncDataTypeInIdsoffPrefixModelToSubsysFcnNamesonCustomSymbolStr"R N N NM"
MangleLength 1
DefineNamingRule “None”
ParamNamingRule “None”
SignalNamingRule “None”
InsertBlockDesc off
SimulinkBlockComments on
EnableCustomComments off
InlinedPrmAccess “Literals”
ReqsInCode off
}
Simulink.GRTTargetCC {
$BackupClass “Simulink.TargetCC”
$ObjectID 10
Array {
Type “Cell”
Dimension 12
Cell “IncludeMdlTerminateFcn”
Cell “CombineOutputUpdateFcns”
Cell “SuppressErrorStatus”
Cell “ERTCustomFileBanners”
Cell “GenerateSampleERTMain”
Cell “MultiInstanceERTCode”
Cell “PurelyIntegerCode”
Cell “SupportNonFinite”
Cell “SupportComplex”
Cell “SupportAbsoluteTime”
Cell “SupportContinuousTime”
Cell “SupportNonInlinedSFcns”
PropName “DisabledProps”
}
Version “1.0.4”
TargetFcnLib “ansi_tfl_tmw.mat”
GenFloatMathFcnCalls “ANSI_C”
UtilityFuncGeneration “Auto”
GenerateFullHeader on
GenerateSampleERTMain off
IsPILTarget off
ModelReferenceCompliant on
IncludeMdlTerminateFcn on
CombineOutputUpdateFcns off
SuppressErrorStatus off
IncludeFileDelimiter “Auto”
ERTCustomFileBanners off
SupportAbsoluteTime on
LogVarNameModifier “rt_”
MatFileLogging on
MultiInstanceERTCode off
SupportNonFinite on
SupportComplex on
PurelyIntegerCode off
SupportContinuousTime on
SupportNonInlinedSFcns on
ExtMode off
ExtModeStaticAlloc off
ExtModeTesting off
ExtModeStaticAllocSize 1000000
ExtModeTransport 0
ExtModeMexFile “ext_comm”
RTWCAPISignals off
RTWCAPIParams off
RTWCAPIStates off
GenerateASAP2 off
}
PropName “Components”
}
}
PropName “Components”
}
Name “Configuration”
SimulationMode “normal”
CurrentDlgPage “Solver”
}
PropName “ConfigurationSets”
}
Simulink.ConfigSet {
$PropName “ActiveConfigurationSet”
$ObjectID 1
}
BlockDefaults {
Orientation “right”
ForegroundColor “black”
BackgroundColor “white”
DropShadow off
NamePlacement “normal”
FontName “Helvetica”
FontSize 10
FontWeight “normal”
FontAngle “normal”
ShowName on
}
BlockParameterDefaults {
Block {
BlockType BusCreator
Inputs “4”
DisplayOption “none”
BusObject “BusObject”
NonVirtualBus off
}
Block {
BlockType Constant
Value “1”
VectorParams1D on
OutDataTypeMode “Inherit from ‘Constant value’”
OutDataType “sfix(16)”
ConRadixGroup “Use specified scaling”
OutScaling “2^0”
SampleTime “inf”
}
Block {
BlockType DataTypeConversion
OutDataTypeMode “Inherit via back propagation”
OutDataType “sfix(16)”
OutScaling “2^0”
LockScale off
ConvertRealWorld “Real World Value (RWV)”
RndMeth “Zero”
SaturateOnIntegerOverflow on
SampleTime “-1”
}
Block {
BlockType Demux
Outputs “4”
DisplayOption “none”
BusSelectionMode off
}
Block {
BlockType DiscreteIntegrator
IntegratorMethod “Integration: Forward Euler”
gainval “1.0”
ExternalReset “none”
InitialConditionSource “internal”
InitialCondition “0”
InitialConditionMode “State and output”
SampleTime “1”
OutDataTypeMode “Inherit via internal rule”
OutDataType “sfix(16)”
OutScaling “2^0”
LockScale off
RndMeth “Floor”
SaturateOnIntegerOverflow off
LimitOutput off
UpperSaturationLimit “inf”
LowerSaturationLimit “-inf”
ShowSaturationPort off
ShowStatePort off
StateMustResolveToSignalObject off
RTWStateStorageClass “Auto”
}
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 Gain
Gain “1”
Multiplication “Element-wise(K.*u)”
ParameterDataTypeMode “Same as input”
ParameterDataType “sfix(16)”
ParameterScalingMode “Best Precision: Matrix-wise”
ParameterScaling “2^0”
OutDataTypeMode “Same as input”
OutDataType “sfix(16)”
OutScaling “2^0”
LockScale off
RndMeth “Floor”
SaturateOnIntegerOverflow on
SampleTime “-1”
}
Block {
BlockType Goto
IconDisplay “Tag”
}
Block {
BlockType InitialCondition
Value “1”
SampleTime “-1”
}
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 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 RelationalOperator
Operator “>=”
InputSameDT on
LogicOutDataTypeMode “Logical (see Configuration Parameters: Optimiza”
“tion)”
LogicDataType “uint(8)”
ZeroCross on
SampleTime “-1”
}
Block {
BlockType Saturate
UpperLimit “0.5”
LowerLimit “-0.5”
LinearizeAsGain on
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 Selector
InputType “Vector”
IndexMode “One-based”
ElementSrc “Internal”
Elements “1”
RowSrc “Internal”
Rows “1”
ColumnSrc “Internal”
Columns “1”
InputPortWidth “-1”
IndexIsStartValue off
OutputPortSize “1”
}
Block {
BlockType “S-Function”
FunctionName “system”
PortCounts “[]”
SFunctionModules “’’”
}
Block {
BlockType SignalGenerator
WaveForm “sine”
TimeSource “Use simulation time”
Amplitude “1”
Frequency “1”
Units “Hertz”
VectorParams1D on
}
Block {
BlockType Signum
ZeroCross on
SampleTime “-1”
}
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 Switch
Criteria “u2 >= Threshold”
Threshold “0”
InputSameDT on
OutDataTypeMode “Inherit via internal rule”
RndMeth “Floor”
SaturateOnIntegerOverflow on
ZeroCross on
SampleTime “-1”
}
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 “buckcak”
Location [2, 79, 1270, 663]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor “white”
PaperOrientation “landscape”
PaperPositionMode “auto”
PaperType “A4”
PaperUnits “centimeters”
ZoomFactor “100”
ReportName “simulink-default.rpt”
Block {
BlockType Constant
Name “Constant”
Position [645, 420, 675, 450]
Orientation “up”
Value “80”
}
Block {
BlockType Reference
Name “DC Voltage Source”
Ports [0, 0, 0, 0, 0, 1, 1]
Position [95, 155, 115, 190]
Orientation “up”
SourceBlock “powerlib/Electrical\nSources/DC Voltage Source”
SourceType “DC Voltage Source”
ShowPortLabels on
Amplitude “100”
Measurements “None”
}
Block {
BlockType Reference
Name “Diode”
Ports [0, 0, 0, 0, 0, 1, 1]
Position [315, 150, 355, 205]
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 “Discrete\nPI Controller”
Ports [1, 1]
Position [490, 312, 535, 358]
Orientation “left”
NamePlacement “alternate”
SourceBlock “powerlib_extras/Discrete \nControl Blocks/Discr”
“ete\nPI Controller”
SourceType “Discrete PI Controller”
ShowPortLabels on
Kp “7”
Ki “5”
Par_Limits “[1e6 -1e6]”
Init “0”
Ts “50e-6”
}
Block {
BlockType Reference
Name “Mosfet”
Ports [1, 1, 0, 0, 0, 1, 1]
Position [240, 90, 295, 130]
SourceBlock “powerlib/Power\nElectronics/Mosfet”
SourceType “Mosfet”
ShowPortLabels on
Ron “0.001”
Lon “1e-6”
Rd “.001”
IC “0”
Rs “1e5”
Cs “inf”
Measurements on
}
Block {
BlockType DiscretePulseGenerator
Name “Pulse\nGenerator”
Ports [0, 1]
Position [65, 13, 110, 47]
PulseType “Time based”
Period “0.2E-5”
PulseWidth “50”
}
Block {
BlockType Reference
Name “R1”
Ports [0, 0, 0, 0, 0, 1, 1]
Position [566, 145, 594, 215]
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 “10”
Inductance “0”
Capacitance “inf”
Measurements “None”
}
Block {
BlockType Reference
Name “R2”
Ports [0, 0, 0, 0, 0, 1, 1]
Position [486, 150, 514, 220]
Orientation “up”
SourceBlock “powerlib/Elements/Series RLC Branch”
SourceType “Series RLC Branch”
PhysicalDomain “powersysdomain”
SubClassName “unknown”
LeftPortType “p1”
RightPortType “p1”
LConnTagsString “__new0”
RConnTagsString “__new0”
Resistance “0”
Inductance “0”
Capacitance “1500e-6”
Measurements “None”
}
Block {
BlockType RelationalOperator
Name “Relational\nOperator”
Position [210, 337, 240, 368]
Orientation “left”
NamePlacement “alternate”
Operator “<=”
InputSameDT off
LogicOutDataTypeMode “Boolean”
}
Block {
BlockType Saturate
Name “Saturation”
Position [355, 340, 385, 370]
Orientation “left”
NamePlacement “alternate”
UpperLimit “1”
LowerLimit “-1”
}
Block {
BlockType Scope
Name “Scope”
Ports [2]
Position [890, 91, 920, 124]
Location [528, 173, 1041, 524]
Open off
NumInputPorts “2”
List {
ListType AxesTitles
axes1 “%”
axes2 “%”
}
YMin “0~79.825”
YMax “1~80.15”
DataFormat “StructureWithTime”
LimitDataPoints off
}
Block {
BlockType SignalGenerator
Name “Signal\nGenerator”
Ports [0, 1]
Position [310, 290, 340, 320]
Orientation “left”
NamePlacement “alternate”
Frequency “5e4”
}
Block {
BlockType Sum
Name “Sum”
Ports [2, 1]
Position [660, 325, 680, 345]
Orientation “left”
NamePlacement “alternate”
ShowName off
IconShape “round”
Inputs “|-+”
InputSameDT off
OutDataTypeMode “Inherit via internal rule”
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name “Voltage Measurement”
Ports [0, 1, 0, 0, 0, 2]
Position [675, 163, 700, 187]
AncestorBlock “powerlib/Measurements/Voltage Measurement”
CopyFcn “powericon(‘psbloadfunction’,gcb,'Measurement Bl”
“ock’,‘UpdateGotoTag’);”
PreSaveFcn “if strcmp(‘inactive’,get_param(gcb,‘linkstatus’”
“));\n \nset_param(gcb,'Links”
"tatus’,‘restore’) \nend "
" "
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode “Auto”
MaskType “Voltage Measurement”
MaskDescription “Ideal voltage measurement.”
MaskHelp “web(psbhelp);”
MaskPromptString “Phasor simulation|Output signal :|Equivalent ci”
“rcuit”
MaskStyleString “checkbox,popup(Complex|Real-Imag|Magnitude-Angl”
“e|Magnitude),edit”
MaskTunableValueString “on,on,on”
MaskCallbackString “||”
MaskEnableString “off,off,off”
MaskVisibilityString “off,on,off”
MaskToolTipString “on,on,on”
MaskVarAliasString “,”
MaskVariables “PhasorSimulation=@1;OutputType=@2;PSBequivalent”
“=@3;”
MaskInitialization “block = gcb;\npowericon(‘psbloadfunction’,block”
“,‘Measurement Block’,‘Initialize’);\npowericon(‘MeasurementBlockInit’,block);”
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate “port”
MaskIconUnits “autoscale”
MaskValueString “off|Complex|1”
MaskTabNameString “,”
System {
Name “Voltage Measurement”
Location [206, 474, 503, 673]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor “white”
PaperOrientation “landscape”
PaperPositionMode “auto”
PaperType “A4”
PaperUnits “centimeters”
ZoomFactor “100”
Block {
BlockType PMComponent
Name “VoltageMeasurement”
Ports [0, 0, 0, 0, 0, 1, 1]
Position [80, 21, 145, 49]
PhysicalDomain “powersysdomain”
LeftPortType “p1”
RightPortType “p1”
LConnTagsString “+”
RConnTagsString “-”
MaskType “InnerPowersysBlock”
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate “none”
MaskIconUnits “autoscale”
}
Block {
BlockType Reference
Name “model”
Ports [1, 1]
Position [125, 118, 160, 152]
SourceBlock “powerlib_models/Continuous/Measurement”
SourceType “SubSystem”
ShowPortLabels on
}
Block {
BlockType SubSystem
Name “source”
Ports [0, 1]
Position [25, 124, 95, 146]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode “Auto”
MaskInitialization “Parent = get_param(gcb,‘Parent’); "
" "
" \npss = get_param(Parent,‘UserData’); "
" \nif isemp”
“ty(pss) "
" \n A=0;B=0;C=0;D=0;x0=0;Rswi”
“tch=0;TypeSwitch=0;Ts=1;YSwitchCurrent=-1; "
" \nelse "
" "
" \n A=pss.A;B=pss.B;C=pss.C;D=pss.D;x0=pss.x0;Rswitch=pss.Rswitch;TypeS”
"witch=pss.TypeSwitch;Ts=0;YSwitchCurrent=pss.YSwitchCurrent;\nend "
" "
" "
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate “none”
MaskIconUnits “autoscale”
System {
Name “source”
Location [447, 248, 1089, 654]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor “white”
PaperOrientation “landscape”
PaperPositionMode “auto”
PaperType “A4”
PaperUnits “centimeters”
ZoomFactor “100”
Block {
BlockType Mux
Name “MasterMux”
Ports [2, 1]
Position [315, 106, 340, 144]
NamePlacement “alternate”
Inputs “[-1 1]”
}
Block {
BlockType Mux
Name “Mux”
Ports [4, 1]
Position [140, 69, 170, 166]
Inputs “[1 1 1 1]”
}
Block {
BlockType Mux
Name “MuxSwitch”
Ports [1, 1]
Position [235, 126, 265, 214]
Inputs “1”
}
Block {
BlockType Mux
Name “MuxVf”
Ports [1, 1]
Position [265, 256, 295, 344]
Orientation “left”
Inputs “1”
}
Block {
BlockType Selector
Name “SelectorVf”
Ports [1, 1]
Position [225, 287, 245, 313]
Orientation “left”
InputPortWidth “1”
}
Block {
BlockType “S-Function”
Name “State-Space”
Ports [1, 1]
Position [375, 103, 455, 147]
FunctionName “sfun_psbcontc”
Parameters “A,B,C,D,x0,Rswitch,YSwitchCurrent”
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate “none”
MaskIconUnits “autoscale”
}
Block {
BlockType SubSystem
Name “Switches2”
Ports [1, 1]
Position [340, 279, 435, 311]
Orientation “left”
BackgroundColor “[1.000000, 0.501961, 0.501961]”
DropShadow on
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode “Auto”
System {
Name “Switches2”
Location [383, 325, 989, 669]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor “white”
PaperOrientation “landscape”
PaperPositionMode “auto”
PaperType “A4”
PaperUnits “centimeters”
ZoomFactor “100”
Block {
BlockType Inport
Name “voltages”
Position [20, 95, 45, 115]
Port “1”
IconDisplay “Port number”
LatchInput off
}
Block {
BlockType SubSystem
Name “Froms1”
Ports [0, 1]
Position [75, 130, 115, 150]
BackgroundColor “[1.000000, 0.501961, 0.501961]”
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode “Auto”
System {
Name “Froms1”
Location [5, 415, 371, 622]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor “white”
PaperOrientation “landscape”
PaperPositionMode “auto”
PaperType “A4”
PaperUnits “centimeters”
ZoomFactor “100”
Block {
BlockType From
Name “From1”
Position [20, 30, 75, 60]
DialogController “Simulink.DDGSource”
GotoTag “tp025746”
}
Block {
BlockType Mux
Name “Mux”
Ports [1, 1]
Position [235, 97, 270, 133]
Inputs “1”
}
Block {
BlockType Outport
Name “Out”
Position [315, 105, 335, 125]
IconDisplay “Port number”
BusOutputAsStruct off
InitialOutput “0”
}
Line {
SrcBlock “Mux”
SrcPort 1
DstBlock “Out”
DstPort 1
}
Line {
SrcBlock “From1”
SrcPort 1
DstBlock “Mux”
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name “Gotos1”
Ports [1]
Position [195, 130, 240, 150]
BackgroundColor “[1.000000, 0.501961, 0.501961]”
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode “Auto”
System {
Name “Gotos1”
Location [193, 281, 559, 488]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor “white”
PaperOrientation “landscape”
PaperPositionMode “auto”
PaperType “A4”
PaperUnits “centimeters”
ZoomFactor “100”
Block {
BlockType Inport
Name “In”
Position [15, 90, 35, 110]
Port “1”
IconDisplay “Port number”
LatchInput off
}
Block {
BlockType Demux
Name “Demux”
Ports [1, 1]
Position [100, 82, 135, 118]
Outputs “1”
}
Block {
BlockType Goto
Name “Goto1”
Position [220, 30, 275, 60]
DialogController “Simulink.DDGSource”
GotoTag “tp025747”
TagVisibility “global”
}
Block {
BlockType Selector
Name “Selector”
Ports [1, 1]
Position [55, 72, 75, 128]
Elements “[1 2]”
InputPortWidth “2”
}
Line {
SrcBlock “In”
SrcPort 1
DstBlock “Selector”
DstPort 1
}
Line {
SrcBlock “Selector”
SrcPort 1
DstBlock “Demux”
DstPort 1
}
Line {
SrcBlock “Demux”
SrcPort 1
DstBlock “Goto1”
DstPort 1
}
}
}
Block {
BlockType Reference
Name “Model1”
Ports [2, 2]
Position [135, 89, 170, 156]
BackgroundColor “lightBlue”
DropShadow on
SourceBlock “powerlib_models/Switch Current Sour”
“ce/mosfet”
SourceType "Mosfet model "
ShowPortLabels on
Ron “0.001”
Lon “1e-006”
Rd “0.001”
IC “0”
}
Block {
BlockType Mux
Name “Mux”
Ports [1, 1]
Position [254, 65, 486, 70]
Orientation “up”
Inputs “1”
DisplayOption “bar”
}
Block {
BlockType Selector
Name “Selector1”
Ports [1, 1]
Position [75, 96, 115, 114]
Elements “2”
InputPortWidth “3”
}
Block {
BlockType Outport
Name “currents”
Position [355, 15, 385, 35]
Orientation “up”
IconDisplay “Port number”
BusOutputAsStruct off
InitialOutput “0”
}
Line {
SrcBlock “Mux”
SrcPort 1
DstBlock “currents”
DstPort 1
}
Line {
SrcBlock “voltages”
SrcPort 1
DstBlock “Selector1”
DstPort 1
}
Line {
SrcBlock “Selector1”
SrcPort 1
DstBlock “Model1”
DstPort 1
}
Line {
SrcBlock “Model1”
SrcPort 1
DstBlock “Mux”
DstPort 1
}
Line {
SrcBlock “Froms1”
SrcPort 1
DstBlock “Model1”
DstPort 2
}
Line {
SrcBlock “Model1”
SrcPort 2
DstBlock “Gotos1”
DstPort 1
}
}
}
Block {
BlockType Terminator
Name “T”
Position [195, 335, 215, 355]
Orientation “down”
NamePlacement “alternate”
}
Block {
BlockType SubSystem
Name “diode (logical)”
Ports [1, 3]
Position [340, 229, 435, 261]
Orientation “left”
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode “Auto”
System {
Name “diode (logical)”
Location [25, 502, 539, 757]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor “white”
PaperOrientation “landscape”
PaperPositionMode “auto”
PaperType “A4”
PaperUnits “centimeters”
ZoomFactor “100”
Block {
BlockType Inport
Name “In”
Position [20, 25, 45, 45]
Port “1”
IconDisplay “Port number”
LatchInput off
}
Block {
BlockType Selector
Name “Selector”
Ports [1, 1]
Position [75, 20, 115, 50]
InputPortWidth “3”
}
Block {
BlockType SubSystem
Name “gotos”
Ports [1]
Position [385, 138, 430, 172]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode “Auto”
System {
Name “gotos”
Location [193, 281, 559, 488]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor “white”
PaperOrientation “landscape”
PaperPositionMode “auto”
PaperType “A4”
PaperUnits “centimeters”
ZoomFactor “100”
Block {
BlockType Inport
Name “In”
Position [15, 90, 35, 110]
Port “1”
IconDisplay “Port number”
LatchInput off
}
Block {
BlockType Demux
Name “Demux”
Ports [1, 1]
Position [100, 82, 135, 118]
Outputs “1”
}
Block {
BlockType Goto
Name “Goto1”
Position [220, 30, 275, 60]
DialogController “Simulink.DDGSource”
GotoTag “tp025744”
TagVisibility “global”
}
Block {
BlockType Selector
Name “Selector”
Ports [1, 1]
Position [55, 72, 75, 128]
Elements “[1 2]”
InputPortWidth “2”
}
Line {
SrcBlock “Selector”
SrcPort 1
DstBlock “Demux”
DstPort 1
}
Line {
SrcBlock “In”
SrcPort 1
DstBlock “Selector”
DstPort 1
}
Line {
SrcBlock “Demux”
SrcPort 1
DstBlock “Goto1”
DstPort 1
}
}
}
Block {
BlockType Reference
Name “model”
Ports [1, 4]
Position [250, 22, 315, 68]
BackgroundColor “lightBlue”
DropShadow on
SourceBlock “powerlib_models/Continuous/diode (l”
“ogical)”
SourceType “”
ShowPortLabels on
Nsw “1”
Vf “0.8”
Rsw “0.001”
}
Block {
BlockType Outport
Name “Out1”
Position [395, 18, 420, 42]
IconDisplay “Port number”
BusOutputAsStruct off
InitialOutput “0”
}
Block {
BlockType Outport
Name “Out2”
Position [395, 88, 420, 112]
Port “2”
IconDisplay “Port number”
BusOutputAsStruct off
InitialOutput “0”
}
Block {
BlockType Outport
Name “Out3”
Position [395, 208, 420, 232]
Port “3”
IconDisplay “Port number”
BusOutputAsStruct off
InitialOutput “0”
}
Line {
SrcBlock “In”
SrcPort 1
DstBlock “Selector”
DstPort 1
}
Line {
SrcBlock “Selector”
SrcPort 1
DstBlock “model”
DstPort 1
}
Line {
SrcBlock “model”
SrcPort 1
DstBlock “Out1”
DstPort 1
}
Line {
SrcBlock “model”
SrcPort 2
DstBlock “Out2”
DstPort 1
}
Line {
SrcBlock “model”
SrcPort 4
DstBlock “Out3”
DstPort 1
}
Line {
SrcBlock “model”
SrcPort 3
DstBlock “gotos”
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name “electrical sources”
Ports [0, 1]
Position [50, 102, 75, 128]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode “Auto”
System {
Name “electrical sources”
Location [49, 463, 473, 721]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor “white”
PaperOrientation “landscape”
PaperPositionMode “auto”
PaperType “A4”
PaperUnits “centimeters”
ZoomFactor “100”
Block {
BlockType Mux
Name “Mux”
Ports [1, 1]
Position [170, 96, 175, 184]
Inputs “1”
DisplayOption “bar”
}
Block {
BlockType From
Name “from1”
Position [20, 30, 75, 60]
DialogController “Simulink.DDGSource”
GotoTag “tp025742”
}
Block {
BlockType Outport
Name “Out”
Position [200, 128, 225, 152]
IconDisplay “Port number”
BusOutputAsStruct off
InitialOutput “0”
}
Line {
SrcBlock “Mux”
SrcPort 1
DstBlock “Out”
DstPort 1
}
Line {
SrcBlock “from1”
SrcPort 1
DstBlock “Mux”
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name “transit”
Ports [1, 1]
Position [525, 107, 575, 143]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode “Auto”
System {
Name “transit”
Location [475, 381, 915, 821]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor “white”
PaperOrientation “landscape”
PaperPositionMode “auto”
PaperType “A4”
PaperUnits “centimeters”
ZoomFactor “100”
Block {
BlockType Inport
Name “In”
Position [30, 150, 50, 170]
Port “1”
IconDisplay “Port number”
LatchInput off
}
Block {
BlockType Demux
Name “Demux”
Ports [1, 1]
Position [145, 62, 180, 258]
Outputs “1”
}
Block {
BlockType Selector
Name “Selector”
Ports [1, 1]
Position [75, 145, 105, 175]
Elements “3”
InputPortWidth “3”
}
Block {
BlockType Outport
Name “Out”
Position [150, 15, 170, 35]
Orientation “left”
IconDisplay “Port number”
BusOutputAsStruct off
InitialOutput “0”
}
Line {
SrcBlock “Selector”
SrcPort 1
DstBlock “Demux”
DstPort 1
}
Line {
SrcBlock “In”
SrcPort 1
DstBlock “Selector”
DstPort 1
}
Line {
SrcBlock “Demux”
SrcPort 1
DstBlock “Out”
DstPort 1
}
}
}
Block {
BlockType Outport
Name “Out”
Position [595, 113, 620, 137]
IconDisplay “Port number”
BusOutputAsStruct off
InitialOutput “0”
}
Line {
SrcBlock “SelectorVf”
SrcPort 1
Points [0, 0]
Branch {
Points [-15, 0]
DstBlock “T”
DstPort 1
}
Branch {
DstBlock “Mux”
DstPort 4
}
}
Line {
SrcBlock “MuxVf”
SrcPort 1
DstBlock “SelectorVf”
DstPort 1
}
Line {
SrcBlock “Mux”
SrcPort 1
Points [0, -5]
DstBlock “MasterMux”
DstPort 1
}
Line {
SrcBlock “MuxSwitch”
SrcPort 1
Points [15, 0; 0, -35]
DstBlock “MasterMux”
DstPort 2
}
Line {
SrcBlock “MasterMux”
SrcPort 1
DstBlock “State-Space”
DstPort 1
}
Line {
SrcBlock “State-Space”
SrcPort 1
Points [0, 0]
Branch {
DstBlock “transit”
DstPort 1
}
Branch {
DstBlock “diode (logical)”
DstPort 1
}
Branch {
DstBlock “Switches2”
DstPort 1
}
}
Line {
SrcBlock “transit”
SrcPort 1
DstBlock “Out”
DstPort 1
}
Line {
SrcBlock “diode (logical)”
SrcPort 1
DstBlock “Mux”
DstPort 1
}
Line {
SrcBlock “diode (logical)”
SrcPort 2
DstBlock “MuxSwitch”
DstPort 1
}
Line {
SrcBlock “diode (logical)”
SrcPort 3
DstBlock “MuxVf”
DstPort 1
}
Line {
SrcBlock “Switches2”
SrcPort 1
DstBlock “Mux”
DstPort 2
}
Line {
SrcBlock “electrical sources”
SrcPort 1
DstBlock “Mux”
DstPort 3
}
}
}
Block {
BlockType PMIOPort
Name “+”
Position [15, 28, 45, 42]
Port “1”
Side “Left”
}
Block {
BlockType PMIOPort
Name “-”
Position [190, 24, 215, 46]
Orientation “left”
Port “2”
Side “Left”
}
Block {
BlockType Outport
Name “v”
Position [215, 124, 235, 146]
FontSize 16
IconDisplay “Port number”
BusOutputAsStruct off
InitialOutput “0”
}
Line {
SrcBlock “model”
SrcPort 1
DstBlock “v”
DstPort 1
}
Line {
SrcBlock “source”
SrcPort 1
DstBlock “model”
DstPort 1
}
Line {
LineType “Connection”
SrcBlock “-”
SrcPort RConn1
Points [0, 0]
DstBlock “VoltageMeasurement”
DstPort RConn1
}
Line {
LineType “Connection”
SrcBlock “+”
SrcPort RConn1
Points [0, 0]
DstBlock “VoltageMeasurement”
DstPort LConn1
}
}
}
Block {
BlockType Reference
Name “l1”
Ports [0, 0, 0, 0, 0, 1, 1]
Position [370, 106, 440, 134]
SourceBlock “powerlib/Elements/Series RLC Branch”
SourceType “Series RLC Branch”
PhysicalDomain “powersysdomain”
SubClassName “unknown”
LeftPortType “p1”
RightPortType “p1”
LConnTagsString “__new0”
RConnTagsString “__new0”
Resistance “0”
Inductance “0.0481e-3”
Capacitance “inf”
Measurements “None”
}
Line {
LineType “Connection”
SrcBlock “Mosfet”
SrcPort RConn1
Points [0, 0; 25, 0]
Branch {
ConnectType “DEST_SRC”
DstBlock “l1”
DstPort LConn1
}
Branch {
ConnectType “DEST_DEST”
SrcBlock “Diode”
SrcPort RConn1
Points [0, 0; 0, -15]
}
}
Line {
LineType “Connection”
SrcBlock “R2”
SrcPort RConn1
Points [0, -15]
Branch {
ConnectType “DEST_DEST”
SrcBlock “l1”
SrcPort RConn1
Points [0, 0; 45, 0]
}
Branch {
ConnectType “DEST_SRC”
Points [80, 0]
Branch {
ConnectType “DEST_SRC”
DstBlock “R1”
DstPort LConn1
}
Branch {
ConnectType “DEST_SRC”
Points [65, 0; 0, 50]
DstBlock “Voltage Measurement”
DstPort LConn1
}
}
}
Line {
LineType “Connection”
Points [500, 245; 0, -10]
DstBlock “R2”
DstPort LConn1
Branch {
ConnectType “SRC_SRC”
Points [-165, 0]
Branch {
ConnectType “DEST_SRC”
Points [-230, 0]
DstBlock “DC Voltage Source”
DstPort LConn1
}
Branch {
ConnectType “DEST_SRC”
DstBlock “Diode”
DstPort LConn1
}
}
Branch {
ConnectType “SRC_DEST”
Points [580, 245; -80, 0]
Branch {
ConnectType “SRC_DEST”
SrcBlock “R1”
SrcPort RConn1
Points [0, 0; 0, 15]
}
Branch {
ConnectType “SRC_SRC”
Points [65, 0; 0, -65]
DstBlock “Voltage Measurement”
DstPort LConn2
}
}
}
Line {
LineType “Connection”
SrcBlock “DC Voltage Source”
SrcPort RConn1
Points [0, -20]
DstBlock “Mosfet”
DstPort LConn1
}
Line {
SrcBlock “Voltage Measurement”
SrcPort 1
Points [0, 0; 30, 0]
Branch {
Points [0, 160]
DstBlock “Sum”
DstPort 1
}
Branch {
Points [140, 0]
DstBlock “Scope”
DstPort 2
}
}
Line {
SrcBlock “Constant”
SrcPort 1
Points [0, -25; 10, 0]
DstBlock “Sum”
DstPort 2
}
Line {
SrcBlock “Sum”
SrcPort 1
DstBlock “Discrete\nPI Controller”
DstPort 1
}
Line {
SrcBlock “Discrete\nPI Controller”
SrcPort 1
Points [-85, 0]
DstBlock “Saturation”
DstPort 1
}
Line {
SrcBlock “Saturation”
SrcPort 1
Points [-50, 0; 0, 5]
DstBlock “Relational\nOperator”
DstPort 2
}
Line {
SrcBlock “Signal\nGenerator”
SrcPort 1
Points [-25, 0; 0, 40]
DstBlock “Relational\nOperator”
DstPort 1
}
Line {
SrcBlock “Relational\nOperator”
SrcPort 1
Points [-180, 0; 0, -270; 145, 0]
Branch {
Points [0, -10; 680, 0; 0, 25]
DstBlock “Scope”
DstPort 1
}
Branch {
Points [0, 15]
DstBlock “Mosfet”
DstPort 1
}
}
}
}

  • 2
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值