How to use the "bandwidth" parameter to baseband a complex signal from an intermediate frequency to DC with "dsp.DigitalDownConverter" in R2024b?
조회 수: 1 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2025년 8월 28일
답변: MathWorks Support Team
2025년 10월 24일 13:25
I am looking for advice to baseband a complex signal from an intermediate frequency to DC. I would like to use "dsp.DigitalDownConverter".
The "visualize" function draws the filter response with some dashed lines is red. One line follows the "Bandwidth" (BW) while the other seems to be:
Fs/2-BW
where Fs being the low sample rate.
My workflow is:
- Create sin wave signal
- Modulate Signal with "Pmmod"
- Add noise to the signal
- Demodulate signal with "pmdemod"
- Create the down converter with "dsp.DigitalDownConverter"
- Plot the results
What are these red lines in the graph from "visualizing" the Digital Down Converter? What does the “bandwidth” parameter of "dsp.DigitalDownConverter" do? It looks like it does not set 3dB as the down point on the filter cascade.
채택된 답변
MathWorks Support Team
2025년 8월 28일
To get the demodulated message from the Digital Down Converter (DDC) output, it still needs to be demodulated (e.g., using "pmdemod" or other PM demodulation techniques) at the new, lower sample rate.
The key point is that DDC and phase demodulation are fundamentally different operations. The DDC object is designed to perform "downconversion" (mixing to baseband) and decimation; it does not perform phase demodulation.
As an aside, "dsp.ComplexBandpassDecimator" might also be worth considering, depending on the application. That said, phase demodulation, as you noted, is handled by functions such as "pmmod" and "pmdemod", so it needs to be added manually after the down conversion.
The "Bandwidth" property determines the frequency range of the input signal and, in turn, sets the passband for the filter stages. The red dashed vertical lines indicate the passband (left) and stopband (right) frequencies of the overall equivalent filter for the current design configuration. The passband frequency is always equal to half of the Bandwidth .
Inputs with smaller bandwidths allow for wider transition bands in the filter stages, which reduces their complexity.
For example, compare the two designs below. Notice that the design with the lower input bandwidth results in lower-order filters.
G20 = dsp.DigitalDownConverter(Bandwidth=200000)
G5 = dsp.DigitalDownConverter(Bandwidth=50000)
G20.getFilterOrders
ans =
struct with fields:
NumCICSections: 4
SecondFilterOrder: 12
ThirdFilterOrder: 24
G5.getFilterOrders
ans =
struct with fields:
NumCICSections: 3
SecondFilterOrder: 12
ThirdFilterOrder: 10
Note: The "Bandwidth" property reflects prior knowledge that the input signal contains no frequency components beyond the specified bandwidth. In other words, the assumption is not merely that any out-of-band input content is unimportant or can be filtered out; rather, such content is assumed to be entirely absent.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!