📄 rlc3lp.mdl
字号:
Model {
Name "rlc3lp"
Version 2.09
SimParamPage Solver
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
PaperOrientation landscape
PaperType usletter
PaperUnits inches
StartTime "0.0"
StopTime "20"
Solver ode45
RelTol "1e-3"
AbsTol "1e-3"
Refine "1"
MaxStep "0.01"
InitialStep "auto"
FixedStep "auto"
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 off
FinalStateName "xFinal"
LimitMaxRows off
MaxRows "1000"
Decimation "1"
AlgebraicLoopMsg warning
MinStepSizeMsg warning
UnconnectedInputMsg warning
UnconnectedOutputMsg warning
UnconnectedLineMsg warning
ConsistencyChecking off
ZeroCross on
SimulationMode normal
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_vc.tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode 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 "rlc3lp"
Location [47, 68, 422, 190]
Open on
ScreenColor white
Block {
BlockType TransferFcn
Name "单元5"
Position [105, 45, 250, 95]
FontName "宋体"
FontSize 12
Numerator "[1]"
Denominator "[L*C1*C2*R L*C2 R*(C1+C2) 1]"
MaskType "单元5"
MaskDescription "单元5"
MaskPromptString "电阻R(欧):|电容C1(法):|电感L(亨):|电容C"
"2(法):"
MaskStyleString "edit,edit,edit,edit"
MaskInitialization "R=@1;C1=@2;L=@3;C2=@4;"
MaskDisplay "plot([0 2 2 2],[2 2 1.5 2.5],[2 6],[2.5 2.5],[2 "
"6],[1.5 1.5],[6 6],[2.5 1.5],[6 11],[2 2],[8 "
"8 6 10],[2 0 0 0],[6 10],[-1 -1],[8 8 7 9],[-1 "
"-3 -3 -3],[11:1/7:12],[2 2.5 2.707 2.866 "
"2.866 2.707 2.5 2],[12:1/7:13],[2 2.5 2.707 "
"2.866 2.866 2.707 2.5 2],[13:1/7:14],[2 2.5 "
"2.707 2.866 2.866 2.707 2.5 2],[14:1/7:15],[2 "
"2.5 2.707 2.866 2.866 2.707 2.5 2],[15 21],[2 "
"2],[18 18 16 20],[2 0 0 0],[16 20],[-1 -1],[18 "
"18 17 19],[-1 -3 -3 -3]);disp('R C1 "
"L C2')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
MaskValueString ".5|1/2|4/3|3/2"
}
Block {
BlockType Step
Name "阶跃输入"
Position [40, 60, 60, 80]
FontName "宋体"
FontSize 12
Time "1"
Before "0"
After "1"
}
Block {
BlockType Scope
Name "阶跃响应"
Ports [1, 0, 0, 0, 0]
Position [305, 55, 335, 85]
FontName "宋体"
FontSize 12
Floating off
Location [43, 209, 444, 396]
Open off
Grid on
TickLabels on
ZoomMode on
TimeRange "20.000000"
YMin "-1.500000"
YMax "1.500000"
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows on
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Line {
SrcBlock "单元5"
SrcPort 1
DstBlock "阶跃响应"
DstPort 1
}
Line {
SrcBlock "阶跃输入"
SrcPort 1
DstBlock "单元5"
DstPort 1
}
Annotation {
Position [127, 17]
VerticalAlignment top
FontName "宋体"
FontSize 12
Text "三阶 Butterworth 滤波器的特性:"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -