Translate digital signal from intermediate frequency (IF) band to baseband and decimate it
The dsp.DigitalDownConverter
object translates digital signal from
intermediate frequency (IF) band to baseband and decimates it.
To digitally downconvert the input signal:
Create the dsp.DigitalDownConverter
object and set its properties.
Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?.
returns a
digital downconverter (DDC) System object™, dwnConv
= dsp.DigitalDownConverterdwnConv
.
returns a DDC object, dwnConv
= dsp.DigitalDownConverter(Name,Value
)dwnConv
, with the specified property
Name
set to the specified Value
. You can
specify additional name-value pair arguments in any order as
(Name1
,Value1
,...,NameN
,ValueN
).
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
The object downconverts the input signal by multiplying it with a complex exponential with
center frequency equal to the value in the CenterFrequency
property. The
object downsamples the frequency downconverted signal using a cascade of three decimation
filters. In this case, the filter cascade consists of a CIC decimator, a CIC compensator, and
a third FIR decimation stage. The following block diagram shows the architecture of the
digital down converter.
The scaling section normalizes the CIC gain and the oscillator power. It may also contain
a correction factor to achieve the desired ripple specification. When you set the
Oscillator property to InputPort
, the normalization
factor does not include the oscillator power factor. Depending on the setting of the
DecimationFactor property, you may be able to bypass the third filter
stage. When the input data type is double or single, the object implements an
N-section CIC decimation filter as an FIR filter with a response that
corresponds to a cascade of N boxcar filters. A true CIC filter with actual
comb and integrator sections is implemented when the input data is of a fixed-point type. The
CIC filter is emulated with an FIR filter so that you can run simulations with floating-point
data.
The following block diagram represents the DDC arithmetic with single or double-precision, floating-point inputs.
For details of fixed-point operation, see Fixed Point.
fvtool
| generatehdl
| getDecimationFactors
| getFilterOrders
| getFilters
| groupDelay
| visualizeFilterStages