📄 noise.mdl
字号:
Block {
BlockType Sin
Name "Sine Wave3"
Position [85, 170, 115, 200]
SineType "Time based"
Amplitude "10"
Frequency "200"
Phase "1"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave4"
Position [85, 120, 115, 150]
SineType "Time based"
Amplitude "10"
Frequency "70"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave5"
Position [85, 305, 115, 335]
SineType "Time based"
Amplitude "10"
Frequency "1200"
Phase "3"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum1"
Ports [5, 1]
Position [180, 174, 205, 281]
ShowName off
Inputs "|+++++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [835, 192, 855, 228]
ShowName off
Inputs "|++"
ShowAdditionalParam on
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SampleTime "0.0001"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [265, 257, 285, 293]
ShowName off
Inputs "|++"
ShowAdditionalParam on
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [760, 324, 790, 356]
Orientation "left"
NamePlacement "alternate"
SampleTime "0.0001"
}
Block {
BlockType Scope
Name "display1"
Ports [1]
Position [255, 364, 285, 396]
Location [75, 205, 698, 688]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
YMin "5.775"
YMax "6.125"
SaveName "ScopeData7"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "display2"
Ports [1]
Position [720, 124, 750, 156]
Location [262, 247, 885, 730]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
YMin "0"
YMax "0.9"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "display3"
Ports [1]
Position [900, 194, 930, 226]
Location [300, 182, 923, 665]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "0.35"
YMin "-0.03"
YMax "0.035"
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "display5"
Ports [1]
Position [255, 129, 285, 161]
Location [265, 279, 888, 762]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "0.02"
YMin "-200"
YMax "200"
SaveName "ScopeData5"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "display6"
Ports [1]
Position [655, 379, 685, 411]
Location [189, 223, 812, 706]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
YMin "5.775"
YMax "6.125"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Scope
Name "reference"
Ports [1]
Position [325, 364, 355, 396]
Location [300, 182, 923, 665]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "1"
YMin "0"
YMax "0.9"
SaveName "ScopeData6"
DataFormat "StructureWithTime"
LimitDataPoints off
}
Block {
BlockType Constant
Name "step"
Position [300, 441, 365, 469]
Value "0.00001"
}
Line {
SrcBlock "Clock"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "S-Function"
SrcPort 1
Points [0, 0; 60, 0]
Branch {
DstBlock "Kp4"
DstPort 1
}
Branch {
Points [0, 110]
DstBlock "display6"
DstPort 1
}
}
Line {
SrcBlock "Kp2"
SrcPort 1
Points [120, 0; 35, 0]
Branch {
Points [0, -70]
DstBlock "display2"
DstPort 1
}
Branch {
DstBlock "Sum2"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "S-Function"
DstPort 1
}
Line {
SrcBlock "Sine Wave2"
SrcPort 1
DstBlock "Kp3"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, 105]
DstBlock "reference"
DstPort 1
}
Branch {
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "Kp3"
SrcPort 1
Points [0, 0; 40, 0]
Branch {
Points [0, -95]
DstBlock "Sum3"
DstPort 2
}
Branch {
DstBlock "display1"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "display3"
DstPort 1
}
Branch {
Points [0, 130]
DstBlock "Unit Delay"
DstPort 1
}
}
Line {
SrcBlock "Kp4"
SrcPort 1
Points [120, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sine Wave3"
SrcPort 1
Points [35, 0; 0, 35]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sine Wave4"
SrcPort 1
Points [45, 0]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sine Wave"
SrcPort 1
Points [25, 0; 0, 5]
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "Sine Wave1"
SrcPort 1
Points [35, 0; 0, -25]
DstBlock "Sum1"
DstPort 4
}
Line {
SrcBlock "Sine Wave5"
SrcPort 1
Points [45, 0]
DstBlock "Sum1"
DstPort 5
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [-345, 0; 0, -45]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "step"
SrcPort 1
Points [15, 0; 0, -170]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [25, 0]
Branch {
Points [0, -20]
Branch {
Points [0, -65]
DstBlock "display5"
DstPort 1
}
Branch {
DstBlock "S-Function1"
DstPort 1
}
}
Branch {
Points [0, 45]
DstBlock "Sum3"
DstPort 1
}
}
Line {
SrcBlock "S-Function1"
SrcPort 1
DstBlock "Kp2"
DstPort 1
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -