Multi-Channel Data Acquisition System Based on FPGA and STM32

Yue Zhang, Linwei TaoXibei 2020

Abstract

To meet the requirements of multi-channel, low power consumption, and small volume for underwater sonar receiver extensions, this paper presents a 64-channel signal acquisition and storage system. The design utilizes eight 24-bit high dynamic range ADS1278 ADC chips for synchronous acquisition. An FPGA manages the acquisition sequence and logic control, buffering data into an internal high-capacity FIFO. An STM32 microcontroller reads this data via a high-speed SPI interface and writes it to an SD card. Testing confirms a stable, low-power system (approx. 3W) capable of 20 kHz sampling per channel and data rates up to 100 Mb/s.

Introduction

Underwater acoustic research, particularly sonar target detection and localization, relies on multi-element sensor arrays that generate numerous simultaneous signals. Traditional acquisition systems often struggle with fixed configurations, limited precision (typically 12-18 bits), and high power consumption—factors that are critical for autonomous underwater vehicles (AUVs). This paper details a robust, flexible, and low-power 64-channel system designed to overcome these hurdles.

System Architecture

The system is built on a hybrid architecture that leverages the strengths of both FPGAs and microcontrollers. The front end consists of eight ADS1278 chips, each providing 8 channels of 24-bit Delta-Sigma analog-to-digital conversion. These chips are daisy-chained in Time Division Multiplexing (TDM) mode to minimize PCB complexity and EMI.

Overall system block diagram showing the 64-channel acquisition path from analog input to SD card storage.

As shown in the block diagram, the FPGA serves as the central logic controller, interfacing with the ADC modules and the STM32. The STM32H743 manages the high-level file system operations for data storage on an SDXC card.

FPGA Logic and Data Handling

The FPGA (Intel Cyclone IV) is responsible for the precise timing required for 64-channel synchronization. It reads data from the eight ADC chips, sorts it, and writes it into an internal asynchronous FIFO.

Detailed internal logic of the FPGA, highlighting the data sorting module and the asynchronous FIFO buffer.

A key innovation in the FPGA logic is the pre_rdclk module. This module addresses timing delays in high-speed SPI transfers by generating extra clock pulses. This ensures that valid data is already present at the output pins when the STM32 initiates a read, preventing bit-alignment errors that can occur at 100 Mb/s throughput.

Key Innovations for Stability

In high-speed serial data systems, even a single-bit shift can corrupt the entire data stream. To ensure 100% reliability, the authors implemented a "heartbeat" or "flag" check. The lowest two bits of every 24-bit sample are forced to '1'. The STM32 continuously monitors these bits; if they are not detected as '1', it indicates a data shift. The system then triggers an interrupt to reset the FPGA logic automatically. While this effectively reduces the resolution to 22 bits, it is a necessary trade-off for absolute data integrity in remote underwater environments where the noise floor is already above the 24th bit level.

Results and Performance

Experimental verification using synthetic 500 Hz sine waves and noise floor measurements yielded the following results:

  • Throughput: Maximum stable data rate of 100 Mb/s.
  • Sampling Rate: Up to 20 kHz per channel across all 64 channels.
  • Power Consumption: Total system power is approximately 3.39W, significantly lower than comparable industrial systems.
  • Noise Floor: Measured at 14.3 μV, ensuring high-fidelity capture of weak acoustic signals.
  • Reliability: The system demonstrated error-free operation during 24-hour continuous stress tests.

Conclusion

The designed 64-channel acquisition system provides a high-precision, low-power solution for underwater acoustic data collection. By combining the high-speed logic of an FPGA with the versatile storage management of an STM32, the system achieves the high throughput and reliability required for modern sonar array applications. Future work will explore utilizing the STM32's DSP capabilities for real-time on-board signal processing.

Summary updated

BibTeX
@inproceedings{zhang2020multi,
  author = {Yue Zhang and Linwei Tao},
  title = {{Multi-Channel Data Acquisition System Based on FPGA and STM32}},
  booktitle = {Xibei},
  year = {2020},
  doi = {10.1051/jnwpu/20203820351},
}
Figure