A Dual-Channel, Low Noise, Modular, 100 kHz Bandwidth, 24-Bit Data Acquisition (DAQ) Device / FFT Signal Analyzer
Work in progress ...
The complete CAD model can be downloaded here (Autodesk Inventor 2023 files) including all modules and the case.
The firmware running on the STM32H753ZIT6 is mainly written in ANSI C and has been developed in STM32CubeIDE version 1.10.1 utilizing the official STM32H7xx_HAL_Driver. Among others, the firmware performs the following tasks:
- Configuration of the ADC AD7768 (on module AnalogConversion_v3) via SPI (SPI_3).
- Reception of sampled data from the ADC AD7768 via SPI (SPI_2) and DMA (DMA1_Stream0).
- Transmission of sampled data from the ADC AD7768 via USB 2.0 Hi-Speed to the PC utilizing ULPI interface and an additional Hi-Speed USB PHY (USB3300).
- Handling USART connection (USART_1, via FT232RL chip on USBConnectors_v1) for debug purposes and for exchanging control/status commands with the PC.
- Controlling I2C bus (I2C_4) for controlling I/O expander TCA9534A (e.g. on module AnalogConversion_v3) which, in turn, drives a relay driver (MAX4820) on the same module.
- Controlling front LEDs (on module DigitalBackend_v1).
The complete source code can be found here.
Two USB drivers are needed for operating the DAQ v3:
- For the reception of the sampled data from the ADC NI-VISA is utilized. The driver matching the hardware of this project has been generated with the NI-VISA Driver Wizard an can be downloaded here.
- To use the USB debug interface only the official USB serial driver from FTDI is required, which can be downloaded here.
Tool for graphical display of status information and for controlling the hardware via the virtual serial interface (second USB-B port). The python source code and a binary (only tested on x64 Microsoft Windows 10) can be downloaded here.
Noise measurements (60 seconds) were performed while powering the electronics with the power supplies of versions v1 and v2, where the abbreviations PS and ACNV in the titles refer to the power supply and analog conversion modules.
The two linear power supply modules of version v1 both operate with transformers. This resulted in heavy magnetic interference in the form of the mains frequency and multiples thereof.
The two power supply modules of version v2 both operate with AC/DC power modules (TMLM 20105, TMLM 20115) from Traco Power. Their switching frequencies are around 132 +/- 8 kHz and thus above the useful range of 0 - 100 kHz (Nyquist frequency is 128 kHz).
The investigated setup consists of the modules:
- Backplane_v1
- PowerSupply_5V_v2
- PowerSupply_12V_v2
- AnalogConversion_v3
- DigitalBackend_v1
- USBConnectors_v1
The two differential inputs of each channel were connected via 50 Ohm SMA resistors with AGND (SHIELD connected via R6 = 0 Ohm with AGND, see schematics).
Obviously, the lowest interference occurs in grounded mode and when GND of the backplane is directly connected to the chassis/the protective earth connector of the power entry module (first plot).
The measurement result from above is essential for the further development of the preamplifier. The gain of the preamplifier must be high enough to be able to neglect the noise from the opamp driver (ADA4945-1) and ADC (AD7768-4) determined here. A useful model for describing the power spectral density of the voltage noise
$b_{-1} = 1.3 \cdot 10^{-13}~\mathrm{V}^2$ -
$b_0 = {1.3 \cdot 10^{-15}~\mathrm{V}^2/\mathrm{Hz}}$ were found.
This results in a
The measured RMS noise values are in good agreement with the value of
In addition, for