⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ab.mdl

📁 设计一M阶自适应回波抵消器
💻 MDL
📖 第 1 页 / 共 2 页
字号:
	    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		    "arial"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  BlockParameterDefaults {
    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		      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		      Inport
      Port		      "1"
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      LatchByDelayingOutsideSignal off
      LatchByCopyingInsideSignal off
      Interpolate	      on
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      UseBusObject	      off
      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		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    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"
    }
  }
  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		    "ab"
    Location		    [2, 82, 1270, 749]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Sum
      Name		      "Add"
      Ports		      [2, 1]
      Position		      [665, 197, 695, 228]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Reference
      Name		      "Delay1"
      Ports		      [1, 1]
      Position		      [495, 220, 550, 260]
      SourceBlock	      "dspsigops/Delay"
      SourceType	      "Delay"
      dly_unit		      "Samples"
      delay		      "1000"
      ic_detail		      off
      dif_ic_for_ch	      off
      dif_ic_for_dly	      off
      ic		      "0"
      reset_popup	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "From Wave\nFile"
      Ports		      [0, 1]
      Position		      [160, 142, 305, 198]
      SourceBlock	      "dspwin32/From Wave\nFile"
      SourceType	      "From Wave File"
      FileName		      "12345.wav"
      SamplesPerFrame	      "256"
      MinBufSize	      "256"
      dType		      "double"
      bLoop		      off
      timesToPlay	      "1"
      restartMode	      "immediately after last sample"
      firstSampleOutput	      off
      lastSampleOutput	      off
    }
    Block {
      BlockType		      Reference
      Name		      "From Wave\nFile1"
      Ports		      [0, 1]
      Position		      [230, 417, 375, 473]
      SourceBlock	      "dspwin32/From Wave\nFile"
      SourceType	      "From Wave File"
      FileName		      "12345.wav"
      SamplesPerFrame	      "256"
      MinBufSize	      "256"
      dType		      "double"
      bLoop		      off
      timesToPlay	      "1"
      restartMode	      "immediately after last sample"
      firstSampleOutput	      off
      lastSampleOutput	      off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [470, 155, 500, 185]
      Gain		      "0.5"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain1"
      Position		      [760, 250, 790, 280]
      Orientation	      "down"
      Gain		      "2"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain2"
      Position		      [840, 400, 870, 430]
      Gain		      "10"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Reference
      Name		      "LMS Filter1"
      Ports		      [2, 3]
      Position		      [700, 402, 805, 488]
      DialogController	      "dspDDGCreate"
      DialogControllerArgs    "DataTag0"
      SourceBlock	      "dspadpt3/LMS Filter"
      SourceType	      "LMS Filter"
      ShowPortLabels	      off
      Algo		      "Normalized LMS"
      L			      "45"
      stepflag		      "Dialog"
      mu		      "0.0001"
      leakage		      "1.0"
      ic		      "0"
      Adapt		      off
      resetflag		      "None"
      weights		      on
      firstCoeffMode	      "Same word length as first input"
      firstCoeffWordLength    "16"
      firstCoeffFracLength    "15"
      secondCoeffMode	      "User-defined"
      secondCoeffWordLength   "2"
      secondCoeffFracLength   "15"
      accumMode		      "Same as first input"
      accumWordLength	      "32"
      accumFracLength	      "20"
      accum2Mode	      "User-defined"
      accum2FracLength	      "20"
      prodOutputMode	      "Same as first input"
      prodOutputWordLength    "32"
      prodOutputFracLength    "20"
      prodOutput2Mode	      "User-defined"
      prodOutput2FracLength   "20"
      prodOutput3Mode	      "User-defined"
      prodOutput3FracLength   "20"
      prodOutput4Mode	      "User-defined"
      prodOutput4FracLength   "20"
      quotientMode	      "User-defined"
      quotientFracLength      "20"
      memoryMode	      "Same as first input"
      memoryWordLength	      "16"
      memoryFracLength	      "15"
      roundingMode	      "Floor"
      overflowMode	      off
      addnparflag	      off
      LockScale		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Manual Switch"
      Ports		      [2, 1]
      Position		      [960, 327, 990, 363]
      SourceBlock	      "simulink/Signal\nRouting/Manual Switch"
      SourceType	      "Manual Switch"
      ShowPortLabels	      on
      sw		      "0"
      action		      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "To Wave\nDevice1"
      Ports		      [1]
      Position		      [1070, 369, 1125, 421]
      SourceBlock	      "dspwin32/To Wave\nDevice"
      SourceType	      "To Wave Device"
      bufDuration	      "2"
      initDelay		      "0.1"
      useDefaultDevice	      on
      userDeviceID	      "SoundMAX HD Audio"
      enable24Bit	      off
    }
    Line {
      SrcBlock		      "From Wave\nFile"
      SrcPort		      1
      Points		      [65, 0]
      Branch {
	Points			[0, 70]
	DstBlock		"Delay1"
	DstPort			1
      }
      Branch {
	DstBlock		"Gain"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Add"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	Points			[55, 0]
	DstBlock		"Gain1"
	DstPort			1
      }
      Branch {
	Points			[5, 0; 0, 120; -85, 0; 0, 135]
	DstBlock		"LMS Filter1"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      Points		      [90, 0; 0, 35]
      DstBlock		      "Add"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Delay1"
      SrcPort		      1
      Points		      [40, 0; 0, -20]
      DstBlock		      "Add"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Gain1"
      SrcPort		      1
      Points		      [0, 25; 170, 0]
      DstBlock		      "Manual Switch"
      DstPort		      1
    }
    Line {
      SrcBlock		      "From Wave\nFile1"
      SrcPort		      1
      Points		      [150, 0; 0, -20]
      DstBlock		      "LMS Filter1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Manual Switch"
      SrcPort		      1
      Points		      [30, 0; 0, 50]
      DstBlock		      "To Wave\nDevice1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "LMS Filter1"
      SrcPort		      1
      DstBlock		      "Gain2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Gain2"
      SrcPort		      1
      Points		      [0, -60]
      DstBlock		      "Manual Switch"
      DstPort		      2
    }
    Annotation {
      Position		      [777, 267]
      UseDisplayTextAsClickCallback off
    }
  }
}
MatData {
  NumRecords		  1
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    8     8    (     0         %    "
"\"     $    !     0         .    ,     8    (    !          %    \"     $    "
"#     0         0  , 3$U3  "
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -