Technical newsheet
Sensors & InstrumentationDevice profile
Spartan-7 Runs FMCW Radar MTI and Doppler Processing at 64-bit Fixed Point
A Spartan-7 FPGA processes FMCW radar through two-pulse chirp cancellation and 2D Range/Doppler FFTs at 64-bit fixed point; a 32-bit test distorted the output maps.
By Grace Kim3 min read541 words
Features
- Radar data converted from complex 128-bit to complex 64-bit fixed point to fit Spartan-7 resources
- Two-pulse chirp cancellation runs before Range FFT and Doppler FFT stages
- MicroBlaze soft processor handles UART transfer between laptop and FPGA, frame by frame
- Complex 32-bit fixed-point test introduced quantization errors and significant Range-Doppler map distortion

A Xilinx Spartan-7 FPGA has processed FMCW radar data through two-pulse chirp cancellation and a 2D Range-Doppler FFT chain, with the developer reporting that dropping word length from 128-bit complex to 32-bit complex fixed point produced visible distortion in the FFT output. The work demonstrates how resource limits on a small FPGA constrain numerical precision in real-time radar signal chains.
The original radar data arrives in complex 128-bit format. Because the Spartan-7 offers limited FPGA resources, the developer converted the data to complex 64-bit fixed point before processing. A larger FPGA could handle the full 128-bit complex stream, depending on its resource capacity.
The design transfers data frame by frame over UART. A MicroBlaze soft processor handles the UART link and moves data between the laptop and the FPGA fabric.
How does the processing chain work?
Once data reaches the FPGA, the pipeline runs in two steps. First, chirp cancellation — 2-pulse and 3-pulse variants — removes stationary background components by subtracting consecutive chirps. Second, a 2D FFT stage runs a Range FFT on each chirp and a Doppler FFT across multiple chirps to generate the Range-Doppler matrix.
After processing, the FPGA sends the output back over UART. The laptop converts it into a Range-Doppler map and visualizes targets by range and velocity.
The developer first built a baseline path that skips MTI and pulse cancellation entirely. The FPGA applies only the Range FFT per chirp and the Doppler FFT across chirps. This produces a 2D Range-Doppler matrix for comparison before any filtering is introduced.
What does two-pulse cancellation change?
The filtered configuration inserts a two-pulse canceller ahead of both FFT stages. The canceller takes two consecutive chirps and subtracts the previous chirp from the current chirp. Stationary objects cancel out; moving targets, whose phase shifts between chirps, survive the subtraction.
The processing sequence runs as follows:
- Take two consecutive radar chirps
- Subtract one chirp from the other to cancel the stationary component
- Apply the Range FFT to the cancelled data
- Apply the Doppler FFT across the processed chirps
- Transfer the output to the laptop over UART
The resulting Range-Doppler map, compared against the unfiltered baseline, shows reduced stationary clutter and improved visibility of moving targets. This is the classic MTI trade: a one-line subtraction in the time domain buys clutter suppression before any spectral processing.
Where does precision break down?
To cut FPGA resource usage further, the developer tested the same processing chain on complex 32-bit fixed-point data. The Spartan-7 handles this narrower format more easily, but the bit-width reduction also cuts numerical precision. Quantization errors crept in and affected the FFT output.
The resulting Range-Doppler map showed significant distortion compared with the 64-bit implementation. The finding sets a practical floor for word length on this part: 64-bit complex fixed point preserves usable map quality on the Spartan-7, while 32-bit does not.
For anyone porting an FMCW signal chain to a constrained FPGA, the relevant question is whether their accuracy budget tolerates the precision loss at each word-length step — and whether the target part's DSP resources justify staying at wider formats instead.
via hackster.io (Source)
Filed under
More from Grace Kim
Show full bio
Correspondent covering companies, deals and strategy in Instruments, test and measurement at Testbench Report.
122 articles
Application notes
- MCUs Outsell FPGAs Four to One, but the Gap Is Narrowing Where It Counts
- Tektronix DPO Oscilloscope Carries EPYC CPU, T1000 GPU, 96GB RAM
- Multi-million power traces now come off a CW305, not an oscilloscope
- Keysight's XR3 Puts 14-bit Scope Performance in a 1U Rack Unit
- DEEPX runs YOLO26 on four video streams on one RK3588 board