📄 antipodal_csk.mdl
字号:
SrcBlock "x*y"
SrcPort 1
Points [90, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "r*x"
SrcPort 1
Points [90, 0]
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Integratr1"
DstPort 1
}
Line {
SrcBlock "x*z"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "a*(-x+y)"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "a*(-x+y)"
DstPort 1
}
Annotation {
Name "-x+y"
Position [108, 97]
}
Annotation {
Name "-b*z+x*y"
Position [250, 362]
}
Annotation {
Name "r*x-y-x*z"
Position [250, 195]
}
Annotation {
Name "z"
Position [357, 335]
}
Annotation {
Name "y"
Position [350, 165]
}
Annotation {
Name "x"
Position [352, 69]
}
}
}
Block {
BlockType SubSystem
Name "Chaotic signal1"
Ports [0, 1]
Position [380, 70, 420, 130]
NamePlacement "alternate"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Chaotic signal1"
Location [498, 151, 1234, 599]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [305, 60, 335, 90]
ShowName off
InitialCondition "1"
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [310, 330, 340, 360]
ShowName off
InitialCondition "1"
}
Block {
BlockType Integrator
Name "Integratr1"
Ports [1, 1]
Position [305, 160, 335, 190]
ShowName off
InitialCondition "1"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [95, 65, 115, 85]
ShowName off
IconShape "round"
Inputs "-+|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [3, 1]
Position [210, 165, 230, 185]
ShowName off
IconShape "round"
Inputs "--+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [210, 335, 230, 355]
ShowName off
IconShape "round"
Inputs "|-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "a*(-x+y)"
Position [205, 60, 235, 90]
Gain "10"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "b*z"
Position [95, 330, 125, 360]
Gain "8/3"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "gain"
Position [435, 60, 465, 90]
Gain "5"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "r*x"
Position [95, 245, 125, 275]
Gain "28"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "x*y"
Ports [2, 1]
Position [95, 392, 125, 423]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "x*z"
Ports [2, 1]
Position [95, 157, 125, 188]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "Out1"
Position [515, 68, 545, 82]
IconDisplay "Port number"
SampleTime "0.01"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "gain"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [55, 0]
Branch {
DstBlock "gain"
DstPort 1
}
Branch {
Points [0, -45; -290, 0]
Branch {
Points [-45, 0; 0, 135]
Branch {
Points [0, 95]
Branch {
DstBlock "r*x"
DstPort 1
}
Branch {
Points [0, 140]
DstBlock "x*y"
DstPort 1
}
}
Branch {
DstBlock "x*z"
DstPort 1
}
}
Branch {
DstBlock "Sum"
DstPort 1
}
}
}
Line {
SrcBlock "Integrator2"
SrcPort 1
Points [40, 0; 0, -40; -345, 0]
Branch {
Points [0, 40]
DstBlock "b*z"
DstPort 1
}
Branch {
Points [0, -125]
DstBlock "x*z"
DstPort 2
}
}
Line {
SrcBlock "Integratr1"
SrcPort 1
Points [45, 0; 0, -40; -165, 0]
Branch {
Points [-195, 0]
Branch {
Points [0, -60]
DstBlock "Sum"
DstPort 2
}
Branch {
Points [0, 280]
DstBlock "x*y"
DstPort 2
}
}
Branch {
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
SrcBlock "b*z"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "x*y"
SrcPort 1
Points [90, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "r*x"
SrcPort 1
Points [90, 0]
DstBlock "Sum1"
DstPort 3
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Integratr1"
DstPort 1
}
Line {
SrcBlock "x*z"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "a*(-x+y)"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "a*(-x+y)"
DstPort 1
}
Annotation {
Name "-x+y"
Position [108, 97]
}
Annotation {
Name "-b*z+x*y"
Position [250, 362]
}
Annotation {
Name "r*x-y-x*z"
Position [250, 195]
}
Annotation {
Name "z"
Position [357, 335]
}
Annotation {
Name "y"
Position [350, 165]
}
Annotation {
Name "x"
Position [352, 69]
}
}
}
Block {
BlockType SubSystem
Name "Correlator"
Ports [1, 1]
Position [520, 130, 560, 190]
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Correlator"
Location [23, 434, 775, 762]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 118, 55, 132]
IconDisplay "Port number"
}
Block {
BlockType DiscreteIntegrator
Name "Discrete-Time\nIntegrator"
Ports [2, 1]
Position [195, 111, 290, 164]
IntegratorMethod "Integration: Trapezoidal"
ExternalReset "either"
InitialConditionSource "internal"
InitialCondition ".2"
SampleTime ".15"
OutDataType "sfix(16)"
OutScaling "2^0"
LimitOutput on
UpperSaturationLimit "1"
LowerSaturationLimit "0"
ICPrevOutput "DiscIntNeverNeededParam"
ICPrevScaledInput "DiscIntNeverNeededParam"
}
Block {
BlockType Gain
Name "Gain"
Position [105, 106, 150, 144]
Gain "0.01"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator1"
Ports [0, 1]
Position [115, 163, 160, 197]
PulseType "Time based"
PulseWidth "50"
}
Block {
BlockType DiscretePulseGenerator
Name "Pulse\nGenerator2"
Ports [0, 1]
Position [400, 15, 450, 60]
Orientation "down"
NamePlacement "alternate"
PulseType "Time based"
Period "1"
PulseWidth "50"
SampleTime "0"
}
Block {
BlockType Reference
Name "Sample\nand Hold"
Ports [1, 1, 0, 1]
Position [400, 119, 450, 161]
SourceBlock "dspsigops/Sample\nand Hold"
SourceType "Sample and Hold"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
trig "Falling edge"
initCond ".2"
latchinput off
}
Block {
BlockType Scope
Name "Scope 1"
Ports [1]
Position [495, 179, 525, 211]
Floating off
Location [255, 351, 762, 590]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-12"
YMax "-5.5"
SaveName "ScopeData12"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope 2"
Ports [1]
Position [325, 179, 355, 211]
Floating off
Location [116, 47, 623, 286]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "-12"
YMax "-5.5"
SaveName "ScopeData13"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope 3"
Ports [1]
Position [480, 69, 510, 101]
Floating off
Location [644, 53, 1151, 292]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -