Skip to the content
4 layers68.8 × 68.6 mmGMWM Analysis Board, the printed circuit board in 3D

Research into quantisation effects in MEMS gyroscopes using custom STM32 hardware.

Size
68.8 × 68.6 mm
Copper layers
4
Thickness
1.6 mm
Parts
163
Nets
175
Pads
592
Tracks, vias
850, 361
Pours
548
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
27 Jul 2026
Updated
28 Oct 2026

Overview

GMWM Analysis Board is an open-source printed circuit board by thejamesrhodes, from the thejamesrhodes/IMU-Quantisation-research-project repository on GitHub, published under the MIT licence. It is a 4-layer board of 68.8 × 68.6 mm with 163 parts on 175 nets, routed with 850 tracks and 361 vias.

It is built around the STM32F723ZET6, TF-015 and ICM-42688-P, with the 1532H4-32K768JWPDTSNL, AP2115R5-3.3TRG1 and BMI323 among its other parts. Its parts include 58 capacitors, 30 resistors, 9 ICs, 8 diodes and 6 connectors. It belongs with the sensors and measurement boards and the STM32 boards of this library.

Main components

12

README

README.md

Sheppard MEMS Rate-Register Quantisation Research Project

Custom STM32F723 hardware, firmware and analysis for measuring output-register quantisation noise in MEMS rate gyroscopes. Specifically gyroscopes that report an angular-rate register rather than an integrated angle increment.

DOI Status Preprint MCU KiCad Analysis

This is a pre-publication research project. The preprint is not yet released. the results, figures and numbers in this repository are working values and are subject to change. Nothing here has been peer-reviewed. Preliminary Datasets are available on Zenodo


Claim

Rate-register quantisation is predicted to appear at a $-1/2$ Allan-deviation slope and to be absorbed silently into the fitted angle random walk (ARW), rather than appearing as the $-1$-slope angle-quantisation ("Q") term of IEEE Std 952, which describes a different output architecture for angle-increment parts (FOGs, RLGs). This holds regardless of the error's statistics: whether the quantisation error is PQN-white, deadbanded, or dithered, it enters the rate and therefore appears inside the fitted ARW instead of appearing as a separable Q.

If that is correct, fitted stochastic-noise parameters depend on the configuration (output data rate (ODR), full-scale range (FSR), output word length) at which they were measured, and the $\sqrt{\text{ODR}}$ bandwidth-transfer rule embedded in every mainstream IMU calibration toolchain, where it is stated as a condition requiring ideal decimation rather than a validated result, has never been checked for modern high-ODR consumer parts.

The transfer rule was safe for the parts it was developed on. An MPU-6050-class gyro (≈5 mdps/√Hz, 2011) at ±2000 dps / 100 Hz sits at a dither ratio $\rho = \sigma/\Delta \approx 0.58$, where the pseudo-quantisation-noise (PQN) model is valid to ~2 %. The ICM-42688-P (≈2.8 mdps/√Hz, 2020) sits at $\rho \approx 0.32$, where it is not.

The board is named after W. F. Sheppard, whose 1898 paper gave the $-c^2/12$ correction for the variance of grouped data (DOI) - the same $\Delta^2/12$ the whole experiment turns on. The correction reappears in an unexpected place: the 19-bit reference stream is itself a quantiser, and Sheppard's correction must be applied to it before it can serve as a reference at all.


Project Goals

  • Test whether the fitted stochastic-noise parameters of a MEMS IMU transfer across ODR and FSR, and return a single configuration-invariant parameter set that does.
  • Establish that rate-register quantisation presents at the $-1/2$ slope and is absorbed into the fitted ARW, distinct from the IEEE-952 angle-quantisation term.
  • Derive the exact, parameter-free output-quantisation behaviour, governed by two quantities: the dither ratio $\rho = \sigma/\Delta$ and the sub-LSB bias phase $\mu \bmod \Delta$. Both measurable from a static code histogram with no additional hardware.
  • Identify which requantisation architecture the output register implements (undithered/PQN, truncation, RPDF- or TPDF-dithered) from output data alone, validated against bit-exact software-dithered controls.
  • Show that no mainstream toolchain (Kalibr, allan_variance_ros, …) models output-register quantisation or exposes $\rho$ or $\mu$, and document the effect size against configuration so a practitioner can locate their own.
  • Publish the hardware, firmware, analysis code and a raw-integer-code, temperature-logged dataset. A dataset that, on the searches conducted, does not currently exist, because public IMU datasets are distributed as calibrated floats and the calibration destroys the code lattice.

Project progress

ItemStatus
Data-logger PCB (4× IMU) Bring upComplete
FirmwareComplete
Analysis chain ($\sigma$, $\rho$, $\mu$, $\varphi$, $\eta$; Allan; GMWM)Complete
Exact $\eta(\rho,\varphi)$ theory, closed formComplete
Primary curve $\eta(\rho)$Complete
Experimental results vs theoryComplete
Relevance evidence (toolchain guidance, default ODR/FSR)In progress
ManuscriptIn Progress
PreprintIn Progress

Hardware

MCUSTM32F723ZET6, 32 MHz
Sensors2× ICM-42688-P, 1× ISM330DHCX, 1× BMI323, one SPI bus each
StoragemicroSD on SDMMC2, exFAT
Host linkUSB-C on OTG_HS, internal HS PHY
Power4S NiMH or USB-C

IMG_20260730_110945.jpg


Repository structure

text
GMWM Software/                 STM32CubeIDE firmware project + host Python
  Core/                          application sources
  tools/                         console, analysis, figures
GMWM Electronics/              KiCad 10 — data-logger PCB
Array Electronics ICM42688P/   KiCad 10 — ICM-42688-P board
Array Software ICM42688P/      firmware for the ICM-42688-P board
Test Datasets/                 records (gitignored; archived to Zenodo)
zenodo/                        dataset deposit build system

Running it

text
pip install pyserial numpy matplotlib
python "GMWM Software/tools/sheppard_console.py"

The console is a GUI with five tabs: a terminal, the SD-card browser, the campaign-plan editor, an analysis runner, and a figure viewer that renders the plots in-app. It finds the board by USB ID rather than COM port and reconnects on its own when the board resets.

Everything it does is also available from the command line, and the panel prints the exact command before it runs it, so a result in the GUI and a result in a terminal are the same result.

text
python analyse.py summary "../../Test Datasets" -o "../../Test Datasets/summary.csv" --fast
python figures.py "../../Test Datasets/summary.csv" -o "../../Figures"
python offset_fit.py "../../Test Datasets" --glob "*ph_k*.sdat"

Flashing without an ST-LINK

The board reflashes itself over the same USB-C cable that carries the console.

Run sheppard_selftest.py once before trusting the flasher. It feeds the board bad data five ways and checks each one is refused with flash untouched. Nothing in it can erase the board.

SWD recovery is always there:

text
STM32_Programmer_CLI -c port=SWD mode=UR -e all -w "Debug/GMWM STM32.elf" -v -rst

Status

94 records, two specimens, three axes. The register's architecture is identified (truncation, bit-exact); $\eta(\rho)$ is measured over a decade of $\rho$; and a controlled phase sweep tracks the exact theory to 0.4 % of its range with no free parameters, on both specimens independently. Repeatability is measured at $\sigma_\eta = 0.0065$, so the theory is good to about twice the noise floor of the apparatus.


Preprint and data

The preprint is not yet released. A manuscript is in preparation and is intended for submission to a measurement-science journal (IOP Measurement Science and Technology); this section will carry the preprint DOI when it is public.

Campaign data is archived to Zenodo and is not held in this repository:

Rhodes, J. (2026). Paired 16-bit and 19-bit output records from two ICM-42688-P MEMS gyroscopes across output-rate and sub-LSB bias-offset sweeps [Data set]. Zenodo. https://doi.org/10.5281/zenodo.22860515


Conventions

The gyroscope's high-resolution FIFO field is 20 bits wide, of which 19 are significant at ±2000 °/s full scale. The field's least significant bit is always zero. All resolutions in this repository and in the dataset are quoted on the 19-bit convention, so the reference lattice step is $\Delta' = \Delta/8$ and the register word is gyro19 >> 3.


Licence

MIT — see LICENSE. The dataset is licensed separately under CC-BY-4.0.

Parts

163
QtyValueFootprintReferences
30100nFPCM_JLCPCB:C_0402C1, C2, C10, C15, C16, C19, C21, C22, C23, C24, C25, C26, C27, C28, C29, C30 +14
16NetTiePCM_4ms_SolderJumper:JUMPER_SMD_1x2_tiny_shortedTIE2, TIE3, TIE4, TIE5, TIE6, TIE7, TIE8, TIE9, TIE10, TIE11, TIE14, TIE17, TIE18, TIE19, TIE20, TIE21
1010nFPCM_JLCPCB:C_0402C9, C11, C34, C43, C46, C48, C50, C54, C57, C58
10TestPoint_ProbePCM_4ms_TestPoint:TestPoint_Pad_04TP15, TP17, TP26, TP27, TP28, TP29, TP30, TP31, TP32, TP33
9TestPoint_ProbeConnector_Wire:SolderWirePad_1x01_SMD_1.5x3mmTP5, TP6, TP7, TP8, TP9, TP10, TP13, TP24, TP25
82.2uFPCM_JLCPCB:C_0603C4, C5, C6, C17, C32, C44, C49, C56
547kΩPCM_JLCPCB:R_0402R21, R22, R23, R24, R25
40603_Green_509-620mcdJLCImport:0603_Green_509-620mcdLED7, LED8, LED9, LED10
41uFPCM_JLCPCB:C_0402C3, C35, C37, C39
4330ΩPCM_JLCPCB:R_0402R16, R17, R18, R19
4NetTieJumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mmTIE12, TIE13, TIE15, TIE16
4~PCM_JLCPCB:Hole, 3mmH5, H6, H7, H8
4~PCM_JLCPCB:Hole_Tooling_JLCPCBH1, H2, H3, H4
3100kΩPCM_JLCPCB:R_0402R14, R15, R27
310kΩPCM_JLCPCB:R_0402R5, R8, R20
34.7uFPCM_JLCPCB:C_0603C18, C20, C33
3PINHD_1x5_MaleConnector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_VerticalJ1, J2, J4
210uFPCM_JLCPCB:C_0603C12, C13
233kΩPCM_JLCPCB:R_0402R9, R13
233ΩPCM_JLCPCB:R_0402R6, R30
24.7kΩPCM_JLCPCB:R_0402R28, R29
25.1kΩPCM_JLCPCB:R_0402R11, R12
2ICM-42688-PPackage_LGA:Bosch_LGA-14_3x2.5mm_P0.5mmU6, U7
2SS12Diode_SMD:D_SMAD4, D5
2Tactile Button, 160gfPCM_JLCPCB:SW_TS-1088-AR02016S1, S2
110kΩPCM_JLCPCB:R_0603R1
110ΩPCM_JLCPCB:R_0402R7
11532H4-32K768JWPDTSNLPCM_JLCPCB:OSC-SMD_4P-L3.2-W2.5-BLU2
11kΩPCM_JLCPCB:R_0603R2
1200ΩPCM_JLCPCB:R_0402R10
13kΩPCM_JLCPCB:R_0603R3
1470nFPCM_JLCPCB:C_0402C14
1470ΩPCM_JLCPCB:R_0402R26
147ΩPCM_JLCPCB:R_0402R4
1AP2115R5-3.3TRG1JLCImport:AP2115R5-3_3TRG1U11
1ASDM1-24_000MHZ-LC-TPCM_JLCPCB:OSC-SMD_4P-L3.2-W2.5-BLX1
1BMI323Package_LGA:Bosch_LGA-14_3x2.5mm_P0.5mmU9
1BatteryConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalBT1
1ISM330DHCXPackage_LGA:Bosch_LGA-14_3x2.5mm_P0.5mmU3
1KH-TYPE-C-16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ7
1KT-0603RJLCImport:KT-0603RLED6
1LT3045EDDPackage_DFN_QFN:DFN-10-1EP_3x3mm_P0.5mm_EP1.65x2.38mmU5
1SM04B-SRSS-TB_LF_SNConnector_JST:JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_HorizontalCN3
1SMAJ12CADiode_SMD:D_SMAD1
1STM32F723ZET6Package_QFP:LQFP-144_20x20mm_P0.5mmU1
1SolderJumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP1
1TF-015JLCImport:TF-015J3
1USBLC6-2P6Package_TO_SOT_SMD:SOT-666U8

