?? pidthree.mdl
字號:
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "-1"
}
Block {
BlockType Step
Time "1"
Before "0"
After "1"
SampleTime "-1"
VectorParams1D on
ZeroCross on
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
TreatAsAtomicUnit off
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
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 TransferFcn
Numerator "[1]"
Denominator "[1 2 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "PIDThree"
Location [4, 82, 1016, 743]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Constant
Name "Constant"
Position [355, 215, 385, 245]
Value "0"
VectorParams1D on
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType Constant
Name "Constant1"
Position [460, 215, 490, 245]
Value "0"
VectorParams1D on
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType Constant
Name "Constant2"
Position [635, 180, 665, 210]
Value "0"
VectorParams1D on
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType Gain
Name "Gain"
Position [275, 135, 305, 165]
Gain "-1.03"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [740, 134, 770, 166]
Floating off
Location [-3, 48, 1021, 703]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Step
Name "Step"
Position [115, 135, 145, 165]
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [405, 140, 425, 160]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [535, 140, 555, 160]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [670, 140, 690, 160]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [220, 140, 240, 160]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "WRH"
Ports [1, 1]
Position [590, 120, 630, 180]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "WRH"
Location [537, 189, 867, 277]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 38, 55, 52]
IconDisplay "Port number"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn4"
Position [190, 27, 250, 63]
Denominator "[90 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn5"
Position [80, 27, 140, 63]
Numerator "[0.8022]"
Denominator "[90 1]"
}
Block {
BlockType Outport
Name "Out1"
Position [275, 38, 305, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Transfer Fcn5"
SrcPort 1
DstBlock "Transfer Fcn4"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn4"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "Transfer Fcn5"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "WRH1"
Ports [1, 1]
Position [340, 120, 380, 180]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "WRH1"
Location [32, 189, 352, 277]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 38, 55, 52]
IconDisplay "Port number"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [80, 27, 140, 63]
Numerator "[-1.4261]"
Denominator "[10 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [180, 27, 240, 63]
Denominator "[30 1]"
}
Block {
BlockType Outport
Name "Out1"
Position [265, 38, 295, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
Points [0, 0]
DstBlock "Transfer Fcn1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "WRH2"
Ports [1, 1]
Position [460, 120, 500, 180]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "WRH2"
Location [257, 189, 582, 277]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 38, 55, 52]
IconDisplay "Port number"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn2"
Position [80, 27, 140, 63]
Numerator "[0.3181]"
Denominator "[30 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn3"
Position [185, 27, 245, 63]
Denominator "[90 1]"
}
Block {
BlockType Outport
Name "Out1"
Position [270, 38, 300, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
Points [0, 0]
DstBlock "Transfer Fcn3"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0]
DstBlock "Transfer Fcn2"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn3"
SrcPort 1
Points [0, 0]
DstBlock "Out1"
DstPort 1
}
}
}
Line {
SrcBlock "WRH1"
SrcPort 1
Points [5, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
DstBlock "WRH2"
DstPort 1
}
Branch {
Points [0, 135; -205, 0]
DstBlock "Sum3"
DstPort 2
}
}
Line {
SrcBlock "WRH2"
SrcPort 1
Points [15, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 0]
DstBlock "WRH"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [25, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Constant1"
SrcPort 1
Points [50, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "WRH"
SrcPort 1
Points [20, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Constant2"
SrcPort 1
Points [10, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [30, 0]
DstBlock "Scope"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, 0]
DstBlock "WRH1"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [15, 0]
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Step"
SrcPort 1
Points [0, 0]
DstBlock "Sum3"
DstPort 1
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -