Sentinel-1 SAR on FPGA
I processed 1,000 raw Sentinel-1C radar echoes on a Tang Nano 20K FPGA. The board performed range compression and matched the Python integer model on all 4,096,000 retained complex samples. I used the host to focus the data into imagery and compare storage formats.
From satellite packets to range samples
Sentinel-1C acquired this Stripmap S2 scene over the Seattle area at 14:28:40 UTC on April 10, 2025, during acquisition B783. I decoded 1,000 consecutive VV bypass-mode instrument packets starting at byte 1,107,282,880. Each echo contained 18,574 complex I/Q samples. The 46,508,000-byte raw block gzipped to 36.36 MB, a 21.8% lossless reduction verified against the original SHA-256 digest.
The packet rank and pulse repetition interval counter identify the originating transmit pulse. I used its chirp parameters to build a floating-point matched filter in Python. The 4,396-sample chirp is longer than the intended 4,096-sample output window, so I correlated two overlapping 8,192-point blocks and retained 3,797 valid results from the first and 299 from the second. The full-width host reference kept all 14,179 valid range lags.
Fixed-point FFT and board verification
The Verilog core uses an in-place radix-2 FFT with one butterfly every eight clock cycles. Between forward and inverse passes, it multiplies the spectrum by streamed complex Q1.15 coefficients, reading bin pairs before overwriting them so the same sample RAM can feed the inverse FFT. The host restores scale after the unnormalized inverse transform.
Quarter-wave twiddle symmetry reduced the FFT and ROM from 44 to 40 block RAMs. The filter table would have required another 15 blocks on a board with 46 total. Streaming it kept the design within the memory budget. The short-upload build had a post-route timing estimate of 72.39 MHz and ran at 27 MHz in the board tests. The SRAM load was temporary.
| Check | Result |
|---|---|
| RTL FFT simulation | 8,192 forward and 8,192 inverse outputs matched Python |
| First complete echo on the board | 16,384 complex outputs matched before windowing |
| Full physical run | 1,000 echoes and 2,000 FFT blocks |
| Retained complex samples | 4,096,000 of 4,096,000 matched bit for bit |
| Largest observed stage widths | 18 bits per component forward, 26 bits inverse |
| Three fractional guard bits | 0.067% relative complex error before packing |
| Packed 12-bit I/Q | 0.207% relative complex error and zero strongest-peak shifts |
The host packed each I/Q pair into three bytes with one float32 scale per echo, then gzipped the payload to 11,049,255 bytes. The archive matched the integer model’s archive byte for byte. Its 76.2% reduction from raw includes retaining about 29% of the valid range width.
UART throughput and CPU baseline
At 115,200 baud, per-command acknowledgments dominated the first hardware run. Bulk mode cut one full echo from 393.30 s to 25.80 s, a 15.2× improvement. Windowed readback cut returned data from 163,840 to 40,960 bytes per echo. The final upload mode filled the last 3,498 zeros of the second block on the FPGA, saving another 13,992 transmitted bytes per echo.
| Transfer mode | Scope | Measured time |
|---|---|---|
| Per-command UART | One echo, full readback | 393.30 s |
| Bulk UART | Same echo, full readback | 25.80 s |
| Valid-window readback | Echoes 0, 499, and 999 | 15.11 s per echo |
| Short upload and windowed readback | First 10 consecutive echoes | 13.89 s per echo |
| Full short-upload run | 1,000 echoes | 13,894.42 s total |
The full run spent 4,505.07 s uploading samples, 5,729.97 s streaming coefficients, and 3,563.44 s on readback. Estimated FFT core time was 63.11 s. A single-worker Intel Core i7-10610U baseline took 0.272 ms per echo for the same range window with decoded input and output already in RAM. That median came from seven trials, each repeating a warmed ten-echo workload 400 times. It measures the in-memory range transform, while the board timing includes serial transfers and verification.
What survived azimuth focusing
I used a host Range-Doppler focuser with packet timing, approximate orbit geometry, Doppler weighting, and range-cell migration correction. I focused a floating-point crop alongside the FPGA archive to isolate the effects of range selection. In their common interior, the archive had 0.140% relative complex error, 0.999999 coherence, and 0.0285 dB brightness error at the 95th percentile for reference pixels at or above median brightness. The brightest feature retained its position and width.


Full-width compression
I swept quantization depth, per-echo scaling, fixed and adaptive 256-sample blocks, and byte layout with gzip and Zstandard. I also compared encoding before and after azimuth focusing. The full-width archive grid contains 1,000 azimuth rows by 14,179 range columns.
| Product | Archive size | Measured fidelity |
|---|---|---|
| Pre-focus 8-bit complex I/Q | 17.13 MB | 2.81% focused complex error |
| Pre-focus 10-bit complex I/Q | 25.56 MB | 0.697% focused complex error |
| Focused complex I/Q, 2D DCT and Zstandard | 13.85 MB | 2.44% complex error, 3.10° phase error at the 95th percentile |
| Focused 6-bit log magnitude, JPEG 2000 | 6.54 MB | 0.679 dB brightness error at the 95th percentile, +0.024 dB mean power bias |
The complex archive was 70.2% smaller than the raw packet block. The intensity-only archive was 85.9% smaller and omits phase. Its PNG preview covers every range column over the central 348 azimuth rows, with a 35 dB display window.




Rate-matched FDBAQ comparison
I compared the focused complex codec with a local Flexible Dynamic Block Adaptive Quantization (FDBAQ) proxy tuned to 3.18 bits per raw I or Q component. The proxy used the published Huffman and reconstruction tables with a local rate selector. Both comparisons used full valid range coverage and two non-overlapping blocks from the same acquisition.
| Echo block | Local FDBAQ proxy | Focused complex codec |
|---|---|---|
| Original 1,000 echoes | 14.87 MB · 9.57% | 13.85 MB · 2.44% |
| Block 8,000 echoes later | 14.87 MB · 9.41% | 13.79 MB · 2.49% |


The images use experimental, uncalibrated slant-range coordinates. Validation against a co-registered Sentinel-1 Level-1 SLC, a verified nominal FDBAQ encoder, and a distinct acquisition remain open.