More from thejamesrhodes/IMU-Quantisation-research-project

1
  • 4 layers78.3 × 42.7 mmIMU Array ICM-42688-P, the printed circuit board in 3D

    IMU Array ICM-42688-P

    thejamesrhodes/IMU-Quantisation-research-project

    Research into quantisation effects in MEMS gyroscopes using custom STM32 hardware.

    87 parts1MIT

Similar boards

  • 4 layers45.2 × 41.2 mmMCU Board 0.3, the printed circuit board in 3D

    MCU Board 0.3

    thejamesrhodes/Hyades-Flight-Computer

    Full Hardware and Electronics design, Bare-metal GNC flight software for an actively attitude-controlled high-power rocket

    120 parts1Apache-2.0
  • 2 layers59 × 56 mmMcu, the printed circuit board in 3D

    Mcu

    Fefe-Nayz/kbhe-monorepo

    TIPE 2026 - 75% Hall effect keyboard ISO layout - Monorepo: Firmware, PCB, 3D Models, PC Software

    83 parts11
  • 4 layers98.3 × 81.2 mmJuana NIVARA, the printed circuit board in 3D

    Juana NIVARA

    Massiel96/Juana-Massiel_Cordero_Electiva-ll_2025_C2

    162 parts
  • 4 layers100 × 80 mmOpen Beam Interface, the printed circuit board in 3D

    Open Beam Interface

    nanographs/Open-Beam-Interface

    Just what you need to control the beam and get an image.

    334 parts371
  • 4 layers128 × 84 mmDronemagnav2, the printed circuit board in 3D

    Dronemagnav2

    ajisrawi/DroneMagNav2.0

    DroneMagNav 2.0 - survey-fluxgate magnetic-anomaly navigation board for drones (IGRF-14 + EMAG2v3 continued to flight altitude)

    222 parts
  • 4 layers42.8 × 42.2 mmCatLickDet, the printed circuit board in 3D

    CatLickDet

    Nick-Lemberger/3DqsOBM

    Supplementary material for the publication "Enabling 3D refractive index tomography in laser scanning microscopy with a simple tape-on detector".

    78 partsGPL-3.0

Questions

How big is the GMWM Analysis Board PCB?

It measures 68.8 × 68.6 mm and has 4 copper layers, 1.6 mm thick.

What parts does the GMWM Analysis Board use?

163 parts, built around the STM32F723ZET6, TF-015, ICM-42688-P and 1532H4-32K768JWPDTSNL. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the GMWM Analysis Board KiCad files?

From the thejamesrhodes/IMU-Quantisation-research-project repository on GitHub, at the commit this page was made from: the board is GMWM Electronics/GMWM Analysis Board/GMWM Analysis Board.kicad_pcb and its schematic Array Electronics ICM42688P/DataLogging.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the GMWM Analysis Board design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).