主要内容

DC Blocker

块DC组件

  • Library:
  • DSP System Toolbox / Signal Operations

    DSP系统工具箱HDL支持 /信号操作金宝app

  • DC Blocker block

描述

TheDC Blockerblock removes the DC component of the input signal. This block supports SIMD code generation. For details, seeCode Generation

端口

输入

expand all

Specify the input signal that contains the DC component as a scalar, vector, or a matrix. When the input is fixed-point, it is signed only.

Data Types:single|double|int8|INT16|INT32|fixed point
Complex Number Support:Yes

Output

expand all

Output signal with the DC component removed. When the output is fixed-point, it is signed only.

The size, data type, and complexity of the output signal are the same as that of the input signal.

Data Types:single|double|int8|INT16|INT32|fixed point
Complex Number Support:Yes

Parameters

expand all

指定用于估计直流偏移的算法。从以下内容中选择:

  • IIRuses a recursive estimate based on a narrow, lowpass elliptic filter. This algorithm typically uses less memory than FIR and is more efficient.

  • 冷杉使用非弹性,移动平均估计值。该算法通常比IIR使用更多的内存,并且效率较低。

  • CICuses a lowpass filter that does not employ any multipliers. If the algorithm isCIC,然后确定点数据必须输入到DC Blocker

  • Subtract meancomputes the means of the columns of the input matrix and subtracts the means from the input. This method does not retain state between inputs. For example, if the input is[1 2 3 4; 3 4 5 6], then theDC Blockerblock inSubtract mean模式输出[-1 -1 -1 -1; 1 1 1 1]

将归一化滤波器带宽指定为大于0且小于1的真实标量。

Dependencies

TheDC Blocker仅在将估计算法设置为IIR或者CIC

Data Types:single|double|int8|INT16|INT32|int64|uint8|UINT16|uint32|uint64

Specify the filter order of the lowpass IIR elliptic filter as an integer greater than 3.

Dependencies

TheDC Blocker仅在将估计算法设置为IIR

Data Types:single|double|int8|INT16|INT32|int64|uint8|UINT16|uint32|uint64

将估计算法设置为正整数,作为一个正整数,将要使用的样本数设置为冷杉

Dependencies

TheDC Blocker仅在将估计算法设置为冷杉

Data Types:single|double

打开fvtool并显示DC Blocker。The response is based on the block parameters. Changes made to these parameters updatefvtool

Block dialog and the FVTool window arranged side by side.

更新幅度响应时fvtoolis running, modify the block parameters and clickApply

Specify the type of simulation to run as one of the following:

  • 代码生成–– Simulate model using generated C code. The first time you run a simulation, Simulink®为块生成C代码。只要模型不更改,C代码将重复使用以进行后续模拟。此选项需要额外的启动时间,但提供了比解释执行

  • 解释执行- 使用MATLAB模拟模型®interpreter. This option shortens startup time but has slower simulation speed than代码生成

块特征

Data Types

double|fixed point|整数|single

直接进料

Multidimensional Signals

Variable-Size Signals

有限的a

Zero-Crossing Detection

a

算法

expand all

直流阻断剂减去的直流分量input signal. You can estimate the DC component by using the IIR, FIR, CIC, or subtract mean algorithm.

References

[1] Nezami, M.K. “Performance Assessment of Baseband Algorithms for Direct Conversion Tactical Software Defined Receivers: I/Q Imbalance Correction, Image Rejection, DC Removal, and Channelization.” In MILCOM 2002. Proceedings, 369–76. Anaheim, CA, USA: IEEE, 2002.

Extended Capabilities

Version History

在R2014A中引入